@office-kit/pptx-dev 0.14.0 → 0.14.2
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,32 +0,0 @@
|
|
|
1
|
-
var s4=Object.defineProperty;var d4=(e,t)=>{for(var n in t)s4(e,n,{get:t[n],enumerable:!0})};var o=(e,t,n)=>({prefix:e,localName:t,namespaceURI:n}),b=(e,t)=>({name:e,value:t}),h=(e,t={})=>({kind:"element",name:e,attrs:t.attrs??[],prefixDecls:t.prefixDecls??new Map,children:t.children??[]}),be=e=>({kind:"text",data:e}),e0=e=>({kind:"cdata",data:e}),t0=e=>({kind:"comment",data:e}),n0=(e,t)=>({kind:"pi",target:e,data:t}),or=(e,t)=>e.localName===t.localName&&e.namespaceURI===t.namespaceURI,je=(e,t,n)=>{let r=n(t),a=e.children.length;for(let l=0;l<e.children.length;l++){let i=e.children[l];if(i?.kind==="element"&&n(i)>r){a=l;break}}e.children.splice(a,0,t)},he=e=>h(e.name,{attrs:e.attrs.map(t=>b(t.name,t.value)),prefixDecls:new Map(e.prefixDecls),children:e.children.map(c4)}),c4=e=>e.kind==="element"?he(e):{...e};var d={contentTypes:"http://schemas.openxmlformats.org/package/2006/content-types",relationships:"http://schemas.openxmlformats.org/package/2006/relationships",officeDocRels:"http://schemas.openxmlformats.org/officeDocument/2006/relationships",pml:"http://schemas.openxmlformats.org/presentationml/2006/main",dml:"http://schemas.openxmlformats.org/drawingml/2006/main",diagram:"http://schemas.openxmlformats.org/drawingml/2006/diagram",chart:"http://schemas.openxmlformats.org/drawingml/2006/chart",chartDrawing:"http://schemas.openxmlformats.org/drawingml/2006/chartDrawing",sml:"http://schemas.openxmlformats.org/spreadsheetml/2006/main",wml:"http://schemas.openxmlformats.org/wordprocessingml/2006/main",mc:"http://schemas.openxmlformats.org/markup-compatibility/2006",a14:"http://schemas.microsoft.com/office/drawing/2010/main",a15:"http://schemas.microsoft.com/office/drawing/2012/main",a16:"http://schemas.microsoft.com/office/drawing/2014/main",p14:"http://schemas.microsoft.com/office/powerpoint/2010/main",p15:"http://schemas.microsoft.com/office/powerpoint/2012/main",p16:"http://schemas.microsoft.com/office/powerpoint/2015/main",p159:"http://schemas.microsoft.com/office/powerpoint/2015/09/main",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"},m4={[d.contentTypes]:"",[d.relationships]:"",[d.officeDocRels]:"r",[d.pml]:"p",[d.dml]:"a",[d.diagram]:"dgm",[d.chart]:"c",[d.chartDrawing]:"cdr",[d.sml]:"",[d.wml]:"w",[d.mc]:"mc",[d.a14]:"a14",[d.a15]:"a15",[d.a16]:"a16",[d.p14]:"p14",[d.p15]:"p15",[d.p16]:"p16",[d.p159]:"p159",[d.xml]:"xml"};var Id=class extends Error{constructor(n,r,a,l){super(`${n} at line ${a}:${l} (offset ${r})`);this.offset=r;this.line=a;this.column=l;this.name="XmlParseError"}offset;line;column},IS=e=>{let t=e.charCodeAt(0);return t>=65&&t<=90||t>=97&&t<=122||t===95||t===58},p4=e=>{if(IS(e))return!0;let t=e.charCodeAt(0);return t>=48&&t<=57||t===45||t===46},BS=e=>e===" "||e===" "||e===`
|
|
2
|
-
`||e==="\r",u4=(e,t)=>{let n=1,r=1;for(let a=0;a<t&&a<e.length;a++)e.charCodeAt(a)===10?(n++,r=1):r++;return{line:n,column:r}},$e=(e,t)=>{let{line:n,column:r}=u4(e.src,e.pos);throw new Id(t,e.pos,n,r)},ra=(e,t)=>{e.src.slice(e.pos,e.pos+t.length)!==t&&$e(e,`expected "${t}"`),e.pos+=t.length},r0=(e,t)=>e.src.slice(e.pos,e.pos+t.length)!==t?!1:(e.pos+=t.length,!0),_r=e=>{for(;e.pos<e.src.length&&BS(e.src[e.pos]??"");)e.pos++},a0=e=>{let t=e.pos;for((e.pos>=e.src.length||!IS(e.src[e.pos]??""))&&$e(e,"expected XML name"),e.pos++;e.pos<e.src.length&&p4(e.src[e.pos]??"");)e.pos++;return e.src.slice(t,e.pos)},f4=e=>{let t=e.indexOf(":");return t<0?{prefix:"",localName:e}:{prefix:e.slice(0,t),localName:e.slice(t+1)}},OS=(e,t)=>{let n="",r=0;for(;r<t.length;){if(t.charCodeAt(r)!==38){n+=t[r],r++;continue}let l=t.indexOf(";",r+1);l<0&&(e.pos-=t.length-r,$e(e,"unterminated entity reference"));let i=t.slice(r+1,l);if(i==="amp")n+="&";else if(i==="lt")n+="<";else if(i==="gt")n+=">";else if(i==="quot")n+='"';else if(i==="apos")n+="'";else if(i.startsWith("#x")||i.startsWith("#X")){let s=Number.parseInt(i.slice(2),16);Number.isFinite(s)||$e(e,`invalid hex numeric reference: &${i};`),n+=String.fromCodePoint(s)}else if(i.startsWith("#")){let s=Number.parseInt(i.slice(1),10);Number.isFinite(s)||$e(e,`invalid decimal numeric reference: &${i};`),n+=String.fromCodePoint(s)}else $e(e,`unknown entity reference: &${i};`);r=l+1}return n},h4=e=>{let t=e.src[e.pos];t!=='"'&&t!=="'"&&$e(e,"expected attribute value"),e.pos++;let n=e.pos;for(;e.pos<e.src.length&&e.src[e.pos]!==t;)e.src.charCodeAt(e.pos)===60&&$e(e,'"<" is not allowed inside an attribute value'),e.pos++;e.pos>=e.src.length&&$e(e,"unterminated attribute value");let r=e.src.slice(n,e.pos);return e.pos++,OS(e,r)},g4={parent:null,bindings:new Map([["xml",d.xml]])},MS=(e,t)=>{let n=e;for(;n;){let r=n.bindings.get(t);if(r!==void 0)return r;n=n.parent}return null},FS=(e,t,n,r)=>{let{prefix:a,localName:l}=f4(n),i="";if(a!==""){let s=MS(t,a);if(s===null)return $e(e,`unbound namespace prefix "${a}"`);i=s}else r||(i=MS(t,"")??"");return o(a,l,i)},y4=e=>{if(!r0(e,"<?xml"))return null;let t=e.src.indexOf("?>",e.pos);t<0&&$e(e,"unterminated XML declaration");let n=e.src.slice(e.pos,t);e.pos=t+2;let r=c=>n.match(new RegExp(`\\b${c}\\s*=\\s*(['"])(.*?)\\1`))?.[2],a=r("version");if(a===void 0)return $e(e,'XML declaration missing "version"');let l=r("encoding"),i=r("standalone"),s;if(i==="yes"||i==="no")s=i;else if(i!==void 0)return $e(e,`invalid standalone value "${i}"`);return{version:a,...l!==void 0?{encoding:l}:{},...s!==void 0?{standalone:s}:{}}},l0=e=>{ra(e,"<!--");let t=e.src.indexOf("-->",e.pos);t<0&&$e(e,"unterminated comment");let n=e.src.slice(e.pos,t);return n.includes("--")&&$e(e,'"--" is not allowed inside an XML comment'),e.pos=t+3,t0(n)},o0=e=>{ra(e,"<?");let t=e.pos;for(;e.pos<e.src.length&&!BS(e.src[e.pos]??"")&&e.src.slice(e.pos,e.pos+2)!=="?>";)e.pos++;let n=e.src.slice(t,e.pos);n.toLowerCase()==="xml"&&$e(e,'PI target may not be "xml"'),_r(e);let r=e.src.indexOf("?>",e.pos);r<0&&$e(e,"unterminated processing instruction");let a=e.src.slice(e.pos,r);return e.pos=r+2,n0(n,a)},x4=e=>{ra(e,"<![CDATA[");let t=e.src.indexOf("]]>",e.pos);t<0&&$e(e,"unterminated CDATA section");let n=e.src.slice(e.pos,t);return e.pos=t+3,e0(n)},S4=e=>{for(ra(e,"<!DOCTYPE");e.pos<e.src.length;){let t=e.src[e.pos];if(t==="["&&$e(e,"DOCTYPE internal subset is not supported"),t===">"){e.pos++;return}e.pos++}$e(e,"unterminated DOCTYPE")},b4=(e,t)=>{ra(e,"<");let n=a0(e),r=[],a=new Map,l=!1;for(;;){let p=e.pos;if(_r(e),e.pos===p&&e.src[e.pos]!=="/"&&e.src[e.pos]!==">"&&$e(e,"expected whitespace before next attribute"),r0(e,"/>")){l=!0;break}if(r0(e,">"))break;let u=a0(e);_r(e),ra(e,"="),_r(e);let f=h4(e);if(u==="xmlns")a.set("",f);else if(u.startsWith("xmlns:")){let y=u.slice(6);y===""&&$e(e,"empty namespace prefix in xmlns:"),y==="xmlns"&&$e(e,'prefix "xmlns" cannot be redeclared'),a.set(y,f)}else r.push({raw:u,rawValue:f})}let i={parent:t,bindings:new Map(a)},s=FS(e,i,n,!1),c=r.map(({raw:p,rawValue:u})=>b(FS(e,i,p,!0),u));return{element:h(s,{attrs:c,prefixDecls:a,children:[]}),scope:i,empty:l}},E4=e=>{ra(e,"</");let t=a0(e);return _r(e),ra(e,">"),t},A4=e=>{let t=e.pos;for(;e.pos<e.src.length&&e.src.charCodeAt(e.pos)!==60;)e.pos++;return OS(e,e.src.slice(t,e.pos))},XS=(e,t)=>{let{element:n,scope:r,empty:a}=b4(e,t);if(a)return n;for(;e.pos<e.src.length;)if(e.src.charCodeAt(e.pos)===60){if(e.src.startsWith("</",e.pos)){let l=E4(e),i=n.name.prefix===""?n.name.localName:`${n.name.prefix}:${n.name.localName}`;return l!==i&&$e(e,`mismatched closing tag: expected </${i}>, got </${l}>`),n}e.src.startsWith("<![CDATA[",e.pos)?n.children.push(x4(e)):e.src.startsWith("<!--",e.pos)?n.children.push(l0(e)):e.src.startsWith("<?",e.pos)?n.children.push(o0(e)):n.children.push(XS(e,r))}else{let l=A4(e);l.length>0&&n.children.push(be(l))}return $e(e,`unterminated element <${n.name.localName}>`)},$=e=>{let n={src:(e.charCodeAt(0)===65279?e.slice(1):e).replace(/\r\n?/g,`
|
|
3
|
-
`),pos:0},r=y4(n);_r(n);let a=[];for(;n.pos<n.src.length;)if(_r(n),n.src.startsWith("<!--",n.pos))a.push(l0(n));else if(n.src.startsWith("<!DOCTYPE",n.pos))S4(n);else if(n.src.startsWith("<?",n.pos))a.push(o0(n));else break;_r(n),(n.pos>=n.src.length||n.src[n.pos]!=="<")&&$e(n,"expected root element");let l=XS(n,g4),i=[];for(;n.pos<n.src.length&&(_r(n),!(n.pos>=n.src.length));)n.src.startsWith("<!--",n.pos)?i.push(l0(n)):n.src.startsWith("<?",n.pos)?i.push(o0(n)):$e(n,"unexpected content after root element");return{kind:"document",decl:r,prolog:a,root:l,epilog:i}},i0=e=>$(e).root;var kr=e=>e.kind==="element";var Mi=e=>e.children.filter(kr),m=(e,t)=>{for(let n of e.children)if(kr(n)&&or(n.name,t))return n;return null},Q=(e,t)=>{let n=[];for(let r of e.children)kr(r)&&or(r.name,t)&&n.push(r);return n},jS=(e,t)=>{for(let n of e.attrs)if(or(n.name,t))return n;return null},x=(e,t)=>jS(e,t)?.value??null,cn=e=>{let t="";for(let n of e.children)n.kind==="text"||n.kind==="cdata"?t+=n.data:n.kind==="element"&&(t+=cn(n));return t},_t=(e,t)=>{let n=[e];for(;n.length>0;){let r=n.pop();if(!(!r||t(r)===!1))for(let l=r.children.length-1;l>=0;l--){let i=r.children[l];i&&kr(i)&&n.push(i)}}};var GS=e=>{let t=e<32&&e!==9&&e!==10&&e!==13;if(t||e>=55296&&e<=57343||e===65534||e===65535){let n=e.toString(16).toUpperCase().padStart(4,"0"),r=t?"control character":"character";throw new Error(`XML-illegal ${r} U+${n} in text; strip ${t?"control":"illegal"} characters before authoring`)}},Bd=e=>{let t="";for(let n of e){let r=n.codePointAt(0);GS(r),r===38?t+="&":r===60?t+="<":r===62?t+=">":r===34?t+=""":r===9?t+="	":r===10?t+=" ":r===13?t+=" ":t+=n}return t},T4=e=>{let t="";for(let n of e){let r=n.codePointAt(0);GS(r),r===38?t+="&":r===60?t+="<":r===62?t+=">":r===13?t+=" ":t+=n}return t},d0=(e,t)=>e===""?t:`${e}:${t}`,w4=e=>` ${d0(e.name.prefix,e.name.localName)}="${Bd(e.value)}"`,v4=new Map([["xml",d.xml]]),C4=(e,t)=>{let n=null;for(let r=-1;r<e.attrs.length;r++){let a=r<0?e.name:e.attrs[r].name;if(r>=0&&a.prefix==="")continue;let l=e.prefixDecls.get(a.prefix)??n?.get(a.prefix);if(l===void 0){if((t.get(a.prefix)??"")===a.namespaceURI)continue;n??=new Map,n.set(a.prefix,a.namespaceURI)}else if(l!==a.namespaceURI)throw new Error(`prefix "${a.prefix}" on <${d0(e.name.prefix,e.name.localName)}> is bound to both ${l} and ${a.namespaceURI}`)}return n},$S=(e,t)=>{for(let[n,r]of e){let a=n===""?"xmlns":`xmlns:${n}`;t.push(` ${a}="${Bd(r)}"`)}},US=(e,t)=>{if(t.size===0)return e;let n=new Map(e);for(let[r,a]of t)n.set(r,a);return n},c0=(e,t,n)=>{let r=d0(e.name.prefix,e.name.localName);t.push("<"),t.push(r),$S(e.prefixDecls,t);let a=n;if(n){let l=C4(e,n);a=US(n,e.prefixDecls),l&&($S(l,t),a=US(a,l))}for(let l of e.attrs)t.push(w4(l));if(e.children.length===0){t.push("/>");return}t.push(">");for(let l of e.children)s0(l,t,a);t.push("</"),t.push(r),t.push(">")},s0=(e,t,n)=>{switch(e.kind){case"element":c0(e,t,n);return;case"text":t.push(T4(e.data));return;case"cdata":t.push("<![CDATA["),t.push(e.data.split("]]>").join("]]]]><![CDATA[>")),t.push("]]>");return;case"comment":t.push("<!--"),t.push(e.data),t.push("-->");return;case"pi":t.push("<?"),t.push(e.target),e.data.length>0&&(t.push(" "),t.push(e.data)),t.push("?>");return}},Od='<?xml version="1.0" encoding="UTF-8" standalone="yes"?>',P4=(e,t)=>{e.decl&&(t.push('<?xml version="'),t.push(Bd(e.decl.version)),t.push('"'),e.decl.encoding!==void 0&&(t.push(' encoding="'),t.push(Bd(e.decl.encoding)),t.push('"')),e.decl.standalone!==void 0&&(t.push(' standalone="'),t.push(e.decl.standalone),t.push('"')),t.push("?>"))},ae=(e,t={})=>{let n=[];e.decl?P4(e,n):(t.standaloneDeclaration??!0)&&n.push(Od);for(let r of e.prolog)s0(r,n,null);c0(e.root,n,v4);for(let r of e.epilog)s0(r,n,null);return n.join("")},Fi=e=>{let t=[];return c0(e,t,null),t.join("")};var qS=o("a","p",d.dml),wJ=o("a","r",d.dml),L4=o("a","t",d.dml),aa=e=>{let t="";for(let n of e.children)if(n.kind==="element"&&n.name.namespaceURI===d.dml)switch(n.name.localName){case"r":case"fld":{let r=Q(n,L4)[0];r&&(t+=cn(r));break}case"br":t+=`
|
|
4
|
-
`;break;default:break}return t},Je=e=>{let t=[];for(let n of Q(e,qS))t.push(aa(n));return t.join(`
|
|
5
|
-
`)},Fa=e=>Q(e,qS);var R4={coordinate:[-27273042329600,27273042316900],positiveCoordinate:[0,27273042316900],coordinate32:[-2147483648,2147483647],positiveCoordinate32:[0,2147483647],slideSize:[914400,51206400],lineWidth:[0,20116800],angle:[-2147483648,2147483647],fontSize:[100,4e5],textNonNegativePoint:[0,4e5],textMargin:[0,51206400],textIndent:[-51206400,51206400],textPoint:[-4e5,4e5],textSpacingPoint:[0,158400],unsignedInt:[0,4294967295],columnCount:[1,16],overlap:[-100,100],gapAmount:[0,500],holeSize:[1,90],firstSliceAng:[0,360],rotX:[-90,90],rotY:[0,360],perspective:[0,240],depthPercent:[20,2e3],heightPercent:[5,500],secondPieSize:[5,200],bubbleScale:[0,300],percent100000:[0,1e5]},Ae=(e,t,n)=>{if(!Number.isFinite(e))throw new RangeError(`${n}: expected a finite number, got ${e}`);let r=Math.round(e),[a,l]=R4[t];if(r<a||r>l)throw new RangeError(`${n}: ${e} is out of range for ${t} (${a}..${l})`);return r},Ue=(e,t)=>Ae(e,"coordinate",t),xe=(e,t)=>Ae(e,"positiveCoordinate",t),Xd=(e,t)=>Ae(e,"coordinate32",t),HS=(e,t)=>Ae(e,"positiveCoordinate32",t),Mr=(e,t)=>Ae(e,"lineWidth",t),VS=(e,t)=>Ae(e,"angle",t),zS=(e,t)=>Ae(e,"fontSize",t),WS=(e,t)=>Ae(e,"textPoint",t);var la=(e,t)=>Ae(e,"unsignedInt",t),YS=(e,t)=>Ae(e,"columnCount",t),ZS=(e,t)=>Ae(e,"overlap",t),Ii=(e,t)=>Ae(e,"gapAmount",t),KS=(e,t)=>Ae(e,"holeSize",t),JS=(e,t)=>Ae(e,"firstSliceAng",t),N4=/^\{[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{12}\}$/,jd=(e,t)=>{if(!N4.test(e))throw new RangeError(`${t}: ${JSON.stringify(e)} is not a GUID of the form {XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX}`);return e.toUpperCase()},Bi=()=>`{${globalThis.crypto.randomUUID().toUpperCase()}}`,Z=(e,t,n)=>{if(!t.includes(e))throw new RangeError(`${n}: ${JSON.stringify(e)} is not one of: ${t.join(", ")}`);return e};var QS=["line","lineInv","triangle","rtTriangle","rect","diamond","parallelogram","trapezoid","nonIsoscelesTrapezoid","pentagon","hexagon","heptagon","octagon","decagon","dodecagon","star4","star5","star6","star7","star8","star10","star12","star16","star24","star32","roundRect","round1Rect","round2SameRect","round2DiagRect","snipRoundRect","snip1Rect","snip2SameRect","snip2DiagRect","plaque","ellipse","teardrop","homePlate","chevron","pieWedge","pie","blockArc","donut","noSmoking","rightArrow","leftArrow","upArrow","downArrow","stripedRightArrow","notchedRightArrow","bentUpArrow","leftRightArrow","upDownArrow","leftUpArrow","leftRightUpArrow","quadArrow","leftArrowCallout","rightArrowCallout","upArrowCallout","downArrowCallout","leftRightArrowCallout","upDownArrowCallout","quadArrowCallout","bentArrow","uturnArrow","circularArrow","leftCircularArrow","leftRightCircularArrow","curvedRightArrow","curvedLeftArrow","curvedUpArrow","curvedDownArrow","swooshArrow","cube","can","lightningBolt","heart","sun","moon","smileyFace","irregularSeal1","irregularSeal2","foldedCorner","bevel","frame","halfFrame","corner","diagStripe","chord","arc","leftBracket","rightBracket","leftBrace","rightBrace","bracketPair","bracePair","straightConnector1","bentConnector2","bentConnector3","bentConnector4","bentConnector5","curvedConnector2","curvedConnector3","curvedConnector4","curvedConnector5","callout1","callout2","callout3","accentCallout1","accentCallout2","accentCallout3","borderCallout1","borderCallout2","borderCallout3","accentBorderCallout1","accentBorderCallout2","accentBorderCallout3","wedgeRectCallout","wedgeRoundRectCallout","wedgeEllipseCallout","cloudCallout","cloud","ribbon","ribbon2","ellipseRibbon","ellipseRibbon2","leftRightRibbon","verticalScroll","horizontalScroll","wave","doubleWave","plus","flowChartProcess","flowChartDecision","flowChartInputOutput","flowChartPredefinedProcess","flowChartInternalStorage","flowChartDocument","flowChartMultidocument","flowChartTerminator","flowChartPreparation","flowChartManualInput","flowChartManualOperation","flowChartConnector","flowChartPunchedCard","flowChartPunchedTape","flowChartSummingJunction","flowChartOr","flowChartCollate","flowChartSort","flowChartExtract","flowChartMerge","flowChartOfflineStorage","flowChartOnlineStorage","flowChartMagneticTape","flowChartMagneticDisk","flowChartMagneticDrum","flowChartDisplay","flowChartDelay","flowChartAlternateProcess","flowChartOffpageConnector","actionButtonBlank","actionButtonHome","actionButtonHelp","actionButtonInformation","actionButtonForwardNext","actionButtonBackPrevious","actionButtonEnd","actionButtonBeginning","actionButtonReturn","actionButtonDocument","actionButtonSound","actionButtonMovie","gear6","gear9","funnel","mathPlus","mathMinus","mathMultiply","mathDivide","mathEqual","mathNotEqual","cornerTabs","squareTabs","plaqueTabs","chartX","chartStar","chartPlus"],Gl=["solid","dot","dash","lgDash","dashDot","lgDashDot","lgDashDotDot","sysDash","sysDot","sysDashDot","sysDashDotDot"],$d=["horz","vert","vert270","wordArtVert","eaVert","mongolianVert","wordArtVertRtl"],eb=["alphaLcParenBoth","alphaUcParenBoth","alphaLcParenR","alphaUcParenR","alphaLcPeriod","alphaUcPeriod","arabicParenBoth","arabicParenR","arabicPeriod","arabicPlain","romanLcParenBoth","romanUcParenBoth","romanLcParenR","romanUcParenR","romanLcPeriod","romanUcPeriod","circleNumDbPlain","circleNumWdBlackPlain","circleNumWdWhitePlain","arabicDbPeriod","arabicDbPlain","ea1ChsPeriod","ea1ChsPlain","ea1ChtPeriod","ea1ChtPlain","ea1JpnChsDbPeriod","ea1JpnKorPlain","ea1JpnKorPeriod","arabic1Minus","arabic2Minus","hebrew2Minus","thaiAlphaPeriod","thaiAlphaParenR","thaiAlphaParenBoth","thaiNumPeriod","thaiNumParenR","thaiNumParenBoth","hindiAlphaPeriod","hindiNumPeriod","hindiNumParenR","hindiAlpha1Period"],tb=["none","words","sng","dbl","heavy","dotted","dottedHeavy","dash","dashHeavy","dashLong","dashLongHeavy","dotDash","dotDashHeavy","dotDotDash","dotDotDashHeavy","wavy","wavyHeavy","wavyDbl"],nb=["noStrike","sngStrike","dblStrike"];var rb=["screen4x3","letter","A4","35mm","overhead","banner","custom","ledger","A3","B4ISO","B5ISO","B4JIS","B5JIS","hagakiCard","screen16x9","screen16x10"],Ud={top:"t",center:"ctr",bottom:"b"},m0=["legacyObliqueTopLeft","legacyObliqueTop","legacyObliqueTopRight","legacyObliqueLeft","legacyObliqueFront","legacyObliqueRight","legacyObliqueBottomLeft","legacyObliqueBottom","legacyObliqueBottomRight","legacyPerspectiveTopLeft","legacyPerspectiveTop","legacyPerspectiveTopRight","legacyPerspectiveLeft","legacyPerspectiveFront","legacyPerspectiveRight","legacyPerspectiveBottomLeft","legacyPerspectiveBottom","legacyPerspectiveBottomRight","orthographicFront","isometricTopUp","isometricTopDown","isometricBottomUp","isometricBottomDown","isometricLeftUp","isometricLeftDown","isometricRightUp","isometricRightDown","isometricOffAxis1Left","isometricOffAxis1Right","isometricOffAxis1Top","isometricOffAxis2Left","isometricOffAxis2Right","isometricOffAxis2Top","isometricOffAxis3Left","isometricOffAxis3Right","isometricOffAxis3Bottom","isometricOffAxis4Left","isometricOffAxis4Right","isometricOffAxis4Bottom","obliqueTopLeft","obliqueTop","obliqueTopRight","obliqueLeft","obliqueRight","obliqueBottomLeft","obliqueBottom","obliqueBottomRight","perspectiveFront","perspectiveLeft","perspectiveRight","perspectiveAbove","perspectiveBelow","perspectiveAboveLeftFacing","perspectiveAboveRightFacing","perspectiveContrastingLeftFacing","perspectiveContrastingRightFacing","perspectiveHeroicLeftFacing","perspectiveHeroicRightFacing","perspectiveHeroicExtremeLeftFacing","perspectiveHeroicExtremeRightFacing","perspectiveRelaxed","perspectiveRelaxedModerately"],p0=["legacyFlat1","legacyFlat2","legacyFlat3","legacyFlat4","legacyNormal1","legacyNormal2","legacyNormal3","legacyNormal4","legacyHarsh1","legacyHarsh2","legacyHarsh3","legacyHarsh4","threePt","balanced","soft","harsh","flood","contrasting","morning","sunrise","sunset","chilly","freezing","flat","twoPt","glow","brightRoom"],u0=["tl","t","tr","l","r","bl","b","br"],f0=["relaxedInset","circle","slope","cross","angle","softRound","convex","coolSlant","divot","riblet","hardEdge","artDeco"],h0=["legacyMatte","legacyPlastic","legacyMetal","legacyWireframe","matte","plastic","metal","warmMatte","translucentPowder","powder","dkEdge","softEdge","clear","flat","softmetal"];var D4=o("a","srgbClr",d.dml),_4=o("a","schemeClr",d.dml),g0=o("","val",""),k4=["bg1","tx1","bg2","tx2","accent1","accent2","accent3","accent4","accent5","accent6","hlink","folHlink","phClr","lt1","dk1","lt2","dk2"],M4=new Set(k4),ab=e=>{let t=e.startsWith("#")?e.slice(1):e;return/^[0-9A-Fa-f]{6}$/.test(t)?t.toUpperCase():/^[0-9A-Fa-f]{3}$/.test(t)?Array.from(t,n=>n+n).join("").toUpperCase():null},Fr=e=>{let t=e.startsWith("scheme:")?e.slice(7):e;if(M4.has(t))return{kind:"scheme",token:t};if(e!==t)return null;let n=ab(e);return n===null?null:{kind:"srgb",hex:n}},Oi=e=>ab(e),tt=e=>{let t=Fr(e);if(t===null)throw new Error(`unrecognized color: ${e}`);return t.kind==="srgb"?h(D4,{attrs:[b(g0,t.hex)]}):h(_4,{attrs:[b(g0,t.token)]})},dt=e=>Fr(e)===null?null:e,Xi=(e,t)=>{if(t.opacity!==void 0&&(!Number.isFinite(t.opacity)||t.opacity<0||t.opacity>1))throw new RangeError("opacity must be a finite number from 0 to 1");if(t.color===void 0&&!e)throw new Error("opacity editing requires a solid color");let n=a=>a.name.namespaceURI===d.dml&&["alpha","alphaMod","alphaOff"].includes(a.name.localName),r=t.color===void 0?{...e,children:[...e.children]}:tt(t.color);return t.color!==void 0&&e&&(r.children=e.children.filter(a=>a.kind==="element"&&n(a))),t.opacity!==void 0&&(r.children=r.children.filter(l=>l.kind!=="element"||!n(l)),r.children.push(h(o("a","alpha",d.dml),{attrs:[b(g0,String(Math.round(t.opacity*1e5)))]}))),r};var lb=new Set(["comp","inv","gray","gamma","invGamma"]),ob=new Set(["tint","shade","alpha","alphaOff","alphaMod","hue","hueOff","hueMod","sat","satOff","satMod","lum","lumOff","lumMod","red","redOff","redMod","green","greenOff","greenMod","blue","blueOff","blueMod"]),Gd=1e5,y0=6e4,F4=360,I4=-(2**31),B4=2**31-1;function Cn(e){let t=[];for(let n of e.children){if(n.kind!=="element"||n.name.namespaceURI!==d.dml)continue;let r=n.name.localName;if(lb.has(r))t.push({kind:r});else if(ob.has(r)){let a=x(n,o("","val",""));if(a===null)continue;let l=Number.parseFloat(a)/(r==="hue"||r==="hueOff"?y0:a.endsWith("%")?100:Gd);Number.isFinite(l)&&t.push({kind:r,value:l})}}return t}function lt(e){return e.map(t=>{if(!("value"in t)){if(!lb.has(t.kind))throw new RangeError("unknown color transform");return h(o("a",t.kind,d.dml))}let{kind:n,value:r}=t,l=Math.round(r*(n==="hue"||n==="hueOff"?y0:Gd));if(!ob.has(n)||!Number.isFinite(r)||l<I4||l>B4||["tint","shade","alpha"].includes(n)&&(r<0||r>1)||n==="alphaOff"&&(r<-1||r>1)||["alphaMod","hueMod"].includes(n)&&r<0||n==="hue"&&(r<0||l>=F4*y0))throw new RangeError(`invalid ${n} color transform: ${r}`);return h(o("a",n,d.dml),{attrs:[b(o("","val",""),String(l))]})})}function ql(e){let t=e.find(a=>a.kind==="lumMod"),n=e.find(a=>a.kind==="lumOff");if(!t||!("value"in t))return;let r=n&&"value"in n?n.value:0;if(r>0&&Math.round((t.value+r)*Gd)===Gd)return r;if(r===0&&t.value>=0&&t.value<=1)return t.value-1}function qd(e){let t=1;for(let n of e)"value"in n&&(n.kind==="alpha"?t=n.value:n.kind==="alphaMod"?t*=n.value:n.kind==="alphaOff"&&(t+=n.value));return Math.max(0,Math.min(1,t))}var O4=o("a","effectLst",d.dml),X4=o("a","outerShdw",d.dml),j4=o("a","innerShdw",d.dml),$4=o("a","glow",d.dml),U4=o("a","reflection",d.dml),G4=o("a","softEdge",d.dml),q4=o("a","alpha",d.dml),S0=o("","blurRad",""),b0=o("","dist",""),E0=o("","dir",""),db=o("","algn",""),cb=o("","rotWithShape",""),mb=o("","rad",""),H4=o("","stA",""),V4=o("","stPos",""),z4=o("","endA",""),W4=o("","endPos",""),Y4=o("","fadeDir",""),pb=o("","sx",""),ub=o("","sy",""),fb=o("","kx",""),hb=o("","ky",""),Z4=o("","val",""),A0=1e5,K4=new Set(["alpha","alphaMod","alphaOff"]),Hl=6e4,ir=360,x0=ir*Hl,ib=90*Hl,J4=-2147483648,Q4=2147483647,Hd=(e,t)=>{if(e===void 0)return;if(!Number.isFinite(e))throw new RangeError(`${t} must be finite`);let n=Math.round(e*A0);if(!Number.isSafeInteger(n)||n<J4||n>Q4)throw new RangeError(`${t} must fit an OOXML percentage integer`);return String(n)},Vd=(e,t)=>{if(e===void 0)return;if(!Number.isFinite(e))throw new RangeError(`${t} must be finite`);let n=Math.round(e*Hl);if(n<=-ib||n>=ib)throw new RangeError(`${t} must be strictly between -90 and 90 degrees`);return String(n)},mn=(e,t)=>t===void 0?[]:[b(e,t)],eI=e=>{for(let t=0;t<e.children.length;t++){let n=e.children[t];if(!(n?.kind!=="element"||n.name.namespaceURI!==d.dml)&&(n.name.localName==="scene3d"||n.name.localName==="sp3d"||n.name.localName==="extLst"))return t}return e.children.length},gb=e=>{e.children=e.children.filter(t=>!(t.kind==="element"&&t.name.namespaceURI===d.dml&&t.name.localName==="effectLst"))},sb=["blur","fillOverlay","glow","innerShdw","outerShdw","prstShdw","reflection","softEdge"],yb=e=>{for(let t of e.children)if(t.kind==="element"&&t.name.namespaceURI===d.dml&&t.name.localName==="effectLst")return t;return null},ji=(e,t,n=eI)=>{let r=yb(e);r===null&&(r=h(O4,{children:[]}),e.children.splice(n(e),0,r));let a=c=>{let p=sb.indexOf(c);return p===-1?sb.length:p},l=a(t.name.localName),i=r.children.filter(c=>!(c.kind==="element"&&c.name.namespaceURI===d.dml&&c.name.localName===t.name.localName)),s=i.length;for(let c=0;c<i.length;c++){let p=i[c];if(!(p?.kind!=="element"||p.name.namespaceURI!==d.dml)&&a(p.name.localName)>l){s=c;break}}i.splice(s,0,t),r.children=i},T0=(e,t)=>{let{color:n,colorTransforms:r,opacity:a}=e;if(r!==void 0&&n===void 0)throw new Error(`${t}: colorTransforms requires color`);let l=tt(n??"#000000"),i=r??[];return l.children=lt(i),a!==void 0&&(r===void 0||a!==qd(i))&&(l.children=l.children.filter(s=>!(s.kind==="element"&&K4.has(s.name.localName))),a>=0&&a<1&&l.children.push(h(q4,{attrs:[b(Z4,String(Math.round(a*A0)))]}))),l},$i=(e,t={},n)=>{let r=xe(t.blurEmu??50800,"setShapeShadow: blurEmu"),a=xe(t.offsetEmu??38100,"setShapeShadow: offsetEmu"),l=t.angleDeg??45,i=String(Math.round((l%360+360)%360*6e4)),s=h(X4,{attrs:[b(S0,String(r)),b(b0,String(a)),b(E0,i),...mn(pb,Hd(t.scaleX,"setShapeShadow: scaleX")),...mn(ub,Hd(t.scaleY,"setShapeShadow: scaleY")),...mn(fb,Vd(t.skewX,"setShapeShadow: skewX")),...mn(hb,Vd(t.skewY,"setShapeShadow: skewY")),b(db,t.alignment??"tl"),b(cb,t.rotateWithShape===!0?"1":"0")],children:[T0(t,"setShapeShadow")]});ji(e,s,n)},Ui=(e,t={},n)=>{let r=xe(t.blurEmu??50800,"setInnerShadow: blurEmu"),a=xe(t.offsetEmu??38100,"setInnerShadow: offsetEmu"),l=t.angleDeg??45;if(!Number.isFinite(l))throw new RangeError("setInnerShadow: angleDeg must be finite");let i=t.opacity;if(i!==void 0&&(!Number.isFinite(i)||i<0||i>1))throw new RangeError("setInnerShadow: opacity must be in [0, 1]");let s=String(Math.round((l%ir+ir)%ir*Hl)%x0),c=h(j4,{attrs:[b(S0,String(r)),b(b0,String(a)),b(E0,s)],children:[T0(t,"setInnerShadow")]});ji(e,c,n)},Gi=(e,t,n)=>{let r=String(xe(t.radiusEmu??63500,"setShapeGlow: radiusEmu")),a=h($4,{attrs:[b(mb,r)],children:[T0(t,"setShapeGlow")]});ji(e,a,n)},qi=(e,t={},n)=>{let r=xe(t.blurEmu??0,"setReflection: blurEmu"),a=xe(t.offsetEmu??0,"setReflection: offsetEmu"),l=t.angleDeg??0;if(!Number.isFinite(l))throw new RangeError("setReflection: angleDeg must be finite");let i=(u,f)=>{if(u!==void 0){if(!Number.isFinite(u)||u<0||u>1)throw new RangeError(`${f} must be in [0, 1]`);return String(Math.round(u*A0))}},s=Math.round((l%ir+ir)%ir*Hl)%x0,c=(u,f)=>{if(u!==void 0){if(!Number.isFinite(u))throw new RangeError(`${f} must be finite`);return String(Math.round((u%ir+ir)%ir*Hl)%x0)}},p=[b(S0,String(r)),b(b0,String(a)),b(E0,String(s)),b(db,t.alignment??"b"),b(cb,t.rotateWithShape===!1?"0":"1"),...mn(H4,i(t.startOpacity,"setReflection: startOpacity")),...mn(V4,i(t.startPosition,"setReflection: startPosition")),...mn(z4,i(t.opacity,"setReflection: opacity")),...mn(W4,i(t.endPosition,"setReflection: endPosition")),...mn(Y4,c(t.fadeDirection,"setReflection: fadeDirection")),...mn(pb,Hd(t.scaleX,"setReflection: scaleX")),...mn(ub,Hd(t.scaleY,"setReflection: scaleY")),...mn(fb,Vd(t.skewX,"setReflection: skewX")),...mn(hb,Vd(t.skewY,"setReflection: skewY"))];ji(e,h(U4,{attrs:p}),n)},w0=(e,t,n)=>{let r=String(xe(t,"setShapeSoftEdge: radiusEmu"));ji(e,h(G4,{attrs:[b(mb,r)]}),n)},v0=e=>{gb(e)},oa=(e,t)=>{let n=yb(e);n!==null&&(n.children=n.children.filter(r=>!(r.kind==="element"&&r.name.namespaceURI===d.dml&&r.name.localName===t)),n.children.length===0&&gb(e))};var xb=o("a","solidFill",d.dml),tI=o("a","noFill",d.dml),nI=o("a","gradFill",d.dml),rI=o("a","gsLst",d.dml),aI=o("a","gs",d.dml),lI=o("a","lin",d.dml),oI=o("a","path",d.dml),iI=o("a","fillToRect",d.dml),sI=o("","path",""),dI=o("","pos",""),cI=o("","ang",""),mI=o("","scaled",""),pI=o("","flip",""),uI=o("","rotWithShape",""),fI=new Set(["noFill","solidFill","gradFill","blipFill","pattFill","grpFill"]),sr=e=>{e.children=e.children.filter(t=>!(t.kind==="element"&&t.name.namespaceURI===d.dml&&fI.has(t.name.localName)))},zd=e=>{for(let t=0;t<e.children.length;t++){let n=e.children[t];if(!(n?.kind!=="element"||n.name.namespaceURI!==d.dml)&&(n.name.localName==="ln"||n.name.localName==="effectLst"||n.name.localName==="effectDag"||n.name.localName==="scene3d"||n.name.localName==="sp3d"||n.name.localName==="extLst"))return t}return e.children.length},dr=(e,t)=>{let n=m(e,xb)?.children.find(l=>l.kind==="element"),r=typeof t=="string"?tt(t):Xi(n,t);sr(e);let a=h(xb,{children:[r]});e.children.splice(zd(e),0,a)},C0=e=>{sr(e),e.children.splice(zd(e),0,h(tI))},Vl=e=>{sr(e)},Ia=["pct5","pct10","pct20","pct25","pct30","pct40","pct50","pct60","pct70","pct75","pct80","pct90","horz","vert","ltHorz","ltVert","dkHorz","dkVert","narHorz","narVert","dashHorz","dashVert","cross","dnDiag","upDiag","ltDnDiag","ltUpDiag","dkDnDiag","dkUpDiag","wdDnDiag","wdUpDiag","dashDnDiag","dashUpDiag","diagCross","smCheck","lgCheck","smGrid","lgGrid","dotGrid","smConfetti","lgConfetti","horzBrick","diagBrick","solidDmnd","openDmnd","dotDmnd","plaid","sphere","weave","divot","shingle","wave","trellis","zigZag"],Hi=(e,t)=>{if(e.path!==void 0&&Z(e.path,["linear","circle","rect","shape"],`${t}: path`),e.stops.length<2)throw new Error("gradient fill requires at least two stops");for(let r of e.stops){if(!Number.isFinite(r.offset)||r.offset<0||r.offset>1)throw new RangeError(`gradient stop offset must be in [0, 1], got ${r.offset}`);if(tt(r.color),lt(r.colorTransforms??[]),r.opacity!==void 0&&(!Number.isFinite(r.opacity)||r.opacity<0||r.opacity>1))throw new RangeError("gradient stop opacity must be in [0, 1]");if(r.brightness!==void 0&&(!Number.isFinite(r.brightness)||r.brightness<-1||r.brightness>1))throw new RangeError("gradient stop brightness must be in [-1, 1]")}if(e.angleDeg!==void 0&&!Number.isFinite(e.angleDeg))throw new RangeError("gradient angle must be finite");let n=(r,a)=>{if(r!==void 0)for(let l of Object.values(r)){let i=Math.round(l*1e5);if(!Number.isFinite(l)||!Number.isFinite(i)||i<-(2**31)||i>2**31-1)throw new RangeError(`${a} inset must fit an OOXML percentage`)}};n(e.focus,"gradient focus"),n(e.tileRect,"gradient tile")},Ab=(e,t)=>{Z(e.preset,Ia,`${t}: preset`),tt(e.foreground),tt(e.background),lt(e.foregroundTransforms??[]),lt(e.backgroundTransforms??[])},Sb=o("a","pattFill",d.dml),bb=o("a","fgClr",d.dml),hI=o("a","bgClr",d.dml),Eb=o("","prst",""),Ba=(e,t)=>{let n=m(e,Sb),r=n?he(n):h(Sb,{attrs:[b(Eb,"pct5")]});if(t.preset!==void 0){let a=Z(t.preset,Ia,"setShapePatternFill: preset");r.attrs=r.attrs.filter(l=>l.name.localName!=="prst"||l.name.namespaceURI!==""),r.attrs.push(b(Eb,a))}for(let[a,l,i,s]of[[bb,t.foreground,"accent1",t.foregroundTransforms],[hI,t.background,"bg1",t.backgroundTransforms]]){let c=m(r,a);if(l===void 0&&s===void 0&&n)continue;let p=c?.children.find(y=>y.kind==="element"&&y.name.namespaceURI===d.dml),u=l===void 0&&p?.kind==="element"?he(p):tt(l??i);s!==void 0&&(u.children=lt(s));let f=h(a,{children:[u]});c?r.children.splice(r.children.indexOf(c),1,f):r.children.splice(a===bb?0:r.children.length,0,f)}sr(e),e.children.splice(zd(e),0,r)},Oa=(e,t)=>{let n=P0(t,"setShapeGradientFill");sr(e),e.children.splice(zd(e),0,n)},P0=(e,t)=>{if(Hi(e,t),e.stops.length<2)throw new Error("gradient fill requires at least two stops");let n=e.stops.map(i=>{if(!Number.isFinite(i.offset)||i.offset<0||i.offset>1)throw new RangeError(`gradient stop offset must be in [0, 1], got ${i.offset}`);let s=tt(i.color),c=i.colorTransforms??[];if(s.children=lt(c),i.opacity!==void 0){if(!Number.isFinite(i.opacity)||i.opacity<0||i.opacity>1)throw new RangeError("gradient stop opacity must be in [0, 1]");(!i.colorTransforms||i.opacity!==qd(c))&&(s=Xi(s,{opacity:i.opacity}))}if(i.brightness!==void 0){if(!Number.isFinite(i.brightness)||i.brightness<-1||i.brightness>1)throw new RangeError("gradient stop brightness must be in [-1, 1]");i.brightness!==ql(c)&&(s.children=s.children.filter(u=>!(u.kind==="element"&&u.name.namespaceURI===d.dml&&["lumMod","lumOff"].includes(u.name.localName))),s.children.push(h(o("a","lumMod",d.dml),{attrs:[b(o("","val",""),String(Math.round((1-Math.abs(i.brightness))*1e5)))]})),i.brightness>0&&s.children.push(h(o("a","lumOff",d.dml),{attrs:[b(o("","val",""),String(Math.round(i.brightness*1e5)))]})))}let p=String(Math.round(i.offset*1e5));return h(aI,{attrs:[b(dI,p)],children:[s]})}),r=i=>String(Math.round(i*1e5)),a=e.path===void 0||e.path==="linear"?(()=>{let i=e.angleDeg??90;if(!Number.isFinite(i))throw new RangeError("gradient angle must be finite");let s=(i%360+360)%360;return h(lI,{attrs:[b(cI,String(Math.round(s*6e4)%216e5)),b(mI,e.scaled?"1":"0")]})})():h(oI,{attrs:[b(sI,e.path)],children:e.focus===void 0?[]:[h(iI,{attrs:[b(o("","l",""),r(e.focus.left)),b(o("","t",""),r(e.focus.top)),b(o("","r",""),r(e.focus.right)),b(o("","b",""),r(e.focus.bottom))]})]}),l=e.tileRect===void 0?[]:[h(o("a","tileRect",d.dml),{attrs:["left","top","right","bottom"].map((i,s)=>{let c=Math.round(e.tileRect[i]*1e5),p=-(2**31),u=2**31-1;if(!Number.isFinite(c)||c<p||c>u)throw new RangeError("gradient tile inset must fit an OOXML percentage");return b(o("",["l","t","r","b"][s],""),String(c))})})];return h(nI,{attrs:[b(pI,"none"),b(uI,e.rotateWithShape===!1?"0":"1")],children:[h(rI,{children:n}),a,...l]})};var Vi=o("a","ln",d.dml),Tb=o("a","solidFill",d.dml),gI=o("a","noFill",d.dml),vb=o("","w",""),Cb=new Set(["noFill","solidFill","gradFill","pattFill"]),yI={noFill:0,solidFill:0,gradFill:0,pattFill:0,prstDash:1,custDash:1,round:2,bevel:2,miter:2,headEnd:3,tailEnd:4,extLst:5},xI=e=>e.name.namespaceURI===d.dml?yI[e.name.localName]??99:99,zl=(e,t)=>je(e,t,xI),N0=(e,t)=>{e.children=e.children.filter(n=>!(n.kind==="element"&&n.name.namespaceURI===d.dml&&t.has(n.name.localName)))},Xa=e=>m(e,Vi)??Pb(e,h(Vi)),Pb=(e,t)=>{let n=new Set(["effectLst","effectDag","scene3d","sp3d","extLst"]);for(let r=0;r<e.children.length;r++){let a=e.children[r];if(a?.kind==="element"&&a.name.namespaceURI===d.dml&&n.has(a.name.localName))return e.children.splice(r,0,t),t}return e.children.push(t),t},D0=(e,t)=>{let n=m(e,Vi),r=n??h(Vi);k0(r,t),n||Pb(e,r)},_0=(e,t)=>{if(e.fill!==void 0){if(e.color!==void 0||e.opacity!==void 0)throw new Error(`${t}: fill is exclusive with color and opacity; pass one`);Z(e.fill.kind,["gradient"],`${t}: fill.kind`),Hi(e.fill,`${t}: fill`)}},k0=(e,t,n="setShapeStroke")=>{_0(t,n);let r=m(e,Tb)?.children.find(l=>l.kind==="element"),a=t.fill!==void 0?P0(t.fill,`${n}: fill`):t.color!==void 0||t.opacity!==void 0?h(Tb,{children:[Xi(r,t)]}):void 0;if(t.widthEmu!==void 0){let l=Mr(t.widthEmu,`${n}: widthEmu`);e.attrs=e.attrs.filter(i=>i.name.localName!=="w"),e.attrs.push(b(vb,String(l)))}a&&(N0(e,Cb),zl(e,a))},M0=e=>{let t=Xa(e);N0(t,Cb),zl(t,h(gI))},F0=e=>{e.children=e.children.filter(t=>!(t.kind==="element"&&t.name.namespaceURI===d.dml&&t.name.localName==="ln"))},SI=o("a","prstDash",d.dml),bI=o("","val",""),I0=(e,t)=>{Z(t,Gl,"setShapeStrokeDash: dash");let n=Xa(e);n.children=n.children.filter(r=>!(r.kind==="element"&&r.name.namespaceURI===d.dml&&r.name.localName==="prstDash")),zl(n,h(SI,{attrs:[b(bI,t)]}))},EI=o("","type",""),AI=o("","len",""),B0=(e,t,n)=>{Z(t,["head","tail"],"setShapeStrokeArrow: end"),Z(n.type,["none","triangle","stealth","diamond","oval","arrow"],"setShapeStrokeArrow: type"),n.width!==void 0&&Z(n.width,["sm","med","lg"],"setShapeStrokeArrow: width"),n.length!==void 0&&Z(n.length,["sm","med","lg"],"setShapeStrokeArrow: length");let r=Xa(e),a={head:"headEnd",tail:"tailEnd"}[t];r.children=r.children.filter(i=>!(i.kind==="element"&&i.name.namespaceURI===d.dml&&i.name.localName===a));let l=[b(EI,n.type)];n.width!==void 0&&l.push(b(vb,n.width)),n.length!==void 0&&l.push(b(AI,n.length)),zl(r,h(o("a",a,d.dml),{attrs:l}))},O0=(e,t)=>{t!==null&&Z(t,["rnd","sq","flat"],"setShapeStrokeCap: cap");let n=Xa(e);n.attrs=n.attrs.filter(r=>!(r.name.namespaceURI===""&&r.name.localName==="cap")),t!==null&&n.attrs.push(b(o("","cap",""),t))},TI=new Set(["round","bevel","miter"]),X0=(e,t)=>{t!==null&&Z(t,["round","bevel","miter"],"setShapeStrokeJoin: join");let n=Xa(e);N0(n,TI),t!==null&&zl(n,h(o("a",t,d.dml)))},j0=(e,t)=>{t!==null&&Z(t,["sng","dbl","thickThin","thinThick","tri"],"setShapeStrokeCompound: cmpd");let n=Xa(e);n.attrs=n.attrs.filter(r=>!(r.name.namespaceURI===""&&r.name.localName==="cmpd")),t!==null&&n.attrs.push(b(o("","cmpd",""),t))},Lb=["curved","freehand","scribble"],zi="http://schemas.microsoft.com/office/drawing/2018/sketchyshapes",Rb="{C807C97D-BFC1-408E-A445-0C87EB9F89A2}",L0=o("a","extLst",d.dml),wI=o("a","ext",d.dml),vI=o("","uri",""),CI=o("","sd",""),Nb=o("ask","lineSketchStyleProps",zi),R0=o("ask","type",zi),Db={curved:"lineSketchCurved",freehand:"lineSketchFreehand",scribble:"lineSketchScribble"},PI=new Set(["prstGeom","custGeom"]),wb=e=>e.kind==="element"&&e.name.namespaceURI===d.dml&&PI.has(e.name.localName),_b=e=>m(e,L0)?.children.find(n=>n.kind==="element"&&n.name.namespaceURI===d.dml&&n.name.localName==="ext"&&n.attrs.some(r=>r.name.localName==="uri"&&r.value===Rb))??null,kb=e=>{let t=_b(e);return t&&m(t,Nb)},$0=e=>{let t=kb(e),r=(t&&m(t,R0))?.children.find(a=>a.kind==="element");return!r||r.name.namespaceURI!==zi?null:Lb.find(a=>Db[a]===r.name.localName)??null};var U0=(e,t,n)=>{t!==null&&Z(t,Lb,"setShapeStrokeSketch: sketch");let r=m(e,Vi);if(t===null&&!r)return;let a=r??Xa(e),l=m(a,L0),i=_b(a),s=kb(a),c=s?.children.find(wb);if(s&&c){let f=e.children.findIndex(wb);f>=0&&e.children.splice(f,1,c),s.children=s.children.filter(y=>y!==c)}if(t===null){i&&l&&(l.children=l.children.filter(f=>f!==i),l.children.some(f=>f.kind==="element")||(a.children=a.children.filter(f=>f!==l)));return}let p=h(R0,{children:[h(o("ask",Db[t],zi))]});if(s){let f=m(s,R0);if(f)s.children.splice(s.children.indexOf(f),1,p);else{let y=s.children.findIndex(g=>g.kind==="element"&&(g.name.localName==="seed"||g.name.localName==="extLst"));s.children.splice(y<0?s.children.length:y,0,p)}return}let u=h(Nb,{attrs:[b(CI,String(n>>>0))],prefixDecls:new Map([["ask",zi]]),children:[p]});if(i)i.children.push(u);else{let f=h(wI,{attrs:[b(vI,Rb)],children:[u]});l?l.children.push(f):zl(a,h(L0,{children:[f]}))}};var LI=o("a","r",d.dml),G0=o("a","rPr",d.dml),Mb=o("a","ln",d.dml),RI=o("a","latin",d.dml),NI=o("a","ea",d.dml),DI=o("a","cs",d.dml),q0=o("a","solidFill",d.dml),_I=o("a","uFillTx",d.dml),kI=o("a","uFill",d.dml),H0=o("a","srgbClr",d.dml),V0=o("a","schemeClr",d.dml),MI=o("","sz",""),FI=o("","b",""),II=o("","i",""),BI=o("","u",""),OI=o("","strike",""),XI=o("","spc",""),jI=o("","kern",""),$I=o("","normalizeH",""),UI=o("","baseline",""),GI=o("","cap",""),z0=o("","typeface",""),Wl=o("","val",""),qI=o("a","highlight",d.dml),HI=o("a","noFill",d.dml),VI=o("a","blipFill",d.dml),Fb={ln:0,noFill:1,solidFill:1,gradFill:1,blipFill:1,pattFill:1,grpFill:1,effectLst:2,effectDag:2,highlight:3,uLnTx:4,uLn:4,uFillTx:5,uFill:5,latin:6,ea:7,cs:8,sym:9,hlinkClick:10,hlinkMouseOver:11,rtl:12,extLst:13},Ir=e=>e.name.namespaceURI===d.dml?Fb[e.name.localName]??99:99,W0=e=>{let{color:t,colorTransforms:n,textFill:r,underlineColor:a,highlight:l,outline:i,shadow:s,innerShadow:c,glow:p,reflection:u,...f}=e,y=t==null?null:dt(t),g=i?.color===void 0?null:dt(i.color),S=s?.color===void 0?null:dt(s.color),E=c?.color===void 0?null:dt(c.color),A=p==null?null:dt(p.color),T=r===void 0?void 0:zI(r),w=i?.fill===void 0?void 0:Ib(i.fill);return{...f,...t==null?{}:{color:y},...y===null||n===void 0?{}:{colorTransforms:n},...T===void 0?{}:{textFill:T},...a===void 0?{}:{underlineColor:a===null?null:dt(a)},...l==null?{}:{highlight:dt(l)},...i==null?{}:{outline:{...i.widthEmu===void 0?{}:{widthEmu:i.widthEmu},...g===null?{}:{color:g},...g===null||i.colorTransforms===void 0?{}:{colorTransforms:i.colorTransforms},...w===void 0?{}:{fill:w}}},...s==null?{}:{shadow:{...s.alignment===void 0?{}:{alignment:s.alignment},...s.rotateWithShape===void 0?{}:{rotateWithShape:s.rotateWithShape},...s.blurEmu===void 0?{}:{blurEmu:s.blurEmu},...s.offsetEmu===void 0?{}:{offsetEmu:s.offsetEmu},...s.angleDeg===void 0?{}:{angleDeg:s.angleDeg},...s.opacity===void 0?{}:{opacity:s.opacity},...s.scaleX===void 0?{}:{scaleX:s.scaleX},...s.scaleY===void 0?{}:{scaleY:s.scaleY},...s.skewX===void 0?{}:{skewX:s.skewX},...s.skewY===void 0?{}:{skewY:s.skewY},...S===null?{}:{color:S},...S===null||s.colorTransforms===void 0?{}:{colorTransforms:s.colorTransforms}}},...c===void 0?{}:c===null?{innerShadow:null}:{innerShadow:{...c.blurEmu===void 0?{}:{blurEmu:c.blurEmu},...c.offsetEmu===void 0?{}:{offsetEmu:c.offsetEmu},...c.angleDeg===void 0?{}:{angleDeg:c.angleDeg},...c.opacity===void 0?{}:{opacity:c.opacity},...E===null?{}:{color:E},...E===null||c.colorTransforms===void 0?{}:{colorTransforms:c.colorTransforms}}},...p==null||A===null?{}:{glow:{color:A,...p.colorTransforms===void 0?{}:{colorTransforms:p.colorTransforms},...p.radiusEmu===void 0?{}:{radiusEmu:p.radiusEmu},...p.opacity===void 0?{}:{opacity:p.opacity}}},...u===void 0?{}:{reflection:u}}},zI=e=>{if(e.kind==="pattern"){let t=dt(e.foreground),n=dt(e.background);return t===null||n===null?void 0:{kind:"pattern",preset:e.preset,foreground:t,background:n,...e.foregroundTransforms===void 0?{}:{foregroundTransforms:e.foregroundTransforms},...e.backgroundTransforms===void 0?{}:{backgroundTransforms:e.backgroundTransforms}}}return e.kind==="none"?e:e.kind==="image"?e.bytes?{kind:"image",bytes:e.bytes}:void 0:Ib(e)},Ib=e=>{let t=[];for(let n of e.stops){let r=dt(n.color);if(r===null)return;t.push({offset:n.offset,color:r,...n.colorTransforms===void 0?{}:{colorTransforms:n.colorTransforms},...n.opacity===void 0?{}:{opacity:n.opacity},...n.brightness===void 0?{}:{brightness:n.brightness}})}return{kind:"gradient",stops:t,...e.angleDeg===void 0?{}:{angleDeg:e.angleDeg},...e.rotateWithShape===void 0?{}:{rotateWithShape:e.rotateWithShape},...e.scaled===void 0?{}:{scaled:e.scaled},...e.path===void 0?{}:{path:e.path},...e.focus===void 0?{}:{focus:e.focus},...e.tileRect===void 0?{}:{tileRect:e.tileRect}}},cr=(e,t,n)=>{let r=e.filter(a=>a.name.localName!==t.localName);return n!==null&&r.push(b(t,n)),r},WI=(e,t,n)=>{if(t===null){sr(e);return}let r=Fr(t);if(r===null)throw new Error(`unrecognized color: ${t}`);sr(e);let a=r.kind==="srgb"?h(H0,{attrs:[b(Wl,r.hex)]}):h(V0,{attrs:[b(Wl,r.token)]});n!==void 0&&(a.children=lt(n));let l=h(q0,{children:[a]});je(e,l,Ir)},YI=(e,t,n)=>{if(t.kind==="gradient")Oa(e,t);else if(t.kind==="pattern")Ba(e,t);else if(t.kind==="none")sr(e),e.children.push(h(HI));else{let a=n.embed(t.bytes);sr(e),e.children.push(h(VI,{attrs:[b(o("","rotWithShape",""),"1")],children:[h(o("a","blip",d.dml),{attrs:[b(o("r","embed",d.officeDocRels),a)]}),h(o("a","stretch",d.dml),{children:[h(o("a","fillRect",d.dml))]})]}))}let r=e.children.find(a=>a.kind==="element"&&a.name.namespaceURI===d.dml&&["noFill","solidFill","gradFill","blipFill","pattFill","grpFill"].includes(a.name.localName));r?.kind==="element"&&(e.children=e.children.filter(a=>a!==r),je(e,r,Ir))},ZI=(e,t)=>{e.children=e.children.filter(r=>!(r.kind==="element"&&r.name.namespaceURI===d.dml&&(r.name.localName==="uFillTx"||r.name.localName==="uFill")));let n=t===null?h(_I):(()=>{let r=Fr(t);if(r===null)throw new Error(`unrecognized underline color: ${t}`);let a=r.kind==="srgb"?h(H0,{attrs:[b(Wl,r.hex)]}):h(V0,{attrs:[b(Wl,r.token)]});return h(kI,{children:[h(q0,{children:[a]})]})})();je(e,n,Ir)},KI=(e,t)=>{e.children=e.children.filter(n=>!(n.kind==="element"&&n.name.namespaceURI===d.dml&&n.name.localName==="latin")),t!==null&&je(e,h(RI,{attrs:[b(z0,t)]}),Ir)},JI=(e,t)=>{e.children=e.children.filter(n=>!(n.kind==="element"&&n.name.namespaceURI===d.dml&&n.name.localName==="ea")),t!==null&&je(e,h(NI,{attrs:[b(z0,t)]}),Ir)},QI=(e,t)=>{e.children=e.children.filter(n=>!(n.kind==="element"&&n.name.namespaceURI===d.dml&&n.name.localName==="cs")),t!==null&&je(e,h(DI,{attrs:[b(z0,t)]}),Ir)},e5=(e,t)=>{if(e.children=e.children.filter(a=>!(a.kind==="element"&&a.name.namespaceURI===d.dml&&a.name.localName==="highlight")),t===null)return;let n=Fr(t);if(n===null)throw new Error(`unrecognized highlight color: ${t}`);let r=n.kind==="srgb"?h(H0,{attrs:[b(Wl,n.hex)]}):h(V0,{attrs:[b(Wl,n.token)]});je(e,h(qI,{children:[r]}),Ir)},Wi=(e,t,n)=>{if(e.underline!=null&&typeof e.underline!="boolean"&&Z(e.underline,tb,`${t}: underline`),e.strike!=null&&typeof e.strike!="boolean"&&Z(e.strike,nb,`${t}: strike`),e.cap!=null&&Z(e.cap,["none","small","all"],`${t}: cap`),e.colorTransforms!==void 0){if(e.color==null)throw new Error(`${t}: colorTransforms requires color`);lt(e.colorTransforms)}let r=[["outline",e.outline],["shadow",e.shadow],["innerShadow",e.innerShadow],["glow",e.glow]];for(let[a,l]of r)if(l?.colorTransforms!==void 0){if(l.color===void 0)throw new Error(`${t}: ${a}.colorTransforms requires ${a}.color`);lt(l.colorTransforms)}if(e.textFill!==void 0){if(e.color!==void 0)throw new Error(`${t}: color and textFill are mutually exclusive; pass one`);t5(e.textFill,`${t}: textFill`,n)}e.outline&&_0(e.outline,`${t}: outline`)},t5=(e,t,n)=>{switch(e.kind){case"pattern":Ab(e,t);return;case"gradient":Hi(e,t);return;case"none":return;case"image":if(!n)throw new Error(`${t}: a picture fill needs a slide or notes text body`);n.check(e.bytes);return;default:{let r=e;throw new Error(`${t}: unknown fill kind ${JSON.stringify(r)}`)}}},mr=(e,t,n="setShapeRunFormat",r)=>{Wi(t,n,r),Yd(e,t,r)},Yd=(e,t,n)=>{let r=e.attrs;if(t.size!==void 0){let a=zS(t.size*100,"setShapeRunFormat: size");r=cr(r,MI,String(a))}if(t.bold!==void 0&&(r=cr(r,FI,t.bold===null?null:t.bold?"1":"0")),t.italic!==void 0&&(r=cr(r,II,t.italic?"1":"0")),t.underline!==void 0){let a=t.underline===!1?"none":t.underline===!0?"sng":t.underline;r=cr(r,BI,a)}if(t.strike!==void 0){let a=t.strike===!1?"noStrike":t.strike===!0?"sngStrike":t.strike;r=cr(r,OI,a)}if(t.spc!==void 0&&(r=cr(r,XI,t.spc===null?null:String(WS(t.spc,"setShapeRunFormat: spc")))),t.kern!==void 0&&(r=cr(r,jI,String(Math.round(t.kern)))),t.normalizeHeight!==void 0&&(r=cr(r,$I,t.normalizeHeight?"1":"0")),t.baseline!==void 0){let a=Math.round(t.baseline*1e5);r=cr(r,UI,String(a))}t.cap!==void 0&&(r=cr(r,GI,t.cap)),e.attrs=r,t.font!==void 0&&KI(e,t.font),t.fontEastAsian!==void 0&&JI(e,t.fontEastAsian),t.fontComplexScript!==void 0&&QI(e,t.fontComplexScript),t.textFill!==void 0?YI(e,t.textFill,n):t.color!==void 0&&WI(e,t.color,t.colorTransforms),t.underlineColor!==void 0&&ZI(e,t.underlineColor),t.highlight!==void 0&&e5(e,t.highlight),t.outline!==void 0&&n5(e,t.outline),t.shadow!==void 0&&(t.shadow===null?oa(e,"outerShdw"):$i(e,t.shadow,Wd)),t.innerShadow!==void 0&&(t.innerShadow===null?oa(e,"innerShdw"):Ui(e,t.innerShadow,Wd)),t.glow!==void 0&&(t.glow===null?oa(e,"glow"):Gi(e,t.glow,Wd)),t.reflection!==void 0&&(t.reflection===null?oa(e,"reflection"):qi(e,t.reflection,Wd))},Wd=e=>{let t=Fb.effectLst;for(let n=0;n<e.children.length;n++){let r=e.children[n];if(r?.kind==="element"&&Ir(r)>t)return n}return e.children.length},n5=(e,t)=>{let n=m(e,Mb);if(t===null){n&&(e.children=e.children.filter(a=>a!==n));return}let r=n??h(Mb);if(k0(r,t,"setShapeRunFormat: outline"),t.colorTransforms!==void 0){let a=m(r,q0)?.children.find(l=>l.kind==="element");a?.kind==="element"&&(a.children=lt(t.colorTransforms))}n||je(e,r,Ir)},r5=new Set(["kumimoji","sz","b","i","u","strike","kern","cap","spc","normalizeH","baseline"]),a5=new Set(["ln","noFill","solidFill","gradFill","blipFill","pattFill","grpFill","effectLst","effectDag","highlight","uLnTx","uLn","uFillTx","uFill","latin","ea","cs","sym"]),Zd=e=>{e.attrs=e.attrs.filter(t=>t.name.namespaceURI!==""||!r5.has(t.name.localName)),e.children=e.children.filter(t=>t.kind!=="element"||t.name.namespaceURI!==d.dml||!a5.has(t.name.localName))},Y0=e=>{if(e.name.namespaceURI===d.dml&&["rPr","defRPr","endParaRPr"].includes(e.name.localName)){Zd(e);return}for(let t of e.children)t.kind==="element"&&t.name.namespaceURI===d.dml&&t.name.localName!=="extLst"&&Y0(t)},l5=new Set(["rot","spcFirstLastPara","vertOverflow","horzOverflow","vert","wrap","lIns","tIns","rIns","bIns","numCol","spcCol","rtlCol","fromWordArt","anchor","anchorCtr","forceAA","upright","compatLnSpc"]),o5=new Set(["prstTxWarp","noAutofit","normAutofit","spAutoFit","scene3d","sp3d","flatTx"]),i5=new Set(["marL","marR","indent","algn","defTabSz","rtl","eaLnBrk","fontAlgn","latinLnBrk","hangingPunct"]),s5=new Set(["lnSpc","spcBef","spcAft","buClrTx","buClr","buSzTx","buSzPct","buSzPts","buFontTx","buFont","buNone","buAutoNum","buChar","buBlip","tabLst"]),Bb=e=>{Y0(e);let t=n=>{let r=n.name.localName,a=r==="bodyPr";if(a||r==="pPr"||r==="defPPr"||/^lvl[1-9]pPr$/.test(r)){let l=a?l5:i5,i=a?o5:s5;n.attrs=n.attrs.filter(s=>s.name.namespaceURI!==""||!l.has(s.name.localName)),n.children=n.children.filter(s=>s.kind!=="element"||s.name.namespaceURI!==d.dml||!i.has(s.name.localName))}for(let l of n.children)l.kind==="element"&&l.name.namespaceURI===d.dml&&l.name.localName!=="extLst"&&t(l)};t(e)},Z0=(e,t,n="setShapeTextFormat",r=!1,a)=>{Wi(t,n,a),Kd(e,t,r,a)},Kd=(e,t,n=!1,r)=>{n&&(Yd(h(G0),t,r),Y0(e));for(let a of e.children){if(a.kind!=="element"||a.name.namespaceURI!==d.dml||a.name.localName!=="p")continue;let l=m(a,o("a","endParaRPr",d.dml)),i=l??h(o("a","endParaRPr",d.dml));Yd(i,t,r),!l&&(i.attrs.length||i.children.length)&&a.children.push(i);for(let s of a.children){if(s.kind!=="element"||s.name.namespaceURI!==d.dml||s.name.localName!=="r")continue;let c=m(s,G0);c===null&&(c=h(G0),s.children.unshift(c)),Yd(c,t,r)}}};var d5=o("a","buChar",d.dml),c5=o("a","buAutoNum",d.dml),m5=o("a","buNone",d.dml),p5=o("a","buFont",d.dml),u5=o("","char",""),f5=o("","type",""),h5=o("","startAt",""),g5=o("","typeface",""),ec=o("a","p",d.dml),Q0=o("a","r",d.dml),ef=o("a","t",d.dml),jb=o("a","rPr",d.dml),$b=o("a","pPr",d.dml),y5=o("a","endParaRPr",d.dml),x5=o("xml","space",d.xml),S5=e=>e.map(t=>b(t.name,t.value)),Jd=e=>h(e.name,{attrs:S5(e.attrs),prefixDecls:new Map(e.prefixDecls),children:e.children.map(b5)}),b5=e=>{switch(e.kind){case"element":return Jd(e);case"text":return{kind:"text",data:e.data};case"cdata":return{kind:"cdata",data:e.data};case"comment":return{kind:"comment",data:e.data};case"pi":return{kind:"pi",target:e.target,data:e.data}}},E5=e=>{let t=m(e,ec);if(t===null)return null;let n=m(t,Q0);return n===null?null:m(n,jb)},A5=e=>{let t=m(e,ec);return t===null?null:m(t,$b)},Ub=e=>{e.children=e.children.filter(t=>!(t.kind==="element"&&t.name.namespaceURI===d.dml&&t.name.localName==="p"))},T5=/\{\{([^{}]+)\}\}/g,Yi=(e,t)=>{let n=0;return _t(e,r=>{if(r.name.namespaceURI!==ef.namespaceURI||r.name.localName!=="t")return;let a=r.children[0];if(!a||a.kind!=="text")return;let l=a.data,i=!1,s=l.replace(T5,(c,p)=>Object.hasOwn(t,p)?(i=!0,t[p]??""):c);i&&(a.data=s,n++)}),n},w5=(e,t,n)=>n.replace(/\$(\$|&|`|'|[0-9]{1,2}|<[^>]*>)/g,(r,a)=>{if(a==="$")return"$";if(a==="&")return t[0];if(a==="`")return e.slice(0,t.index);if(a==="'")return e.slice(t.index+t[0].length);if(a.startsWith("<"))return t.groups===void 0?r:t.groups[a.slice(1,-1)]??"";let l=Number(a);if(l>0&&l<t.length)return t[l]??"";let i=Number(a[0]);return a.length===2&&i>0&&i<t.length?(t[i]??"")+a[1]:r}),K0=(e,t,n)=>{if(e.length===0)return 0;let r=e.map(u=>u.data).join(""),a=e.map(()=>""),l=0,i=0,s=0,c=(u,f)=>{for(;s<u;){let y=e[l],g=Math.min(u-s,y.data.length-i);f&&(a[l]+=y.data.slice(i,i+g)),s+=g,i+=g,i===y.data.length&&l<e.length-1&&(l++,i=0)}};t.lastIndex=0;for(let u of r.matchAll(t)){let f=w5(r,u,n);if(f!==u[0]){for(c(u.index,!0);i===e[l].data.length&&l<e.length-1;)l++,i=0;a[l]+=f,c(u.index+u[0].length,!1)}}c(r.length,!0);let p=0;return e.forEach((u,f)=>{u.data!==a[f]&&(u.data=a[f],p++)}),p},tc=(e,t,n)=>{let r=typeof t=="string"?new RegExp(t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),"g"):new RegExp(t.source,t.global?t.flags:`${t.flags}g`),a=0;return _t(e,l=>{if(l.name.namespaceURI===d.dml){if(l.name.localName==="p"){let i=[];for(let s of l.children)s.kind==="element"&&(s.name.namespaceURI===d.dml&&s.name.localName==="br"?(a+=K0(i,r,n),i=[]):_t(s,c=>{if(c.name.namespaceURI!==d.dml||c.name.localName!=="t")return;let p=c.children[0];p?.kind==="text"&&i.push(p)}));return a+=K0(i,r,n),!1}if(l.name.localName==="t"){let i=l.children[0];i?.kind==="text"&&(a+=K0([i],r,n))}}}),a},tf=(e,t)=>(typeof e=="string"&&Z(e,["bullet","number","none"],`${t}: bullets`),e==="bullet"?{kind:"char",char:"\u2022"}:e==="number"?{kind:"autoNum",type:"arabicPeriod"}:e==="none"?{kind:"none"}:"char"in e?{kind:"char",char:e.char}:{kind:"autoNum",type:Z(e.autoNum,eb,`${t}: bullets.autoNum`)}),v5=e=>{switch(e.kind){case"char":return h(d5,{attrs:[b(u5,e.char)]});case"autoNum":return h(c5,{attrs:[b(h5,"1"),b(f5,e.type)]});case"none":return h(m5)}},Qd=o("a","pPr",d.dml),Gb=o("a","p",d.dml),C5=["l","ctr","r","just","dist","justLow","thaiDist"],Zi=e=>C5.find(t=>t===e)??null,ia=(e,t)=>{switch(Z(e,["left","center","right","justify","distribute","l","ctr","r","just","dist","justLow","thaiDist"],`${t}: align`),e){case"left":case"l":return"l";case"center":case"ctr":return"ctr";case"right":case"r":return"r";case"justify":case"just":return"just";case"distribute":case"dist":return"dist";default:return e}},qb=o("","algn","");var Ki=(e,t)=>{for(let n of e.children){if(n.kind!=="element"||n.name.namespaceURI!==Gb.namespaceURI||n.name.localName!=="p")continue;let r=m(n,Qd);r===null&&(r=h(Qd),n.children.unshift(r)),r.attrs=r.attrs.filter(a=>a.name.localName!=="algn"),r.attrs.push(b(qb,t))}},Ob=[{marL:342900,indent:-342900},{marL:742950,indent:-285750},{marL:1143e3,indent:-228600},{marL:1600200,indent:-228600},{marL:2057400,indent:-228600}],J0=e=>Ob[Math.min(e,Ob.length-1)],P5=o("","marL",""),L5=o("","indent",""),nf=(e,t,n)=>{let r=J0(t),a=e.attrs.find(s=>s.name.namespaceURI===""&&s.name.localName==="marL"),l=e.attrs.find(s=>s.name.namespaceURI===""&&s.name.localName==="indent");if(a?.value!==String(r.marL)||l?.value!==String(r.indent))return;let i=J0(n);e.attrs=e.attrs.map(s=>s===a?b(s.name,String(i.marL)):s===l?b(s.name,String(i.indent)):s)},Xb=(e,t)=>e.attrs.some(n=>n.name.namespaceURI===""&&n.name.localName===t),rf=(e,t)=>{let n=m(e,Qd);if(n===null&&(n=h(Qd),e.children.unshift(n)),n.children=n.children.filter(r=>!(r.kind==="element"&&r.name.namespaceURI===d.dml&&(r.name.localName==="buChar"||r.name.localName==="buAutoNum"||r.name.localName==="buNone"||r.name.localName==="buFont"))),t.kind!=="none"){let r=Number.parseInt(n.attrs.find(i=>i.name.localName==="lvl")?.value??"0",10),{marL:a,indent:l}=J0(Number.isFinite(r)?r:0);Xb(n,"marL")||n.attrs.push(b(P5,String(a))),Xb(n,"indent")||n.attrs.push(b(L5,String(l)))}t.kind==="autoNum"&&n.children.push(h(p5,{attrs:[b(g5,"+mj-lt")]})),n.children.push(v5(t))},af=(e,t)=>{rf(e,tf(t,"setParagraphBullet"))},Ji=(e,t)=>{let n=tf(t,"setShapeBulletStyle");for(let r of e.children)r.kind!=="element"||r.name.namespaceURI!==Gb.namespaceURI||r.name.localName!=="p"||rf(r,n)},Pn=(e,t,n,r="paragraph")=>{let a=n===void 0?void 0:tf(n,"setShapeText"),l=E5(e),i=A5(e);Ub(e);let s=r==="break"?[t]:t.split(`
|
|
6
|
-
`);for(let c of s){let p=c.split(`
|
|
7
|
-
`).flatMap((f,y)=>[...y?[h(o("a","br",d.dml),{children:l?[Jd(l)]:[]})]:[],...f||!c?[h(Q0,{children:[...l?[Jd(l)]:[],h(ef,{children:f?[be(f)]:[]})]})]:[]]),u=h(ec,{children:[...i?[Jd(i)]:[],...p]});a!==void 0&&rf(u,a),e.children.push(u)}},nc=(e,t="setShapeParagraphs",n)=>{if(e.length===0)throw new Error("setTextBodyParagraphs: at least one paragraph is required");let r=a=>{let l=[];for(let i of e){let s=[];i.align!==void 0&&s.push(h($b,{attrs:[b(qb,ia(i.align,t))]}));for(let c of i.runs){let p=h(jb);c.format!==void 0&&mr(p,c.format,t,a);let u=h(ef,{children:c.text.length>0?[be(c.text)]:[]});s.push(h(Q0,{children:[p,u]}))}if(i.endFormat!==void 0){let c=h(y5);mr(c,i.endFormat,t,a),s.push(c)}l.push(h(ec,{children:s}))}return l};return n&&r({check:n.check,embed:()=>""}),r(n)},rc=(e,t)=>{Ub(e),e.children.push(...t)},lf=(e,t,n)=>{rc(e,nc(t,void 0,n))};var Br=e=>o("a",e,d.dml),df=Br("scene3d"),cf=Br("sp3d"),sf=Br("camera"),Jb=Br("lightRig"),Qb=Br("rot"),e2=Br("bevelT"),t2=Br("bevelB"),n2=Br("extrusionClr"),r2=Br("contourClr"),Ln=e=>o("",e,""),oc=6e4,R5=180,N5=27273042316900,ac=360,D5=ac*oc,_5={prstTxWarp:0,noAutofit:1,normAutofit:1,spAutoFit:1,scene3d:2,sp3d:3,flatTx:3,extLst:4},Kl=e=>e.name.namespaceURI===d.dml?_5[e.name.localName]??99:99,k5={bevelT:0,bevelB:1,extrusionClr:2,contourClr:3,extLst:4},M5=e=>e.name.namespaceURI===d.dml?k5[e.name.localName]??99:99,F5={xfrm:0,custGeom:1,prstGeom:1,noFill:2,solidFill:2,gradFill:2,blipFill:2,pattFill:2,grpFill:2,ln:3,effectLst:4,effectDag:4,scene3d:5,sp3d:6,extLst:7},Hb=e=>e.name.namespaceURI===d.dml?F5[e.name.localName]??99:99,a2=(e,...t)=>e.name.namespaceURI===d.dml&&t.includes(e.name.localName),ic=(e,...t)=>{e.children=e.children.filter(n=>n.kind!=="element"||!a2(n,...t))},Yl=(e,t,n)=>{e.attrs=e.attrs.filter(r=>r.name.namespaceURI!==""||r.name.localName!==t),n!==null&&e.attrs.push(b(Ln(t),n))},of=(e,t)=>{if(!Number.isFinite(e))throw new RangeError(`${t} must be finite`);let n=(e%ac+ac)%ac;return String(Math.round(n*oc)%D5)},I5=e=>e.bevelTop!==void 0||e.bevelBottom!==void 0||e.extrusionHeightEmu!==void 0||e.extrusionColor!==void 0||e.contourWidthEmu!==void 0||e.distanceFromGroundEmu!==void 0||e.material!==void 0||e.contourColor!==void 0,Vb=(e,t)=>h(Qb,{attrs:[b(Ln("lat"),of(e.latitudeDeg,`${t}: latitudeDeg`)),b(Ln("lon"),of(e.longitudeDeg,`${t}: longitudeDeg`)),b(Ln("rev"),of(e.revolutionDeg,`${t}: revolutionDeg`))]}),B5=(e,t,n)=>{let r=Z(e.camera,m0,`${n}: scene.camera`),a=Z(e.lightRig.type,p0,`${n}: scene.lightRig.type`),l=Z(e.lightRig.direction,u0,`${n}: scene.lightRig.direction`),i=e.lightRig.rotation,s=h(Jb,{attrs:[b(Ln("rig"),a),b(Ln("dir"),l)],children:i===void 0?[]:[Vb(i,n)]}),c=e.fieldOfViewDeg;if(c!==void 0&&(!Number.isFinite(c)||c<0||c>R5))throw new RangeError(`${n}: scene.fieldOfViewDeg must be in [0, 180]`);let p=t?{...t,attrs:[...t.attrs],children:[...t.children]}:h(df),u=m(p,sf),f=u?{...u,attrs:[...u.attrs]}:h(sf);return Yl(f,"prst",r),Yl(f,"fov",c===void 0?null:String(Math.round(c*oc))),f.children=e.cameraRotation===void 0?[]:[Vb(e.cameraRotation,n)],ic(p,"camera","lightRig"),p.children.unshift(f,s),p},zb=(e,t,n)=>t===void 0?null:h(e,{attrs:[...t.widthEmu===void 0?[]:[b(Ln("w"),String(xe(t.widthEmu,`${n}.widthEmu`)))],...t.heightEmu===void 0?[]:[b(Ln("h"),String(xe(t.heightEmu,`${n}.heightEmu`)))],...t.preset===void 0?[]:[b(Ln("prst"),Z(t.preset,f0,`${n}.preset`))]]}),Wb=(e,t,n)=>{if(t===void 0)return null;let r=tt(t);return r.children=lt(n??[]),h(e,{children:[r]})},O5=(e,t,n)=>{let r=e.contourWidthEmu===void 0?null:String(xe(e.contourWidthEmu,`${n}: contourWidthEmu`)),a=e.distanceFromGroundEmu;if(a!==void 0&&(!Number.isInteger(a)||Math.abs(a)>N5))throw new RangeError(`${n}: distanceFromGroundEmu must be an integer EMU coordinate`);let l=e.extrusionHeightEmu===void 0?null:String(xe(e.extrusionHeightEmu,`${n}: extrusionHeightEmu`)),i=e.material===void 0?null:Z(e.material,h0,`${n}: material`),s=[zb(e2,e.bevelTop,`${n}: bevelTop`),zb(t2,e.bevelBottom,`${n}: bevelBottom`),Wb(n2,e.extrusionColor,e.extrusionColorTransforms),Wb(r2,e.contourColor,e.contourColorTransforms)].filter(p=>p!==null),c=t?{...t,attrs:[...t.attrs],children:[...t.children]}:h(cf);Yl(c,"z",a===void 0?null:String(a)),Yl(c,"extrusionH",l),Yl(c,"contourW",r),Yl(c,"prstMaterial",i),ic(c,"bevelT","bevelB","extrusionClr","contourClr");for(let p of s)je(c,p,M5);return c},mf=(e,t,n)=>{let{scene:r,shape:a}=l2(e,t,n);ic(e,"scene3d","sp3d",...a?["flatTx"]:[]),r&&je(e,r,Kl),a&&je(e,a,Kl)},pf=(e,t,n)=>{let{scene:r,shape:a}=l2(e,t,n);ic(e,"scene3d","sp3d"),r&&je(e,r,Hb),a&&je(e,a,Hb)},l2=(e,t,n)=>{if(t?.contourColorTransforms!==void 0&&t.contourColor===void 0)throw new Error(`${n}: contourColorTransforms requires contourColor`);if(t?.extrusionColorTransforms!==void 0&&t.extrusionColor===void 0)throw new Error(`${n}: extrusionColorTransforms requires extrusionColor`);let r=m(e,df),a=m(e,cf);return{scene:t?.scene===void 0?null:B5(t.scene,r,n),shape:t===null||!I5(t)?null:O5(t,a,n)}},Qi=(e,t,n)=>{let r=x(e,Ln(t));return r!==null&&n.includes(r)?r:void 0},Zl=(e,t)=>{let n=x(e,Ln(t)),r=n===null?Number.NaN:Number.parseInt(n,10);return Number.isFinite(r)?r:void 0},lc=(e,t)=>{let n=Zl(e,t);return n===void 0?void 0:n/oc},Yb=e=>{let t=m(e,Qb);if(t===null)return;let n=lc(t,"lat"),r=lc(t,"lon"),a=lc(t,"rev");return n===void 0||r===void 0||a===void 0?void 0:{latitudeDeg:n,longitudeDeg:r,revolutionDeg:a}},X5=e=>{let t=m(e,sf),n=m(e,Jb);if(t===null||n===null)return;let r=Qi(t,"prst",m0),a=Qi(n,"rig",p0),l=Qi(n,"dir",u0);if(r===void 0||a===void 0||l===void 0)return;let i=Yb(n),s=Yb(t),c=lc(t,"fov");return{camera:r,...s?{cameraRotation:s}:{},...c===void 0?{}:{fieldOfViewDeg:c},lightRig:{type:a,direction:l,...i?{rotation:i}:{}}}},Zb=e=>{let t=Qi(e,"prst",f0),n=Zl(e,"w"),r=Zl(e,"h");return{...t===void 0?{}:{preset:t},...n===void 0?{}:{widthEmu:n},...r===void 0?{}:{heightEmu:r}}},Kb=(e,t)=>{let r=m(e,t)?.children.find(i=>i.kind==="element"&&a2(i,"srgbClr","schemeClr")),a=r&&x(r,Ln("val"));if(!r||a==null)return null;let l=Cn(r);return{color:r.name.localName==="srgbClr"?`#${a.toUpperCase()}`:a,...l.length?{transforms:l}:{}}},ja=e=>{let t=m(e,df),n=m(e,cf);if(t===null&&n===null)return null;let r=t===null?void 0:X5(t);if(n===null)return r?{scene:r}:{};let a=m(n,e2),l=m(n,t2),i=Zl(n,"extrusionH"),s=Zl(n,"contourW"),c=Zl(n,"z"),p=Qi(n,"prstMaterial",h0),u=Kb(n,n2),f=Kb(n,r2);return{...r?{scene:r}:{},...a?{bevelTop:Zb(a)}:{},...l?{bevelBottom:Zb(l)}:{},...i===void 0?{}:{extrusionHeightEmu:i},...u?{extrusionColor:u.color}:{},...u?.transforms?{extrusionColorTransforms:u.transforms}:{},...s===void 0?{}:{contourWidthEmu:s},...c===void 0?{}:{distanceFromGroundEmu:c},...p===void 0?{}:{material:p},...f?{contourColor:f.color}:{},...f?.transforms?{contourColorTransforms:f.transforms}:{}}};var $n=class extends Error{},j5=o("","name",""),$5=o("","fmla",""),U5=o("","x",""),G5=o("","y",""),q5=o("","w",""),H5=o("","h",""),V5=o("","wR",""),z5=o("","hR",""),W5=o("","stAng",""),Y5=o("","swAng",""),Z5=o("","fill",""),K5=o("","stroke",""),J5=o("","l",""),Q5=o("","t",""),eB=o("","r",""),tB=o("","b",""),nB=o("a","avLst",d.dml),rB=o("a","gdLst",d.dml),aB=o("a","pathLst",d.dml),lB=o("a","rect",d.dml),sc=216e5,uf=e=>e/6e4*(Math.PI/180),oB=/^-?\d+(?:\.\d+)?$/,ff=(e,t)=>{let n=Math.min(e,t),r=sc/4,a=sc/8;return new Map([["w",e],["h",t],["ss",n],["ls",Math.max(e,t)],["hc",e/2],["vc",t/2],["t",0],["l",0],["b",t],["r",e],["wd2",e/2],["wd3",e/3],["wd4",e/4],["wd5",e/5],["wd6",e/6],["wd8",e/8],["wd10",e/10],["wd12",e/12],["wd32",e/32],["hd2",t/2],["hd3",t/3],["hd4",t/4],["hd5",t/5],["hd6",t/6],["hd8",t/8],["hd10",t/10],["ssd2",n/2],["ssd4",n/4],["ssd6",n/6],["ssd8",n/8],["ssd16",n/16],["ssd32",n/32],["cd2",sc/2],["cd4",r],["cd6",sc/6],["cd8",a],["3cd4",3*r],["3cd8",3*a],["5cd8",5*a],["7cd8",7*a]])},kt=(e,t)=>{if(oB.test(e))return Number.parseFloat(e);let n=t.get(e);if(n===void 0)throw new $n(`unresolved guide reference: ${e}`);return n},cc=(e,t)=>{let n=e.trim().split(/\s+/),r=n[0],a=i=>kt(n[i+1]??"",t),l=(i,s)=>s===0?0:i/s;switch(r){case"val":return a(0);case"*/":return l(a(0)*a(1),a(2));case"+-":return a(0)+a(1)-a(2);case"+/":return l(a(0)+a(1),a(2));case"?:":return a(0)>0?a(1):a(2);case"abs":return Math.abs(a(0));case"sqrt":return Math.sqrt(a(0));case"max":return Math.max(a(0),a(1));case"min":return Math.min(a(0),a(1));case"mod":return Math.sqrt(a(0)*a(0)+a(1)*a(1)+a(2)*a(2));case"pin":{let i=a(0),s=a(1),c=a(2);return s<i?i:s>c?c:s}case"sin":return a(0)*Math.sin(uf(a(1)));case"cos":return a(0)*Math.cos(uf(a(1)));case"tan":return a(0)*Math.tan(uf(a(1)));case"at2":return Math.atan2(a(1),a(0))*180/Math.PI*6e4;case"cat2":return a(0)*Math.cos(Math.atan2(a(2),a(1)));case"sat2":return a(0)*Math.sin(Math.atan2(a(2),a(1)));default:throw new $n(`unknown fmla operator: ${r}`)}},es=(e,t)=>{for(let n of e.children)if(kr(n)&&n.name.namespaceURI===t.namespaceURI&&n.name.localName===t.localName)return n;return null},dc=(e,t)=>{let n=[];for(let r of e.children)kr(r)&&r.name.namespaceURI===d.dml&&r.name.localName===t&&n.push(r);return n},o2=(e,t)=>{if(e!==null)for(let n of dc(e,"gd")){let r=x(n,j5),a=x(n,$5);r===null||a===null||t.set(r,cc(a,t))}},Jl=(e,t)=>({x:kt(x(e,U5)??"0",t),y:kt(x(e,G5)??"0",t)}),i2=(e,t)=>{let n=es(e,o("a","pt",d.dml));if(n===null)throw new $n(`<a:${e.name.localName}> missing <a:pt>`);return Jl(n,t)},s2=e=>{if(e===null)return null;let t=Number.parseInt(e,10);return Number.isFinite(t)?t:null},iB=new Set(["none","norm","lighten","lightenLess","darken","darkenLess"]),sB=e=>iB.has(e),dB=(e,t)=>{if(e===null)return null;let n=a=>kt(x(e,a)??"0",t),r={l:n(J5),t:n(Q5),r:n(eB),b:n(tB)};return r.r>r.l&&r.b>r.t?r:null},cB=(e,t)=>{let n=s2(x(e,q5)),r=s2(x(e,H5)),a=x(e,Z5),l=a!==null&&sB(a)?a:"norm",i=x(e,K5),s=!(i==="0"||i==="false"),c=[];for(let p of e.children)if(!(!kr(p)||p.name.namespaceURI!==d.dml))switch(p.name.localName){case"moveTo":c.push({kind:"moveTo",pt:i2(p,t)});break;case"lnTo":c.push({kind:"lnTo",pt:i2(p,t)});break;case"close":c.push({kind:"close"});break;case"arcTo":c.push({kind:"arcTo",wR:kt(x(p,V5)??"0",t),hR:kt(x(p,z5)??"0",t),stAng:kt(x(p,W5)??"0",t),swAng:kt(x(p,Y5)??"0",t)});break;case"quadBezTo":{let u=dc(p,"pt");if(u.length<2)throw new $n("<a:quadBezTo> needs 2 points");c.push({kind:"quadBezTo",pts:[Jl(u[0],t),Jl(u[1],t)]});break}case"cubicBezTo":{let u=dc(p,"pt");if(u.length<3)throw new $n("<a:cubicBezTo> needs 3 points");c.push({kind:"cubicBezTo",pts:[Jl(u[0],t),Jl(u[1],t),Jl(u[2],t)]});break}}return{w:n,h:r,fill:l,stroke:s,commands:c}},hf=(e,t,n)=>{try{let r=ff(t,n);o2(es(e,nB),r),o2(es(e,rB),r);let a=dB(es(e,lB),r),l=es(e,aB);if(l===null)return{paths:[],textRect:a};let i=[];for(let s of dc(l,"path"))i.push(cB(s,r));return{paths:i,textRect:a}}catch(r){if(r instanceof $n)return null;throw r}};var gf={accentBorderCallout1:{av:[["adj1","val 18750"],["adj2","val -8333"],["adj3","val 112500"],["adj4","val -38333"]],gd:[["y1","*/ h adj1 100000"],["x1","*/ w adj2 100000"],["y2","*/ h adj3 100000"],["x2","*/ w adj4 100000"]],paths:[{commands:[["M","l","t"],["L","r","t"],["L","r","b"],["L","l","b"],["Z"]]},{commands:[["M","x1","t"],["Z"],["L","x1","b"]],fill:"none"},{commands:[["M","x1","y1"],["L","x2","y2"]],fill:"none"}],rect:["l","t","r","b"]},accentBorderCallout2:{av:[["adj1","val 18750"],["adj2","val -8333"],["adj3","val 18750"],["adj4","val -16667"],["adj5","val 112500"],["adj6","val -46667"]],gd:[["y1","*/ h adj1 100000"],["x1","*/ w adj2 100000"],["y2","*/ h adj3 100000"],["x2","*/ w adj4 100000"],["y3","*/ h adj5 100000"],["x3","*/ w adj6 100000"]],paths:[{commands:[["M","l","t"],["L","r","t"],["L","r","b"],["L","l","b"],["Z"]]},{commands:[["M","x1","t"],["Z"],["L","x1","b"]],fill:"none"},{commands:[["M","x1","y1"],["L","x2","y2"],["L","x3","y3"]],fill:"none"}],rect:["l","t","r","b"]},accentBorderCallout3:{av:[["adj1","val 18750"],["adj2","val -8333"],["adj3","val 18750"],["adj4","val -16667"],["adj5","val 100000"],["adj6","val -16667"],["adj7","val 112963"],["adj8","val -8333"]],gd:[["y1","*/ h adj1 100000"],["x1","*/ w adj2 100000"],["y2","*/ h adj3 100000"],["x2","*/ w adj4 100000"],["y3","*/ h adj5 100000"],["x3","*/ w adj6 100000"],["y4","*/ h adj7 100000"],["x4","*/ w adj8 100000"]],paths:[{commands:[["M","l","t"],["L","r","t"],["L","r","b"],["L","l","b"],["Z"]]},{commands:[["M","x1","t"],["Z"],["L","x1","b"]],fill:"none"},{commands:[["M","x1","y1"],["L","x2","y2"],["L","x3","y3"],["L","x4","y4"]],fill:"none"}],rect:["l","t","r","b"]},accentCallout1:{av:[["adj1","val 18750"],["adj2","val -8333"],["adj3","val 112500"],["adj4","val -38333"]],gd:[["y1","*/ h adj1 100000"],["x1","*/ w adj2 100000"],["y2","*/ h adj3 100000"],["x2","*/ w adj4 100000"]],paths:[{commands:[["M","l","t"],["L","r","t"],["L","r","b"],["L","l","b"],["Z"]],stroke:!1},{commands:[["M","x1","t"],["Z"],["L","x1","b"]],fill:"none"},{commands:[["M","x1","y1"],["L","x2","y2"]],fill:"none"}],rect:["l","t","r","b"]},accentCallout2:{av:[["adj1","val 18750"],["adj2","val -8333"],["adj3","val 18750"],["adj4","val -16667"],["adj5","val 112500"],["adj6","val -46667"]],gd:[["y1","*/ h adj1 100000"],["x1","*/ w adj2 100000"],["y2","*/ h adj3 100000"],["x2","*/ w adj4 100000"],["y3","*/ h adj5 100000"],["x3","*/ w adj6 100000"]],paths:[{commands:[["M","l","t"],["L","r","t"],["L","r","b"],["L","l","b"],["Z"]],stroke:!1},{commands:[["M","x1","t"],["Z"],["L","x1","b"]],fill:"none"},{commands:[["M","x1","y1"],["L","x2","y2"],["L","x3","y3"]],fill:"none"}],rect:["l","t","r","b"]},accentCallout3:{av:[["adj1","val 18750"],["adj2","val -8333"],["adj3","val 18750"],["adj4","val -16667"],["adj5","val 100000"],["adj6","val -16667"],["adj7","val 112963"],["adj8","val -8333"]],gd:[["y1","*/ h adj1 100000"],["x1","*/ w adj2 100000"],["y2","*/ h adj3 100000"],["x2","*/ w adj4 100000"],["y3","*/ h adj5 100000"],["x3","*/ w adj6 100000"],["y4","*/ h adj7 100000"],["x4","*/ w adj8 100000"]],paths:[{commands:[["M","l","t"],["L","r","t"],["L","r","b"],["L","l","b"],["Z"]],stroke:!1},{commands:[["M","x1","t"],["Z"],["L","x1","b"]],fill:"none"},{commands:[["M","x1","y1"],["L","x2","y2"],["L","x3","y3"],["L","x4","y4"]],fill:"none"}],rect:["l","t","r","b"]},actionButtonBackPrevious:{av:[],gd:[["dx2","*/ ss 3 8"],["g9","+- vc 0 dx2"],["g10","+- vc dx2 0"],["g11","+- hc 0 dx2"],["g12","+- hc dx2 0"]],paths:[{commands:[["M","l","t"],["L","r","t"],["L","r","b"],["L","l","b"],["Z"],["M","g11","vc"],["L","g12","g9"],["L","g12","g10"],["Z"]],stroke:!1},{commands:[["M","g11","vc"],["L","g12","g9"],["L","g12","g10"],["Z"]],fill:"darken",stroke:!1},{commands:[["M","g11","vc"],["L","g12","g9"],["L","g12","g10"],["Z"]],fill:"none"},{commands:[["M","l","t"],["L","r","t"],["L","r","b"],["L","l","b"],["Z"]],fill:"none"}],rect:["l","t","r","b"]},actionButtonBeginning:{av:[],gd:[["dx2","*/ ss 3 8"],["g9","+- vc 0 dx2"],["g10","+- vc dx2 0"],["g11","+- hc 0 dx2"],["g12","+- hc dx2 0"],["g13","*/ ss 3 4"],["g14","*/ g13 1 8"],["g15","*/ g13 1 4"],["g16","+- g11 g14 0"],["g17","+- g11 g15 0"]],paths:[{commands:[["M","l","t"],["L","r","t"],["L","r","b"],["L","l","b"],["Z"],["M","g17","vc"],["L","g12","g9"],["L","g12","g10"],["Z"],["M","g16","g9"],["L","g11","g9"],["L","g11","g10"],["L","g16","g10"],["Z"]],stroke:!1},{commands:[["M","g17","vc"],["L","g12","g9"],["L","g12","g10"],["Z"],["M","g16","g9"],["L","g11","g9"],["L","g11","g10"],["L","g16","g10"],["Z"]],fill:"darken",stroke:!1},{commands:[["M","g17","vc"],["L","g12","g9"],["L","g12","g10"],["Z"],["M","g16","g9"],["L","g16","g10"],["L","g11","g10"],["L","g11","g9"],["Z"]],fill:"none"},{commands:[["M","l","t"],["L","r","t"],["L","r","b"],["L","l","b"],["Z"]],fill:"none"}],rect:["l","t","r","b"]},actionButtonBlank:{av:[],gd:[],paths:[{commands:[["M","l","t"],["L","r","t"],["L","r","b"],["L","l","b"],["Z"]]}],rect:["l","t","r","b"]},actionButtonDocument:{av:[],gd:[["dx2","*/ ss 3 8"],["g9","+- vc 0 dx2"],["g10","+- vc dx2 0"],["dx1","*/ ss 9 32"],["g11","+- hc 0 dx1"],["g12","+- hc dx1 0"],["g13","*/ ss 3 16"],["g14","+- g12 0 g13"],["g15","+- g9 g13 0"]],paths:[{commands:[["M","l","t"],["L","r","t"],["L","r","b"],["L","l","b"],["Z"],["M","g11","g9"],["L","g14","g9"],["L","g12","g15"],["L","g12","g10"],["L","g11","g10"],["Z"]],stroke:!1},{commands:[["M","g11","g9"],["L","g14","g9"],["L","g14","g15"],["L","g12","g15"],["L","g12","g10"],["L","g11","g10"],["Z"]],fill:"darkenLess",stroke:!1},{commands:[["M","g14","g9"],["L","g14","g15"],["L","g12","g15"],["Z"]],fill:"darken",stroke:!1},{commands:[["M","g11","g9"],["L","g14","g9"],["L","g12","g15"],["L","g12","g10"],["L","g11","g10"],["Z"],["M","g12","g15"],["L","g14","g15"],["L","g14","g9"]],fill:"none"},{commands:[["M","l","t"],["L","r","t"],["L","r","b"],["L","l","b"],["Z"]],fill:"none"}],rect:["l","t","r","b"]},actionButtonEnd:{av:[],gd:[["dx2","*/ ss 3 8"],["g9","+- vc 0 dx2"],["g10","+- vc dx2 0"],["g11","+- hc 0 dx2"],["g12","+- hc dx2 0"],["g13","*/ ss 3 4"],["g14","*/ g13 3 4"],["g15","*/ g13 7 8"],["g16","+- g11 g14 0"],["g17","+- g11 g15 0"]],paths:[{commands:[["M","l","t"],["L","r","t"],["L","r","b"],["L","l","b"],["Z"],["M","g16","vc"],["L","g11","g9"],["L","g11","g10"],["Z"],["M","g17","g9"],["L","g12","g9"],["L","g12","g10"],["L","g17","g10"],["Z"]],stroke:!1},{commands:[["M","g16","vc"],["L","g11","g9"],["L","g11","g10"],["Z"],["M","g17","g9"],["L","g12","g9"],["L","g12","g10"],["L","g17","g10"],["Z"]],fill:"darken",stroke:!1},{commands:[["M","g16","vc"],["L","g11","g10"],["L","g11","g9"],["Z"],["M","g17","g9"],["L","g12","g9"],["L","g12","g10"],["L","g17","g10"],["Z"]],fill:"none"},{commands:[["M","l","t"],["L","r","t"],["L","r","b"],["L","l","b"],["Z"]],fill:"none"}],rect:["l","t","r","b"]},actionButtonForwardNext:{av:[],gd:[["dx2","*/ ss 3 8"],["g9","+- vc 0 dx2"],["g10","+- vc dx2 0"],["g11","+- hc 0 dx2"],["g12","+- hc dx2 0"]],paths:[{commands:[["M","l","t"],["L","r","t"],["L","r","b"],["L","l","b"],["Z"],["M","g12","vc"],["L","g11","g9"],["L","g11","g10"],["Z"]],stroke:!1},{commands:[["M","g12","vc"],["L","g11","g9"],["L","g11","g10"],["Z"]],fill:"darken",stroke:!1},{commands:[["M","g12","vc"],["L","g11","g10"],["L","g11","g9"],["Z"]],fill:"none"},{commands:[["M","l","t"],["L","r","t"],["L","r","b"],["L","l","b"],["Z"]],fill:"none"}],rect:["l","t","r","b"]},actionButtonHelp:{av:[],gd:[["dx2","*/ ss 3 8"],["g9","+- vc 0 dx2"],["g11","+- hc 0 dx2"],["g13","*/ ss 3 4"],["g14","*/ g13 1 7"],["g15","*/ g13 3 14"],["g16","*/ g13 2 7"],["g19","*/ g13 3 7"],["g20","*/ g13 4 7"],["g21","*/ g13 17 28"],["g23","*/ g13 21 28"],["g24","*/ g13 11 14"],["g27","+- g9 g16 0"],["g29","+- g9 g21 0"],["g30","+- g9 g23 0"],["g31","+- g9 g24 0"],["g33","+- g11 g15 0"],["g36","+- g11 g19 0"],["g37","+- g11 g20 0"],["g41","*/ g13 1 14"],["g42","*/ g13 3 28"]],paths:[{commands:[["M","l","t"],["L","r","t"],["L","r","b"],["L","l","b"],["Z"],["M","g33","g27"],["A","g16","g16","cd2","cd2"],["A","g14","g15","0","cd4"],["A","g41","g42","3cd4","-5400000"],["L","g37","g30"],["L","g36","g30"],["L","g36","g29"],["A","g14","g15","cd2","cd4"],["A","g41","g42","cd4","-5400000"],["A","g14","g14","0","-10800000"],["Z"],["M","hc","g31"],["A","g42","g42","3cd4","21600000"],["Z"]],stroke:!1},{commands:[["M","g33","g27"],["A","g16","g16","cd2","cd2"],["A","g14","g15","0","cd4"],["A","g41","g42","3cd4","-5400000"],["L","g37","g30"],["L","g36","g30"],["L","g36","g29"],["A","g14","g15","cd2","cd4"],["A","g41","g42","cd4","-5400000"],["A","g14","g14","0","-10800000"],["Z"],["M","hc","g31"],["A","g42","g42","3cd4","21600000"],["Z"]],fill:"darken",stroke:!1},{commands:[["M","g33","g27"],["A","g16","g16","cd2","cd2"],["A","g14","g15","0","cd4"],["A","g41","g42","3cd4","-5400000"],["L","g37","g30"],["L","g36","g30"],["L","g36","g29"],["A","g14","g15","cd2","cd4"],["A","g41","g42","cd4","-5400000"],["A","g14","g14","0","-10800000"],["Z"],["M","hc","g31"],["A","g42","g42","3cd4","21600000"],["Z"]],fill:"none"},{commands:[["M","l","t"],["L","r","t"],["L","r","b"],["L","l","b"],["Z"]],fill:"none"}],rect:["l","t","r","b"]},actionButtonHome:{av:[],gd:[["dx2","*/ ss 3 8"],["g9","+- vc 0 dx2"],["g10","+- vc dx2 0"],["g11","+- hc 0 dx2"],["g12","+- hc dx2 0"],["g13","*/ ss 3 4"],["g14","*/ g13 1 16"],["g15","*/ g13 1 8"],["g16","*/ g13 3 16"],["g17","*/ g13 5 16"],["g18","*/ g13 7 16"],["g19","*/ g13 9 16"],["g20","*/ g13 11 16"],["g21","*/ g13 3 4"],["g22","*/ g13 13 16"],["g23","*/ g13 7 8"],["g24","+- g9 g14 0"],["g25","+- g9 g16 0"],["g26","+- g9 g17 0"],["g27","+- g9 g21 0"],["g28","+- g11 g15 0"],["g29","+- g11 g18 0"],["g30","+- g11 g19 0"],["g31","+- g11 g20 0"],["g32","+- g11 g22 0"],["g33","+- g11 g23 0"]],paths:[{commands:[["M","l","t"],["L","r","t"],["L","r","b"],["L","l","b"],["Z"],["M","hc","g9"],["L","g11","vc"],["L","g28","vc"],["L","g28","g10"],["L","g33","g10"],["L","g33","vc"],["L","g12","vc"],["L","g32","g26"],["L","g32","g24"],["L","g31","g24"],["L","g31","g25"],["Z"]],stroke:!1},{commands:[["M","g32","g26"],["L","g32","g24"],["L","g31","g24"],["L","g31","g25"],["Z"],["M","g28","vc"],["L","g28","g10"],["L","g29","g10"],["L","g29","g27"],["L","g30","g27"],["L","g30","g10"],["L","g33","g10"],["L","g33","vc"],["Z"]],fill:"darkenLess",stroke:!1},{commands:[["M","hc","g9"],["L","g11","vc"],["L","g12","vc"],["Z"],["M","g29","g27"],["L","g30","g27"],["L","g30","g10"],["L","g29","g10"],["Z"]],fill:"darken",stroke:!1},{commands:[["M","hc","g9"],["L","g31","g25"],["L","g31","g24"],["L","g32","g24"],["L","g32","g26"],["L","g12","vc"],["L","g33","vc"],["L","g33","g10"],["L","g28","g10"],["L","g28","vc"],["L","g11","vc"],["Z"],["M","g31","g25"],["L","g32","g26"],["M","g33","vc"],["L","g28","vc"],["M","g29","g10"],["L","g29","g27"],["L","g30","g27"],["L","g30","g10"]],fill:"none"},{commands:[["M","l","t"],["L","r","t"],["L","r","b"],["L","l","b"],["Z"]],fill:"none"}],rect:["l","t","r","b"]},actionButtonInformation:{av:[],gd:[["dx2","*/ ss 3 8"],["g9","+- vc 0 dx2"],["g11","+- hc 0 dx2"],["g13","*/ ss 3 4"],["g14","*/ g13 1 32"],["g17","*/ g13 5 16"],["g18","*/ g13 3 8"],["g19","*/ g13 13 32"],["g20","*/ g13 19 32"],["g22","*/ g13 11 16"],["g23","*/ g13 13 16"],["g24","*/ g13 7 8"],["g25","+- g9 g14 0"],["g28","+- g9 g17 0"],["g29","+- g9 g18 0"],["g30","+- g9 g23 0"],["g31","+- g9 g24 0"],["g32","+- g11 g17 0"],["g34","+- g11 g19 0"],["g35","+- g11 g20 0"],["g37","+- g11 g22 0"],["g38","*/ g13 3 32"]],paths:[{commands:[["M","l","t"],["L","r","t"],["L","r","b"],["L","l","b"],["Z"],["M","hc","g9"],["A","dx2","dx2","3cd4","21600000"],["Z"]],stroke:!1},{commands:[["M","hc","g9"],["A","dx2","dx2","3cd4","21600000"],["Z"],["M","hc","g25"],["A","g38","g38","3cd4","21600000"],["M","g32","g28"],["L","g32","g29"],["L","g34","g29"],["L","g34","g30"],["L","g32","g30"],["L","g32","g31"],["L","g37","g31"],["L","g37","g30"],["L","g35","g30"],["L","g35","g28"],["Z"]],fill:"darken",stroke:!1},{commands:[["M","hc","g25"],["A","g38","g38","3cd4","21600000"],["M","g32","g28"],["L","g35","g28"],["L","g35","g30"],["L","g37","g30"],["L","g37","g31"],["L","g32","g31"],["L","g32","g30"],["L","g34","g30"],["L","g34","g29"],["L","g32","g29"],["Z"]],fill:"lighten",stroke:!1},{commands:[["M","hc","g9"],["A","dx2","dx2","3cd4","21600000"],["Z"],["M","hc","g25"],["A","g38","g38","3cd4","21600000"],["M","g32","g28"],["L","g35","g28"],["L","g35","g30"],["L","g37","g30"],["L","g37","g31"],["L","g32","g31"],["L","g32","g30"],["L","g34","g30"],["L","g34","g29"],["L","g32","g29"],["Z"]],fill:"none"},{commands:[["M","l","t"],["L","r","t"],["L","r","b"],["L","l","b"],["Z"]],fill:"none"}],rect:["l","t","r","b"]},actionButtonMovie:{av:[],gd:[["dx2","*/ ss 3 8"],["g9","+- vc 0 dx2"],["g10","+- vc dx2 0"],["g11","+- hc 0 dx2"],["g12","+- hc dx2 0"],["g13","*/ ss 3 4"],["g14","*/ g13 1455 21600"],["g15","*/ g13 1905 21600"],["g16","*/ g13 2325 21600"],["g17","*/ g13 16155 21600"],["g18","*/ g13 17010 21600"],["g19","*/ g13 19335 21600"],["g20","*/ g13 19725 21600"],["g21","*/ g13 20595 21600"],["g22","*/ g13 5280 21600"],["g23","*/ g13 5730 21600"],["g24","*/ g13 6630 21600"],["g25","*/ g13 7492 21600"],["g26","*/ g13 9067 21600"],["g27","*/ g13 9555 21600"],["g28","*/ g13 13342 21600"],["g29","*/ g13 14580 21600"],["g30","*/ g13 15592 21600"],["g31","+- g11 g14 0"],["g32","+- g11 g15 0"],["g33","+- g11 g16 0"],["g34","+- g11 g17 0"],["g35","+- g11 g18 0"],["g36","+- g11 g19 0"],["g37","+- g11 g20 0"],["g38","+- g11 g21 0"],["g39","+- g9 g22 0"],["g40","+- g9 g23 0"],["g41","+- g9 g24 0"],["g42","+- g9 g25 0"],["g43","+- g9 g26 0"],["g44","+- g9 g27 0"],["g45","+- g9 g28 0"],["g46","+- g9 g29 0"],["g47","+- g9 g30 0"],["g48","+- g9 g31 0"]],paths:[{commands:[["M","l","t"],["L","r","t"],["L","r","b"],["L","l","b"],["Z"],["M","g11","g39"],["L","g11","g44"],["L","g31","g44"],["L","g32","g43"],["L","g33","g43"],["L","g33","g47"],["L","g35","g47"],["L","g35","g45"],["L","g36","g45"],["L","g38","g46"],["L","g12","g46"],["L","g12","g41"],["L","g38","g41"],["L","g37","g42"],["L","g35","g42"],["L","g35","g41"],["L","g34","g40"],["L","g32","g40"],["L","g31","g39"],["Z"]],stroke:!1},{commands:[["M","g11","g39"],["L","g11","g44"],["L","g31","g44"],["L","g32","g43"],["L","g33","g43"],["L","g33","g47"],["L","g35","g47"],["L","g35","g45"],["L","g36","g45"],["L","g38","g46"],["L","g12","g46"],["L","g12","g41"],["L","g38","g41"],["L","g37","g42"],["L","g35","g42"],["L","g35","g41"],["L","g34","g40"],["L","g32","g40"],["L","g31","g39"],["Z"]],fill:"darken",stroke:!1},{commands:[["M","g11","g39"],["L","g31","g39"],["L","g32","g40"],["L","g34","g40"],["L","g35","g41"],["L","g35","g42"],["L","g37","g42"],["L","g38","g41"],["L","g12","g41"],["L","g12","g46"],["L","g38","g46"],["L","g36","g45"],["L","g35","g45"],["L","g35","g47"],["L","g33","g47"],["L","g33","g43"],["L","g32","g43"],["L","g31","g44"],["L","g11","g44"],["Z"]],fill:"none"},{commands:[["M","l","t"],["L","r","t"],["L","r","b"],["L","l","b"],["Z"]],fill:"none"}],rect:["l","t","r","b"]},actionButtonReturn:{av:[],gd:[["dx2","*/ ss 3 8"],["g9","+- vc 0 dx2"],["g10","+- vc dx2 0"],["g11","+- hc 0 dx2"],["g12","+- hc dx2 0"],["g13","*/ ss 3 4"],["g14","*/ g13 7 8"],["g15","*/ g13 3 4"],["g16","*/ g13 5 8"],["g17","*/ g13 3 8"],["g18","*/ g13 1 4"],["g19","+- g9 g15 0"],["g20","+- g9 g16 0"],["g21","+- g9 g18 0"],["g22","+- g11 g14 0"],["g23","+- g11 g15 0"],["g24","+- g11 g16 0"],["g25","+- g11 g17 0"],["g26","+- g11 g18 0"],["g27","*/ g13 1 8"]],paths:[{commands:[["M","l","t"],["L","r","t"],["L","r","b"],["L","l","b"],["Z"],["M","g12","g21"],["L","g23","g9"],["L","hc","g21"],["L","g24","g21"],["L","g24","g20"],["A","g27","g27","0","cd4"],["L","g25","g19"],["A","g27","g27","cd4","cd4"],["L","g26","g21"],["L","g11","g21"],["L","g11","g20"],["A","g17","g17","cd2","-5400000"],["L","hc","g10"],["A","g17","g17","cd4","-5400000"],["L","g22","g21"],["Z"]],stroke:!1},{commands:[["M","g12","g21"],["L","g23","g9"],["L","hc","g21"],["L","g24","g21"],["L","g24","g20"],["A","g27","g27","0","cd4"],["L","g25","g19"],["A","g27","g27","cd4","cd4"],["L","g26","g21"],["L","g11","g21"],["L","g11","g20"],["A","g17","g17","cd2","-5400000"],["L","hc","g10"],["A","g17","g17","cd4","-5400000"],["L","g22","g21"],["Z"]],fill:"darken",stroke:!1},{commands:[["M","g12","g21"],["L","g22","g21"],["L","g22","g20"],["A","g17","g17","0","cd4"],["L","g25","g10"],["A","g17","g17","cd4","cd4"],["L","g11","g21"],["L","g26","g21"],["L","g26","g20"],["A","g27","g27","cd2","-5400000"],["L","hc","g19"],["A","g27","g27","cd4","-5400000"],["L","g24","g21"],["L","hc","g21"],["L","g23","g9"],["Z"]],fill:"none"},{commands:[["M","l","t"],["L","r","t"],["L","r","b"],["L","l","b"],["Z"]],fill:"none"}],rect:["l","t","r","b"]},actionButtonSound:{av:[],gd:[["dx2","*/ ss 3 8"],["g9","+- vc 0 dx2"],["g10","+- vc dx2 0"],["g11","+- hc 0 dx2"],["g12","+- hc dx2 0"],["g13","*/ ss 3 4"],["g14","*/ g13 1 8"],["g15","*/ g13 5 16"],["g16","*/ g13 5 8"],["g17","*/ g13 11 16"],["g18","*/ g13 3 4"],["g19","*/ g13 7 8"],["g20","+- g9 g14 0"],["g21","+- g9 g15 0"],["g22","+- g9 g17 0"],["g23","+- g9 g19 0"],["g24","+- g11 g15 0"],["g25","+- g11 g16 0"],["g26","+- g11 g18 0"]],paths:[{commands:[["M","l","t"],["L","r","t"],["L","r","b"],["L","l","b"],["Z"],["M","g11","g21"],["L","g11","g22"],["L","g24","g22"],["L","g25","g10"],["L","g25","g9"],["L","g24","g21"],["Z"]],stroke:!1},{commands:[["M","g11","g21"],["L","g11","g22"],["L","g24","g22"],["L","g25","g10"],["L","g25","g9"],["L","g24","g21"],["Z"]],fill:"darken",stroke:!1},{commands:[["M","g11","g21"],["L","g24","g21"],["L","g25","g9"],["L","g25","g10"],["L","g24","g22"],["L","g11","g22"],["Z"],["M","g26","g21"],["L","g12","g20"],["M","g26","vc"],["L","g12","vc"],["M","g26","g22"],["L","g12","g23"]],fill:"none"},{commands:[["M","l","t"],["L","r","t"],["L","r","b"],["L","l","b"],["Z"]],fill:"none"}],rect:["l","t","r","b"]},arc:{av:[["adj1","val 16200000"],["adj2","val 0"]],gd:[["stAng","pin 0 adj1 21599999"],["enAng","pin 0 adj2 21599999"],["sw11","+- enAng 0 stAng"],["sw12","+- sw11 21600000 0"],["swAng","?: sw11 sw11 sw12"],["wt1","sin wd2 stAng"],["ht1","cos hd2 stAng"],["dx1","cat2 wd2 ht1 wt1"],["dy1","sat2 hd2 ht1 wt1"],["wt2","sin wd2 enAng"],["ht2","cos hd2 enAng"],["dx2","cat2 wd2 ht2 wt2"],["dy2","sat2 hd2 ht2 wt2"],["x1","+- hc dx1 0"],["y1","+- vc dy1 0"],["x2","+- hc dx2 0"],["y2","+- vc dy2 0"],["sw0","+- 21600000 0 stAng"],["da1","+- swAng 0 sw0"],["g1","max x1 x2"],["ir","?: da1 r g1"],["sw1","+- cd4 0 stAng"],["sw2","+- 27000000 0 stAng"],["sw3","?: sw1 sw1 sw2"],["da2","+- swAng 0 sw3"],["g5","max y1 y2"],["ib","?: da2 b g5"],["sw4","+- cd2 0 stAng"],["sw5","+- 32400000 0 stAng"],["sw6","?: sw4 sw4 sw5"],["da3","+- swAng 0 sw6"],["g9","min x1 x2"],["il","?: da3 l g9"],["sw7","+- 3cd4 0 stAng"],["sw8","+- 37800000 0 stAng"],["sw9","?: sw7 sw7 sw8"],["da4","+- swAng 0 sw9"],["g13","min y1 y2"],["it","?: da4 t g13"],["cang1","+- stAng 0 cd4"],["cang2","+- enAng cd4 0"],["cang3","+/ cang1 cang2 2"]],paths:[{commands:[["M","x1","y1"],["A","wd2","hd2","stAng","swAng"],["L","hc","vc"],["Z"]],stroke:!1},{commands:[["M","x1","y1"],["A","wd2","hd2","stAng","swAng"]],fill:"none"}],rect:["il","it","ir","ib"]},bentArrow:{av:[["adj1","val 25000"],["adj2","val 25000"],["adj3","val 25000"],["adj4","val 43750"]],gd:[["a2","pin 0 adj2 50000"],["maxAdj1","*/ a2 2 1"],["a1","pin 0 adj1 maxAdj1"],["a3","pin 0 adj3 50000"],["th","*/ ss a1 100000"],["aw2","*/ ss a2 100000"],["th2","*/ th 1 2"],["dh2","+- aw2 0 th2"],["ah","*/ ss a3 100000"],["bw","+- r 0 ah"],["bh","+- b 0 dh2"],["bs","min bw bh"],["maxAdj4","*/ 100000 bs ss"],["a4","pin 0 adj4 maxAdj4"],["bd","*/ ss a4 100000"],["bd3","+- bd 0 th"],["bd2","max bd3 0"],["x3","+- th bd2 0"],["x4","+- r 0 ah"],["y3","+- dh2 th 0"],["y4","+- y3 dh2 0"],["y5","+- dh2 bd 0"],["y6","+- y3 bd2 0"]],paths:[{commands:[["M","l","b"],["L","l","y5"],["A","bd","bd","cd2","cd4"],["L","x4","dh2"],["L","x4","t"],["L","r","aw2"],["L","x4","y4"],["L","x4","y3"],["L","x3","y3"],["A","bd2","bd2","3cd4","-5400000"],["L","th","b"],["Z"]]}],rect:["l","t","r","b"]},bentConnector2:{av:[],gd:[],paths:[{commands:[["M","l","t"],["L","r","t"],["L","r","b"]],fill:"none"}],rect:["l","t","r","b"]},bentConnector3:{av:[["adj1","val 50000"]],gd:[["x1","*/ w adj1 100000"]],paths:[{commands:[["M","l","t"],["L","x1","t"],["L","x1","b"],["L","r","b"]],fill:"none"}],rect:["l","t","r","b"]},bentConnector4:{av:[["adj1","val 50000"],["adj2","val 50000"]],gd:[["x1","*/ w adj1 100000"],["x2","+/ x1 r 2"],["y2","*/ h adj2 100000"],["y1","+/ t y2 2"]],paths:[{commands:[["M","l","t"],["L","x1","t"],["L","x1","y2"],["L","r","y2"],["L","r","b"]],fill:"none"}],rect:["l","t","r","b"]},bentConnector5:{av:[["adj1","val 50000"],["adj2","val 50000"],["adj3","val 50000"]],gd:[["x1","*/ w adj1 100000"],["x3","*/ w adj3 100000"],["x2","+/ x1 x3 2"],["y2","*/ h adj2 100000"],["y1","+/ t y2 2"],["y3","+/ b y2 2"]],paths:[{commands:[["M","l","t"],["L","x1","t"],["L","x1","y2"],["L","x3","y2"],["L","x3","b"],["L","r","b"]],fill:"none"}],rect:["l","t","r","b"]},bentUpArrow:{av:[["adj1","val 25000"],["adj2","val 25000"],["adj3","val 25000"]],gd:[["a1","pin 0 adj1 50000"],["a2","pin 0 adj2 50000"],["a3","pin 0 adj3 50000"],["y1","*/ ss a3 100000"],["dx1","*/ ss a2 50000"],["x1","+- r 0 dx1"],["dx3","*/ ss a2 100000"],["x3","+- r 0 dx3"],["dx2","*/ ss a1 200000"],["x2","+- x3 0 dx2"],["x4","+- x3 dx2 0"],["dy2","*/ ss a1 100000"],["y2","+- b 0 dy2"],["x0","*/ x4 1 2"],["y3","+/ y2 b 2"],["y15","+/ y1 b 2"]],paths:[{commands:[["M","l","y2"],["L","x2","y2"],["L","x2","y1"],["L","x1","y1"],["L","x3","t"],["L","r","y1"],["L","x4","y1"],["L","x4","b"],["L","l","b"],["Z"]]}],rect:["l","y2","x4","b"]},bevel:{av:[["adj","val 12500"]],gd:[["a","pin 0 adj 50000"],["x1","*/ ss a 100000"],["x2","+- r 0 x1"],["y2","+- b 0 x1"]],paths:[{commands:[["M","x1","x1"],["L","x2","x1"],["L","x2","y2"],["L","x1","y2"],["Z"]],stroke:!1},{commands:[["M","l","t"],["L","r","t"],["L","x2","x1"],["L","x1","x1"],["Z"]],fill:"lightenLess",stroke:!1},{commands:[["M","l","b"],["L","x1","y2"],["L","x2","y2"],["L","r","b"],["Z"]],fill:"darkenLess",stroke:!1},{commands:[["M","l","t"],["L","x1","x1"],["L","x1","y2"],["L","l","b"],["Z"]],fill:"lighten",stroke:!1},{commands:[["M","r","t"],["L","r","b"],["L","x2","y2"],["L","x2","x1"],["Z"]],fill:"darken",stroke:!1},{commands:[["M","l","t"],["L","r","t"],["L","r","b"],["L","l","b"],["Z"],["M","x1","x1"],["L","x2","x1"],["L","x2","y2"],["L","x1","y2"],["Z"],["M","l","t"],["L","x1","x1"],["M","l","b"],["L","x1","y2"],["M","r","t"],["L","x2","x1"],["M","r","b"],["L","x2","y2"]],fill:"none"}],rect:["x1","x1","x2","y2"]},blockArc:{av:[["adj1","val 10800000"],["adj2","val 0"],["adj3","val 25000"]],gd:[["stAng","pin 0 adj1 21599999"],["istAng","pin 0 adj2 21599999"],["a3","pin 0 adj3 50000"],["sw11","+- istAng 0 stAng"],["sw12","+- sw11 21600000 0"],["swAng","?: sw11 sw11 sw12"],["iswAng","+- 0 0 swAng"],["wt1","sin wd2 stAng"],["ht1","cos hd2 stAng"],["wt3","sin wd2 istAng"],["ht3","cos hd2 istAng"],["dx1","cat2 wd2 ht1 wt1"],["dy1","sat2 hd2 ht1 wt1"],["dx3","cat2 wd2 ht3 wt3"],["dy3","sat2 hd2 ht3 wt3"],["x1","+- hc dx1 0"],["y1","+- vc dy1 0"],["x3","+- hc dx3 0"],["y3","+- vc dy3 0"],["dr","*/ ss a3 100000"],["iwd2","+- wd2 0 dr"],["ihd2","+- hd2 0 dr"],["wt2","sin iwd2 istAng"],["ht2","cos ihd2 istAng"],["wt4","sin iwd2 stAng"],["ht4","cos ihd2 stAng"],["dx2","cat2 iwd2 ht2 wt2"],["dy2","sat2 ihd2 ht2 wt2"],["dx4","cat2 iwd2 ht4 wt4"],["dy4","sat2 ihd2 ht4 wt4"],["x2","+- hc dx2 0"],["y2","+- vc dy2 0"],["x4","+- hc dx4 0"],["y4","+- vc dy4 0"],["sw0","+- 21600000 0 stAng"],["da1","+- swAng 0 sw0"],["g1","max x1 x2"],["g2","max x3 x4"],["g3","max g1 g2"],["ir","?: da1 r g3"],["sw1","+- cd4 0 stAng"],["sw2","+- 27000000 0 stAng"],["sw3","?: sw1 sw1 sw2"],["da2","+- swAng 0 sw3"],["g5","max y1 y2"],["g6","max y3 y4"],["g7","max g5 g6"],["ib","?: da2 b g7"],["sw4","+- cd2 0 stAng"],["sw5","+- 32400000 0 stAng"],["sw6","?: sw4 sw4 sw5"],["da3","+- swAng 0 sw6"],["g9","min x1 x2"],["g10","min x3 x4"],["g11","min g9 g10"],["il","?: da3 l g11"],["sw7","+- 3cd4 0 stAng"],["sw8","+- 37800000 0 stAng"],["sw9","?: sw7 sw7 sw8"],["da4","+- swAng 0 sw9"],["g13","min y1 y2"],["g14","min y3 y4"],["g15","min g13 g14"],["it","?: da4 t g15"],["x5","+/ x1 x4 2"],["y5","+/ y1 y4 2"],["x6","+/ x3 x2 2"],["y6","+/ y3 y2 2"],["cang1","+- stAng 0 cd4"],["cang2","+- istAng cd4 0"],["cang3","+/ cang1 cang2 2"]],paths:[{commands:[["M","x1","y1"],["A","wd2","hd2","stAng","swAng"],["L","x2","y2"],["A","iwd2","ihd2","istAng","iswAng"],["Z"]]}],rect:["il","it","ir","ib"]},borderCallout1:{av:[["adj1","val 18750"],["adj2","val -8333"],["adj3","val 112500"],["adj4","val -38333"]],gd:[["y1","*/ h adj1 100000"],["x1","*/ w adj2 100000"],["y2","*/ h adj3 100000"],["x2","*/ w adj4 100000"]],paths:[{commands:[["M","l","t"],["L","r","t"],["L","r","b"],["L","l","b"],["Z"]]},{commands:[["M","x1","y1"],["L","x2","y2"]],fill:"none"}],rect:["l","t","r","b"]},borderCallout2:{av:[["adj1","val 18750"],["adj2","val -8333"],["adj3","val 18750"],["adj4","val -16667"],["adj5","val 112500"],["adj6","val -46667"]],gd:[["y1","*/ h adj1 100000"],["x1","*/ w adj2 100000"],["y2","*/ h adj3 100000"],["x2","*/ w adj4 100000"],["y3","*/ h adj5 100000"],["x3","*/ w adj6 100000"]],paths:[{commands:[["M","l","t"],["L","r","t"],["L","r","b"],["L","l","b"],["Z"]]},{commands:[["M","x1","y1"],["L","x2","y2"],["L","x3","y3"]],fill:"none"}],rect:["l","t","r","b"]},borderCallout3:{av:[["adj1","val 18750"],["adj2","val -8333"],["adj3","val 18750"],["adj4","val -16667"],["adj5","val 100000"],["adj6","val -16667"],["adj7","val 112963"],["adj8","val -8333"]],gd:[["y1","*/ h adj1 100000"],["x1","*/ w adj2 100000"],["y2","*/ h adj3 100000"],["x2","*/ w adj4 100000"],["y3","*/ h adj5 100000"],["x3","*/ w adj6 100000"],["y4","*/ h adj7 100000"],["x4","*/ w adj8 100000"]],paths:[{commands:[["M","l","t"],["L","r","t"],["L","r","b"],["L","l","b"],["Z"]]},{commands:[["M","x1","y1"],["L","x2","y2"],["L","x3","y3"],["L","x4","y4"]],fill:"none"}],rect:["l","t","r","b"]},bracePair:{av:[["adj","val 8333"]],gd:[["a","pin 0 adj 25000"],["x1","*/ ss a 100000"],["x2","*/ ss a 50000"],["x3","+- r 0 x2"],["x4","+- r 0 x1"],["y2","+- vc 0 x1"],["y3","+- vc x1 0"],["y4","+- b 0 x1"],["it","*/ x1 29289 100000"],["il","+- x1 it 0"],["ir","+- r 0 il"],["ib","+- b 0 it"]],paths:[{commands:[["M","x2","b"],["A","x1","x1","cd4","cd4"],["L","x1","y3"],["A","x1","x1","0","-5400000"],["A","x1","x1","cd4","-5400000"],["L","x1","x1"],["A","x1","x1","cd2","cd4"],["L","x3","t"],["A","x1","x1","3cd4","cd4"],["L","x4","y2"],["A","x1","x1","cd2","-5400000"],["A","x1","x1","3cd4","-5400000"],["L","x4","y4"],["A","x1","x1","0","cd4"],["Z"]],stroke:!1},{commands:[["M","x2","b"],["A","x1","x1","cd4","cd4"],["L","x1","y3"],["A","x1","x1","0","-5400000"],["A","x1","x1","cd4","-5400000"],["L","x1","x1"],["A","x1","x1","cd2","cd4"],["M","x3","t"],["A","x1","x1","3cd4","cd4"],["L","x4","y2"],["A","x1","x1","cd2","-5400000"],["A","x1","x1","3cd4","-5400000"],["L","x4","y4"],["A","x1","x1","0","cd4"]],fill:"none"}],rect:["il","il","ir","ib"]},bracketPair:{av:[["adj","val 16667"]],gd:[["a","pin 0 adj 50000"],["x1","*/ ss a 100000"],["x2","+- r 0 x1"],["y2","+- b 0 x1"],["il","*/ x1 29289 100000"],["ir","+- r 0 il"],["ib","+- b 0 il"]],paths:[{commands:[["M","l","x1"],["A","x1","x1","cd2","cd4"],["L","x2","t"],["A","x1","x1","3cd4","cd4"],["L","r","y2"],["A","x1","x1","0","cd4"],["L","x1","b"],["A","x1","x1","cd4","cd4"],["Z"]],stroke:!1},{commands:[["M","x1","b"],["A","x1","x1","cd4","cd4"],["L","l","x1"],["A","x1","x1","cd2","cd4"],["M","x2","t"],["A","x1","x1","3cd4","cd4"],["L","r","y2"],["A","x1","x1","0","cd4"]],fill:"none"}],rect:["il","il","ir","ib"]},callout1:{av:[["adj1","val 18750"],["adj2","val -8333"],["adj3","val 112500"],["adj4","val -38333"]],gd:[["y1","*/ h adj1 100000"],["x1","*/ w adj2 100000"],["y2","*/ h adj3 100000"],["x2","*/ w adj4 100000"]],paths:[{commands:[["M","l","t"],["L","r","t"],["L","r","b"],["L","l","b"],["Z"]],stroke:!1},{commands:[["M","x1","y1"],["L","x2","y2"]],fill:"none"}],rect:["l","t","r","b"]},callout2:{av:[["adj1","val 18750"],["adj2","val -8333"],["adj3","val 18750"],["adj4","val -16667"],["adj5","val 112500"],["adj6","val -46667"]],gd:[["y1","*/ h adj1 100000"],["x1","*/ w adj2 100000"],["y2","*/ h adj3 100000"],["x2","*/ w adj4 100000"],["y3","*/ h adj5 100000"],["x3","*/ w adj6 100000"]],paths:[{commands:[["M","l","t"],["L","r","t"],["L","r","b"],["L","l","b"],["Z"]],stroke:!1},{commands:[["M","x1","y1"],["L","x2","y2"],["L","x3","y3"]],fill:"none"}],rect:["l","t","r","b"]},callout3:{av:[["adj1","val 18750"],["adj2","val -8333"],["adj3","val 18750"],["adj4","val -16667"],["adj5","val 100000"],["adj6","val -16667"],["adj7","val 112963"],["adj8","val -8333"]],gd:[["y1","*/ h adj1 100000"],["x1","*/ w adj2 100000"],["y2","*/ h adj3 100000"],["x2","*/ w adj4 100000"],["y3","*/ h adj5 100000"],["x3","*/ w adj6 100000"],["y4","*/ h adj7 100000"],["x4","*/ w adj8 100000"]],paths:[{commands:[["M","l","t"],["L","r","t"],["L","r","b"],["L","l","b"],["Z"]],stroke:!1},{commands:[["M","x1","y1"],["L","x2","y2"],["L","x3","y3"],["L","x4","y4"]],fill:"none"}],rect:["l","t","r","b"]},can:{av:[["adj","val 25000"]],gd:[["maxAdj","*/ 50000 h ss"],["a","pin 0 adj maxAdj"],["y1","*/ ss a 200000"],["y2","+- y1 y1 0"],["y3","+- b 0 y1"]],paths:[{commands:[["M","l","y1"],["A","wd2","y1","cd2","-10800000"],["L","r","y3"],["A","wd2","y1","0","cd2"],["Z"]],stroke:!1},{commands:[["M","l","y1"],["A","wd2","y1","cd2","cd2"],["A","wd2","y1","0","cd2"],["Z"]],fill:"lighten",stroke:!1},{commands:[["M","r","y1"],["A","wd2","y1","0","cd2"],["A","wd2","y1","cd2","cd2"],["L","r","y3"],["A","wd2","y1","0","cd2"],["L","l","y1"]],fill:"none"}],rect:["l","y2","r","y3"]},chartPlus:{av:[],gd:[],paths:[{commands:[["M","5","0"],["L","5","10"],["M","0","5"],["L","10","5"]],w:10,h:10,fill:"none"},{commands:[["M","0","0"],["L","0","10"],["L","10","10"],["L","10","0"],["Z"]],w:10,h:10,stroke:!1}]},chartStar:{av:[],gd:[],paths:[{commands:[["M","0","0"],["L","10","10"],["M","0","10"],["L","10","0"],["M","5","0"],["L","5","10"]],w:10,h:10,fill:"none"},{commands:[["M","0","0"],["L","0","10"],["L","10","10"],["L","10","0"],["Z"]],w:10,h:10,stroke:!1}]},chartX:{av:[],gd:[],paths:[{commands:[["M","0","0"],["L","10","10"],["M","0","10"],["L","10","0"]],w:10,h:10,fill:"none"},{commands:[["M","0","0"],["L","0","10"],["L","10","10"],["L","10","0"],["Z"]],w:10,h:10,stroke:!1}]},chevron:{av:[["adj","val 50000"]],gd:[["maxAdj","*/ 100000 w ss"],["a","pin 0 adj maxAdj"],["x1","*/ ss a 100000"],["x2","+- r 0 x1"],["x3","*/ x2 1 2"],["dx","+- x2 0 x1"],["il","?: dx x1 l"],["ir","?: dx x2 r"]],paths:[{commands:[["M","l","t"],["L","x2","t"],["L","r","vc"],["L","x2","b"],["L","l","b"],["L","x1","vc"],["Z"]]}],rect:["il","t","ir","b"]},chord:{av:[["adj1","val 2700000"],["adj2","val 16200000"]],gd:[["stAng","pin 0 adj1 21599999"],["enAng","pin 0 adj2 21599999"],["sw1","+- enAng 0 stAng"],["sw2","+- sw1 21600000 0"],["swAng","?: sw1 sw1 sw2"],["wt1","sin wd2 stAng"],["ht1","cos hd2 stAng"],["dx1","cat2 wd2 ht1 wt1"],["dy1","sat2 hd2 ht1 wt1"],["wt2","sin wd2 enAng"],["ht2","cos hd2 enAng"],["dx2","cat2 wd2 ht2 wt2"],["dy2","sat2 hd2 ht2 wt2"],["x1","+- hc dx1 0"],["y1","+- vc dy1 0"],["x2","+- hc dx2 0"],["y2","+- vc dy2 0"],["x3","+/ x1 x2 2"],["y3","+/ y1 y2 2"],["midAng0","*/ swAng 1 2"],["midAng","+- stAng midAng0 cd2"],["idx","cos wd2 2700000"],["idy","sin hd2 2700000"],["il","+- hc 0 idx"],["ir","+- hc idx 0"],["it","+- vc 0 idy"],["ib","+- vc idy 0"]],paths:[{commands:[["M","x1","y1"],["A","wd2","hd2","stAng","swAng"],["Z"]]}],rect:["il","it","ir","ib"]},circularArrow:{av:[["adj1","val 12500"],["adj2","val 1142319"],["adj3","val 20457681"],["adj4","val 10800000"],["adj5","val 12500"]],gd:[["a5","pin 0 adj5 25000"],["maxAdj1","*/ a5 2 1"],["a1","pin 0 adj1 maxAdj1"],["enAng","pin 1 adj3 21599999"],["stAng","pin 0 adj4 21599999"],["th","*/ ss a1 100000"],["thh","*/ ss a5 100000"],["th2","*/ th 1 2"],["rw1","+- wd2 th2 thh"],["rh1","+- hd2 th2 thh"],["rw2","+- rw1 0 th"],["rh2","+- rh1 0 th"],["rw3","+- rw2 th2 0"],["rh3","+- rh2 th2 0"],["wtH","sin rw3 enAng"],["htH","cos rh3 enAng"],["dxH","cat2 rw3 htH wtH"],["dyH","sat2 rh3 htH wtH"],["xH","+- hc dxH 0"],["yH","+- vc dyH 0"],["rI","min rw2 rh2"],["u1","*/ dxH dxH 1"],["u2","*/ dyH dyH 1"],["u3","*/ rI rI 1"],["u4","+- u1 0 u3"],["u5","+- u2 0 u3"],["u6","*/ u4 u5 u1"],["u7","*/ u6 1 u2"],["u8","+- 1 0 u7"],["u9","sqrt u8"],["u10","*/ u4 1 dxH"],["u11","*/ u10 1 dyH"],["u12","+/ 1 u9 u11"],["u13","at2 1 u12"],["u14","+- u13 21600000 0"],["u15","?: u13 u13 u14"],["u16","+- u15 0 enAng"],["u17","+- u16 21600000 0"],["u18","?: u16 u16 u17"],["u19","+- u18 0 cd2"],["u20","+- u18 0 21600000"],["u21","?: u19 u20 u18"],["maxAng","abs u21"],["aAng","pin 0 adj2 maxAng"],["ptAng","+- enAng aAng 0"],["wtA","sin rw3 ptAng"],["htA","cos rh3 ptAng"],["dxA","cat2 rw3 htA wtA"],["dyA","sat2 rh3 htA wtA"],["xA","+- hc dxA 0"],["yA","+- vc dyA 0"],["wtE","sin rw1 stAng"],["htE","cos rh1 stAng"],["dxE","cat2 rw1 htE wtE"],["dyE","sat2 rh1 htE wtE"],["xE","+- hc dxE 0"],["yE","+- vc dyE 0"],["dxG","cos thh ptAng"],["dyG","sin thh ptAng"],["xG","+- xH dxG 0"],["yG","+- yH dyG 0"],["dxB","cos thh ptAng"],["dyB","sin thh ptAng"],["xB","+- xH 0 dxB 0"],["yB","+- yH 0 dyB 0"],["sx1","+- xB 0 hc"],["sy1","+- yB 0 vc"],["sx2","+- xG 0 hc"],["sy2","+- yG 0 vc"],["rO","min rw1 rh1"],["x1O","*/ sx1 rO rw1"],["y1O","*/ sy1 rO rh1"],["x2O","*/ sx2 rO rw1"],["y2O","*/ sy2 rO rh1"],["dxO","+- x2O 0 x1O"],["dyO","+- y2O 0 y1O"],["dO","mod dxO dyO 0"],["q1","*/ x1O y2O 1"],["q2","*/ x2O y1O 1"],["DO","+- q1 0 q2"],["q3","*/ rO rO 1"],["q4","*/ dO dO 1"],["q5","*/ q3 q4 1"],["q6","*/ DO DO 1"],["q7","+- q5 0 q6"],["q8","max q7 0"],["sdelO","sqrt q8"],["ndyO","*/ dyO -1 1"],["sdyO","?: ndyO -1 1"],["q9","*/ sdyO dxO 1"],["q10","*/ q9 sdelO 1"],["q11","*/ DO dyO 1"],["dxF1","+/ q11 q10 q4"],["q12","+- q11 0 q10"],["dxF2","*/ q12 1 q4"],["adyO","abs dyO"],["q13","*/ adyO sdelO 1"],["q14","*/ DO dxO -1"],["dyF1","+/ q14 q13 q4"],["q15","+- q14 0 q13"],["dyF2","*/ q15 1 q4"],["q16","+- x2O 0 dxF1"],["q17","+- x2O 0 dxF2"],["q18","+- y2O 0 dyF1"],["q19","+- y2O 0 dyF2"],["q20","mod q16 q18 0"],["q21","mod q17 q19 0"],["q22","+- q21 0 q20"],["dxF","?: q22 dxF1 dxF2"],["dyF","?: q22 dyF1 dyF2"],["sdxF","*/ dxF rw1 rO"],["sdyF","*/ dyF rh1 rO"],["xF","+- hc sdxF 0"],["yF","+- vc sdyF 0"],["x1I","*/ sx1 rI rw2"],["y1I","*/ sy1 rI rh2"],["x2I","*/ sx2 rI rw2"],["y2I","*/ sy2 rI rh2"],["dxI","+- x2I 0 x1I"],["dyI","+- y2I 0 y1I"],["dI","mod dxI dyI 0"],["v1","*/ x1I y2I 1"],["v2","*/ x2I y1I 1"],["DI","+- v1 0 v2"],["v3","*/ rI rI 1"],["v4","*/ dI dI 1"],["v5","*/ v3 v4 1"],["v6","*/ DI DI 1"],["v7","+- v5 0 v6"],["v8","max v7 0"],["sdelI","sqrt v8"],["v9","*/ sdyO dxI 1"],["v10","*/ v9 sdelI 1"],["v11","*/ DI dyI 1"],["dxC1","+/ v11 v10 v4"],["v12","+- v11 0 v10"],["dxC2","*/ v12 1 v4"],["adyI","abs dyI"],["v13","*/ adyI sdelI 1"],["v14","*/ DI dxI -1"],["dyC1","+/ v14 v13 v4"],["v15","+- v14 0 v13"],["dyC2","*/ v15 1 v4"],["v16","+- x1I 0 dxC1"],["v17","+- x1I 0 dxC2"],["v18","+- y1I 0 dyC1"],["v19","+- y1I 0 dyC2"],["v20","mod v16 v18 0"],["v21","mod v17 v19 0"],["v22","+- v21 0 v20"],["dxC","?: v22 dxC1 dxC2"],["dyC","?: v22 dyC1 dyC2"],["sdxC","*/ dxC rw2 rI"],["sdyC","*/ dyC rh2 rI"],["xC","+- hc sdxC 0"],["yC","+- vc sdyC 0"],["ist0","at2 sdxC sdyC"],["ist1","+- ist0 21600000 0"],["istAng","?: ist0 ist0 ist1"],["isw1","+- stAng 0 istAng"],["isw2","+- isw1 0 21600000"],["iswAng","?: isw1 isw2 isw1"],["p1","+- xF 0 xC"],["p2","+- yF 0 yC"],["p3","mod p1 p2 0"],["p4","*/ p3 1 2"],["p5","+- p4 0 thh"],["xGp","?: p5 xF xG"],["yGp","?: p5 yF yG"],["xBp","?: p5 xC xB"],["yBp","?: p5 yC yB"],["en0","at2 sdxF sdyF"],["en1","+- en0 21600000 0"],["en2","?: en0 en0 en1"],["sw0","+- en2 0 stAng"],["sw1","+- sw0 21600000 0"],["swAng","?: sw0 sw0 sw1"],["wtI","sin rw3 stAng"],["htI","cos rh3 stAng"],["dxI","cat2 rw3 htI wtI"],["dyI","sat2 rh3 htI wtI"],["xI","+- hc dxI 0"],["yI","+- vc dyI 0"],["aI","+- stAng 0 cd4"],["aA","+- ptAng cd4 0"],["aB","+- ptAng cd2 0"],["idx","cos rw1 2700000"],["idy","sin rh1 2700000"],["il","+- hc 0 idx"],["ir","+- hc idx 0"],["it","+- vc 0 idy"],["ib","+- vc idy 0"]],paths:[{commands:[["M","xE","yE"],["A","rw1","rh1","stAng","swAng"],["L","xGp","yGp"],["L","xA","yA"],["L","xBp","yBp"],["L","xC","yC"],["A","rw2","rh2","istAng","iswAng"],["Z"]]}],rect:["il","it","ir","ib"]},cloud:{av:[],gd:[["il","*/ w 2977 21600"],["it","*/ h 3262 21600"],["ir","*/ w 17087 21600"],["ib","*/ h 17337 21600"],["g27","*/ w 67 21600"],["g28","*/ h 21577 21600"],["g29","*/ w 21582 21600"],["g30","*/ h 1235 21600"]],paths:[{commands:[["M","3900","14370"],["A","6753","9190","-11429249","7426832"],["A","5333","7267","-8646143","5396714"],["A","4365","5945","-8748475","5983381"],["A","4857","6595","-7859164","7034504"],["A","5333","7273","-4722533","6541615"],["A","6775","9220","-2776035","7816140"],["A","5785","7867","37501","6842000"],["A","6752","9215","1347096","6910353"],["A","7720","10543","3974558","4542661"],["A","4360","5918","-16496525","8804134"],["A","4345","5945","-14809710","9151131"],["Z"]],w:43200,h:43200},{commands:[["M","4693","26177"],["A","4345","5945","5204520","1585770"],["M","6928","34899"],["A","4360","5918","4416628","686848"],["M","16478","39090"],["A","6752","9215","8257449","844866"],["M","28827","34751"],["A","6752","9215","387196","959901"],["M","34129","22954"],["A","5785","7867","-4217541","4255042"],["M","41798","15354"],["A","5333","7273","1819082","1665090"],["M","38324","5426"],["A","4857","6595","-824660","891534"],["M","29078","3952"],["A","4857","6595","-8950887","1091722"],["M","22141","4720"],["A","4365","5945","-9809656","1061181"],["M","14000","5192"],["A","6753","9190","-4002417","739161"],["M","4127","15789"],["A","6753","9190","9459261","711490"]],w:43200,h:43200,fill:"none"}],rect:["il","it","ir","ib"]},cloudCallout:{av:[["adj1","val -20833"],["adj2","val 62500"]],gd:[["dxPos","*/ w adj1 100000"],["dyPos","*/ h adj2 100000"],["xPos","+- hc dxPos 0"],["yPos","+- vc dyPos 0"],["ht","cat2 hd2 dxPos dyPos"],["wt","sat2 wd2 dxPos dyPos"],["g2","cat2 wd2 ht wt"],["g3","sat2 hd2 ht wt"],["g4","+- hc g2 0"],["g5","+- vc g3 0"],["g6","+- g4 0 xPos"],["g7","+- g5 0 yPos"],["g8","mod g6 g7 0"],["g9","*/ ss 6600 21600"],["g10","+- g8 0 g9"],["g11","*/ g10 1 3"],["g12","*/ ss 1800 21600"],["g13","+- g11 g12 0"],["g14","*/ g13 g6 g8"],["g15","*/ g13 g7 g8"],["g16","+- g14 xPos 0"],["g17","+- g15 yPos 0"],["g18","*/ ss 4800 21600"],["g19","*/ g11 2 1"],["g20","+- g18 g19 0"],["g21","*/ g20 g6 g8"],["g22","*/ g20 g7 g8"],["g23","+- g21 xPos 0"],["g24","+- g22 yPos 0"],["g25","*/ ss 1200 21600"],["g26","*/ ss 600 21600"],["x23","+- xPos g26 0"],["x24","+- g16 g25 0"],["x25","+- g23 g12 0"],["il","*/ w 2977 21600"],["it","*/ h 3262 21600"],["ir","*/ w 17087 21600"],["ib","*/ h 17337 21600"],["g27","*/ w 67 21600"],["g28","*/ h 21577 21600"],["g29","*/ w 21582 21600"],["g30","*/ h 1235 21600"],["pang","at2 dxPos dyPos"]],paths:[{commands:[["M","3900","14370"],["A","6753","9190","-11429249","7426832"],["A","5333","7267","-8646143","5396714"],["A","4365","5945","-8748475","5983381"],["A","4857","6595","-7859164","7034504"],["A","5333","7273","-4722533","6541615"],["A","6775","9220","-2776035","7816140"],["A","5785","7867","37501","6842000"],["A","6752","9215","1347096","6910353"],["A","7720","10543","3974558","4542661"],["A","4360","5918","-16496525","8804134"],["A","4345","5945","-14809710","9151131"],["Z"]],w:43200,h:43200},{commands:[["M","x23","yPos"],["A","g26","g26","0","21600000"],["Z"]]},{commands:[["M","x24","g17"],["A","g25","g25","0","21600000"],["Z"]]},{commands:[["M","x25","g24"],["A","g12","g12","0","21600000"],["Z"]]},{commands:[["M","4693","26177"],["A","4345","5945","5204520","1585770"],["M","6928","34899"],["A","4360","5918","4416628","686848"],["M","16478","39090"],["A","6752","9215","8257449","844866"],["M","28827","34751"],["A","6752","9215","387196","959901"],["M","34129","22954"],["A","5785","7867","-4217541","4255042"],["M","41798","15354"],["A","5333","7273","1819082","1665090"],["M","38324","5426"],["A","4857","6595","-824660","891534"],["M","29078","3952"],["A","4857","6595","-8950887","1091722"],["M","22141","4720"],["A","4365","5945","-9809656","1061181"],["M","14000","5192"],["A","6753","9190","-4002417","739161"],["M","4127","15789"],["A","6753","9190","9459261","711490"]],w:43200,h:43200,fill:"none"}],rect:["il","it","ir","ib"]},corner:{av:[["adj1","val 50000"],["adj2","val 50000"]],gd:[["maxAdj1","*/ 100000 h ss"],["maxAdj2","*/ 100000 w ss"],["a1","pin 0 adj1 maxAdj1"],["a2","pin 0 adj2 maxAdj2"],["x1","*/ ss a2 100000"],["dy1","*/ ss a1 100000"],["y1","+- b 0 dy1"],["cx1","*/ x1 1 2"],["cy1","+/ y1 b 2"],["d","+- w 0 h"],["it","?: d y1 t"],["ir","?: d r x1"]],paths:[{commands:[["M","l","t"],["L","x1","t"],["L","x1","y1"],["L","r","y1"],["L","r","b"],["L","l","b"],["Z"]]}],rect:["l","it","ir","b"]},cornerTabs:{av:[],gd:[["md","mod w h 0"],["dx","*/ 1 md 20"],["y1","+- 0 b dx"],["x1","+- 0 r dx"]],paths:[{commands:[["M","l","t"],["L","dx","t"],["L","l","dx"],["Z"]]},{commands:[["M","l","y1"],["L","dx","b"],["L","l","b"],["Z"]]},{commands:[["M","x1","t"],["L","r","t"],["L","r","dx"],["Z"]]},{commands:[["M","r","y1"],["L","r","b"],["L","x1","b"],["Z"]]}],rect:["dx","dx","x1","y1"]},cube:{av:[["adj","val 25000"]],gd:[["a","pin 0 adj 100000"],["y1","*/ ss a 100000"],["y4","+- b 0 y1"],["y2","*/ y4 1 2"],["y3","+/ y1 b 2"],["x4","+- r 0 y1"],["x2","*/ x4 1 2"],["x3","+/ y1 r 2"]],paths:[{commands:[["M","l","y1"],["L","x4","y1"],["L","x4","b"],["L","l","b"],["Z"]],stroke:!1},{commands:[["M","x4","y1"],["L","r","t"],["L","r","y4"],["L","x4","b"],["Z"]],fill:"darkenLess",stroke:!1},{commands:[["M","l","y1"],["L","y1","t"],["L","r","t"],["L","x4","y1"],["Z"]],fill:"lightenLess",stroke:!1},{commands:[["M","l","y1"],["L","y1","t"],["L","r","t"],["L","r","y4"],["L","x4","b"],["L","l","b"],["Z"],["M","l","y1"],["L","x4","y1"],["L","r","t"],["M","x4","y1"],["L","x4","b"]],fill:"none"}],rect:["l","y1","x4","b"]},curvedConnector2:{av:[],gd:[],paths:[{commands:[["M","l","t"],["C","wd2","t","r","hd2","r","b"]],fill:"none"}],rect:["l","t","r","b"]},curvedConnector3:{av:[["adj1","val 50000"]],gd:[["x2","*/ w adj1 100000"],["x1","+/ l x2 2"],["x3","+/ r x2 2"],["y3","*/ h 3 4"]],paths:[{commands:[["M","l","t"],["C","x1","t","x2","hd4","x2","vc"],["C","x2","y3","x3","b","r","b"]],fill:"none"}],rect:["l","t","r","b"]},curvedConnector4:{av:[["adj1","val 50000"],["adj2","val 50000"]],gd:[["x2","*/ w adj1 100000"],["x1","+/ l x2 2"],["x3","+/ r x2 2"],["x4","+/ x2 x3 2"],["x5","+/ x3 r 2"],["y4","*/ h adj2 100000"],["y1","+/ t y4 2"],["y2","+/ t y1 2"],["y3","+/ y1 y4 2"],["y5","+/ b y4 2"]],paths:[{commands:[["M","l","t"],["C","x1","t","x2","y2","x2","y1"],["C","x2","y3","x4","y4","x3","y4"],["C","x5","y4","r","y5","r","b"]],fill:"none"}],rect:["l","t","r","b"]},curvedConnector5:{av:[["adj1","val 50000"],["adj2","val 50000"],["adj3","val 50000"]],gd:[["x3","*/ w adj1 100000"],["x6","*/ w adj3 100000"],["x1","+/ x3 x6 2"],["x2","+/ l x3 2"],["x4","+/ x3 x1 2"],["x5","+/ x6 x1 2"],["x7","+/ x6 r 2"],["y4","*/ h adj2 100000"],["y1","+/ t y4 2"],["y2","+/ t y1 2"],["y3","+/ y1 y4 2"],["y5","+/ b y4 2"],["y6","+/ y5 y4 2"],["y7","+/ y5 b 2"]],paths:[{commands:[["M","l","t"],["C","x2","t","x3","y2","x3","y1"],["C","x3","y3","x4","y4","x1","y4"],["C","x5","y4","x6","y6","x6","y5"],["C","x6","y7","x7","b","r","b"]],fill:"none"}],rect:["l","t","r","b"]},curvedDownArrow:{av:[["adj1","val 25000"],["adj2","val 50000"],["adj3","val 25000"]],gd:[["maxAdj2","*/ 50000 w ss"],["a2","pin 0 adj2 maxAdj2"],["a1","pin 0 adj1 100000"],["th","*/ ss a1 100000"],["aw","*/ ss a2 100000"],["q1","+/ th aw 4"],["wR","+- wd2 0 q1"],["q7","*/ wR 2 1"],["q8","*/ q7 q7 1"],["q9","*/ th th 1"],["q10","+- q8 0 q9"],["q11","sqrt q10"],["idy","*/ q11 h q7"],["maxAdj3","*/ 100000 idy ss"],["a3","pin 0 adj3 maxAdj3"],["ah","*/ ss adj3 100000"],["x3","+- wR th 0"],["q2","*/ h h 1"],["q3","*/ ah ah 1"],["q4","+- q2 0 q3"],["q5","sqrt q4"],["dx","*/ q5 wR h"],["x5","+- wR dx 0"],["x7","+- x3 dx 0"],["q6","+- aw 0 th"],["dh","*/ q6 1 2"],["x4","+- x5 0 dh"],["x8","+- x7 dh 0"],["aw2","*/ aw 1 2"],["x6","+- r 0 aw2"],["y1","+- b 0 ah"],["swAng","at2 ah dx"],["mswAng","+- 0 0 swAng"],["iy","+- b 0 idy"],["ix","+/ wR x3 2"],["q12","*/ th 1 2"],["dang2","at2 idy q12"],["stAng","+- 3cd4 swAng 0"],["stAng2","+- 3cd4 0 dang2"],["swAng2","+- dang2 0 cd4"],["swAng3","+- cd4 dang2 0"]],paths:[{commands:[["M","x6","b"],["L","x4","y1"],["L","x5","y1"],["A","wR","h","stAng","mswAng"],["L","x3","t"],["A","wR","h","3cd4","swAng"],["L","x8","y1"],["Z"]],stroke:!1},{commands:[["M","ix","iy"],["A","wR","h","stAng2","swAng2"],["L","l","b"],["A","wR","h","cd2","swAng3"],["Z"]],fill:"darkenLess",stroke:!1},{commands:[["M","ix","iy"],["A","wR","h","stAng2","swAng2"],["L","l","b"],["A","wR","h","cd2","cd4"],["L","x3","t"],["A","wR","h","3cd4","swAng"],["L","x8","y1"],["L","x6","b"],["L","x4","y1"],["L","x5","y1"],["A","wR","h","stAng","mswAng"]],fill:"none"}],rect:["l","t","r","b"]},curvedLeftArrow:{av:[["adj1","val 25000"],["adj2","val 50000"],["adj3","val 25000"]],gd:[["maxAdj2","*/ 50000 h ss"],["a2","pin 0 adj2 maxAdj2"],["a1","pin 0 adj1 a2"],["th","*/ ss a1 100000"],["aw","*/ ss a2 100000"],["q1","+/ th aw 4"],["hR","+- hd2 0 q1"],["q7","*/ hR 2 1"],["q8","*/ q7 q7 1"],["q9","*/ th th 1"],["q10","+- q8 0 q9"],["q11","sqrt q10"],["idx","*/ q11 w q7"],["maxAdj3","*/ 100000 idx ss"],["a3","pin 0 adj3 maxAdj3"],["ah","*/ ss a3 100000"],["y3","+- hR th 0"],["q2","*/ w w 1"],["q3","*/ ah ah 1"],["q4","+- q2 0 q3"],["q5","sqrt q4"],["dy","*/ q5 hR w"],["y5","+- hR dy 0"],["y7","+- y3 dy 0"],["q6","+- aw 0 th"],["dh","*/ q6 1 2"],["y4","+- y5 0 dh"],["y8","+- y7 dh 0"],["aw2","*/ aw 1 2"],["y6","+- b 0 aw2"],["x1","+- l ah 0"],["swAng","at2 ah dy"],["mswAng","+- 0 0 swAng"],["ix","+- l idx 0"],["iy","+/ hR y3 2"],["q12","*/ th 1 2"],["dang2","at2 idx q12"],["swAng2","+- dang2 0 swAng"],["swAng3","+- swAng dang2 0"],["stAng3","+- 0 0 dang2"]],paths:[{commands:[["M","l","y6"],["L","x1","y4"],["L","x1","y5"],["A","w","hR","swAng","swAng2"],["A","w","hR","stAng3","swAng3"],["L","x1","y8"],["Z"]],stroke:!1},{commands:[["M","r","y3"],["A","w","hR","0","-5400000"],["L","l","t"],["A","w","hR","3cd4","cd4"],["Z"]],fill:"darkenLess",stroke:!1},{commands:[["M","r","y3"],["A","w","hR","0","-5400000"],["L","l","t"],["A","w","hR","3cd4","cd4"],["L","r","y3"],["A","w","hR","0","swAng"],["L","x1","y8"],["L","l","y6"],["L","x1","y4"],["L","x1","y5"],["A","w","hR","swAng","swAng2"]],fill:"none"}],rect:["l","t","r","b"]},curvedRightArrow:{av:[["adj1","val 25000"],["adj2","val 50000"],["adj3","val 25000"]],gd:[["maxAdj2","*/ 50000 h ss"],["a2","pin 0 adj2 maxAdj2"],["a1","pin 0 adj1 a2"],["th","*/ ss a1 100000"],["aw","*/ ss a2 100000"],["q1","+/ th aw 4"],["hR","+- hd2 0 q1"],["q7","*/ hR 2 1"],["q8","*/ q7 q7 1"],["q9","*/ th th 1"],["q10","+- q8 0 q9"],["q11","sqrt q10"],["idx","*/ q11 w q7"],["maxAdj3","*/ 100000 idx ss"],["a3","pin 0 adj3 maxAdj3"],["ah","*/ ss a3 100000"],["y3","+- hR th 0"],["q2","*/ w w 1"],["q3","*/ ah ah 1"],["q4","+- q2 0 q3"],["q5","sqrt q4"],["dy","*/ q5 hR w"],["y5","+- hR dy 0"],["y7","+- y3 dy 0"],["q6","+- aw 0 th"],["dh","*/ q6 1 2"],["y4","+- y5 0 dh"],["y8","+- y7 dh 0"],["aw2","*/ aw 1 2"],["y6","+- b 0 aw2"],["x1","+- r 0 ah"],["swAng","at2 ah dy"],["stAng","+- cd2 0 swAng"],["mswAng","+- 0 0 swAng"],["ix","+- r 0 idx"],["iy","+/ hR y3 2"],["q12","*/ th 1 2"],["dang2","at2 idx q12"],["swAng2","+- dang2 0 cd4"],["swAng3","+- cd4 dang2 0"],["stAng3","+- cd2 0 dang2"]],paths:[{commands:[["M","l","hR"],["A","w","hR","cd2","mswAng"],["L","x1","y4"],["L","r","y6"],["L","x1","y8"],["L","x1","y7"],["A","w","hR","stAng","swAng"],["Z"]],stroke:!1},{commands:[["M","r","th"],["A","w","hR","3cd4","swAng2"],["A","w","hR","stAng3","swAng3"],["Z"]],fill:"darkenLess",stroke:!1},{commands:[["M","l","hR"],["A","w","hR","cd2","mswAng"],["L","x1","y4"],["L","r","y6"],["L","x1","y8"],["L","x1","y7"],["A","w","hR","stAng","swAng"],["L","l","hR"],["A","w","hR","cd2","cd4"],["L","r","th"],["A","w","hR","3cd4","swAng2"]],fill:"none"}],rect:["l","t","r","b"]},curvedUpArrow:{av:[["adj1","val 25000"],["adj2","val 50000"],["adj3","val 25000"]],gd:[["maxAdj2","*/ 50000 w ss"],["a2","pin 0 adj2 maxAdj2"],["a1","pin 0 adj1 100000"],["th","*/ ss a1 100000"],["aw","*/ ss a2 100000"],["q1","+/ th aw 4"],["wR","+- wd2 0 q1"],["q7","*/ wR 2 1"],["q8","*/ q7 q7 1"],["q9","*/ th th 1"],["q10","+- q8 0 q9"],["q11","sqrt q10"],["idy","*/ q11 h q7"],["maxAdj3","*/ 100000 idy ss"],["a3","pin 0 adj3 maxAdj3"],["ah","*/ ss adj3 100000"],["x3","+- wR th 0"],["q2","*/ h h 1"],["q3","*/ ah ah 1"],["q4","+- q2 0 q3"],["q5","sqrt q4"],["dx","*/ q5 wR h"],["x5","+- wR dx 0"],["x7","+- x3 dx 0"],["q6","+- aw 0 th"],["dh","*/ q6 1 2"],["x4","+- x5 0 dh"],["x8","+- x7 dh 0"],["aw2","*/ aw 1 2"],["x6","+- r 0 aw2"],["y1","+- t ah 0"],["swAng","at2 ah dx"],["mswAng","+- 0 0 swAng"],["iy","+- t idy 0"],["ix","+/ wR x3 2"],["q12","*/ th 1 2"],["dang2","at2 idy q12"],["swAng2","+- dang2 0 swAng"],["mswAng2","+- 0 0 swAng2"],["stAng3","+- cd4 0 swAng"],["swAng3","+- swAng dang2 0"],["stAng2","+- cd4 0 dang2"]],paths:[{commands:[["M","x6","t"],["L","x8","y1"],["L","x7","y1"],["A","wR","h","stAng3","swAng3"],["A","wR","h","stAng2","swAng2"],["L","x4","y1"],["Z"]],stroke:!1},{commands:[["M","wR","b"],["A","wR","h","cd4","cd4"],["L","th","t"],["A","wR","h","cd2","-5400000"],["Z"]],fill:"darkenLess",stroke:!1},{commands:[["M","ix","iy"],["A","wR","h","stAng2","swAng2"],["L","x4","y1"],["L","x6","t"],["L","x8","y1"],["L","x7","y1"],["A","wR","h","stAng3","swAng"],["L","wR","b"],["A","wR","h","cd4","cd4"],["L","th","t"],["A","wR","h","cd2","-5400000"]],fill:"none"}],rect:["l","t","r","b"]},decagon:{av:[["vf","val 105146"]],gd:[["shd2","*/ hd2 vf 100000"],["dx1","cos wd2 2160000"],["dx2","cos wd2 4320000"],["x1","+- hc 0 dx1"],["x2","+- hc 0 dx2"],["x3","+- hc dx2 0"],["x4","+- hc dx1 0"],["dy1","sin shd2 4320000"],["dy2","sin shd2 2160000"],["y1","+- vc 0 dy1"],["y2","+- vc 0 dy2"],["y3","+- vc dy2 0"],["y4","+- vc dy1 0"]],paths:[{commands:[["M","l","vc"],["L","x1","y2"],["L","x2","y1"],["L","x3","y1"],["L","x4","y2"],["L","r","vc"],["L","x4","y3"],["L","x3","y4"],["L","x2","y4"],["L","x1","y3"],["Z"]]}],rect:["x1","y2","x4","y3"]},diagStripe:{av:[["adj","val 50000"]],gd:[["a","pin 0 adj 100000"],["x2","*/ w a 100000"],["x1","*/ x2 1 2"],["x3","+/ x2 r 2"],["y2","*/ h a 100000"],["y1","*/ y2 1 2"],["y3","+/ y2 b 2"]],paths:[{commands:[["M","l","y2"],["L","x2","t"],["L","r","t"],["L","l","b"],["Z"]]}],rect:["l","t","x3","y3"]},diamond:{av:[],gd:[["ir","*/ w 3 4"],["ib","*/ h 3 4"]],paths:[{commands:[["M","l","vc"],["L","hc","t"],["L","r","vc"],["L","hc","b"],["Z"]]}],rect:["wd4","hd4","ir","ib"]},dodecagon:{av:[],gd:[["x1","*/ w 2894 21600"],["x2","*/ w 7906 21600"],["x3","*/ w 13694 21600"],["x4","*/ w 18706 21600"],["y1","*/ h 2894 21600"],["y2","*/ h 7906 21600"],["y3","*/ h 13694 21600"],["y4","*/ h 18706 21600"]],paths:[{commands:[["M","l","y2"],["L","x1","y1"],["L","x2","t"],["L","x3","t"],["L","x4","y1"],["L","r","y2"],["L","r","y3"],["L","x4","y4"],["L","x3","b"],["L","x2","b"],["L","x1","y4"],["L","l","y3"],["Z"]]}],rect:["x1","y1","x4","y4"]},donut:{av:[["adj","val 25000"]],gd:[["a","pin 0 adj 50000"],["dr","*/ ss a 100000"],["iwd2","+- wd2 0 dr"],["ihd2","+- hd2 0 dr"],["idx","cos wd2 2700000"],["idy","sin hd2 2700000"],["il","+- hc 0 idx"],["ir","+- hc idx 0"],["it","+- vc 0 idy"],["ib","+- vc idy 0"]],paths:[{commands:[["M","l","vc"],["A","wd2","hd2","cd2","cd4"],["A","wd2","hd2","3cd4","cd4"],["A","wd2","hd2","0","cd4"],["A","wd2","hd2","cd4","cd4"],["Z"],["M","dr","vc"],["A","iwd2","ihd2","cd2","-5400000"],["A","iwd2","ihd2","cd4","-5400000"],["A","iwd2","ihd2","0","-5400000"],["A","iwd2","ihd2","3cd4","-5400000"],["Z"]]}],rect:["il","it","ir","ib"]},doubleWave:{av:[["adj1","val 6250"],["adj2","val 0"]],gd:[["a1","pin 0 adj1 12500"],["a2","pin -10000 adj2 10000"],["y1","*/ h a1 100000"],["dy2","*/ y1 10 3"],["y2","+- y1 0 dy2"],["y3","+- y1 dy2 0"],["y4","+- b 0 y1"],["y5","+- y4 0 dy2"],["y6","+- y4 dy2 0"],["dx1","*/ w a2 100000"],["of2","*/ w a2 50000"],["x1","abs dx1"],["dx2","?: of2 0 of2"],["x2","+- l 0 dx2"],["dx8","?: of2 of2 0"],["x8","+- r 0 dx8"],["dx3","+/ dx2 x8 6"],["x3","+- x2 dx3 0"],["dx4","+/ dx2 x8 3"],["x4","+- x2 dx4 0"],["x5","+/ x2 x8 2"],["x6","+- x5 dx3 0"],["x7","+/ x6 x8 2"],["x9","+- l dx8 0"],["x15","+- r dx2 0"],["x10","+- x9 dx3 0"],["x11","+- x9 dx4 0"],["x12","+/ x9 x15 2"],["x13","+- x12 dx3 0"],["x14","+/ x13 x15 2"],["x16","+- r 0 x1"],["xAdj","+- hc dx1 0"],["il","max x2 x9"],["ir","min x8 x15"],["it","*/ h a1 50000"],["ib","+- b 0 it"]],paths:[{commands:[["M","x2","y1"],["C","x3","y2","x4","y3","x5","y1"],["C","x6","y2","x7","y3","x8","y1"],["L","x15","y4"],["C","x14","y6","x13","y5","x12","y4"],["C","x11","y6","x10","y5","x9","y4"],["Z"]]}],rect:["il","it","ir","ib"]},downArrow:{av:[["adj1","val 50000"],["adj2","val 50000"]],gd:[["maxAdj2","*/ 100000 h ss"],["a1","pin 0 adj1 100000"],["a2","pin 0 adj2 maxAdj2"],["dy1","*/ ss a2 100000"],["y1","+- b 0 dy1"],["dx1","*/ w a1 200000"],["x1","+- hc 0 dx1"],["x2","+- hc dx1 0"],["dy2","*/ x1 dy1 wd2"],["y2","+- y1 dy2 0"]],paths:[{commands:[["M","l","y1"],["L","x1","y1"],["L","x1","t"],["L","x2","t"],["L","x2","y1"],["L","r","y1"],["L","hc","b"],["Z"]]}],rect:["x1","t","x2","y2"]},downArrowCallout:{av:[["adj1","val 25000"],["adj2","val 25000"],["adj3","val 25000"],["adj4","val 64977"]],gd:[["maxAdj2","*/ 50000 w ss"],["a2","pin 0 adj2 maxAdj2"],["maxAdj1","*/ a2 2 1"],["a1","pin 0 adj1 maxAdj1"],["maxAdj3","*/ 100000 h ss"],["a3","pin 0 adj3 maxAdj3"],["q2","*/ a3 ss h"],["maxAdj4","+- 100000 0 q2"],["a4","pin 0 adj4 maxAdj4"],["dx1","*/ ss a2 100000"],["dx2","*/ ss a1 200000"],["x1","+- hc 0 dx1"],["x2","+- hc 0 dx2"],["x3","+- hc dx2 0"],["x4","+- hc dx1 0"],["dy3","*/ ss a3 100000"],["y3","+- b 0 dy3"],["y2","*/ h a4 100000"],["y1","*/ y2 1 2"]],paths:[{commands:[["M","l","t"],["L","r","t"],["L","r","y2"],["L","x3","y2"],["L","x3","y3"],["L","x4","y3"],["L","hc","b"],["L","x1","y3"],["L","x2","y3"],["L","x2","y2"],["L","l","y2"],["Z"]]}],rect:["l","t","r","y2"]},ellipse:{av:[],gd:[["idx","cos wd2 2700000"],["idy","sin hd2 2700000"],["il","+- hc 0 idx"],["ir","+- hc idx 0"],["it","+- vc 0 idy"],["ib","+- vc idy 0"]],paths:[{commands:[["M","l","vc"],["A","wd2","hd2","cd2","cd4"],["A","wd2","hd2","3cd4","cd4"],["A","wd2","hd2","0","cd4"],["A","wd2","hd2","cd4","cd4"],["Z"]]}],rect:["il","it","ir","ib"]},ellipseRibbon:{av:[["adj1","val 25000"],["adj2","val 50000"],["adj3","val 12500"]],gd:[["a1","pin 0 adj1 100000"],["a2","pin 25000 adj2 75000"],["q10","+- 100000 0 a1"],["q11","*/ q10 1 2"],["q12","+- a1 0 q11"],["minAdj3","max 0 q12"],["a3","pin minAdj3 adj3 a1"],["dx2","*/ w a2 200000"],["x2","+- hc 0 dx2"],["x3","+- x2 wd8 0"],["x4","+- r 0 x3"],["x5","+- r 0 x2"],["x6","+- r 0 wd8"],["dy1","*/ h a3 100000"],["f1","*/ 4 dy1 w"],["q1","*/ x3 x3 w"],["q2","+- x3 0 q1"],["y1","*/ f1 q2 1"],["cx1","*/ x3 1 2"],["cy1","*/ f1 cx1 1"],["cx2","+- r 0 cx1"],["q1","*/ h a1 100000"],["dy3","+- q1 0 dy1"],["q3","*/ x2 x2 w"],["q4","+- x2 0 q3"],["q5","*/ f1 q4 1"],["y3","+- q5 dy3 0"],["q6","+- dy1 dy3 y3"],["q7","+- q6 dy1 0"],["cy3","+- q7 dy3 0"],["rh","+- b 0 q1"],["q8","*/ dy1 14 16"],["y2","+/ q8 rh 2"],["y5","+- q5 rh 0"],["y6","+- y3 rh 0"],["cx4","*/ x2 1 2"],["q9","*/ f1 cx4 1"],["cy4","+- q9 rh 0"],["cx5","+- r 0 cx4"],["cy6","+- cy3 rh 0"],["y7","+- y1 dy3 0"],["cy7","+- q1 q1 y7"],["y8","+- b 0 dy1"]],paths:[{commands:[["M","l","t"],["Q","cx1","cy1","x3","y1"],["L","x2","y3"],["Q","hc","cy3","x5","y3"],["L","x4","y1"],["Q","cx2","cy1","r","t"],["L","x6","y2"],["L","r","rh"],["Q","cx5","cy4","x5","y5"],["L","x5","y6"],["Q","hc","cy6","x2","y6"],["L","x2","y5"],["Q","cx4","cy4","l","rh"],["L","wd8","y2"],["Z"]],stroke:!1},{commands:[["M","x3","y7"],["L","x3","y1"],["L","x2","y3"],["Q","hc","cy3","x5","y3"],["L","x4","y1"],["L","x4","y7"],["Q","hc","cy7","x3","y7"],["Z"]],fill:"darkenLess",stroke:!1},{commands:[["M","l","t"],["Q","cx1","cy1","x3","y1"],["L","x2","y3"],["Q","hc","cy3","x5","y3"],["L","x4","y1"],["Q","cx2","cy1","r","t"],["L","x6","y2"],["L","r","rh"],["Q","cx5","cy4","x5","y5"],["L","x5","y6"],["Q","hc","cy6","x2","y6"],["L","x2","y5"],["Q","cx4","cy4","l","rh"],["L","wd8","y2"],["Z"],["M","x2","y5"],["L","x2","y3"],["M","x5","y3"],["L","x5","y5"],["M","x3","y1"],["L","x3","y7"],["M","x4","y7"],["L","x4","y1"]],fill:"none"}],rect:["x2","q1","x5","y6"]},ellipseRibbon2:{av:[["adj1","val 25000"],["adj2","val 50000"],["adj3","val 12500"]],gd:[["a1","pin 0 adj1 100000"],["a2","pin 25000 adj2 75000"],["q10","+- 100000 0 a1"],["q11","*/ q10 1 2"],["q12","+- a1 0 q11"],["minAdj3","max 0 q12"],["a3","pin minAdj3 adj3 a1"],["dx2","*/ w a2 200000"],["x2","+- hc 0 dx2"],["x3","+- x2 wd8 0"],["x4","+- r 0 x3"],["x5","+- r 0 x2"],["x6","+- r 0 wd8"],["dy1","*/ h a3 100000"],["f1","*/ 4 dy1 w"],["q1","*/ x3 x3 w"],["q2","+- x3 0 q1"],["u1","*/ f1 q2 1"],["y1","+- b 0 u1"],["cx1","*/ x3 1 2"],["cu1","*/ f1 cx1 1"],["cy1","+- b 0 cu1"],["cx2","+- r 0 cx1"],["q1","*/ h a1 100000"],["dy3","+- q1 0 dy1"],["q3","*/ x2 x2 w"],["q4","+- x2 0 q3"],["q5","*/ f1 q4 1"],["u3","+- q5 dy3 0"],["y3","+- b 0 u3"],["q6","+- dy1 dy3 u3"],["q7","+- q6 dy1 0"],["cu3","+- q7 dy3 0"],["cy3","+- b 0 cu3"],["rh","+- b 0 q1"],["q8","*/ dy1 14 16"],["u2","+/ q8 rh 2"],["y2","+- b 0 u2"],["u5","+- q5 rh 0"],["y5","+- b 0 u5"],["u6","+- u3 rh 0"],["y6","+- b 0 u6"],["cx4","*/ x2 1 2"],["q9","*/ f1 cx4 1"],["cu4","+- q9 rh 0"],["cy4","+- b 0 cu4"],["cx5","+- r 0 cx4"],["cu6","+- cu3 rh 0"],["cy6","+- b 0 cu6"],["u7","+- u1 dy3 0"],["y7","+- b 0 u7"],["cu7","+- q1 q1 u7"],["cy7","+- b 0 cu7"]],paths:[{commands:[["M","l","b"],["Q","cx1","cy1","x3","y1"],["L","x2","y3"],["Q","hc","cy3","x5","y3"],["L","x4","y1"],["Q","cx2","cy1","r","b"],["L","x6","y2"],["L","r","q1"],["Q","cx5","cy4","x5","y5"],["L","x5","y6"],["Q","hc","cy6","x2","y6"],["L","x2","y5"],["Q","cx4","cy4","l","q1"],["L","wd8","y2"],["Z"]],stroke:!1},{commands:[["M","x3","y7"],["L","x3","y1"],["L","x2","y3"],["Q","hc","cy3","x5","y3"],["L","x4","y1"],["L","x4","y7"],["Q","hc","cy7","x3","y7"],["Z"]],fill:"darkenLess",stroke:!1},{commands:[["M","l","b"],["L","wd8","y2"],["L","l","q1"],["Q","cx4","cy4","x2","y5"],["L","x2","y6"],["Q","hc","cy6","x5","y6"],["L","x5","y5"],["Q","cx5","cy4","r","q1"],["L","x6","y2"],["L","r","b"],["Q","cx2","cy1","x4","y1"],["L","x5","y3"],["Q","hc","cy3","x2","y3"],["L","x3","y1"],["Q","cx1","cy1","l","b"],["Z"],["M","x2","y3"],["L","x2","y5"],["M","x5","y5"],["L","x5","y3"],["M","x3","y7"],["L","x3","y1"],["M","x4","y1"],["L","x4","y7"]],fill:"none"}],rect:["x2","y6","x5","rh"]},flowChartAlternateProcess:{av:[],gd:[["x2","+- r 0 ssd6"],["y2","+- b 0 ssd6"],["il","*/ ssd6 29289 100000"],["ir","+- r 0 il"],["ib","+- b 0 il"]],paths:[{commands:[["M","l","ssd6"],["A","ssd6","ssd6","cd2","cd4"],["L","x2","t"],["A","ssd6","ssd6","3cd4","cd4"],["L","r","y2"],["A","ssd6","ssd6","0","cd4"],["L","ssd6","b"],["A","ssd6","ssd6","cd4","cd4"],["Z"]]}],rect:["il","il","ir","ib"]},flowChartCollate:{av:[],gd:[["ir","*/ w 3 4"],["ib","*/ h 3 4"]],paths:[{commands:[["M","0","0"],["L","2","0"],["L","1","1"],["L","2","2"],["L","0","2"],["L","1","1"],["Z"]],w:2,h:2}],rect:["wd4","hd4","ir","ib"]},flowChartConnector:{av:[],gd:[["idx","cos wd2 2700000"],["idy","sin hd2 2700000"],["il","+- hc 0 idx"],["ir","+- hc idx 0"],["it","+- vc 0 idy"],["ib","+- vc idy 0"]],paths:[{commands:[["M","l","vc"],["A","wd2","hd2","cd2","cd4"],["A","wd2","hd2","3cd4","cd4"],["A","wd2","hd2","0","cd4"],["A","wd2","hd2","cd4","cd4"],["Z"]]}],rect:["il","it","ir","ib"]},flowChartDecision:{av:[],gd:[["ir","*/ w 3 4"],["ib","*/ h 3 4"]],paths:[{commands:[["M","0","1"],["L","1","0"],["L","2","1"],["L","1","2"],["Z"]],w:2,h:2}],rect:["wd4","hd4","ir","ib"]},flowChartDelay:{av:[],gd:[["idx","cos wd2 2700000"],["idy","sin hd2 2700000"],["ir","+- hc idx 0"],["it","+- vc 0 idy"],["ib","+- vc idy 0"]],paths:[{commands:[["M","l","t"],["L","hc","t"],["A","wd2","hd2","3cd4","cd2"],["L","l","b"],["Z"]]}],rect:["l","it","ir","ib"]},flowChartDisplay:{av:[],gd:[["x2","*/ w 5 6"]],paths:[{commands:[["M","0","3"],["L","1","0"],["L","5","0"],["A","1","3","3cd4","cd2"],["L","1","6"],["Z"]],w:6,h:6}],rect:["wd6","t","x2","b"]},flowChartDocument:{av:[],gd:[["y1","*/ h 17322 21600"],["y2","*/ h 20172 21600"]],paths:[{commands:[["M","0","0"],["L","21600","0"],["L","21600","17322"],["C","10800","17322","10800","23922","0","20172"],["Z"]],w:21600,h:21600}],rect:["l","t","r","y1"]},flowChartExtract:{av:[],gd:[["x2","*/ w 3 4"]],paths:[{commands:[["M","0","2"],["L","1","0"],["L","2","2"],["Z"]],w:2,h:2}],rect:["wd4","vc","x2","b"]},flowChartInputOutput:{av:[],gd:[["x3","*/ w 2 5"],["x4","*/ w 3 5"],["x5","*/ w 4 5"],["x6","*/ w 9 10"]],paths:[{commands:[["M","0","5"],["L","1","0"],["L","5","0"],["L","4","5"],["Z"]],w:5,h:5}],rect:["wd5","t","x5","b"]},flowChartInternalStorage:{av:[],gd:[],paths:[{commands:[["M","0","0"],["L","1","0"],["L","1","1"],["L","0","1"],["Z"]],w:1,h:1,stroke:!1},{commands:[["M","1","0"],["L","1","8"],["M","0","1"],["L","8","1"]],w:8,h:8,fill:"none"},{commands:[["M","0","0"],["L","1","0"],["L","1","1"],["L","0","1"],["Z"]],w:1,h:1,fill:"none"}],rect:["wd8","hd8","r","b"]},flowChartMagneticDisk:{av:[],gd:[["y3","*/ h 5 6"]],paths:[{commands:[["M","0","1"],["A","3","1","cd2","cd2"],["L","6","5"],["A","3","1","0","cd2"],["Z"]],w:6,h:6,stroke:!1},{commands:[["M","6","1"],["A","3","1","0","cd2"]],w:6,h:6,fill:"none"},{commands:[["M","0","1"],["A","3","1","cd2","cd2"],["L","6","5"],["A","3","1","0","cd2"],["Z"]],w:6,h:6,fill:"none"}],rect:["l","hd3","r","y3"]},flowChartMagneticDrum:{av:[],gd:[["x2","*/ w 2 3"]],paths:[{commands:[["M","1","0"],["L","5","0"],["A","1","3","3cd4","cd2"],["L","1","6"],["A","1","3","cd4","cd2"],["Z"]],w:6,h:6,stroke:!1},{commands:[["M","5","6"],["A","1","3","cd4","cd2"]],w:6,h:6,fill:"none"},{commands:[["M","1","0"],["L","5","0"],["A","1","3","3cd4","cd2"],["L","1","6"],["A","1","3","cd4","cd2"],["Z"]],w:6,h:6,fill:"none"}],rect:["wd6","t","x2","b"]},flowChartMagneticTape:{av:[],gd:[["idx","cos wd2 2700000"],["idy","sin hd2 2700000"],["il","+- hc 0 idx"],["ir","+- hc idx 0"],["it","+- vc 0 idy"],["ib","+- vc idy 0"],["ang1","at2 w h"]],paths:[{commands:[["M","hc","b"],["A","wd2","hd2","cd4","cd4"],["A","wd2","hd2","cd2","cd4"],["A","wd2","hd2","3cd4","cd4"],["A","wd2","hd2","0","ang1"],["L","r","ib"],["L","r","b"],["Z"]]}],rect:["il","it","ir","ib"]},flowChartManualInput:{av:[],gd:[],paths:[{commands:[["M","0","1"],["L","5","0"],["L","5","5"],["L","0","5"],["Z"]],w:5,h:5}],rect:["l","hd5","r","b"]},flowChartManualOperation:{av:[],gd:[["x3","*/ w 4 5"],["x4","*/ w 9 10"]],paths:[{commands:[["M","0","0"],["L","5","0"],["L","4","5"],["L","1","5"],["Z"]],w:5,h:5}],rect:["wd5","t","x3","b"]},flowChartMerge:{av:[],gd:[["x2","*/ w 3 4"]],paths:[{commands:[["M","0","0"],["L","2","0"],["L","1","2"],["Z"]],w:2,h:2}],rect:["wd4","t","x2","vc"]},flowChartMultidocument:{av:[],gd:[["y2","*/ h 3675 21600"],["y8","*/ h 20782 21600"],["x3","*/ w 9298 21600"],["x4","*/ w 12286 21600"],["x5","*/ w 18595 21600"]],paths:[{commands:[["M","0","20782"],["C","9298","23542","9298","18022","18595","18022"],["L","18595","3675"],["L","0","3675"],["Z"],["M","1532","3675"],["L","1532","1815"],["L","20000","1815"],["L","20000","16252"],["C","19298","16252","18595","16352","18595","16352"],["L","18595","3675"],["Z"],["M","2972","1815"],["L","2972","0"],["L","21600","0"],["L","21600","14392"],["C","20800","14392","20000","14467","20000","14467"],["L","20000","1815"],["Z"]],w:21600,h:21600,stroke:!1},{commands:[["M","0","3675"],["L","18595","3675"],["L","18595","18022"],["C","9298","18022","9298","23542","0","20782"],["Z"],["M","1532","3675"],["L","1532","1815"],["L","20000","1815"],["L","20000","16252"],["C","19298","16252","18595","16352","18595","16352"],["M","2972","1815"],["L","2972","0"],["L","21600","0"],["L","21600","14392"],["C","20800","14392","20000","14467","20000","14467"]],w:21600,h:21600,fill:"none"},{commands:[["M","0","20782"],["C","9298","23542","9298","18022","18595","18022"],["L","18595","16352"],["C","18595","16352","19298","16252","20000","16252"],["L","20000","14467"],["C","20000","14467","20800","14392","21600","14392"],["L","21600","0"],["L","2972","0"],["L","2972","1815"],["L","1532","1815"],["L","1532","3675"],["L","0","3675"],["Z"]],w:21600,h:21600,fill:"none",stroke:!1}],rect:["l","y2","x5","y8"]},flowChartOfflineStorage:{av:[],gd:[["x4","*/ w 3 4"]],paths:[{commands:[["M","0","0"],["L","2","0"],["L","1","2"],["Z"]],w:2,h:2,stroke:!1},{commands:[["M","2","4"],["L","3","4"]],w:5,h:5,fill:"none"},{commands:[["M","0","0"],["L","2","0"],["L","1","2"],["Z"]],w:2,h:2,fill:"none"}],rect:["wd4","t","x4","vc"]},flowChartOffpageConnector:{av:[],gd:[["y1","*/ h 4 5"]],paths:[{commands:[["M","0","0"],["L","10","0"],["L","10","8"],["L","5","10"],["L","0","8"],["Z"]],w:10,h:10}],rect:["l","t","r","y1"]},flowChartOnlineStorage:{av:[],gd:[["x2","*/ w 5 6"]],paths:[{commands:[["M","1","0"],["L","6","0"],["A","1","3","3cd4","-10800000"],["L","1","6"],["A","1","3","cd4","cd2"],["Z"]],w:6,h:6}],rect:["wd6","t","x2","b"]},flowChartOr:{av:[],gd:[["idx","cos wd2 2700000"],["idy","sin hd2 2700000"],["il","+- hc 0 idx"],["ir","+- hc idx 0"],["it","+- vc 0 idy"],["ib","+- vc idy 0"]],paths:[{commands:[["M","l","vc"],["A","wd2","hd2","cd2","cd4"],["A","wd2","hd2","3cd4","cd4"],["A","wd2","hd2","0","cd4"],["A","wd2","hd2","cd4","cd4"],["Z"]],stroke:!1},{commands:[["M","hc","t"],["L","hc","b"],["M","l","vc"],["L","r","vc"]],fill:"none"},{commands:[["M","l","vc"],["A","wd2","hd2","cd2","cd4"],["A","wd2","hd2","3cd4","cd4"],["A","wd2","hd2","0","cd4"],["A","wd2","hd2","cd4","cd4"],["Z"]],fill:"none"}],rect:["il","it","ir","ib"]},flowChartPredefinedProcess:{av:[],gd:[["x2","*/ w 7 8"]],paths:[{commands:[["M","0","0"],["L","1","0"],["L","1","1"],["L","0","1"],["Z"]],w:1,h:1,stroke:!1},{commands:[["M","1","0"],["L","1","8"],["M","7","0"],["L","7","8"]],w:8,h:8,fill:"none"},{commands:[["M","0","0"],["L","1","0"],["L","1","1"],["L","0","1"],["Z"]],w:1,h:1,fill:"none"}],rect:["wd8","t","x2","b"]},flowChartPreparation:{av:[],gd:[["x2","*/ w 4 5"]],paths:[{commands:[["M","0","5"],["L","2","0"],["L","8","0"],["L","10","5"],["L","8","10"],["L","2","10"],["Z"]],w:10,h:10}],rect:["wd5","t","x2","b"]},flowChartProcess:{av:[],gd:[],paths:[{commands:[["M","0","0"],["L","1","0"],["L","1","1"],["L","0","1"],["Z"]],w:1,h:1}],rect:["l","t","r","b"]},flowChartPunchedCard:{av:[],gd:[],paths:[{commands:[["M","0","1"],["L","1","0"],["L","5","0"],["L","5","5"],["L","0","5"],["Z"]],w:5,h:5}],rect:["l","hd5","r","b"]},flowChartPunchedTape:{av:[],gd:[["y2","*/ h 9 10"],["ib","*/ h 4 5"]],paths:[{commands:[["M","0","2"],["A","5","2","cd2","-10800000"],["A","5","2","cd2","cd2"],["L","20","18"],["A","5","2","0","-10800000"],["A","5","2","0","cd2"],["Z"]],w:20,h:20}],rect:["l","hd5","r","ib"]},flowChartSort:{av:[],gd:[["ir","*/ w 3 4"],["ib","*/ h 3 4"]],paths:[{commands:[["M","0","1"],["L","1","0"],["L","2","1"],["L","1","2"],["Z"]],w:2,h:2,stroke:!1},{commands:[["M","0","1"],["L","2","1"]],w:2,h:2,fill:"none"},{commands:[["M","0","1"],["L","1","0"],["L","2","1"],["L","1","2"],["Z"]],w:2,h:2,fill:"none"}],rect:["wd4","hd4","ir","ib"]},flowChartSummingJunction:{av:[],gd:[["idx","cos wd2 2700000"],["idy","sin hd2 2700000"],["il","+- hc 0 idx"],["ir","+- hc idx 0"],["it","+- vc 0 idy"],["ib","+- vc idy 0"]],paths:[{commands:[["M","l","vc"],["A","wd2","hd2","cd2","cd4"],["A","wd2","hd2","3cd4","cd4"],["A","wd2","hd2","0","cd4"],["A","wd2","hd2","cd4","cd4"],["Z"]],stroke:!1},{commands:[["M","il","it"],["L","ir","ib"],["M","ir","it"],["L","il","ib"]],fill:"none"},{commands:[["M","l","vc"],["A","wd2","hd2","cd2","cd4"],["A","wd2","hd2","3cd4","cd4"],["A","wd2","hd2","0","cd4"],["A","wd2","hd2","cd4","cd4"],["Z"]],fill:"none"}],rect:["il","it","ir","ib"]},flowChartTerminator:{av:[],gd:[["il","*/ w 1018 21600"],["ir","*/ w 20582 21600"],["it","*/ h 3163 21600"],["ib","*/ h 18437 21600"]],paths:[{commands:[["M","3475","0"],["L","18125","0"],["A","3475","10800","3cd4","cd2"],["L","3475","21600"],["A","3475","10800","cd4","cd2"],["Z"]],w:21600,h:21600}],rect:["il","it","ir","ib"]},foldedCorner:{av:[["adj","val 16667"]],gd:[["a","pin 0 adj 50000"],["dy2","*/ ss a 100000"],["dy1","*/ dy2 1 5"],["x1","+- r 0 dy2"],["x2","+- x1 dy1 0"],["y2","+- b 0 dy2"],["y1","+- y2 dy1 0"]],paths:[{commands:[["M","l","t"],["L","r","t"],["L","r","y2"],["L","x1","b"],["L","l","b"],["Z"]],stroke:!1},{commands:[["M","x1","b"],["L","x2","y1"],["L","r","y2"],["Z"]],fill:"darkenLess",stroke:!1},{commands:[["M","x1","b"],["L","x2","y1"],["L","r","y2"],["L","x1","b"],["L","l","b"],["L","l","t"],["L","r","t"],["L","r","y2"]],fill:"none"}],rect:["l","t","r","y2"]},frame:{av:[["adj1","val 12500"]],gd:[["a1","pin 0 adj1 50000"],["x1","*/ ss a1 100000"],["x4","+- r 0 x1"],["y4","+- b 0 x1"]],paths:[{commands:[["M","l","t"],["L","r","t"],["L","r","b"],["L","l","b"],["Z"],["M","x1","x1"],["L","x1","y4"],["L","x4","y4"],["L","x4","x1"],["Z"]]}],rect:["x1","x1","x4","y4"]},funnel:{av:[],gd:[["d","*/ ss 1 20"],["rw2","+- wd2 0 d"],["rh2","+- hd4 0 d"],["t1","cos wd2 480000"],["t2","sin hd4 480000"],["da","at2 t1 t2"],["2da","*/ da 2 1"],["stAng1","+- cd2 0 da"],["swAng1","+- cd2 2da 0"],["swAng3","+- cd2 0 2da"],["rw3","*/ wd2 1 4"],["rh3","*/ hd4 1 4"],["ct1","cos hd4 stAng1"],["st1","sin wd2 stAng1"],["m1","mod ct1 st1 0"],["n1","*/ wd2 hd4 m1"],["dx1","cos n1 stAng1"],["dy1","sin n1 stAng1"],["x1","+- hc dx1 0"],["y1","+- hd4 dy1 0"],["ct3","cos rh3 da"],["st3","sin rw3 da"],["m3","mod ct3 st3 0"],["n3","*/ rw3 rh3 m3"],["dx3","cos n3 da"],["dy3","sin n3 da"],["x3","+- hc dx3 0"],["vc3","+- b 0 rh3"],["y2","+- vc3 dy3 0"],["x2","+- wd2 0 rw2"],["cd","*/ cd2 2 1"]],paths:[{commands:[["M","x1","y1"],["A","wd2","hd4","stAng1","swAng1"],["L","x3","y2"],["A","rw3","rh3","da","swAng3"],["Z"],["M","x2","hd4"],["A","rw2","rh2","cd2","-21600000"],["Z"]]}],rect:["l","t","r","b"]},gear6:{av:[["adj1","val 15000"],["adj2","val 3526"]],gd:[["a1","pin 0 adj1 20000"],["a2","pin 0 adj2 5358"],["th","*/ ss a1 100000"],["lFD","*/ ss a2 100000"],["th2","*/ th 1 2"],["l2","*/ lFD 1 2"],["l3","+- th2 l2 0"],["rh","+- hd2 0 th"],["rw","+- wd2 0 th"],["dr","+- rw 0 rh"],["maxr","?: dr rh rw"],["ha","at2 maxr l3"],["aA1","+- 19800000 0 ha"],["aD1","+- 19800000 ha 0"],["ta11","cos rw aA1"],["ta12","sin rh aA1"],["bA1","at2 ta11 ta12"],["cta1","cos rh bA1"],["sta1","sin rw bA1"],["ma1","mod cta1 sta1 0"],["na1","*/ rw rh ma1"],["dxa1","cos na1 bA1"],["dya1","sin na1 bA1"],["xA1","+- hc dxa1 0"],["yA1","+- vc dya1 0"],["td11","cos rw aD1"],["td12","sin rh aD1"],["bD1","at2 td11 td12"],["ctd1","cos rh bD1"],["std1","sin rw bD1"],["md1","mod ctd1 std1 0"],["nd1","*/ rw rh md1"],["dxd1","cos nd1 bD1"],["dyd1","sin nd1 bD1"],["xD1","+- hc dxd1 0"],["yD1","+- vc dyd1 0"],["xAD1","+- xA1 0 xD1"],["yAD1","+- yA1 0 yD1"],["lAD1","mod xAD1 yAD1 0"],["a1","at2 yAD1 xAD1"],["dxF1","sin lFD a1"],["dyF1","cos lFD a1"],["xF1","+- xD1 dxF1 0"],["yF1","+- yD1 dyF1 0"],["xE1","+- xA1 0 dxF1"],["yE1","+- yA1 0 dyF1"],["yC1t","sin th a1"],["xC1t","cos th a1"],["yC1","+- yF1 yC1t 0"],["xC1","+- xF1 0 xC1t"],["yB1","+- yE1 yC1t 0"],["xB1","+- xE1 0 xC1t"],["aD6","+- 3cd4 ha 0"],["td61","cos rw aD6"],["td62","sin rh aD6"],["bD6","at2 td61 td62"],["ctd6","cos rh bD6"],["std6","sin rw bD6"],["md6","mod ctd6 std6 0"],["nd6","*/ rw rh md6"],["dxd6","cos nd6 bD6"],["dyd6","sin nd6 bD6"],["xD6","+- hc dxd6 0"],["yD6","+- vc dyd6 0"],["xA6","+- hc 0 dxd6"],["xF6","+- xD6 0 lFD"],["xE6","+- xA6 lFD 0"],["yC6","+- yD6 0 th"],["swAng1","+- bA1 0 bD6"],["aA2","+- 1800000 0 ha"],["aD2","+- 1800000 ha 0"],["ta21","cos rw aA2"],["ta22","sin rh aA2"],["bA2","at2 ta21 ta22"],["yA2","+- h 0 yD1"],["td21","cos rw aD2"],["td22","sin rh aD2"],["bD2","at2 td21 td22"],["yD2","+- h 0 yA1"],["yC2","+- h 0 yB1"],["yB2","+- h 0 yC1"],["xB2","val xC1"],["swAng2","+- bA2 0 bD1"],["aD3","+- cd4 ha 0"],["td31","cos rw aD3"],["td32","sin rh aD3"],["bD3","at2 td31 td32"],["yD3","+- h 0 yD6"],["yB3","+- h 0 yC6"],["aD4","+- 9000000 ha 0"],["td41","cos rw aD4"],["td42","sin rh aD4"],["bD4","at2 td41 td42"],["xD4","+- w 0 xD1"],["xC4","+- w 0 xC1"],["xB4","+- w 0 xB1"],["aD5","+- 12600000 ha 0"],["td51","cos rw aD5"],["td52","sin rh aD5"],["bD5","at2 td51 td52"],["xD5","+- w 0 xA1"],["xC5","+- w 0 xB1"],["xB5","+- w 0 xC1"],["xCxn1","+/ xB1 xC1 2"],["yCxn1","+/ yB1 yC1 2"],["yCxn2","+- b 0 yCxn1"],["xCxn4","+/ r 0 xCxn1"]],paths:[{commands:[["M","xA1","yA1"],["L","xB1","yB1"],["L","xC1","yC1"],["L","xD1","yD1"],["A","rw","rh","bD1","swAng2"],["L","xC1","yB2"],["L","xB1","yC2"],["L","xA1","yD2"],["A","rw","rh","bD2","swAng1"],["L","xF6","yB3"],["L","xE6","yB3"],["L","xA6","yD3"],["A","rw","rh","bD3","swAng1"],["L","xB4","yC2"],["L","xC4","yB2"],["L","xD4","yA2"],["A","rw","rh","bD4","swAng2"],["L","xB5","yC1"],["L","xC5","yB1"],["L","xD5","yA1"],["A","rw","rh","bD5","swAng1"],["L","xE6","yC6"],["L","xF6","yC6"],["L","xD6","yD6"],["A","rw","rh","bD6","swAng1"],["Z"]]}],rect:["xD5","yA1","xA1","yD2"]},gear9:{av:[["adj1","val 10000"],["adj2","val 1763"]],gd:[["a1","pin 0 adj1 20000"],["a2","pin 0 adj2 2679"],["th","*/ ss a1 100000"],["lFD","*/ ss a2 100000"],["th2","*/ th 1 2"],["l2","*/ lFD 1 2"],["l3","+- th2 l2 0"],["rh","+- hd2 0 th"],["rw","+- wd2 0 th"],["dr","+- rw 0 rh"],["maxr","?: dr rh rw"],["ha","at2 maxr l3"],["aA1","+- 18600000 0 ha"],["aD1","+- 18600000 ha 0"],["ta11","cos rw aA1"],["ta12","sin rh aA1"],["bA1","at2 ta11 ta12"],["cta1","cos rh bA1"],["sta1","sin rw bA1"],["ma1","mod cta1 sta1 0"],["na1","*/ rw rh ma1"],["dxa1","cos na1 bA1"],["dya1","sin na1 bA1"],["xA1","+- hc dxa1 0"],["yA1","+- vc dya1 0"],["td11","cos rw aD1"],["td12","sin rh aD1"],["bD1","at2 td11 td12"],["ctd1","cos rh bD1"],["std1","sin rw bD1"],["md1","mod ctd1 std1 0"],["nd1","*/ rw rh md1"],["dxd1","cos nd1 bD1"],["dyd1","sin nd1 bD1"],["xD1","+- hc dxd1 0"],["yD1","+- vc dyd1 0"],["xAD1","+- xA1 0 xD1"],["yAD1","+- yA1 0 yD1"],["lAD1","mod xAD1 yAD1 0"],["a1","at2 yAD1 xAD1"],["dxF1","sin lFD a1"],["dyF1","cos lFD a1"],["xF1","+- xD1 dxF1 0"],["yF1","+- yD1 dyF1 0"],["xE1","+- xA1 0 dxF1"],["yE1","+- yA1 0 dyF1"],["yC1t","sin th a1"],["xC1t","cos th a1"],["yC1","+- yF1 yC1t 0"],["xC1","+- xF1 0 xC1t"],["yB1","+- yE1 yC1t 0"],["xB1","+- xE1 0 xC1t"],["aA2","+- 21000000 0 ha"],["aD2","+- 21000000 ha 0"],["ta21","cos rw aA2"],["ta22","sin rh aA2"],["bA2","at2 ta21 ta22"],["cta2","cos rh bA2"],["sta2","sin rw bA2"],["ma2","mod cta2 sta2 0"],["na2","*/ rw rh ma2"],["dxa2","cos na2 bA2"],["dya2","sin na2 bA2"],["xA2","+- hc dxa2 0"],["yA2","+- vc dya2 0"],["td21","cos rw aD2"],["td22","sin rh aD2"],["bD2","at2 td21 td22"],["ctd2","cos rh bD2"],["std2","sin rw bD2"],["md2","mod ctd2 std2 0"],["nd2","*/ rw rh md2"],["dxd2","cos nd2 bD2"],["dyd2","sin nd2 bD2"],["xD2","+- hc dxd2 0"],["yD2","+- vc dyd2 0"],["xAD2","+- xA2 0 xD2"],["yAD2","+- yA2 0 yD2"],["lAD2","mod xAD2 yAD2 0"],["a2","at2 yAD2 xAD2"],["dxF2","sin lFD a2"],["dyF2","cos lFD a2"],["xF2","+- xD2 dxF2 0"],["yF2","+- yD2 dyF2 0"],["xE2","+- xA2 0 dxF2"],["yE2","+- yA2 0 dyF2"],["yC2t","sin th a2"],["xC2t","cos th a2"],["yC2","+- yF2 yC2t 0"],["xC2","+- xF2 0 xC2t"],["yB2","+- yE2 yC2t 0"],["xB2","+- xE2 0 xC2t"],["swAng1","+- bA2 0 bD1"],["aA3","+- 1800000 0 ha"],["aD3","+- 1800000 ha 0"],["ta31","cos rw aA3"],["ta32","sin rh aA3"],["bA3","at2 ta31 ta32"],["cta3","cos rh bA3"],["sta3","sin rw bA3"],["ma3","mod cta3 sta3 0"],["na3","*/ rw rh ma3"],["dxa3","cos na3 bA3"],["dya3","sin na3 bA3"],["xA3","+- hc dxa3 0"],["yA3","+- vc dya3 0"],["td31","cos rw aD3"],["td32","sin rh aD3"],["bD3","at2 td31 td32"],["ctd3","cos rh bD3"],["std3","sin rw bD3"],["md3","mod ctd3 std3 0"],["nd3","*/ rw rh md3"],["dxd3","cos nd3 bD3"],["dyd3","sin nd3 bD3"],["xD3","+- hc dxd3 0"],["yD3","+- vc dyd3 0"],["xAD3","+- xA3 0 xD3"],["yAD3","+- yA3 0 yD3"],["lAD3","mod xAD3 yAD3 0"],["a3","at2 yAD3 xAD3"],["dxF3","sin lFD a3"],["dyF3","cos lFD a3"],["xF3","+- xD3 dxF3 0"],["yF3","+- yD3 dyF3 0"],["xE3","+- xA3 0 dxF3"],["yE3","+- yA3 0 dyF3"],["yC3t","sin th a3"],["xC3t","cos th a3"],["yC3","+- yF3 yC3t 0"],["xC3","+- xF3 0 xC3t"],["yB3","+- yE3 yC3t 0"],["xB3","+- xE3 0 xC3t"],["swAng2","+- bA3 0 bD2"],["aA4","+- 4200000 0 ha"],["aD4","+- 4200000 ha 0"],["ta41","cos rw aA4"],["ta42","sin rh aA4"],["bA4","at2 ta41 ta42"],["cta4","cos rh bA4"],["sta4","sin rw bA4"],["ma4","mod cta4 sta4 0"],["na4","*/ rw rh ma4"],["dxa4","cos na4 bA4"],["dya4","sin na4 bA4"],["xA4","+- hc dxa4 0"],["yA4","+- vc dya4 0"],["td41","cos rw aD4"],["td42","sin rh aD4"],["bD4","at2 td41 td42"],["ctd4","cos rh bD4"],["std4","sin rw bD4"],["md4","mod ctd4 std4 0"],["nd4","*/ rw rh md4"],["dxd4","cos nd4 bD4"],["dyd4","sin nd4 bD4"],["xD4","+- hc dxd4 0"],["yD4","+- vc dyd4 0"],["xAD4","+- xA4 0 xD4"],["yAD4","+- yA4 0 yD4"],["lAD4","mod xAD4 yAD4 0"],["a4","at2 yAD4 xAD4"],["dxF4","sin lFD a4"],["dyF4","cos lFD a4"],["xF4","+- xD4 dxF4 0"],["yF4","+- yD4 dyF4 0"],["xE4","+- xA4 0 dxF4"],["yE4","+- yA4 0 dyF4"],["yC4t","sin th a4"],["xC4t","cos th a4"],["yC4","+- yF4 yC4t 0"],["xC4","+- xF4 0 xC4t"],["yB4","+- yE4 yC4t 0"],["xB4","+- xE4 0 xC4t"],["swAng3","+- bA4 0 bD3"],["aA5","+- 6600000 0 ha"],["aD5","+- 6600000 ha 0"],["ta51","cos rw aA5"],["ta52","sin rh aA5"],["bA5","at2 ta51 ta52"],["td51","cos rw aD5"],["td52","sin rh aD5"],["bD5","at2 td51 td52"],["xD5","+- w 0 xA4"],["xC5","+- w 0 xB4"],["xB5","+- w 0 xC4"],["swAng4","+- bA5 0 bD4"],["aD6","+- 9000000 ha 0"],["td61","cos rw aD6"],["td62","sin rh aD6"],["bD6","at2 td61 td62"],["xD6","+- w 0 xA3"],["xC6","+- w 0 xB3"],["xB6","+- w 0 xC3"],["aD7","+- 11400000 ha 0"],["td71","cos rw aD7"],["td72","sin rh aD7"],["bD7","at2 td71 td72"],["xD7","+- w 0 xA2"],["xC7","+- w 0 xB2"],["xB7","+- w 0 xC2"],["aD8","+- 13800000 ha 0"],["td81","cos rw aD8"],["td82","sin rh aD8"],["bD8","at2 td81 td82"],["xA8","+- w 0 xD1"],["xD8","+- w 0 xA1"],["xC8","+- w 0 xB1"],["xB8","+- w 0 xC1"],["aA9","+- 3cd4 0 ha"],["aD9","+- 3cd4 ha 0"],["td91","cos rw aD9"],["td92","sin rh aD9"],["bD9","at2 td91 td92"],["ctd9","cos rh bD9"],["std9","sin rw bD9"],["md9","mod ctd9 std9 0"],["nd9","*/ rw rh md9"],["dxd9","cos nd9 bD9"],["dyd9","sin nd9 bD9"],["xD9","+- hc dxd9 0"],["yD9","+- vc dyd9 0"],["ta91","cos rw aA9"],["ta92","sin rh aA9"],["bA9","at2 ta91 ta92"],["xA9","+- hc 0 dxd9"],["xF9","+- xD9 0 lFD"],["xE9","+- xA9 lFD 0"],["yC9","+- yD9 0 th"],["swAng5","+- bA9 0 bD8"],["xCxn1","+/ xB1 xC1 2"],["yCxn1","+/ yB1 yC1 2"],["xCxn2","+/ xB2 xC2 2"],["yCxn2","+/ yB2 yC2 2"],["xCxn3","+/ xB3 xC3 2"],["yCxn3","+/ yB3 yC3 2"],["xCxn4","+/ xB4 xC4 2"],["yCxn4","+/ yB4 yC4 2"],["xCxn5","+/ r 0 xCxn4"],["xCxn6","+/ r 0 xCxn3"],["xCxn7","+/ r 0 xCxn2"],["xCxn8","+/ r 0 xCxn1"]],paths:[{commands:[["M","xA1","yA1"],["L","xB1","yB1"],["L","xC1","yC1"],["L","xD1","yD1"],["A","rw","rh","bD1","swAng1"],["L","xB2","yB2"],["L","xC2","yC2"],["L","xD2","yD2"],["A","rw","rh","bD2","swAng2"],["L","xB3","yB3"],["L","xC3","yC3"],["L","xD3","yD3"],["A","rw","rh","bD3","swAng3"],["L","xB4","yB4"],["L","xC4","yC4"],["L","xD4","yD4"],["A","rw","rh","bD4","swAng4"],["L","xB5","yC4"],["L","xC5","yB4"],["L","xD5","yA4"],["A","rw","rh","bD5","swAng3"],["L","xB6","yC3"],["L","xC6","yB3"],["L","xD6","yA3"],["A","rw","rh","bD6","swAng2"],["L","xB7","yC2"],["L","xC7","yB2"],["L","xD7","yA2"],["A","rw","rh","bD7","swAng1"],["L","xB8","yC1"],["L","xC8","yB1"],["L","xD8","yA1"],["A","rw","rh","bD8","swAng5"],["L","xE9","yC9"],["L","xF9","yC9"],["L","xD9","yD9"],["A","rw","rh","bD9","swAng5"],["Z"]]}],rect:["xA8","yD1","xD1","yD3"]},halfFrame:{av:[["adj1","val 33333"],["adj2","val 33333"]],gd:[["maxAdj2","*/ 100000 w ss"],["a2","pin 0 adj2 maxAdj2"],["x1","*/ ss a2 100000"],["g1","*/ h x1 w"],["g2","+- h 0 g1"],["maxAdj1","*/ 100000 g2 ss"],["a1","pin 0 adj1 maxAdj1"],["y1","*/ ss a1 100000"],["dx2","*/ y1 w h"],["x2","+- r 0 dx2"],["dy2","*/ x1 h w"],["y2","+- b 0 dy2"],["cx1","*/ x1 1 2"],["cy1","+/ y2 b 2"],["cx2","+/ x2 r 2"],["cy2","*/ y1 1 2"]],paths:[{commands:[["M","l","t"],["L","r","t"],["L","x2","y1"],["L","x1","y1"],["L","x1","y2"],["L","l","b"],["Z"]]}],rect:["l","t","r","b"]},heart:{av:[],gd:[["dx1","*/ w 49 48"],["dx2","*/ w 10 48"],["x1","+- hc 0 dx1"],["x2","+- hc 0 dx2"],["x3","+- hc dx2 0"],["x4","+- hc dx1 0"],["y1","+- t 0 hd3"],["il","*/ w 1 6"],["ir","*/ w 5 6"],["ib","*/ h 2 3"]],paths:[{commands:[["M","hc","hd4"],["C","x3","y1","x4","hd4","hc","b"],["C","x1","hd4","x2","y1","hc","hd4"],["Z"]]}],rect:["il","hd4","ir","ib"]},heptagon:{av:[["hf","val 102572"],["vf","val 105210"]],gd:[["swd2","*/ wd2 hf 100000"],["shd2","*/ hd2 vf 100000"],["svc","*/ vc vf 100000"],["dx1","*/ swd2 97493 100000"],["dx2","*/ swd2 78183 100000"],["dx3","*/ swd2 43388 100000"],["dy1","*/ shd2 62349 100000"],["dy2","*/ shd2 22252 100000"],["dy3","*/ shd2 90097 100000"],["x1","+- hc 0 dx1"],["x2","+- hc 0 dx2"],["x3","+- hc 0 dx3"],["x4","+- hc dx3 0"],["x5","+- hc dx2 0"],["x6","+- hc dx1 0"],["y1","+- svc 0 dy1"],["y2","+- svc dy2 0"],["y3","+- svc dy3 0"],["ib","+- b 0 y1"]],paths:[{commands:[["M","x1","y2"],["L","x2","y1"],["L","hc","t"],["L","x5","y1"],["L","x6","y2"],["L","x4","y3"],["L","x3","y3"],["Z"]]}],rect:["x2","y1","x5","ib"]},hexagon:{av:[["adj","val 25000"],["vf","val 115470"]],gd:[["maxAdj","*/ 50000 w ss"],["a","pin 0 adj maxAdj"],["shd2","*/ hd2 vf 100000"],["x1","*/ ss a 100000"],["x2","+- r 0 x1"],["dy1","sin shd2 3600000"],["y1","+- vc 0 dy1"],["y2","+- vc dy1 0"],["q1","*/ maxAdj -1 2"],["q2","+- a q1 0"],["q3","?: q2 4 2"],["q4","?: q2 3 2"],["q5","?: q2 q1 0"],["q6","+/ a q5 q1"],["q7","*/ q6 q4 -1"],["q8","+- q3 q7 0"],["il","*/ w q8 24"],["it","*/ h q8 24"],["ir","+- r 0 il"],["ib","+- b 0 it"]],paths:[{commands:[["M","l","vc"],["L","x1","y1"],["L","x2","y1"],["L","r","vc"],["L","x2","y2"],["L","x1","y2"],["Z"]]}],rect:["il","it","ir","ib"]},homePlate:{av:[["adj","val 50000"]],gd:[["maxAdj","*/ 100000 w ss"],["a","pin 0 adj maxAdj"],["dx1","*/ ss a 100000"],["x1","+- r 0 dx1"],["ir","+/ x1 r 2"],["x2","*/ x1 1 2"]],paths:[{commands:[["M","l","t"],["L","x1","t"],["L","r","vc"],["L","x1","b"],["L","l","b"],["Z"]]}],rect:["l","t","ir","b"]},horizontalScroll:{av:[["adj","val 12500"]],gd:[["a","pin 0 adj 25000"],["ch","*/ ss a 100000"],["ch2","*/ ch 1 2"],["ch4","*/ ch 1 4"],["y3","+- ch ch2 0"],["y4","+- ch ch 0"],["y6","+- b 0 ch"],["y7","+- b 0 ch2"],["y5","+- y6 0 ch2"],["x3","+- r 0 ch"],["x4","+- r 0 ch2"]],paths:[{commands:[["M","r","ch2"],["A","ch2","ch2","0","cd4"],["L","x4","ch2"],["A","ch4","ch4","0","cd2"],["L","x3","ch"],["L","ch2","ch"],["A","ch2","ch2","3cd4","-5400000"],["L","l","y7"],["A","ch2","ch2","cd2","-10800000"],["L","ch","y6"],["L","x4","y6"],["A","ch2","ch2","cd4","-5400000"],["Z"],["M","ch2","y4"],["A","ch2","ch2","cd4","-5400000"],["A","ch4","ch4","0","-10800000"],["Z"]],stroke:!1},{commands:[["M","ch2","y4"],["A","ch2","ch2","cd4","-5400000"],["A","ch4","ch4","0","-10800000"],["Z"],["M","x4","ch"],["A","ch2","ch2","cd4","-16200000"],["A","ch4","ch4","cd2","-10800000"],["Z"]],fill:"darkenLess",stroke:!1},{commands:[["M","l","y3"],["A","ch2","ch2","cd2","cd4"],["L","x3","ch"],["L","x3","ch2"],["A","ch2","ch2","cd2","cd2"],["L","r","y5"],["A","ch2","ch2","0","cd4"],["L","ch","y6"],["L","ch","y7"],["A","ch2","ch2","0","cd2"],["Z"],["M","x3","ch"],["L","x4","ch"],["A","ch2","ch2","cd4","-5400000"],["M","x4","ch"],["L","x4","ch2"],["A","ch4","ch4","0","cd2"],["M","ch2","y4"],["L","ch2","y3"],["A","ch4","ch4","cd2","cd2"],["A","ch2","ch2","0","cd2"],["M","ch","y3"],["L","ch","y6"]],fill:"none"}],rect:["ch","ch","x4","y6"]},irregularSeal1:{av:[],gd:[["x5","*/ w 4627 21600"],["x12","*/ w 8485 21600"],["x21","*/ w 16702 21600"],["x24","*/ w 14522 21600"],["y3","*/ h 6320 21600"],["y6","*/ h 8615 21600"],["y9","*/ h 13937 21600"],["y18","*/ h 13290 21600"]],paths:[{commands:[["M","10800","5800"],["L","14522","0"],["L","14155","5325"],["L","18380","4457"],["L","16702","7315"],["L","21097","8137"],["L","17607","10475"],["L","21600","13290"],["L","16837","12942"],["L","18145","18095"],["L","14020","14457"],["L","13247","19737"],["L","10532","14935"],["L","8485","21600"],["L","7715","15627"],["L","4762","17617"],["L","5667","13937"],["L","135","14587"],["L","3722","11775"],["L","0","8615"],["L","4627","7617"],["L","370","2295"],["L","7312","6320"],["L","8352","2295"],["Z"]],w:21600,h:21600}],rect:["x5","y3","x21","y9"]},irregularSeal2:{av:[],gd:[["x2","*/ w 9722 21600"],["x5","*/ w 5372 21600"],["x16","*/ w 11612 21600"],["x19","*/ w 14640 21600"],["y2","*/ h 1887 21600"],["y3","*/ h 6382 21600"],["y8","*/ h 12877 21600"],["y14","*/ h 19712 21600"],["y16","*/ h 18842 21600"],["y17","*/ h 15935 21600"],["y24","*/ h 6645 21600"]],paths:[{commands:[["M","11462","4342"],["L","14790","0"],["L","14525","5777"],["L","18007","3172"],["L","16380","6532"],["L","21600","6645"],["L","16985","9402"],["L","18270","11290"],["L","16380","12310"],["L","18877","15632"],["L","14640","14350"],["L","14942","17370"],["L","12180","15935"],["L","11612","18842"],["L","9872","17370"],["L","8700","19712"],["L","7527","18125"],["L","4917","21600"],["L","4805","18240"],["L","1285","17825"],["L","3330","15370"],["L","0","12877"],["L","3935","11592"],["L","1172","8270"],["L","5372","7817"],["L","4502","3625"],["L","8550","6382"],["L","9722","1887"],["Z"]],w:21600,h:21600}],rect:["x5","y3","x19","y17"]},leftArrow:{av:[["adj1","val 50000"],["adj2","val 50000"]],gd:[["maxAdj2","*/ 100000 w ss"],["a1","pin 0 adj1 100000"],["a2","pin 0 adj2 maxAdj2"],["dx2","*/ ss a2 100000"],["x2","+- l dx2 0"],["dy1","*/ h a1 200000"],["y1","+- vc 0 dy1"],["y2","+- vc dy1 0"],["dx1","*/ y1 dx2 hd2"],["x1","+- x2 0 dx1"]],paths:[{commands:[["M","l","vc"],["L","x2","t"],["L","x2","y1"],["L","r","y1"],["L","r","y2"],["L","x2","y2"],["L","x2","b"],["Z"]]}],rect:["x1","y1","r","y2"]},leftArrowCallout:{av:[["adj1","val 25000"],["adj2","val 25000"],["adj3","val 25000"],["adj4","val 64977"]],gd:[["maxAdj2","*/ 50000 h ss"],["a2","pin 0 adj2 maxAdj2"],["maxAdj1","*/ a2 2 1"],["a1","pin 0 adj1 maxAdj1"],["maxAdj3","*/ 100000 w ss"],["a3","pin 0 adj3 maxAdj3"],["q2","*/ a3 ss w"],["maxAdj4","+- 100000 0 q2"],["a4","pin 0 adj4 maxAdj4"],["dy1","*/ ss a2 100000"],["dy2","*/ ss a1 200000"],["y1","+- vc 0 dy1"],["y2","+- vc 0 dy2"],["y3","+- vc dy2 0"],["y4","+- vc dy1 0"],["x1","*/ ss a3 100000"],["dx2","*/ w a4 100000"],["x2","+- r 0 dx2"],["x3","+/ x2 r 2"]],paths:[{commands:[["M","l","vc"],["L","x1","y1"],["L","x1","y2"],["L","x2","y2"],["L","x2","t"],["L","r","t"],["L","r","b"],["L","x2","b"],["L","x2","y3"],["L","x1","y3"],["L","x1","y4"],["Z"]]}],rect:["x2","t","r","b"]},leftBrace:{av:[["adj1","val 8333"],["adj2","val 50000"]],gd:[["a2","pin 0 adj2 100000"],["q1","+- 100000 0 a2"],["q2","min q1 a2"],["q3","*/ q2 1 2"],["maxAdj1","*/ q3 h ss"],["a1","pin 0 adj1 maxAdj1"],["y1","*/ ss a1 100000"],["y3","*/ h a2 100000"],["y4","+- y3 y1 0"],["dx1","cos wd2 2700000"],["dy1","sin y1 2700000"],["il","+- r 0 dx1"],["it","+- y1 0 dy1"],["ib","+- b dy1 y1"]],paths:[{commands:[["M","r","b"],["A","wd2","y1","cd4","cd4"],["L","hc","y4"],["A","wd2","y1","0","-5400000"],["A","wd2","y1","cd4","-5400000"],["L","hc","y1"],["A","wd2","y1","cd2","cd4"],["Z"]],stroke:!1},{commands:[["M","r","b"],["A","wd2","y1","cd4","cd4"],["L","hc","y4"],["A","wd2","y1","0","-5400000"],["A","wd2","y1","cd4","-5400000"],["L","hc","y1"],["A","wd2","y1","cd2","cd4"]],fill:"none"}],rect:["il","it","r","ib"]},leftBracket:{av:[["adj","val 8333"]],gd:[["maxAdj","*/ 50000 h ss"],["a","pin 0 adj maxAdj"],["y1","*/ ss a 100000"],["y2","+- b 0 y1"],["dx1","cos w 2700000"],["dy1","sin y1 2700000"],["il","+- r 0 dx1"],["it","+- y1 0 dy1"],["ib","+- b dy1 y1"]],paths:[{commands:[["M","r","b"],["A","w","y1","cd4","cd4"],["L","l","y1"],["A","w","y1","cd2","cd4"],["Z"]],stroke:!1},{commands:[["M","r","b"],["A","w","y1","cd4","cd4"],["L","l","y1"],["A","w","y1","cd2","cd4"]],fill:"none"}],rect:["il","it","r","ib"]},leftCircularArrow:{av:[["adj1","val 12500"],["adj2","val -1142319"],["adj3","val 1142319"],["adj4","val 10800000"],["adj5","val 12500"]],gd:[["a5","pin 0 adj5 25000"],["maxAdj1","*/ a5 2 1"],["a1","pin 0 adj1 maxAdj1"],["enAng","pin 1 adj3 21599999"],["stAng","pin 0 adj4 21599999"],["th","*/ ss a1 100000"],["thh","*/ ss a5 100000"],["th2","*/ th 1 2"],["rw1","+- wd2 th2 thh"],["rh1","+- hd2 th2 thh"],["rw2","+- rw1 0 th"],["rh2","+- rh1 0 th"],["rw3","+- rw2 th2 0"],["rh3","+- rh2 th2 0"],["wtH","sin rw3 enAng"],["htH","cos rh3 enAng"],["dxH","cat2 rw3 htH wtH"],["dyH","sat2 rh3 htH wtH"],["xH","+- hc dxH 0"],["yH","+- vc dyH 0"],["rI","min rw2 rh2"],["u1","*/ dxH dxH 1"],["u2","*/ dyH dyH 1"],["u3","*/ rI rI 1"],["u4","+- u1 0 u3"],["u5","+- u2 0 u3"],["u6","*/ u4 u5 u1"],["u7","*/ u6 1 u2"],["u8","+- 1 0 u7"],["u9","sqrt u8"],["u10","*/ u4 1 dxH"],["u11","*/ u10 1 dyH"],["u12","+/ 1 u9 u11"],["u13","at2 1 u12"],["u14","+- u13 21600000 0"],["u15","?: u13 u13 u14"],["u16","+- u15 0 enAng"],["u17","+- u16 21600000 0"],["u18","?: u16 u16 u17"],["u19","+- u18 0 cd2"],["u20","+- u18 0 21600000"],["u21","?: u19 u20 u18"],["u22","abs u21"],["minAng","*/ u22 -1 1"],["u23","abs adj2"],["a2","*/ u23 -1 1"],["aAng","pin minAng a2 0"],["ptAng","+- enAng aAng 0"],["wtA","sin rw3 ptAng"],["htA","cos rh3 ptAng"],["dxA","cat2 rw3 htA wtA"],["dyA","sat2 rh3 htA wtA"],["xA","+- hc dxA 0"],["yA","+- vc dyA 0"],["wtE","sin rw1 stAng"],["htE","cos rh1 stAng"],["dxE","cat2 rw1 htE wtE"],["dyE","sat2 rh1 htE wtE"],["xE","+- hc dxE 0"],["yE","+- vc dyE 0"],["wtD","sin rw2 stAng"],["htD","cos rh2 stAng"],["dxD","cat2 rw2 htD wtD"],["dyD","sat2 rh2 htD wtD"],["xD","+- hc dxD 0"],["yD","+- vc dyD 0"],["dxG","cos thh ptAng"],["dyG","sin thh ptAng"],["xG","+- xH dxG 0"],["yG","+- yH dyG 0"],["dxB","cos thh ptAng"],["dyB","sin thh ptAng"],["xB","+- xH 0 dxB 0"],["yB","+- yH 0 dyB 0"],["sx1","+- xB 0 hc"],["sy1","+- yB 0 vc"],["sx2","+- xG 0 hc"],["sy2","+- yG 0 vc"],["rO","min rw1 rh1"],["x1O","*/ sx1 rO rw1"],["y1O","*/ sy1 rO rh1"],["x2O","*/ sx2 rO rw1"],["y2O","*/ sy2 rO rh1"],["dxO","+- x2O 0 x1O"],["dyO","+- y2O 0 y1O"],["dO","mod dxO dyO 0"],["q1","*/ x1O y2O 1"],["q2","*/ x2O y1O 1"],["DO","+- q1 0 q2"],["q3","*/ rO rO 1"],["q4","*/ dO dO 1"],["q5","*/ q3 q4 1"],["q6","*/ DO DO 1"],["q7","+- q5 0 q6"],["q8","max q7 0"],["sdelO","sqrt q8"],["ndyO","*/ dyO -1 1"],["sdyO","?: ndyO -1 1"],["q9","*/ sdyO dxO 1"],["q10","*/ q9 sdelO 1"],["q11","*/ DO dyO 1"],["dxF1","+/ q11 q10 q4"],["q12","+- q11 0 q10"],["dxF2","*/ q12 1 q4"],["adyO","abs dyO"],["q13","*/ adyO sdelO 1"],["q14","*/ DO dxO -1"],["dyF1","+/ q14 q13 q4"],["q15","+- q14 0 q13"],["dyF2","*/ q15 1 q4"],["q16","+- x2O 0 dxF1"],["q17","+- x2O 0 dxF2"],["q18","+- y2O 0 dyF1"],["q19","+- y2O 0 dyF2"],["q20","mod q16 q18 0"],["q21","mod q17 q19 0"],["q22","+- q21 0 q20"],["dxF","?: q22 dxF1 dxF2"],["dyF","?: q22 dyF1 dyF2"],["sdxF","*/ dxF rw1 rO"],["sdyF","*/ dyF rh1 rO"],["xF","+- hc sdxF 0"],["yF","+- vc sdyF 0"],["x1I","*/ sx1 rI rw2"],["y1I","*/ sy1 rI rh2"],["x2I","*/ sx2 rI rw2"],["y2I","*/ sy2 rI rh2"],["dxI","+- x2I 0 x1I"],["dyI","+- y2I 0 y1I"],["dI","mod dxI dyI 0"],["v1","*/ x1I y2I 1"],["v2","*/ x2I y1I 1"],["DI","+- v1 0 v2"],["v3","*/ rI rI 1"],["v4","*/ dI dI 1"],["v5","*/ v3 v4 1"],["v6","*/ DI DI 1"],["v7","+- v5 0 v6"],["v8","max v7 0"],["sdelI","sqrt v8"],["v9","*/ sdyO dxI 1"],["v10","*/ v9 sdelI 1"],["v11","*/ DI dyI 1"],["dxC1","+/ v11 v10 v4"],["v12","+- v11 0 v10"],["dxC2","*/ v12 1 v4"],["adyI","abs dyI"],["v13","*/ adyI sdelI 1"],["v14","*/ DI dxI -1"],["dyC1","+/ v14 v13 v4"],["v15","+- v14 0 v13"],["dyC2","*/ v15 1 v4"],["v16","+- x1I 0 dxC1"],["v17","+- x1I 0 dxC2"],["v18","+- y1I 0 dyC1"],["v19","+- y1I 0 dyC2"],["v20","mod v16 v18 0"],["v21","mod v17 v19 0"],["v22","+- v21 0 v20"],["dxC","?: v22 dxC1 dxC2"],["dyC","?: v22 dyC1 dyC2"],["sdxC","*/ dxC rw2 rI"],["sdyC","*/ dyC rh2 rI"],["xC","+- hc sdxC 0"],["yC","+- vc sdyC 0"],["ist0","at2 sdxC sdyC"],["ist1","+- ist0 21600000 0"],["istAng0","?: ist0 ist0 ist1"],["isw1","+- stAng 0 istAng0"],["isw2","+- isw1 21600000 0"],["iswAng0","?: isw1 isw1 isw2"],["istAng","+- istAng0 iswAng0 0"],["iswAng","+- 0 0 iswAng0"],["p1","+- xF 0 xC"],["p2","+- yF 0 yC"],["p3","mod p1 p2 0"],["p4","*/ p3 1 2"],["p5","+- p4 0 thh"],["xGp","?: p5 xF xG"],["yGp","?: p5 yF yG"],["xBp","?: p5 xC xB"],["yBp","?: p5 yC yB"],["en0","at2 sdxF sdyF"],["en1","+- en0 21600000 0"],["en2","?: en0 en0 en1"],["sw0","+- en2 0 stAng"],["sw1","+- sw0 0 21600000"],["swAng","?: sw0 sw1 sw0"],["stAng0","+- stAng swAng 0"],["swAng0","+- 0 0 swAng"],["wtI","sin rw3 stAng"],["htI","cos rh3 stAng"],["dxI","cat2 rw3 htI wtI"],["dyI","sat2 rh3 htI wtI"],["xI","+- hc dxI 0"],["yI","+- vc dyI 0"],["aI","+- stAng cd4 0"],["aA","+- ptAng 0 cd4"],["aB","+- ptAng cd2 0"],["idx","cos rw1 2700000"],["idy","sin rh1 2700000"],["il","+- hc 0 idx"],["ir","+- hc idx 0"],["it","+- vc 0 idy"],["ib","+- vc idy 0"]],paths:[{commands:[["M","xE","yE"],["L","xD","yD"],["A","rw2","rh2","istAng","iswAng"],["L","xBp","yBp"],["L","xA","yA"],["L","xGp","yGp"],["L","xF","yF"],["A","rw1","rh1","stAng0","swAng0"],["Z"]]}],rect:["il","it","ir","ib"]},leftRightArrow:{av:[["adj1","val 50000"],["adj2","val 50000"]],gd:[["maxAdj2","*/ 50000 w ss"],["a1","pin 0 adj1 100000"],["a2","pin 0 adj2 maxAdj2"],["x2","*/ ss a2 100000"],["x3","+- r 0 x2"],["dy","*/ h a1 200000"],["y1","+- vc 0 dy"],["y2","+- vc dy 0"],["dx1","*/ y1 x2 hd2"],["x1","+- x2 0 dx1"],["x4","+- x3 dx1 0"]],paths:[{commands:[["M","l","vc"],["L","x2","t"],["L","x2","y1"],["L","x3","y1"],["L","x3","t"],["L","r","vc"],["L","x3","b"],["L","x3","y2"],["L","x2","y2"],["L","x2","b"],["Z"]]}],rect:["x1","y1","x4","y2"]},leftRightArrowCallout:{av:[["adj1","val 25000"],["adj2","val 25000"],["adj3","val 25000"],["adj4","val 48123"]],gd:[["maxAdj2","*/ 50000 h ss"],["a2","pin 0 adj2 maxAdj2"],["maxAdj1","*/ a2 2 1"],["a1","pin 0 adj1 maxAdj1"],["maxAdj3","*/ 50000 w ss"],["a3","pin 0 adj3 maxAdj3"],["q2","*/ a3 ss wd2"],["maxAdj4","+- 100000 0 q2"],["a4","pin 0 adj4 maxAdj4"],["dy1","*/ ss a2 100000"],["dy2","*/ ss a1 200000"],["y1","+- vc 0 dy1"],["y2","+- vc 0 dy2"],["y3","+- vc dy2 0"],["y4","+- vc dy1 0"],["x1","*/ ss a3 100000"],["x4","+- r 0 x1"],["dx2","*/ w a4 200000"],["x2","+- hc 0 dx2"],["x3","+- hc dx2 0"]],paths:[{commands:[["M","l","vc"],["L","x1","y1"],["L","x1","y2"],["L","x2","y2"],["L","x2","t"],["L","x3","t"],["L","x3","y2"],["L","x4","y2"],["L","x4","y1"],["L","r","vc"],["L","x4","y4"],["L","x4","y3"],["L","x3","y3"],["L","x3","b"],["L","x2","b"],["L","x2","y3"],["L","x1","y3"],["L","x1","y4"],["Z"]]}],rect:["x2","t","x3","b"]},leftRightCircularArrow:{av:[["adj1","val 12500"],["adj2","val 1142319"],["adj3","val 20457681"],["adj4","val 11942319"],["adj5","val 12500"]],gd:[["a5","pin 0 adj5 25000"],["maxAdj1","*/ a5 2 1"],["a1","pin 0 adj1 maxAdj1"],["enAng","pin 1 adj3 21599999"],["stAng","pin 0 adj4 21599999"],["th","*/ ss a1 100000"],["thh","*/ ss a5 100000"],["th2","*/ th 1 2"],["rw1","+- wd2 th2 thh"],["rh1","+- hd2 th2 thh"],["rw2","+- rw1 0 th"],["rh2","+- rh1 0 th"],["rw3","+- rw2 th2 0"],["rh3","+- rh2 th2 0"],["wtH","sin rw3 enAng"],["htH","cos rh3 enAng"],["dxH","cat2 rw3 htH wtH"],["dyH","sat2 rh3 htH wtH"],["xH","+- hc dxH 0"],["yH","+- vc dyH 0"],["rI","min rw2 rh2"],["u1","*/ dxH dxH 1"],["u2","*/ dyH dyH 1"],["u3","*/ rI rI 1"],["u4","+- u1 0 u3"],["u5","+- u2 0 u3"],["u6","*/ u4 u5 u1"],["u7","*/ u6 1 u2"],["u8","+- 1 0 u7"],["u9","sqrt u8"],["u10","*/ u4 1 dxH"],["u11","*/ u10 1 dyH"],["u12","+/ 1 u9 u11"],["u13","at2 1 u12"],["u14","+- u13 21600000 0"],["u15","?: u13 u13 u14"],["u16","+- u15 0 enAng"],["u17","+- u16 21600000 0"],["u18","?: u16 u16 u17"],["u19","+- u18 0 cd2"],["u20","+- u18 0 21600000"],["u21","?: u19 u20 u18"],["maxAng","abs u21"],["aAng","pin 0 adj2 maxAng"],["ptAng","+- enAng aAng 0"],["wtA","sin rw3 ptAng"],["htA","cos rh3 ptAng"],["dxA","cat2 rw3 htA wtA"],["dyA","sat2 rh3 htA wtA"],["xA","+- hc dxA 0"],["yA","+- vc dyA 0"],["dxG","cos thh ptAng"],["dyG","sin thh ptAng"],["xG","+- xH dxG 0"],["yG","+- yH dyG 0"],["dxB","cos thh ptAng"],["dyB","sin thh ptAng"],["xB","+- xH 0 dxB 0"],["yB","+- yH 0 dyB 0"],["sx1","+- xB 0 hc"],["sy1","+- yB 0 vc"],["sx2","+- xG 0 hc"],["sy2","+- yG 0 vc"],["rO","min rw1 rh1"],["x1O","*/ sx1 rO rw1"],["y1O","*/ sy1 rO rh1"],["x2O","*/ sx2 rO rw1"],["y2O","*/ sy2 rO rh1"],["dxO","+- x2O 0 x1O"],["dyO","+- y2O 0 y1O"],["dO","mod dxO dyO 0"],["q1","*/ x1O y2O 1"],["q2","*/ x2O y1O 1"],["DO","+- q1 0 q2"],["q3","*/ rO rO 1"],["q4","*/ dO dO 1"],["q5","*/ q3 q4 1"],["q6","*/ DO DO 1"],["q7","+- q5 0 q6"],["q8","max q7 0"],["sdelO","sqrt q8"],["ndyO","*/ dyO -1 1"],["sdyO","?: ndyO -1 1"],["q9","*/ sdyO dxO 1"],["q10","*/ q9 sdelO 1"],["q11","*/ DO dyO 1"],["dxF1","+/ q11 q10 q4"],["q12","+- q11 0 q10"],["dxF2","*/ q12 1 q4"],["adyO","abs dyO"],["q13","*/ adyO sdelO 1"],["q14","*/ DO dxO -1"],["dyF1","+/ q14 q13 q4"],["q15","+- q14 0 q13"],["dyF2","*/ q15 1 q4"],["q16","+- x2O 0 dxF1"],["q17","+- x2O 0 dxF2"],["q18","+- y2O 0 dyF1"],["q19","+- y2O 0 dyF2"],["q20","mod q16 q18 0"],["q21","mod q17 q19 0"],["q22","+- q21 0 q20"],["dxF","?: q22 dxF1 dxF2"],["dyF","?: q22 dyF1 dyF2"],["sdxF","*/ dxF rw1 rO"],["sdyF","*/ dyF rh1 rO"],["xF","+- hc sdxF 0"],["yF","+- vc sdyF 0"],["x1I","*/ sx1 rI rw2"],["y1I","*/ sy1 rI rh2"],["x2I","*/ sx2 rI rw2"],["y2I","*/ sy2 rI rh2"],["dxI","+- x2I 0 x1I"],["dyI","+- y2I 0 y1I"],["dI","mod dxI dyI 0"],["v1","*/ x1I y2I 1"],["v2","*/ x2I y1I 1"],["DI","+- v1 0 v2"],["v3","*/ rI rI 1"],["v4","*/ dI dI 1"],["v5","*/ v3 v4 1"],["v6","*/ DI DI 1"],["v7","+- v5 0 v6"],["v8","max v7 0"],["sdelI","sqrt v8"],["v9","*/ sdyO dxI 1"],["v10","*/ v9 sdelI 1"],["v11","*/ DI dyI 1"],["dxC1","+/ v11 v10 v4"],["v12","+- v11 0 v10"],["dxC2","*/ v12 1 v4"],["adyI","abs dyI"],["v13","*/ adyI sdelI 1"],["v14","*/ DI dxI -1"],["dyC1","+/ v14 v13 v4"],["v15","+- v14 0 v13"],["dyC2","*/ v15 1 v4"],["v16","+- x1I 0 dxC1"],["v17","+- x1I 0 dxC2"],["v18","+- y1I 0 dyC1"],["v19","+- y1I 0 dyC2"],["v20","mod v16 v18 0"],["v21","mod v17 v19 0"],["v22","+- v21 0 v20"],["dxC","?: v22 dxC1 dxC2"],["dyC","?: v22 dyC1 dyC2"],["sdxC","*/ dxC rw2 rI"],["sdyC","*/ dyC rh2 rI"],["xC","+- hc sdxC 0"],["yC","+- vc sdyC 0"],["wtI","sin rw3 stAng"],["htI","cos rh3 stAng"],["dxI","cat2 rw3 htI wtI"],["dyI","sat2 rh3 htI wtI"],["xI","+- hc dxI 0"],["yI","+- vc dyI 0"],["lptAng","+- stAng 0 aAng"],["wtL","sin rw3 lptAng"],["htL","cos rh3 lptAng"],["dxL","cat2 rw3 htL wtL"],["dyL","sat2 rh3 htL wtL"],["xL","+- hc dxL 0"],["yL","+- vc dyL 0"],["dxK","cos thh lptAng"],["dyK","sin thh lptAng"],["xK","+- xI dxK 0"],["yK","+- yI dyK 0"],["dxJ","cos thh lptAng"],["dyJ","sin thh lptAng"],["xJ","+- xI 0 dxJ 0"],["yJ","+- yI 0 dyJ 0"],["p1","+- xF 0 xC"],["p2","+- yF 0 yC"],["p3","mod p1 p2 0"],["p4","*/ p3 1 2"],["p5","+- p4 0 thh"],["xGp","?: p5 xF xG"],["yGp","?: p5 yF yG"],["xBp","?: p5 xC xB"],["yBp","?: p5 yC yB"],["en0","at2 sdxF sdyF"],["en1","+- en0 21600000 0"],["en2","?: en0 en0 en1"],["od0","+- en2 0 enAng"],["od1","+- od0 21600000 0"],["od2","?: od0 od0 od1"],["st0","+- stAng 0 od2"],["st1","+- st0 21600000 0"],["st2","?: st0 st0 st1"],["sw0","+- en2 0 st2"],["sw1","+- sw0 21600000 0"],["swAng","?: sw0 sw0 sw1"],["ist0","at2 sdxC sdyC"],["ist1","+- ist0 21600000 0"],["istAng","?: ist0 ist0 ist1"],["id0","+- istAng 0 enAng"],["id1","+- id0 0 21600000"],["id2","?: id0 id1 id0"],["ien0","+- stAng 0 id2"],["ien1","+- ien0 0 21600000"],["ien2","?: ien1 ien1 ien0"],["isw1","+- ien2 0 istAng"],["isw2","+- isw1 0 21600000"],["iswAng","?: isw1 isw2 isw1"],["wtE","sin rw1 st2"],["htE","cos rh1 st2"],["dxE","cat2 rw1 htE wtE"],["dyE","sat2 rh1 htE wtE"],["xE","+- hc dxE 0"],["yE","+- vc dyE 0"],["wtD","sin rw2 ien2"],["htD","cos rh2 ien2"],["dxD","cat2 rw2 htD wtD"],["dyD","sat2 rh2 htD wtD"],["xD","+- hc dxD 0"],["yD","+- vc dyD 0"],["xKp","?: p5 xE xK"],["yKp","?: p5 yE yK"],["xJp","?: p5 xD xJ"],["yJp","?: p5 yD yJ"],["aL","+- lptAng 0 cd4"],["aA","+- ptAng cd4 0"],["aB","+- ptAng cd2 0"],["aJ","+- lptAng cd2 0"],["idx","cos rw1 2700000"],["idy","sin rh1 2700000"],["il","+- hc 0 idx"],["ir","+- hc idx 0"],["it","+- vc 0 idy"],["ib","+- vc idy 0"]],paths:[{commands:[["M","xL","yL"],["L","xKp","yKp"],["L","xE","yE"],["A","rw1","rh1","st2","swAng"],["L","xGp","yGp"],["L","xA","yA"],["L","xBp","yBp"],["L","xC","yC"],["A","rw2","rh2","istAng","iswAng"],["L","xJp","yJp"],["Z"]]}],rect:["il","it","ir","ib"]},leftRightRibbon:{av:[["adj1","val 50000"],["adj2","val 50000"],["adj3","val 16667"]],gd:[["a3","pin 0 adj3 33333"],["maxAdj1","+- 100000 0 a3"],["a1","pin 0 adj1 maxAdj1"],["w1","+- wd2 0 wd32"],["maxAdj2","*/ 100000 w1 ss"],["a2","pin 0 adj2 maxAdj2"],["x1","*/ ss a2 100000"],["x4","+- r 0 x1"],["dy1","*/ h a1 200000"],["dy2","*/ h a3 -200000"],["ly1","+- vc dy2 dy1"],["ry4","+- vc dy1 dy2"],["ly2","+- ly1 dy1 0"],["ry3","+- b 0 ly2"],["ly4","*/ ly2 2 1"],["ry1","+- b 0 ly4"],["ly3","+- ly4 0 ly1"],["ry2","+- b 0 ly3"],["hR","*/ a3 ss 400000"],["x2","+- hc 0 wd32"],["x3","+- hc wd32 0"],["y1","+- ly1 hR 0"],["y2","+- ry2 0 hR"]],paths:[{commands:[["M","l","ly2"],["L","x1","t"],["L","x1","ly1"],["L","hc","ly1"],["A","wd32","hR","3cd4","cd2"],["A","wd32","hR","3cd4","-10800000"],["L","x4","ry2"],["L","x4","ry1"],["L","r","ry3"],["L","x4","b"],["L","x4","ry4"],["L","hc","ry4"],["A","wd32","hR","cd4","cd4"],["L","x2","ly3"],["L","x1","ly3"],["L","x1","ly4"],["Z"]],stroke:!1},{commands:[["M","x3","y1"],["A","wd32","hR","0","cd4"],["A","wd32","hR","3cd4","-10800000"],["L","x3","ry2"],["Z"]],fill:"darkenLess",stroke:!1},{commands:[["M","l","ly2"],["L","x1","t"],["L","x1","ly1"],["L","hc","ly1"],["A","wd32","hR","3cd4","cd2"],["A","wd32","hR","3cd4","-10800000"],["L","x4","ry2"],["L","x4","ry1"],["L","r","ry3"],["L","x4","b"],["L","x4","ry4"],["L","hc","ry4"],["A","wd32","hR","cd4","cd4"],["L","x2","ly3"],["L","x1","ly3"],["L","x1","ly4"],["Z"],["M","x3","y1"],["L","x3","ry2"],["M","x2","y2"],["L","x2","ly3"]],fill:"none"}],rect:["x1","ly1","x4","ry4"]},leftRightUpArrow:{av:[["adj1","val 25000"],["adj2","val 25000"],["adj3","val 25000"]],gd:[["a2","pin 0 adj2 50000"],["maxAdj1","*/ a2 2 1"],["a1","pin 0 adj1 maxAdj1"],["q1","+- 100000 0 maxAdj1"],["maxAdj3","*/ q1 1 2"],["a3","pin 0 adj3 maxAdj3"],["x1","*/ ss a3 100000"],["dx2","*/ ss a2 100000"],["x2","+- hc 0 dx2"],["x5","+- hc dx2 0"],["dx3","*/ ss a1 200000"],["x3","+- hc 0 dx3"],["x4","+- hc dx3 0"],["x6","+- r 0 x1"],["dy2","*/ ss a2 50000"],["y2","+- b 0 dy2"],["y4","+- b 0 dx2"],["y3","+- y4 0 dx3"],["y5","+- y4 dx3 0"],["il","*/ dx3 x1 dx2"],["ir","+- r 0 il"]],paths:[{commands:[["M","l","y4"],["L","x1","y2"],["L","x1","y3"],["L","x3","y3"],["L","x3","x1"],["L","x2","x1"],["L","hc","t"],["L","x5","x1"],["L","x4","x1"],["L","x4","y3"],["L","x6","y3"],["L","x6","y2"],["L","r","y4"],["L","x6","b"],["L","x6","y5"],["L","x1","y5"],["L","x1","b"],["Z"]]}],rect:["il","y3","ir","y5"]},leftUpArrow:{av:[["adj1","val 25000"],["adj2","val 25000"],["adj3","val 25000"]],gd:[["a2","pin 0 adj2 50000"],["maxAdj1","*/ a2 2 1"],["a1","pin 0 adj1 maxAdj1"],["maxAdj3","+- 100000 0 maxAdj1"],["a3","pin 0 adj3 maxAdj3"],["x1","*/ ss a3 100000"],["dx2","*/ ss a2 50000"],["x2","+- r 0 dx2"],["y2","+- b 0 dx2"],["dx4","*/ ss a2 100000"],["x4","+- r 0 dx4"],["y4","+- b 0 dx4"],["dx3","*/ ss a1 200000"],["x3","+- x4 0 dx3"],["x5","+- x4 dx3 0"],["y3","+- y4 0 dx3"],["y5","+- y4 dx3 0"],["il","*/ dx3 x1 dx4"],["cx1","+/ x1 x5 2"],["cy1","+/ x1 y5 2"]],paths:[{commands:[["M","l","y4"],["L","x1","y2"],["L","x1","y3"],["L","x3","y3"],["L","x3","x1"],["L","x2","x1"],["L","x4","t"],["L","r","x1"],["L","x5","x1"],["L","x5","y5"],["L","x1","y5"],["L","x1","b"],["Z"]]}],rect:["il","y3","x4","y5"]},lightningBolt:{av:[],gd:[["x1","*/ w 5022 21600"],["x3","*/ w 8472 21600"],["x4","*/ w 8757 21600"],["x5","*/ w 10012 21600"],["x8","*/ w 12860 21600"],["x9","*/ w 13917 21600"],["x11","*/ w 16577 21600"],["y1","*/ h 3890 21600"],["y2","*/ h 6080 21600"],["y4","*/ h 7437 21600"],["y6","*/ h 9705 21600"],["y7","*/ h 12007 21600"],["y10","*/ h 14277 21600"],["y11","*/ h 14915 21600"]],paths:[{commands:[["M","8472","0"],["L","12860","6080"],["L","11050","6797"],["L","16577","12007"],["L","14767","12877"],["L","21600","21600"],["L","10012","14915"],["L","12222","13987"],["L","5022","9705"],["L","7602","8382"],["L","0","3890"],["Z"]],w:21600,h:21600}],rect:["x4","y4","x9","y10"]},line:{av:[],gd:[],paths:[{commands:[["M","l","t"],["L","r","b"]]}]},lineInv:{av:[],gd:[],paths:[{commands:[["M","l","b"],["L","r","t"]]}]},mathDivide:{av:[["adj1","val 23520"],["adj2","val 5880"],["adj3","val 11760"]],gd:[["a1","pin 1000 adj1 36745"],["ma1","+- 0 0 a1"],["ma3h","+/ 73490 ma1 4"],["ma3w","*/ 36745 w h"],["maxAdj3","min ma3h ma3w"],["a3","pin 1000 adj3 maxAdj3"],["m4a3","*/ -4 a3 1"],["maxAdj2","+- 73490 m4a3 a1"],["a2","pin 0 adj2 maxAdj2"],["dy1","*/ h a1 200000"],["yg","*/ h a2 100000"],["rad","*/ h a3 100000"],["dx1","*/ w 73490 200000"],["y3","+- vc 0 dy1"],["y4","+- vc dy1 0"],["a","+- yg rad 0"],["y2","+- y3 0 a"],["y1","+- y2 0 rad"],["y5","+- b 0 y1"],["x1","+- hc 0 dx1"],["x3","+- hc dx1 0"],["x2","+- hc 0 rad"]],paths:[{commands:[["M","hc","y1"],["A","rad","rad","3cd4","21600000"],["Z"],["M","hc","y5"],["A","rad","rad","cd4","21600000"],["Z"],["M","x1","y3"],["L","x3","y3"],["L","x3","y4"],["L","x1","y4"],["Z"]]}],rect:["x1","y3","x3","y4"]},mathEqual:{av:[["adj1","val 23520"],["adj2","val 11760"]],gd:[["a1","pin 0 adj1 36745"],["2a1","*/ a1 2 1"],["mAdj2","+- 100000 0 2a1"],["a2","pin 0 adj2 mAdj2"],["dy1","*/ h a1 100000"],["dy2","*/ h a2 200000"],["dx1","*/ w 73490 200000"],["y2","+- vc 0 dy2"],["y3","+- vc dy2 0"],["y1","+- y2 0 dy1"],["y4","+- y3 dy1 0"],["x1","+- hc 0 dx1"],["x2","+- hc dx1 0"],["yC1","+/ y1 y2 2"],["yC2","+/ y3 y4 2"]],paths:[{commands:[["M","x1","y1"],["L","x2","y1"],["L","x2","y2"],["L","x1","y2"],["Z"],["M","x1","y3"],["L","x2","y3"],["L","x2","y4"],["L","x1","y4"],["Z"]]}],rect:["x1","y1","x2","y4"]},mathMinus:{av:[["adj1","val 23520"]],gd:[["a1","pin 0 adj1 100000"],["dy1","*/ h a1 200000"],["dx1","*/ w 73490 200000"],["y1","+- vc 0 dy1"],["y2","+- vc dy1 0"],["x1","+- hc 0 dx1"],["x2","+- hc dx1 0"]],paths:[{commands:[["M","x1","y1"],["L","x2","y1"],["L","x2","y2"],["L","x1","y2"],["Z"]]}],rect:["x1","y1","x2","y2"]},mathMultiply:{av:[["adj1","val 23520"]],gd:[["a1","pin 0 adj1 51965"],["th","*/ ss a1 100000"],["a","at2 w h"],["sa","sin 1 a"],["ca","cos 1 a"],["ta","tan 1 a"],["dl","mod w h 0"],["rw","*/ dl 51965 100000"],["lM","+- dl 0 rw"],["xM","*/ ca lM 2"],["yM","*/ sa lM 2"],["dxAM","*/ sa th 2"],["dyAM","*/ ca th 2"],["xA","+- xM 0 dxAM"],["yA","+- yM dyAM 0"],["xB","+- xM dxAM 0"],["yB","+- yM 0 dyAM"],["xBC","+- hc 0 xB"],["yBC","*/ xBC ta 1"],["yC","+- yBC yB 0"],["xD","+- r 0 xB"],["xE","+- r 0 xA"],["yFE","+- vc 0 yA"],["xFE","*/ yFE 1 ta"],["xF","+- xE 0 xFE"],["xL","+- xA xFE 0"],["yG","+- b 0 yA"],["yH","+- b 0 yB"],["yI","+- b 0 yC"],["xC2","+- r 0 xM"],["yC3","+- b 0 yM"]],paths:[{commands:[["M","xA","yA"],["L","xB","yB"],["L","hc","yC"],["L","xD","yB"],["L","xE","yA"],["L","xF","vc"],["L","xE","yG"],["L","xD","yH"],["L","hc","yI"],["L","xB","yH"],["L","xA","yG"],["L","xL","vc"],["Z"]]}],rect:["xA","yB","xE","yH"]},mathNotEqual:{av:[["adj1","val 23520"],["adj2","val 6600000"],["adj3","val 11760"]],gd:[["a1","pin 0 adj1 50000"],["crAng","pin 4200000 adj2 6600000"],["2a1","*/ a1 2 1"],["maxAdj3","+- 100000 0 2a1"],["a3","pin 0 adj3 maxAdj3"],["dy1","*/ h a1 100000"],["dy2","*/ h a3 200000"],["dx1","*/ w 73490 200000"],["x1","+- hc 0 dx1"],["x8","+- hc dx1 0"],["y2","+- vc 0 dy2"],["y3","+- vc dy2 0"],["y1","+- y2 0 dy1"],["y4","+- y3 dy1 0"],["cadj2","+- crAng 0 cd4"],["xadj2","tan hd2 cadj2"],["len","mod xadj2 hd2 0"],["bhw","*/ len dy1 hd2"],["bhw2","*/ bhw 1 2"],["x7","+- hc xadj2 bhw2"],["dx67","*/ xadj2 y1 hd2"],["x6","+- x7 0 dx67"],["dx57","*/ xadj2 y2 hd2"],["x5","+- x7 0 dx57"],["dx47","*/ xadj2 y3 hd2"],["x4","+- x7 0 dx47"],["dx37","*/ xadj2 y4 hd2"],["x3","+- x7 0 dx37"],["dx27","*/ xadj2 2 1"],["x2","+- x7 0 dx27"],["rx7","+- x7 bhw 0"],["rx6","+- x6 bhw 0"],["rx5","+- x5 bhw 0"],["rx4","+- x4 bhw 0"],["rx3","+- x3 bhw 0"],["rx2","+- x2 bhw 0"],["dx7","*/ dy1 hd2 len"],["rxt","+- x7 dx7 0"],["lxt","+- rx7 0 dx7"],["rx","?: cadj2 rxt rx7"],["lx","?: cadj2 x7 lxt"],["dy3","*/ dy1 xadj2 len"],["dy4","+- 0 0 dy3"],["ry","?: cadj2 dy3 t"],["ly","?: cadj2 t dy4"],["dlx","+- w 0 rx"],["drx","+- w 0 lx"],["dly","+- h 0 ry"],["dry","+- h 0 ly"],["xC1","+/ rx lx 2"],["xC2","+/ drx dlx 2"],["yC1","+/ ry ly 2"],["yC2","+/ y1 y2 2"],["yC3","+/ y3 y4 2"],["yC4","+/ dry dly 2"]],paths:[{commands:[["M","x1","y1"],["L","x6","y1"],["L","lx","ly"],["L","rx","ry"],["L","rx6","y1"],["L","x8","y1"],["L","x8","y2"],["L","rx5","y2"],["L","rx4","y3"],["L","x8","y3"],["L","x8","y4"],["L","rx3","y4"],["L","drx","dry"],["L","dlx","dly"],["L","x3","y4"],["L","x1","y4"],["L","x1","y3"],["L","x4","y3"],["L","x5","y2"],["L","x1","y2"],["Z"]]}],rect:["x1","y1","x8","y4"]},mathPlus:{av:[["adj1","val 23520"]],gd:[["a1","pin 0 adj1 73490"],["dx1","*/ w 73490 200000"],["dy1","*/ h 73490 200000"],["dx2","*/ ss a1 200000"],["x1","+- hc 0 dx1"],["x2","+- hc 0 dx2"],["x3","+- hc dx2 0"],["x4","+- hc dx1 0"],["y1","+- vc 0 dy1"],["y2","+- vc 0 dx2"],["y3","+- vc dx2 0"],["y4","+- vc dy1 0"]],paths:[{commands:[["M","x1","y2"],["L","x2","y2"],["L","x2","y1"],["L","x3","y1"],["L","x3","y2"],["L","x4","y2"],["L","x4","y3"],["L","x3","y3"],["L","x3","y4"],["L","x2","y4"],["L","x2","y3"],["L","x1","y3"],["Z"]]}],rect:["x1","y2","x4","y3"]},moon:{av:[["adj","val 50000"]],gd:[["a","pin 0 adj 87500"],["g0","*/ ss a 100000"],["g0w","*/ g0 w ss"],["g1","+- ss 0 g0"],["g2","*/ g0 g0 g1"],["g3","*/ ss ss g1"],["g4","*/ g3 2 1"],["g5","+- g4 0 g2"],["g6","+- g5 0 g0"],["g6w","*/ g6 w ss"],["g7","*/ g5 1 2"],["g8","+- g7 0 g0"],["dy1","*/ g8 hd2 ss"],["g10h","+- vc 0 dy1"],["g11h","+- vc dy1 0"],["g12","*/ g0 9598 32768"],["g12w","*/ g12 w ss"],["g13","+- ss 0 g12"],["q1","*/ ss ss 1"],["q2","*/ g13 g13 1"],["q3","+- q1 0 q2"],["q4","sqrt q3"],["dy4","*/ q4 hd2 ss"],["g15h","+- vc 0 dy4"],["g16h","+- vc dy4 0"],["g17w","+- g6w 0 g0w"],["g18w","*/ g17w 1 2"],["dx2p","+- g0w g18w w"],["dx2","*/ dx2p -1 1"],["dy2","*/ hd2 -1 1"],["stAng1","at2 dx2 dy2"],["enAngp1","at2 dx2 hd2"],["enAng1","+- enAngp1 0 21600000"],["swAng1","+- enAng1 0 stAng1"]],paths:[{commands:[["M","r","b"],["A","w","hd2","cd4","cd2"],["A","g18w","dy1","stAng1","swAng1"],["Z"]]}],rect:["g12w","g15h","g0w","g16h"]},nonIsoscelesTrapezoid:{av:[["adj1","val 25000"],["adj2","val 25000"]],gd:[["maxAdj","*/ 50000 w ss"],["a1","pin 0 adj1 maxAdj"],["a2","pin 0 adj2 maxAdj"],["x1","*/ ss a1 200000"],["x2","*/ ss a1 100000"],["dx3","*/ ss a2 100000"],["x3","+- r 0 dx3"],["x4","+/ r x3 2"],["il","*/ wd3 a1 maxAdj"],["adjm","max a1 a2"],["it","*/ hd3 adjm maxAdj"],["irt","*/ wd3 a2 maxAdj"],["ir","+- r 0 irt"]],paths:[{commands:[["M","l","b"],["L","x2","t"],["L","x3","t"],["L","r","b"],["Z"]]}],rect:["il","it","ir","b"]},noSmoking:{av:[["adj","val 18750"]],gd:[["a","pin 0 adj 50000"],["dr","*/ ss a 100000"],["iwd2","+- wd2 0 dr"],["ihd2","+- hd2 0 dr"],["ang","at2 w h"],["ct","cos ihd2 ang"],["st","sin iwd2 ang"],["m","mod ct st 0"],["n","*/ iwd2 ihd2 m"],["drd2","*/ dr 1 2"],["dang","at2 n drd2"],["2dang","*/ dang 2 1"],["swAng","+- -10800000 2dang 0"],["t3","at2 w h"],["stAng1","+- t3 0 dang"],["stAng2","+- stAng1 0 cd2"],["ct1","cos ihd2 stAng1"],["st1","sin iwd2 stAng1"],["m1","mod ct1 st1 0"],["n1","*/ iwd2 ihd2 m1"],["dx1","cos n1 stAng1"],["dy1","sin n1 stAng1"],["x1","+- hc dx1 0"],["y1","+- vc dy1 0"],["x2","+- hc 0 dx1"],["y2","+- vc 0 dy1"],["idx","cos wd2 2700000"],["idy","sin hd2 2700000"],["il","+- hc 0 idx"],["ir","+- hc idx 0"],["it","+- vc 0 idy"],["ib","+- vc idy 0"]],paths:[{commands:[["M","l","vc"],["A","wd2","hd2","cd2","cd4"],["A","wd2","hd2","3cd4","cd4"],["A","wd2","hd2","0","cd4"],["A","wd2","hd2","cd4","cd4"],["Z"],["M","x1","y1"],["A","iwd2","ihd2","stAng1","swAng"],["Z"],["M","x2","y2"],["A","iwd2","ihd2","stAng2","swAng"],["Z"]]}],rect:["il","it","ir","ib"]},notchedRightArrow:{av:[["adj1","val 50000"],["adj2","val 50000"]],gd:[["maxAdj2","*/ 100000 w ss"],["a1","pin 0 adj1 100000"],["a2","pin 0 adj2 maxAdj2"],["dx2","*/ ss a2 100000"],["x2","+- r 0 dx2"],["dy1","*/ h a1 200000"],["y1","+- vc 0 dy1"],["y2","+- vc dy1 0"],["x1","*/ dy1 dx2 hd2"],["x3","+- r 0 x1"]],paths:[{commands:[["M","l","y1"],["L","x2","y1"],["L","x2","t"],["L","r","vc"],["L","x2","b"],["L","x2","y2"],["L","l","y2"],["L","x1","vc"],["Z"]]}],rect:["x1","y1","x3","y2"]},octagon:{av:[["adj","val 29289"]],gd:[["a","pin 0 adj 50000"],["x1","*/ ss a 100000"],["x2","+- r 0 x1"],["y2","+- b 0 x1"],["il","*/ x1 1 2"],["ir","+- r 0 il"],["ib","+- b 0 il"]],paths:[{commands:[["M","l","x1"],["L","x1","t"],["L","x2","t"],["L","r","x1"],["L","r","y2"],["L","x2","b"],["L","x1","b"],["L","l","y2"],["Z"]]}],rect:["il","il","ir","ib"]},parallelogram:{av:[["adj","val 25000"]],gd:[["maxAdj","*/ 100000 w ss"],["a","pin 0 adj maxAdj"],["x1","*/ ss a 200000"],["x2","*/ ss a 100000"],["x6","+- r 0 x1"],["x5","+- r 0 x2"],["x3","*/ x5 1 2"],["x4","+- r 0 x3"],["il","*/ wd2 a maxAdj"],["q1","*/ 5 a maxAdj"],["q2","+/ 1 q1 12"],["il","*/ q2 w 1"],["it","*/ q2 h 1"],["ir","+- r 0 il"],["ib","+- b 0 it"],["q3","*/ h hc x2"],["y1","pin 0 q3 h"],["y2","+- b 0 y1"]],paths:[{commands:[["M","l","b"],["L","x2","t"],["L","r","t"],["L","x5","b"],["Z"]]}],rect:["il","it","ir","ib"]},pentagon:{av:[["hf","val 105146"],["vf","val 110557"]],gd:[["swd2","*/ wd2 hf 100000"],["shd2","*/ hd2 vf 100000"],["svc","*/ vc vf 100000"],["dx1","cos swd2 1080000"],["dx2","cos swd2 18360000"],["dy1","sin shd2 1080000"],["dy2","sin shd2 18360000"],["x1","+- hc 0 dx1"],["x2","+- hc 0 dx2"],["x3","+- hc dx2 0"],["x4","+- hc dx1 0"],["y1","+- svc 0 dy1"],["y2","+- svc 0 dy2"],["it","*/ y1 dx2 dx1"]],paths:[{commands:[["M","x1","y1"],["L","hc","t"],["L","x4","y1"],["L","x3","y2"],["L","x2","y2"],["Z"]]}],rect:["x2","it","x3","y2"]},pie:{av:[["adj1","val 0"],["adj2","val 16200000"]],gd:[["stAng","pin 0 adj1 21599999"],["enAng","pin 0 adj2 21599999"],["sw1","+- enAng 0 stAng"],["sw2","+- sw1 21600000 0"],["swAng","?: sw1 sw1 sw2"],["wt1","sin wd2 stAng"],["ht1","cos hd2 stAng"],["dx1","cat2 wd2 ht1 wt1"],["dy1","sat2 hd2 ht1 wt1"],["x1","+- hc dx1 0"],["y1","+- vc dy1 0"],["wt2","sin wd2 enAng"],["ht2","cos hd2 enAng"],["dx2","cat2 wd2 ht2 wt2"],["dy2","sat2 hd2 ht2 wt2"],["x2","+- hc dx2 0"],["y2","+- vc dy2 0"],["idx","cos wd2 2700000"],["idy","sin hd2 2700000"],["il","+- hc 0 idx"],["ir","+- hc idx 0"],["it","+- vc 0 idy"],["ib","+- vc idy 0"]],paths:[{commands:[["M","x1","y1"],["A","wd2","hd2","stAng","swAng"],["L","hc","vc"],["Z"]]}],rect:["il","ir","it","ib"]},pieWedge:{av:[],gd:[["g1","cos w 13500000"],["g2","sin h 13500000"],["x1","+- r g1 0"],["y1","+- b g2 0"]],paths:[{commands:[["M","l","b"],["A","w","h","cd2","cd4"],["L","r","b"],["Z"]]}],rect:["x1","y1","r","b"]},plaque:{av:[["adj","val 16667"]],gd:[["a","pin 0 adj 50000"],["x1","*/ ss a 100000"],["x2","+- r 0 x1"],["y2","+- b 0 x1"],["il","*/ x1 70711 100000"],["ir","+- r 0 il"],["ib","+- b 0 il"]],paths:[{commands:[["M","l","x1"],["A","x1","x1","cd4","-5400000"],["L","x2","t"],["A","x1","x1","cd2","-5400000"],["L","r","y2"],["A","x1","x1","3cd4","-5400000"],["L","x1","b"],["A","x1","x1","0","-5400000"],["Z"]]}],rect:["il","il","ir","ib"]},plaqueTabs:{av:[],gd:[["md","mod w h 0"],["dx","*/ 1 md 20"],["y1","+- 0 b dx"],["x1","+- 0 r dx"]],paths:[{commands:[["M","l","t"],["L","dx","t"],["A","dx","dx","0","cd4"],["Z"]]},{commands:[["M","l","y1"],["A","dx","dx","3cd4","cd4"],["L","l","b"],["Z"]]},{commands:[["M","r","t"],["L","r","dx"],["A","dx","dx","cd4","cd4"],["Z"]]},{commands:[["M","x1","b"],["A","dx","dx","cd2","cd4"],["L","r","b"],["Z"]]}],rect:["dx","dx","x1","y1"]},plus:{av:[["adj","val 25000"]],gd:[["a","pin 0 adj 50000"],["x1","*/ ss a 100000"],["x2","+- r 0 x1"],["y2","+- b 0 x1"],["d","+- w 0 h"],["il","?: d l x1"],["ir","?: d r x2"],["it","?: d x1 t"],["ib","?: d y2 b"]],paths:[{commands:[["M","l","x1"],["L","x1","x1"],["L","x1","t"],["L","x2","t"],["L","x2","x1"],["L","r","x1"],["L","r","y2"],["L","x2","y2"],["L","x2","b"],["L","x1","b"],["L","x1","y2"],["L","l","y2"],["Z"]]}],rect:["il","it","ir","ib"]},quadArrow:{av:[["adj1","val 22500"],["adj2","val 22500"],["adj3","val 22500"]],gd:[["a2","pin 0 adj2 50000"],["maxAdj1","*/ a2 2 1"],["a1","pin 0 adj1 maxAdj1"],["q1","+- 100000 0 maxAdj1"],["maxAdj3","*/ q1 1 2"],["a3","pin 0 adj3 maxAdj3"],["x1","*/ ss a3 100000"],["dx2","*/ ss a2 100000"],["x2","+- hc 0 dx2"],["x5","+- hc dx2 0"],["dx3","*/ ss a1 200000"],["x3","+- hc 0 dx3"],["x4","+- hc dx3 0"],["x6","+- r 0 x1"],["y2","+- vc 0 dx2"],["y5","+- vc dx2 0"],["y3","+- vc 0 dx3"],["y4","+- vc dx3 0"],["y6","+- b 0 x1"],["il","*/ dx3 x1 dx2"],["ir","+- r 0 il"]],paths:[{commands:[["M","l","vc"],["L","x1","y2"],["L","x1","y3"],["L","x3","y3"],["L","x3","x1"],["L","x2","x1"],["L","hc","t"],["L","x5","x1"],["L","x4","x1"],["L","x4","y3"],["L","x6","y3"],["L","x6","y2"],["L","r","vc"],["L","x6","y5"],["L","x6","y4"],["L","x4","y4"],["L","x4","y6"],["L","x5","y6"],["L","hc","b"],["L","x2","y6"],["L","x3","y6"],["L","x3","y4"],["L","x1","y4"],["L","x1","y5"],["Z"]]}],rect:["il","y3","ir","y4"]},quadArrowCallout:{av:[["adj1","val 18515"],["adj2","val 18515"],["adj3","val 18515"],["adj4","val 48123"]],gd:[["a2","pin 0 adj2 50000"],["maxAdj1","*/ a2 2 1"],["a1","pin 0 adj1 maxAdj1"],["maxAdj3","+- 50000 0 a2"],["a3","pin 0 adj3 maxAdj3"],["q2","*/ a3 2 1"],["maxAdj4","+- 100000 0 q2"],["a4","pin a1 adj4 maxAdj4"],["dx2","*/ ss a2 100000"],["dx3","*/ ss a1 200000"],["ah","*/ ss a3 100000"],["dx1","*/ w a4 200000"],["dy1","*/ h a4 200000"],["x8","+- r 0 ah"],["x2","+- hc 0 dx1"],["x7","+- hc dx1 0"],["x3","+- hc 0 dx2"],["x6","+- hc dx2 0"],["x4","+- hc 0 dx3"],["x5","+- hc dx3 0"],["y8","+- b 0 ah"],["y2","+- vc 0 dy1"],["y7","+- vc dy1 0"],["y3","+- vc 0 dx2"],["y6","+- vc dx2 0"],["y4","+- vc 0 dx3"],["y5","+- vc dx3 0"]],paths:[{commands:[["M","l","vc"],["L","ah","y3"],["L","ah","y4"],["L","x2","y4"],["L","x2","y2"],["L","x4","y2"],["L","x4","ah"],["L","x3","ah"],["L","hc","t"],["L","x6","ah"],["L","x5","ah"],["L","x5","y2"],["L","x7","y2"],["L","x7","y4"],["L","x8","y4"],["L","x8","y3"],["L","r","vc"],["L","x8","y6"],["L","x8","y5"],["L","x7","y5"],["L","x7","y7"],["L","x5","y7"],["L","x5","y8"],["L","x6","y8"],["L","hc","b"],["L","x3","y8"],["L","x4","y8"],["L","x4","y7"],["L","x2","y7"],["L","x2","y5"],["L","ah","y5"],["L","ah","y6"],["Z"]]}],rect:["x2","y2","x7","y7"]},rect:{av:[],gd:[],paths:[{commands:[["M","l","t"],["L","r","t"],["L","r","b"],["L","l","b"],["Z"]]}],rect:["l","t","r","b"]},ribbon:{av:[["adj1","val 16667"],["adj2","val 50000"]],gd:[["a1","pin 0 adj1 33333"],["a2","pin 25000 adj2 75000"],["x10","+- r 0 wd8"],["dx2","*/ w a2 200000"],["x2","+- hc 0 dx2"],["x9","+- hc dx2 0"],["x3","+- x2 wd32 0"],["x8","+- x9 0 wd32"],["x5","+- x2 wd8 0"],["x6","+- x9 0 wd8"],["x4","+- x5 0 wd32"],["x7","+- x6 wd32 0"],["y1","*/ h a1 200000"],["y2","*/ h a1 100000"],["y4","+- b 0 y2"],["y3","*/ y4 1 2"],["hR","*/ h a1 400000"],["y5","+- b 0 hR"],["y6","+- y2 0 hR"]],paths:[{commands:[["M","l","t"],["L","x4","t"],["A","wd32","hR","3cd4","cd2"],["L","x3","y1"],["A","wd32","hR","3cd4","-10800000"],["L","x8","y2"],["A","wd32","hR","cd4","-10800000"],["L","x7","y1"],["A","wd32","hR","cd4","cd2"],["L","r","t"],["L","x10","y3"],["L","r","y4"],["L","x9","y4"],["L","x9","y5"],["A","wd32","hR","0","cd4"],["L","x3","b"],["A","wd32","hR","cd4","cd4"],["L","x2","y4"],["L","l","y4"],["L","wd8","y3"],["Z"]],stroke:!1},{commands:[["M","x5","hR"],["A","wd32","hR","0","cd4"],["L","x3","y1"],["A","wd32","hR","3cd4","-10800000"],["L","x5","y2"],["Z"],["M","x6","hR"],["A","wd32","hR","cd2","-5400000"],["L","x8","y1"],["A","wd32","hR","3cd4","cd2"],["L","x6","y2"],["Z"]],fill:"darkenLess",stroke:!1},{commands:[["M","l","t"],["L","x4","t"],["A","wd32","hR","3cd4","cd2"],["L","x3","y1"],["A","wd32","hR","3cd4","-10800000"],["L","x8","y2"],["A","wd32","hR","cd4","-10800000"],["L","x7","y1"],["A","wd32","hR","cd4","cd2"],["L","r","t"],["L","x10","y3"],["L","r","y4"],["L","x9","y4"],["L","x9","y5"],["A","wd32","hR","0","cd4"],["L","x3","b"],["A","wd32","hR","cd4","cd4"],["L","x2","y4"],["L","l","y4"],["L","wd8","y3"],["Z"],["M","x5","hR"],["L","x5","y2"],["M","x6","y2"],["L","x6","hR"],["M","x2","y4"],["L","x2","y6"],["M","x9","y6"],["L","x9","y4"]],fill:"none"}],rect:["x2","y2","x9","b"]},ribbon2:{av:[["adj1","val 16667"],["adj2","val 50000"]],gd:[["a1","pin 0 adj1 33333"],["a2","pin 25000 adj2 75000"],["x10","+- r 0 wd8"],["dx2","*/ w a2 200000"],["x2","+- hc 0 dx2"],["x9","+- hc dx2 0"],["x3","+- x2 wd32 0"],["x8","+- x9 0 wd32"],["x5","+- x2 wd8 0"],["x6","+- x9 0 wd8"],["x4","+- x5 0 wd32"],["x7","+- x6 wd32 0"],["dy1","*/ h a1 200000"],["y1","+- b 0 dy1"],["dy2","*/ h a1 100000"],["y2","+- b 0 dy2"],["y4","+- t dy2 0"],["y3","+/ y4 b 2"],["hR","*/ h a1 400000"],["y6","+- b 0 hR"],["y7","+- y1 0 hR"]],paths:[{commands:[["M","l","b"],["L","x4","b"],["A","wd32","hR","cd4","-10800000"],["L","x3","y1"],["A","wd32","hR","cd4","cd2"],["L","x8","y2"],["A","wd32","hR","3cd4","cd2"],["L","x7","y1"],["A","wd32","hR","3cd4","-10800000"],["L","r","b"],["L","x10","y3"],["L","r","y4"],["L","x9","y4"],["L","x9","hR"],["A","wd32","hR","0","-5400000"],["L","x3","t"],["A","wd32","hR","3cd4","-5400000"],["L","x2","y4"],["L","l","y4"],["L","wd8","y3"],["Z"]],stroke:!1},{commands:[["M","x5","y6"],["A","wd32","hR","0","-5400000"],["L","x3","y1"],["A","wd32","hR","cd4","cd2"],["L","x5","y2"],["Z"],["M","x6","y6"],["A","wd32","hR","cd2","cd4"],["L","x8","y1"],["A","wd32","hR","cd4","-10800000"],["L","x6","y2"],["Z"]],fill:"darkenLess",stroke:!1},{commands:[["M","l","b"],["L","wd8","y3"],["L","l","y4"],["L","x2","y4"],["L","x2","hR"],["A","wd32","hR","cd2","cd4"],["L","x8","t"],["A","wd32","hR","3cd4","cd4"],["L","x9","y4"],["L","x9","y4"],["L","r","y4"],["L","x10","y3"],["L","r","b"],["L","x7","b"],["A","wd32","hR","cd4","cd2"],["L","x8","y1"],["A","wd32","hR","cd4","-10800000"],["L","x3","y2"],["A","wd32","hR","3cd4","-10800000"],["L","x4","y1"],["A","wd32","hR","3cd4","cd2"],["Z"],["M","x5","y2"],["L","x5","y6"],["M","x6","y6"],["L","x6","y2"],["M","x2","y7"],["L","x2","y4"],["M","x9","y4"],["L","x9","y7"]],fill:"none"}],rect:["x2","t","x9","y2"]},rightArrow:{av:[["adj1","val 50000"],["adj2","val 50000"]],gd:[["maxAdj2","*/ 100000 w ss"],["a1","pin 0 adj1 100000"],["a2","pin 0 adj2 maxAdj2"],["dx1","*/ ss a2 100000"],["x1","+- r 0 dx1"],["dy1","*/ h a1 200000"],["y1","+- vc 0 dy1"],["y2","+- vc dy1 0"],["dx2","*/ y1 dx1 hd2"],["x2","+- x1 dx2 0"]],paths:[{commands:[["M","l","y1"],["L","x1","y1"],["L","x1","t"],["L","r","vc"],["L","x1","b"],["L","x1","y2"],["L","l","y2"],["Z"]]}],rect:["l","y1","x2","y2"]},rightArrowCallout:{av:[["adj1","val 25000"],["adj2","val 25000"],["adj3","val 25000"],["adj4","val 64977"]],gd:[["maxAdj2","*/ 50000 h ss"],["a2","pin 0 adj2 maxAdj2"],["maxAdj1","*/ a2 2 1"],["a1","pin 0 adj1 maxAdj1"],["maxAdj3","*/ 100000 w ss"],["a3","pin 0 adj3 maxAdj3"],["q2","*/ a3 ss w"],["maxAdj4","+- 100000 0 q2"],["a4","pin 0 adj4 maxAdj4"],["dy1","*/ ss a2 100000"],["dy2","*/ ss a1 200000"],["y1","+- vc 0 dy1"],["y2","+- vc 0 dy2"],["y3","+- vc dy2 0"],["y4","+- vc dy1 0"],["dx3","*/ ss a3 100000"],["x3","+- r 0 dx3"],["x2","*/ w a4 100000"],["x1","*/ x2 1 2"]],paths:[{commands:[["M","l","t"],["L","x2","t"],["L","x2","y2"],["L","x3","y2"],["L","x3","y1"],["L","r","vc"],["L","x3","y4"],["L","x3","y3"],["L","x2","y3"],["L","x2","b"],["L","l","b"],["Z"]]}],rect:["l","t","x2","b"]},rightBrace:{av:[["adj1","val 8333"],["adj2","val 50000"]],gd:[["a2","pin 0 adj2 100000"],["q1","+- 100000 0 a2"],["q2","min q1 a2"],["q3","*/ q2 1 2"],["maxAdj1","*/ q3 h ss"],["a1","pin 0 adj1 maxAdj1"],["y1","*/ ss a1 100000"],["y3","*/ h a2 100000"],["y2","+- y3 0 y1"],["y4","+- b 0 y1"],["dx1","cos wd2 2700000"],["dy1","sin y1 2700000"],["ir","+- l dx1 0"],["it","+- y1 0 dy1"],["ib","+- b dy1 y1"]],paths:[{commands:[["M","l","t"],["A","wd2","y1","3cd4","cd4"],["L","hc","y2"],["A","wd2","y1","cd2","-5400000"],["A","wd2","y1","3cd4","-5400000"],["L","hc","y4"],["A","wd2","y1","0","cd4"],["Z"]],stroke:!1},{commands:[["M","l","t"],["A","wd2","y1","3cd4","cd4"],["L","hc","y2"],["A","wd2","y1","cd2","-5400000"],["A","wd2","y1","3cd4","-5400000"],["L","hc","y4"],["A","wd2","y1","0","cd4"]],fill:"none"}],rect:["l","it","ir","ib"]},rightBracket:{av:[["adj","val 8333"]],gd:[["maxAdj","*/ 50000 h ss"],["a","pin 0 adj maxAdj"],["y1","*/ ss a 100000"],["y2","+- b 0 y1"],["dx1","cos w 2700000"],["dy1","sin y1 2700000"],["ir","+- l dx1 0"],["it","+- y1 0 dy1"],["ib","+- b dy1 y1"]],paths:[{commands:[["M","l","t"],["A","w","y1","3cd4","cd4"],["L","r","y2"],["A","w","y1","0","cd4"],["Z"]],stroke:!1},{commands:[["M","l","t"],["A","w","y1","3cd4","cd4"],["L","r","y2"],["A","w","y1","0","cd4"]],fill:"none"}],rect:["l","it","ir","ib"]},round1Rect:{av:[["adj","val 16667"]],gd:[["a","pin 0 adj 50000"],["dx1","*/ ss a 100000"],["x1","+- r 0 dx1"],["idx","*/ dx1 29289 100000"],["ir","+- r 0 idx"]],paths:[{commands:[["M","l","t"],["L","x1","t"],["A","dx1","dx1","3cd4","cd4"],["L","r","b"],["L","l","b"],["Z"]]}],rect:["l","t","ir","b"]},round2DiagRect:{av:[["adj1","val 16667"],["adj2","val 0"]],gd:[["a1","pin 0 adj1 50000"],["a2","pin 0 adj2 50000"],["x1","*/ ss a1 100000"],["y1","+- b 0 x1"],["a","*/ ss a2 100000"],["x2","+- r 0 a"],["y2","+- b 0 a"],["dx1","*/ x1 29289 100000"],["dx2","*/ a 29289 100000"],["d","+- dx1 0 dx2"],["dx","?: d dx1 dx2"],["ir","+- r 0 dx"],["ib","+- b 0 dx"]],paths:[{commands:[["M","x1","t"],["L","x2","t"],["A","a","a","3cd4","cd4"],["L","r","y1"],["A","x1","x1","0","cd4"],["L","a","b"],["A","a","a","cd4","cd4"],["L","l","x1"],["A","x1","x1","cd2","cd4"],["Z"]]}],rect:["dx","dx","ir","ib"]},round2SameRect:{av:[["adj1","val 16667"],["adj2","val 0"]],gd:[["a1","pin 0 adj1 50000"],["a2","pin 0 adj2 50000"],["tx1","*/ ss a1 100000"],["tx2","+- r 0 tx1"],["bx1","*/ ss a2 100000"],["bx2","+- r 0 bx1"],["by1","+- b 0 bx1"],["d","+- tx1 0 bx1"],["tdx","*/ tx1 29289 100000"],["bdx","*/ bx1 29289 100000"],["il","?: d tdx bdx"],["ir","+- r 0 il"],["ib","+- b 0 bdx"]],paths:[{commands:[["M","tx1","t"],["L","tx2","t"],["A","tx1","tx1","3cd4","cd4"],["L","r","by1"],["A","bx1","bx1","0","cd4"],["L","bx1","b"],["A","bx1","bx1","cd4","cd4"],["L","l","tx1"],["A","tx1","tx1","cd2","cd4"],["Z"]]}],rect:["il","tdx","ir","ib"]},roundRect:{av:[["adj","val 16667"]],gd:[["a","pin 0 adj 50000"],["x1","*/ ss a 100000"],["x2","+- r 0 x1"],["y2","+- b 0 x1"],["il","*/ x1 29289 100000"],["ir","+- r 0 il"],["ib","+- b 0 il"]],paths:[{commands:[["M","l","x1"],["A","x1","x1","cd2","cd4"],["L","x2","t"],["A","x1","x1","3cd4","cd4"],["L","r","y2"],["A","x1","x1","0","cd4"],["L","x1","b"],["A","x1","x1","cd4","cd4"],["Z"]]}],rect:["il","il","ir","ib"]},rtTriangle:{av:[],gd:[["it","*/ h 7 12"],["ir","*/ w 7 12"],["ib","*/ h 11 12"]],paths:[{commands:[["M","l","b"],["L","l","t"],["L","r","b"],["Z"]]}],rect:["wd12","it","ir","ib"]},smileyFace:{av:[["adj","val 4653"]],gd:[["a","pin -4653 adj 4653"],["x1","*/ w 4969 21699"],["x2","*/ w 6215 21600"],["x3","*/ w 13135 21600"],["x4","*/ w 16640 21600"],["y1","*/ h 7570 21600"],["y3","*/ h 16515 21600"],["dy2","*/ h a 100000"],["y2","+- y3 0 dy2"],["y4","+- y3 dy2 0"],["dy3","*/ h a 50000"],["y5","+- y4 dy3 0"],["idx","cos wd2 2700000"],["idy","sin hd2 2700000"],["il","+- hc 0 idx"],["ir","+- hc idx 0"],["it","+- vc 0 idy"],["ib","+- vc idy 0"],["wR","*/ w 1125 21600"],["hR","*/ h 1125 21600"]],paths:[{commands:[["M","l","vc"],["A","wd2","hd2","cd2","21600000"],["Z"]],stroke:!1},{commands:[["M","x2","y1"],["A","wR","hR","cd2","21600000"],["M","x3","y1"],["A","wR","hR","cd2","21600000"]],fill:"darkenLess"},{commands:[["M","x1","y2"],["Q","hc","y5","x4","y2"]],fill:"none"},{commands:[["M","l","vc"],["A","wd2","hd2","cd2","21600000"],["Z"]],fill:"none"}],rect:["il","it","ir","ib"]},snip1Rect:{av:[["adj","val 16667"]],gd:[["a","pin 0 adj 50000"],["dx1","*/ ss a 100000"],["x1","+- r 0 dx1"],["it","*/ dx1 1 2"],["ir","+/ x1 r 2"]],paths:[{commands:[["M","l","t"],["L","x1","t"],["L","r","dx1"],["L","r","b"],["L","l","b"],["Z"]]}],rect:["l","it","ir","b"]},snip2DiagRect:{av:[["adj1","val 0"],["adj2","val 16667"]],gd:[["a1","pin 0 adj1 50000"],["a2","pin 0 adj2 50000"],["lx1","*/ ss a1 100000"],["lx2","+- r 0 lx1"],["ly1","+- b 0 lx1"],["rx1","*/ ss a2 100000"],["rx2","+- r 0 rx1"],["ry1","+- b 0 rx1"],["d","+- lx1 0 rx1"],["dx","?: d lx1 rx1"],["il","*/ dx 1 2"],["ir","+- r 0 il"],["ib","+- b 0 il"]],paths:[{commands:[["M","lx1","t"],["L","rx2","t"],["L","r","rx1"],["L","r","ly1"],["L","lx2","b"],["L","rx1","b"],["L","l","ry1"],["L","l","lx1"],["Z"]]}],rect:["il","il","ir","ib"]},snip2SameRect:{av:[["adj1","val 16667"],["adj2","val 0"]],gd:[["a1","pin 0 adj1 50000"],["a2","pin 0 adj2 50000"],["tx1","*/ ss a1 100000"],["tx2","+- r 0 tx1"],["bx1","*/ ss a2 100000"],["bx2","+- r 0 bx1"],["by1","+- b 0 bx1"],["d","+- tx1 0 bx1"],["dx","?: d tx1 bx1"],["il","*/ dx 1 2"],["ir","+- r 0 il"],["it","*/ tx1 1 2"],["ib","+/ by1 b 2"]],paths:[{commands:[["M","tx1","t"],["L","tx2","t"],["L","r","tx1"],["L","r","by1"],["L","bx2","b"],["L","bx1","b"],["L","l","by1"],["L","l","tx1"],["Z"]]}],rect:["il","it","ir","ib"]},snipRoundRect:{av:[["adj1","val 16667"],["adj2","val 16667"]],gd:[["a1","pin 0 adj1 50000"],["a2","pin 0 adj2 50000"],["x1","*/ ss a1 100000"],["dx2","*/ ss a2 100000"],["x2","+- r 0 dx2"],["il","*/ x1 29289 100000"],["ir","+/ x2 r 2"]],paths:[{commands:[["M","x1","t"],["L","x2","t"],["L","r","dx2"],["L","r","b"],["L","l","b"],["L","l","x1"],["A","x1","x1","cd2","cd4"],["Z"]]}],rect:["il","il","ir","b"]},squareTabs:{av:[],gd:[["md","mod w h 0"],["dx","*/ 1 md 20"],["y1","+- 0 b dx"],["x1","+- 0 r dx"]],paths:[{commands:[["M","l","t"],["L","dx","t"],["L","dx","dx"],["L","l","dx"],["Z"]]},{commands:[["M","l","y1"],["L","dx","y1"],["L","dx","b"],["L","l","b"],["Z"]]},{commands:[["M","x1","t"],["L","r","t"],["L","r","dx"],["L","x1","dx"],["Z"]]},{commands:[["M","x1","y1"],["L","r","y1"],["L","r","b"],["L","x1","b"],["Z"]]}],rect:["dx","dx","x1","y1"]},star10:{av:[["adj","val 42533"],["hf","val 105146"]],gd:[["a","pin 0 adj 50000"],["swd2","*/ wd2 hf 100000"],["dx1","*/ swd2 95106 100000"],["dx2","*/ swd2 58779 100000"],["x1","+- hc 0 dx1"],["x2","+- hc 0 dx2"],["x3","+- hc dx2 0"],["x4","+- hc dx1 0"],["dy1","*/ hd2 80902 100000"],["dy2","*/ hd2 30902 100000"],["y1","+- vc 0 dy1"],["y2","+- vc 0 dy2"],["y3","+- vc dy2 0"],["y4","+- vc dy1 0"],["iwd2","*/ swd2 a 50000"],["ihd2","*/ hd2 a 50000"],["sdx1","*/ iwd2 80902 100000"],["sdx2","*/ iwd2 30902 100000"],["sdy1","*/ ihd2 95106 100000"],["sdy2","*/ ihd2 58779 100000"],["sx1","+- hc 0 iwd2"],["sx2","+- hc 0 sdx1"],["sx3","+- hc 0 sdx2"],["sx4","+- hc sdx2 0"],["sx5","+- hc sdx1 0"],["sx6","+- hc iwd2 0"],["sy1","+- vc 0 sdy1"],["sy2","+- vc 0 sdy2"],["sy3","+- vc sdy2 0"],["sy4","+- vc sdy1 0"],["yAdj","+- vc 0 ihd2"]],paths:[{commands:[["M","x1","y2"],["L","sx2","sy2"],["L","x2","y1"],["L","sx3","sy1"],["L","hc","t"],["L","sx4","sy1"],["L","x3","y1"],["L","sx5","sy2"],["L","x4","y2"],["L","sx6","vc"],["L","x4","y3"],["L","sx5","sy3"],["L","x3","y4"],["L","sx4","sy4"],["L","hc","b"],["L","sx3","sy4"],["L","x2","y4"],["L","sx2","sy3"],["L","x1","y3"],["L","sx1","vc"],["Z"]]}],rect:["sx2","sy2","sx5","sy3"]},star12:{av:[["adj","val 37500"]],gd:[["a","pin 0 adj 50000"],["dx1","cos wd2 1800000"],["dy1","sin hd2 3600000"],["x1","+- hc 0 dx1"],["x3","*/ w 3 4"],["x4","+- hc dx1 0"],["y1","+- vc 0 dy1"],["y3","*/ h 3 4"],["y4","+- vc dy1 0"],["iwd2","*/ wd2 a 50000"],["ihd2","*/ hd2 a 50000"],["sdx1","cos iwd2 900000"],["sdx2","cos iwd2 2700000"],["sdx3","cos iwd2 4500000"],["sdy1","sin ihd2 4500000"],["sdy2","sin ihd2 2700000"],["sdy3","sin ihd2 900000"],["sx1","+- hc 0 sdx1"],["sx2","+- hc 0 sdx2"],["sx3","+- hc 0 sdx3"],["sx4","+- hc sdx3 0"],["sx5","+- hc sdx2 0"],["sx6","+- hc sdx1 0"],["sy1","+- vc 0 sdy1"],["sy2","+- vc 0 sdy2"],["sy3","+- vc 0 sdy3"],["sy4","+- vc sdy3 0"],["sy5","+- vc sdy2 0"],["sy6","+- vc sdy1 0"],["yAdj","+- vc 0 ihd2"]],paths:[{commands:[["M","l","vc"],["L","sx1","sy3"],["L","x1","hd4"],["L","sx2","sy2"],["L","wd4","y1"],["L","sx3","sy1"],["L","hc","t"],["L","sx4","sy1"],["L","x3","y1"],["L","sx5","sy2"],["L","x4","hd4"],["L","sx6","sy3"],["L","r","vc"],["L","sx6","sy4"],["L","x4","y3"],["L","sx5","sy5"],["L","x3","y4"],["L","sx4","sy6"],["L","hc","b"],["L","sx3","sy6"],["L","wd4","y4"],["L","sx2","sy5"],["L","x1","y3"],["L","sx1","sy4"],["Z"]]}],rect:["sx2","sy2","sx5","sy5"]},star16:{av:[["adj","val 37500"]],gd:[["a","pin 0 adj 50000"],["dx1","*/ wd2 92388 100000"],["dx2","*/ wd2 70711 100000"],["dx3","*/ wd2 38268 100000"],["dy1","*/ hd2 92388 100000"],["dy2","*/ hd2 70711 100000"],["dy3","*/ hd2 38268 100000"],["x1","+- hc 0 dx1"],["x2","+- hc 0 dx2"],["x3","+- hc 0 dx3"],["x4","+- hc dx3 0"],["x5","+- hc dx2 0"],["x6","+- hc dx1 0"],["y1","+- vc 0 dy1"],["y2","+- vc 0 dy2"],["y3","+- vc 0 dy3"],["y4","+- vc dy3 0"],["y5","+- vc dy2 0"],["y6","+- vc dy1 0"],["iwd2","*/ wd2 a 50000"],["ihd2","*/ hd2 a 50000"],["sdx1","*/ iwd2 98079 100000"],["sdx2","*/ iwd2 83147 100000"],["sdx3","*/ iwd2 55557 100000"],["sdx4","*/ iwd2 19509 100000"],["sdy1","*/ ihd2 98079 100000"],["sdy2","*/ ihd2 83147 100000"],["sdy3","*/ ihd2 55557 100000"],["sdy4","*/ ihd2 19509 100000"],["sx1","+- hc 0 sdx1"],["sx2","+- hc 0 sdx2"],["sx3","+- hc 0 sdx3"],["sx4","+- hc 0 sdx4"],["sx5","+- hc sdx4 0"],["sx6","+- hc sdx3 0"],["sx7","+- hc sdx2 0"],["sx8","+- hc sdx1 0"],["sy1","+- vc 0 sdy1"],["sy2","+- vc 0 sdy2"],["sy3","+- vc 0 sdy3"],["sy4","+- vc 0 sdy4"],["sy5","+- vc sdy4 0"],["sy6","+- vc sdy3 0"],["sy7","+- vc sdy2 0"],["sy8","+- vc sdy1 0"],["idx","cos iwd2 2700000"],["idy","sin ihd2 2700000"],["il","+- hc 0 idx"],["it","+- vc 0 idy"],["ir","+- hc idx 0"],["ib","+- vc idy 0"],["yAdj","+- vc 0 ihd2"]],paths:[{commands:[["M","l","vc"],["L","sx1","sy4"],["L","x1","y3"],["L","sx2","sy3"],["L","x2","y2"],["L","sx3","sy2"],["L","x3","y1"],["L","sx4","sy1"],["L","hc","t"],["L","sx5","sy1"],["L","x4","y1"],["L","sx6","sy2"],["L","x5","y2"],["L","sx7","sy3"],["L","x6","y3"],["L","sx8","sy4"],["L","r","vc"],["L","sx8","sy5"],["L","x6","y4"],["L","sx7","sy6"],["L","x5","y5"],["L","sx6","sy7"],["L","x4","y6"],["L","sx5","sy8"],["L","hc","b"],["L","sx4","sy8"],["L","x3","y6"],["L","sx3","sy7"],["L","x2","y5"],["L","sx2","sy6"],["L","x1","y4"],["L","sx1","sy5"],["Z"]]}],rect:["il","it","ir","ib"]},star24:{av:[["adj","val 37500"]],gd:[["a","pin 0 adj 50000"],["dx1","cos wd2 900000"],["dx2","cos wd2 1800000"],["dx3","cos wd2 2700000"],["dx4","val wd4"],["dx5","cos wd2 4500000"],["dy1","sin hd2 4500000"],["dy2","sin hd2 3600000"],["dy3","sin hd2 2700000"],["dy4","val hd4"],["dy5","sin hd2 900000"],["x1","+- hc 0 dx1"],["x2","+- hc 0 dx2"],["x3","+- hc 0 dx3"],["x4","+- hc 0 dx4"],["x5","+- hc 0 dx5"],["x6","+- hc dx5 0"],["x7","+- hc dx4 0"],["x8","+- hc dx3 0"],["x9","+- hc dx2 0"],["x10","+- hc dx1 0"],["y1","+- vc 0 dy1"],["y2","+- vc 0 dy2"],["y3","+- vc 0 dy3"],["y4","+- vc 0 dy4"],["y5","+- vc 0 dy5"],["y6","+- vc dy5 0"],["y7","+- vc dy4 0"],["y8","+- vc dy3 0"],["y9","+- vc dy2 0"],["y10","+- vc dy1 0"],["iwd2","*/ wd2 a 50000"],["ihd2","*/ hd2 a 50000"],["sdx1","*/ iwd2 99144 100000"],["sdx2","*/ iwd2 92388 100000"],["sdx3","*/ iwd2 79335 100000"],["sdx4","*/ iwd2 60876 100000"],["sdx5","*/ iwd2 38268 100000"],["sdx6","*/ iwd2 13053 100000"],["sdy1","*/ ihd2 99144 100000"],["sdy2","*/ ihd2 92388 100000"],["sdy3","*/ ihd2 79335 100000"],["sdy4","*/ ihd2 60876 100000"],["sdy5","*/ ihd2 38268 100000"],["sdy6","*/ ihd2 13053 100000"],["sx1","+- hc 0 sdx1"],["sx2","+- hc 0 sdx2"],["sx3","+- hc 0 sdx3"],["sx4","+- hc 0 sdx4"],["sx5","+- hc 0 sdx5"],["sx6","+- hc 0 sdx6"],["sx7","+- hc sdx6 0"],["sx8","+- hc sdx5 0"],["sx9","+- hc sdx4 0"],["sx10","+- hc sdx3 0"],["sx11","+- hc sdx2 0"],["sx12","+- hc sdx1 0"],["sy1","+- vc 0 sdy1"],["sy2","+- vc 0 sdy2"],["sy3","+- vc 0 sdy3"],["sy4","+- vc 0 sdy4"],["sy5","+- vc 0 sdy5"],["sy6","+- vc 0 sdy6"],["sy7","+- vc sdy6 0"],["sy8","+- vc sdy5 0"],["sy9","+- vc sdy4 0"],["sy10","+- vc sdy3 0"],["sy11","+- vc sdy2 0"],["sy12","+- vc sdy1 0"],["idx","cos iwd2 2700000"],["idy","sin ihd2 2700000"],["il","+- hc 0 idx"],["it","+- vc 0 idy"],["ir","+- hc idx 0"],["ib","+- vc idy 0"],["yAdj","+- vc 0 ihd2"]],paths:[{commands:[["M","l","vc"],["L","sx1","sy6"],["L","x1","y5"],["L","sx2","sy5"],["L","x2","y4"],["L","sx3","sy4"],["L","x3","y3"],["L","sx4","sy3"],["L","x4","y2"],["L","sx5","sy2"],["L","x5","y1"],["L","sx6","sy1"],["L","hc","t"],["L","sx7","sy1"],["L","x6","y1"],["L","sx8","sy2"],["L","x7","y2"],["L","sx9","sy3"],["L","x8","y3"],["L","sx10","sy4"],["L","x9","y4"],["L","sx11","sy5"],["L","x10","y5"],["L","sx12","sy6"],["L","r","vc"],["L","sx12","sy7"],["L","x10","y6"],["L","sx11","sy8"],["L","x9","y7"],["L","sx10","sy9"],["L","x8","y8"],["L","sx9","sy10"],["L","x7","y9"],["L","sx8","sy11"],["L","x6","y10"],["L","sx7","sy12"],["L","hc","b"],["L","sx6","sy12"],["L","x5","y10"],["L","sx5","sy11"],["L","x4","y9"],["L","sx4","sy10"],["L","x3","y8"],["L","sx3","sy9"],["L","x2","y7"],["L","sx2","sy8"],["L","x1","y6"],["L","sx1","sy7"],["Z"]]}],rect:["il","it","ir","ib"]},star32:{av:[["adj","val 37500"]],gd:[["a","pin 0 adj 50000"],["dx1","*/ wd2 98079 100000"],["dx2","*/ wd2 92388 100000"],["dx3","*/ wd2 83147 100000"],["dx4","cos wd2 2700000"],["dx5","*/ wd2 55557 100000"],["dx6","*/ wd2 38268 100000"],["dx7","*/ wd2 19509 100000"],["dy1","*/ hd2 98079 100000"],["dy2","*/ hd2 92388 100000"],["dy3","*/ hd2 83147 100000"],["dy4","sin hd2 2700000"],["dy5","*/ hd2 55557 100000"],["dy6","*/ hd2 38268 100000"],["dy7","*/ hd2 19509 100000"],["x1","+- hc 0 dx1"],["x2","+- hc 0 dx2"],["x3","+- hc 0 dx3"],["x4","+- hc 0 dx4"],["x5","+- hc 0 dx5"],["x6","+- hc 0 dx6"],["x7","+- hc 0 dx7"],["x8","+- hc dx7 0"],["x9","+- hc dx6 0"],["x10","+- hc dx5 0"],["x11","+- hc dx4 0"],["x12","+- hc dx3 0"],["x13","+- hc dx2 0"],["x14","+- hc dx1 0"],["y1","+- vc 0 dy1"],["y2","+- vc 0 dy2"],["y3","+- vc 0 dy3"],["y4","+- vc 0 dy4"],["y5","+- vc 0 dy5"],["y6","+- vc 0 dy6"],["y7","+- vc 0 dy7"],["y8","+- vc dy7 0"],["y9","+- vc dy6 0"],["y10","+- vc dy5 0"],["y11","+- vc dy4 0"],["y12","+- vc dy3 0"],["y13","+- vc dy2 0"],["y14","+- vc dy1 0"],["iwd2","*/ wd2 a 50000"],["ihd2","*/ hd2 a 50000"],["sdx1","*/ iwd2 99518 100000"],["sdx2","*/ iwd2 95694 100000"],["sdx3","*/ iwd2 88192 100000"],["sdx4","*/ iwd2 77301 100000"],["sdx5","*/ iwd2 63439 100000"],["sdx6","*/ iwd2 47140 100000"],["sdx7","*/ iwd2 29028 100000"],["sdx8","*/ iwd2 9802 100000"],["sdy1","*/ ihd2 99518 100000"],["sdy2","*/ ihd2 95694 100000"],["sdy3","*/ ihd2 88192 100000"],["sdy4","*/ ihd2 77301 100000"],["sdy5","*/ ihd2 63439 100000"],["sdy6","*/ ihd2 47140 100000"],["sdy7","*/ ihd2 29028 100000"],["sdy8","*/ ihd2 9802 100000"],["sx1","+- hc 0 sdx1"],["sx2","+- hc 0 sdx2"],["sx3","+- hc 0 sdx3"],["sx4","+- hc 0 sdx4"],["sx5","+- hc 0 sdx5"],["sx6","+- hc 0 sdx6"],["sx7","+- hc 0 sdx7"],["sx8","+- hc 0 sdx8"],["sx9","+- hc sdx8 0"],["sx10","+- hc sdx7 0"],["sx11","+- hc sdx6 0"],["sx12","+- hc sdx5 0"],["sx13","+- hc sdx4 0"],["sx14","+- hc sdx3 0"],["sx15","+- hc sdx2 0"],["sx16","+- hc sdx1 0"],["sy1","+- vc 0 sdy1"],["sy2","+- vc 0 sdy2"],["sy3","+- vc 0 sdy3"],["sy4","+- vc 0 sdy4"],["sy5","+- vc 0 sdy5"],["sy6","+- vc 0 sdy6"],["sy7","+- vc 0 sdy7"],["sy8","+- vc 0 sdy8"],["sy9","+- vc sdy8 0"],["sy10","+- vc sdy7 0"],["sy11","+- vc sdy6 0"],["sy12","+- vc sdy5 0"],["sy13","+- vc sdy4 0"],["sy14","+- vc sdy3 0"],["sy15","+- vc sdy2 0"],["sy16","+- vc sdy1 0"],["idx","cos iwd2 2700000"],["idy","sin ihd2 2700000"],["il","+- hc 0 idx"],["it","+- vc 0 idy"],["ir","+- hc idx 0"],["ib","+- vc idy 0"],["yAdj","+- vc 0 ihd2"]],paths:[{commands:[["M","l","vc"],["L","sx1","sy8"],["L","x1","y7"],["L","sx2","sy7"],["L","x2","y6"],["L","sx3","sy6"],["L","x3","y5"],["L","sx4","sy5"],["L","x4","y4"],["L","sx5","sy4"],["L","x5","y3"],["L","sx6","sy3"],["L","x6","y2"],["L","sx7","sy2"],["L","x7","y1"],["L","sx8","sy1"],["L","hc","t"],["L","sx9","sy1"],["L","x8","y1"],["L","sx10","sy2"],["L","x9","y2"],["L","sx11","sy3"],["L","x10","y3"],["L","sx12","sy4"],["L","x11","y4"],["L","sx13","sy5"],["L","x12","y5"],["L","sx14","sy6"],["L","x13","y6"],["L","sx15","sy7"],["L","x14","y7"],["L","sx16","sy8"],["L","r","vc"],["L","sx16","sy9"],["L","x14","y8"],["L","sx15","sy10"],["L","x13","y9"],["L","sx14","sy11"],["L","x12","y10"],["L","sx13","sy12"],["L","x11","y11"],["L","sx12","sy13"],["L","x10","y12"],["L","sx11","sy14"],["L","x9","y13"],["L","sx10","sy15"],["L","x8","y14"],["L","sx9","sy16"],["L","hc","b"],["L","sx8","sy16"],["L","x7","y14"],["L","sx7","sy15"],["L","x6","y13"],["L","sx6","sy14"],["L","x5","y12"],["L","sx5","sy13"],["L","x4","y11"],["L","sx4","sy12"],["L","x3","y10"],["L","sx3","sy11"],["L","x2","y9"],["L","sx2","sy10"],["L","x1","y8"],["L","sx1","sy9"],["Z"]]}],rect:["il","it","ir","ib"]},star4:{av:[["adj","val 12500"]],gd:[["a","pin 0 adj 50000"],["iwd2","*/ wd2 a 50000"],["ihd2","*/ hd2 a 50000"],["sdx","cos iwd2 2700000"],["sdy","sin ihd2 2700000"],["sx1","+- hc 0 sdx"],["sx2","+- hc sdx 0"],["sy1","+- vc 0 sdy"],["sy2","+- vc sdy 0"],["yAdj","+- vc 0 ihd2"]],paths:[{commands:[["M","l","vc"],["L","sx1","sy1"],["L","hc","t"],["L","sx2","sy1"],["L","r","vc"],["L","sx2","sy2"],["L","hc","b"],["L","sx1","sy2"],["Z"]]}],rect:["sx1","sy1","sx2","sy2"]},star5:{av:[["adj","val 19098"],["hf","val 105146"],["vf","val 110557"]],gd:[["a","pin 0 adj 50000"],["swd2","*/ wd2 hf 100000"],["shd2","*/ hd2 vf 100000"],["svc","*/ vc vf 100000"],["dx1","cos swd2 1080000"],["dx2","cos swd2 18360000"],["dy1","sin shd2 1080000"],["dy2","sin shd2 18360000"],["x1","+- hc 0 dx1"],["x2","+- hc 0 dx2"],["x3","+- hc dx2 0"],["x4","+- hc dx1 0"],["y1","+- svc 0 dy1"],["y2","+- svc 0 dy2"],["iwd2","*/ swd2 a 50000"],["ihd2","*/ shd2 a 50000"],["sdx1","cos iwd2 20520000"],["sdx2","cos iwd2 3240000"],["sdy1","sin ihd2 3240000"],["sdy2","sin ihd2 20520000"],["sx1","+- hc 0 sdx1"],["sx2","+- hc 0 sdx2"],["sx3","+- hc sdx2 0"],["sx4","+- hc sdx1 0"],["sy1","+- svc 0 sdy1"],["sy2","+- svc 0 sdy2"],["sy3","+- svc ihd2 0"],["yAdj","+- svc 0 ihd2"]],paths:[{commands:[["M","x1","y1"],["L","sx2","sy1"],["L","hc","t"],["L","sx3","sy1"],["L","x4","y1"],["L","sx4","sy2"],["L","x3","y2"],["L","hc","sy3"],["L","x2","y2"],["L","sx1","sy2"],["Z"]]}],rect:["sx1","sy1","sx4","sy3"]},star6:{av:[["adj","val 28868"],["hf","val 115470"]],gd:[["a","pin 0 adj 50000"],["swd2","*/ wd2 hf 100000"],["dx1","cos swd2 1800000"],["x1","+- hc 0 dx1"],["x2","+- hc dx1 0"],["y2","+- vc hd4 0"],["iwd2","*/ swd2 a 50000"],["ihd2","*/ hd2 a 50000"],["sdx2","*/ iwd2 1 2"],["sx1","+- hc 0 iwd2"],["sx2","+- hc 0 sdx2"],["sx3","+- hc sdx2 0"],["sx4","+- hc iwd2 0"],["sdy1","sin ihd2 3600000"],["sy1","+- vc 0 sdy1"],["sy2","+- vc sdy1 0"],["yAdj","+- vc 0 ihd2"]],paths:[{commands:[["M","x1","hd4"],["L","sx2","sy1"],["L","hc","t"],["L","sx3","sy1"],["L","x2","hd4"],["L","sx4","vc"],["L","x2","y2"],["L","sx3","sy2"],["L","hc","b"],["L","sx2","sy2"],["L","x1","y2"],["L","sx1","vc"],["Z"]]}],rect:["sx1","sy1","sx4","sy2"]},star7:{av:[["adj","val 34601"],["hf","val 102572"],["vf","val 105210"]],gd:[["a","pin 0 adj 50000"],["swd2","*/ wd2 hf 100000"],["shd2","*/ hd2 vf 100000"],["svc","*/ vc vf 100000"],["dx1","*/ swd2 97493 100000"],["dx2","*/ swd2 78183 100000"],["dx3","*/ swd2 43388 100000"],["dy1","*/ shd2 62349 100000"],["dy2","*/ shd2 22252 100000"],["dy3","*/ shd2 90097 100000"],["x1","+- hc 0 dx1"],["x2","+- hc 0 dx2"],["x3","+- hc 0 dx3"],["x4","+- hc dx3 0"],["x5","+- hc dx2 0"],["x6","+- hc dx1 0"],["y1","+- svc 0 dy1"],["y2","+- svc dy2 0"],["y3","+- svc dy3 0"],["iwd2","*/ swd2 a 50000"],["ihd2","*/ shd2 a 50000"],["sdx1","*/ iwd2 97493 100000"],["sdx2","*/ iwd2 78183 100000"],["sdx3","*/ iwd2 43388 100000"],["sx1","+- hc 0 sdx1"],["sx2","+- hc 0 sdx2"],["sx3","+- hc 0 sdx3"],["sx4","+- hc sdx3 0"],["sx5","+- hc sdx2 0"],["sx6","+- hc sdx1 0"],["sdy1","*/ ihd2 90097 100000"],["sdy2","*/ ihd2 22252 100000"],["sdy3","*/ ihd2 62349 100000"],["sy1","+- svc 0 sdy1"],["sy2","+- svc 0 sdy2"],["sy3","+- svc sdy3 0"],["sy4","+- svc ihd2 0"],["yAdj","+- svc 0 ihd2"]],paths:[{commands:[["M","x1","y2"],["L","sx1","sy2"],["L","x2","y1"],["L","sx3","sy1"],["L","hc","t"],["L","sx4","sy1"],["L","x5","y1"],["L","sx6","sy2"],["L","x6","y2"],["L","sx5","sy3"],["L","x4","y3"],["L","hc","sy4"],["L","x3","y3"],["L","sx2","sy3"],["Z"]]}],rect:["sx2","sy1","sx5","sy3"]},star8:{av:[["adj","val 37500"]],gd:[["a","pin 0 adj 50000"],["dx1","cos wd2 2700000"],["x1","+- hc 0 dx1"],["x2","+- hc dx1 0"],["dy1","sin hd2 2700000"],["y1","+- vc 0 dy1"],["y2","+- vc dy1 0"],["iwd2","*/ wd2 a 50000"],["ihd2","*/ hd2 a 50000"],["sdx1","*/ iwd2 92388 100000"],["sdx2","*/ iwd2 38268 100000"],["sdy1","*/ ihd2 92388 100000"],["sdy2","*/ ihd2 38268 100000"],["sx1","+- hc 0 sdx1"],["sx2","+- hc 0 sdx2"],["sx3","+- hc sdx2 0"],["sx4","+- hc sdx1 0"],["sy1","+- vc 0 sdy1"],["sy2","+- vc 0 sdy2"],["sy3","+- vc sdy2 0"],["sy4","+- vc sdy1 0"],["yAdj","+- vc 0 ihd2"]],paths:[{commands:[["M","l","vc"],["L","sx1","sy2"],["L","x1","y1"],["L","sx2","sy1"],["L","hc","t"],["L","sx3","sy1"],["L","x2","y1"],["L","sx4","sy2"],["L","r","vc"],["L","sx4","sy3"],["L","x2","y2"],["L","sx3","sy4"],["L","hc","b"],["L","sx2","sy4"],["L","x1","y2"],["L","sx1","sy3"],["Z"]]}],rect:["sx1","sy1","sx4","sy4"]},straightConnector1:{av:[],gd:[],paths:[{commands:[["M","l","t"],["L","r","b"]],fill:"none"}],rect:["l","t","r","b"]},stripedRightArrow:{av:[["adj1","val 50000"],["adj2","val 50000"]],gd:[["maxAdj2","*/ 84375 w ss"],["a1","pin 0 adj1 100000"],["a2","pin 0 adj2 maxAdj2"],["x4","*/ ss 5 32"],["dx5","*/ ss a2 100000"],["x5","+- r 0 dx5"],["dy1","*/ h a1 200000"],["y1","+- vc 0 dy1"],["y2","+- vc dy1 0"],["dx6","*/ dy1 dx5 hd2"],["x6","+- r 0 dx6"]],paths:[{commands:[["M","l","y1"],["L","ssd32","y1"],["L","ssd32","y2"],["L","l","y2"],["Z"],["M","ssd16","y1"],["L","ssd8","y1"],["L","ssd8","y2"],["L","ssd16","y2"],["Z"],["M","x4","y1"],["L","x5","y1"],["L","x5","t"],["L","r","vc"],["L","x5","b"],["L","x5","y2"],["L","x4","y2"],["Z"]]}],rect:["x4","y1","x6","y2"]},sun:{av:[["adj","val 25000"]],gd:[["a","pin 12500 adj 46875"],["g0","+- 50000 0 a"],["g1","*/ g0 30274 32768"],["g2","*/ g0 12540 32768"],["g3","+- g1 50000 0"],["g4","+- g2 50000 0"],["g5","+- 50000 0 g1"],["g6","+- 50000 0 g2"],["g7","*/ g0 23170 32768"],["g8","+- 50000 g7 0"],["g9","+- 50000 0 g7"],["g10","*/ g5 3 4"],["g11","*/ g6 3 4"],["g12","+- g10 3662 0"],["g13","+- g11 3662 0"],["g14","+- g11 12500 0"],["g15","+- 100000 0 g10"],["g16","+- 100000 0 g12"],["g17","+- 100000 0 g13"],["g18","+- 100000 0 g14"],["ox1","*/ w 18436 21600"],["oy1","*/ h 3163 21600"],["ox2","*/ w 3163 21600"],["oy2","*/ h 18436 21600"],["x8","*/ w g8 100000"],["x9","*/ w g9 100000"],["x10","*/ w g10 100000"],["x12","*/ w g12 100000"],["x13","*/ w g13 100000"],["x14","*/ w g14 100000"],["x15","*/ w g15 100000"],["x16","*/ w g16 100000"],["x17","*/ w g17 100000"],["x18","*/ w g18 100000"],["x19","*/ w a 100000"],["wR","*/ w g0 100000"],["hR","*/ h g0 100000"],["y8","*/ h g8 100000"],["y9","*/ h g9 100000"],["y10","*/ h g10 100000"],["y12","*/ h g12 100000"],["y13","*/ h g13 100000"],["y14","*/ h g14 100000"],["y15","*/ h g15 100000"],["y16","*/ h g16 100000"],["y17","*/ h g17 100000"],["y18","*/ h g18 100000"]],paths:[{commands:[["M","r","vc"],["L","x15","y18"],["L","x15","y14"],["Z"],["M","ox1","oy1"],["L","x16","y13"],["L","x17","y12"],["Z"],["M","hc","t"],["L","x18","y10"],["L","x14","y10"],["Z"],["M","ox2","oy1"],["L","x13","y12"],["L","x12","y13"],["Z"],["M","l","vc"],["L","x10","y14"],["L","x10","y18"],["Z"],["M","ox2","oy2"],["L","x12","y17"],["L","x13","y16"],["Z"],["M","hc","b"],["L","x14","y15"],["L","x18","y15"],["Z"],["M","ox1","oy2"],["L","x17","y16"],["L","x16","y17"],["Z"],["M","x19","vc"],["A","wR","hR","cd2","21600000"],["Z"]]}],rect:["x9","y9","x8","y8"]},swooshArrow:{av:[["adj1","val 25000"],["adj2","val 16667"]],gd:[["a1","pin 1 adj1 75000"],["maxAdj2","*/ 70000 w ss"],["a2","pin 0 adj2 maxAdj2"],["ad1","*/ h a1 100000"],["ad2","*/ ss a2 100000"],["xB","+- r 0 ad2"],["yB","+- t ssd8 0"],["alfa","*/ cd4 1 14"],["dx0","tan ssd8 alfa"],["xC","+- xB 0 dx0"],["dx1","tan ad1 alfa"],["yF","+- yB ad1 0"],["xF","+- xB dx1 0"],["xE","+- xF dx0 0"],["yE","+- yF ssd8 0"],["dy2","+- yE 0 t"],["dy22","*/ dy2 1 2"],["dy3","*/ h 1 20"],["yD","+- t dy22 dy3"],["dy4","*/ hd6 1 1"],["yP1","+- hd6 dy4 0"],["xP1","val wd6"],["dy5","*/ hd6 1 2"],["yP2","+- yF dy5 0"],["xP2","val wd4"]],paths:[{commands:[["M","l","b"],["Q","xP1","yP1","xB","yB"],["L","xC","t"],["L","r","yD"],["L","xE","yE"],["L","xF","yF"],["Q","xP2","yP2","l","b"],["Z"]]}],rect:["l","t","r","b"]},teardrop:{av:[["adj","val 100000"]],gd:[["a","pin 0 adj 200000"],["r2","sqrt 2"],["tw","*/ wd2 r2 1"],["th","*/ hd2 r2 1"],["sw","*/ tw a 100000"],["sh","*/ th a 100000"],["dx1","cos sw 2700000"],["dy1","sin sh 2700000"],["x1","+- hc dx1 0"],["y1","+- vc 0 dy1"],["x2","+/ hc x1 2"],["y2","+/ vc y1 2"],["idx","cos wd2 2700000"],["idy","sin hd2 2700000"],["il","+- hc 0 idx"],["ir","+- hc idx 0"],["it","+- vc 0 idy"],["ib","+- vc idy 0"]],paths:[{commands:[["M","l","vc"],["A","wd2","hd2","cd2","cd4"],["Q","x2","t","x1","y1"],["Q","r","y2","r","vc"],["A","wd2","hd2","0","cd4"],["A","wd2","hd2","cd4","cd4"],["Z"]]}],rect:["il","it","ir","ib"]},trapezoid:{av:[["adj","val 25000"]],gd:[["maxAdj","*/ 50000 w ss"],["a","pin 0 adj maxAdj"],["x1","*/ ss a 200000"],["x2","*/ ss a 100000"],["x3","+- r 0 x2"],["x4","+- r 0 x1"],["il","*/ wd3 a maxAdj"],["it","*/ hd3 a maxAdj"],["ir","+- r 0 il"]],paths:[{commands:[["M","l","b"],["L","x2","t"],["L","x3","t"],["L","r","b"],["Z"]]}],rect:["il","it","ir","b"]},triangle:{av:[["adj","val 50000"]],gd:[["a","pin 0 adj 100000"],["x1","*/ w a 200000"],["x2","*/ w a 100000"],["x3","+- x1 wd2 0"]],paths:[{commands:[["M","l","b"],["L","x2","t"],["L","r","b"],["Z"]]}],rect:["x1","vc","x3","b"]},upArrowCallout:{av:[["adj1","val 25000"],["adj2","val 25000"],["adj3","val 25000"],["adj4","val 64977"]],gd:[["maxAdj2","*/ 50000 w ss"],["a2","pin 0 adj2 maxAdj2"],["maxAdj1","*/ a2 2 1"],["a1","pin 0 adj1 maxAdj1"],["maxAdj3","*/ 100000 h ss"],["a3","pin 0 adj3 maxAdj3"],["q2","*/ a3 ss h"],["maxAdj4","+- 100000 0 q2"],["a4","pin 0 adj4 maxAdj4"],["dx1","*/ ss a2 100000"],["dx2","*/ ss a1 200000"],["x1","+- hc 0 dx1"],["x2","+- hc 0 dx2"],["x3","+- hc dx2 0"],["x4","+- hc dx1 0"],["y1","*/ ss a3 100000"],["dy2","*/ h a4 100000"],["y2","+- b 0 dy2"],["y3","+/ y2 b 2"]],paths:[{commands:[["M","l","y2"],["L","x2","y2"],["L","x2","y1"],["L","x1","y1"],["L","hc","t"],["L","x4","y1"],["L","x3","y1"],["L","x3","y2"],["L","r","y2"],["L","r","b"],["L","l","b"],["Z"]]}],rect:["l","y2","r","b"]},upDownArrow:{av:[["adj1","val 50000"],["adj2","val 50000"]],gd:[["maxAdj2","*/ 50000 h ss"],["a1","pin 0 adj1 100000"],["a2","pin 0 adj2 maxAdj2"],["y2","*/ ss a2 100000"],["y3","+- b 0 y2"],["dx1","*/ w a1 200000"],["x1","+- hc 0 dx1"],["x2","+- hc dx1 0"],["dy1","*/ x1 y2 wd2"],["y1","+- y2 0 dy1"],["y4","+- y3 dy1 0"]],paths:[{commands:[["M","l","y2"],["L","hc","t"],["L","r","y2"],["L","x2","y2"],["L","x2","y3"],["L","r","y3"],["L","hc","b"],["L","l","y3"],["L","x1","y3"],["L","x1","y2"],["Z"]]}],rect:["x1","y1","x2","y4"]},upDownArrowCallout:{av:[["adj1","val 25000"],["adj2","val 25000"],["adj3","val 25000"],["adj4","val 48123"]],gd:[["maxAdj2","*/ 50000 w ss"],["a2","pin 0 adj2 maxAdj2"],["maxAdj1","*/ a2 2 1"],["a1","pin 0 adj1 maxAdj1"],["maxAdj3","*/ 50000 h ss"],["a3","pin 0 adj3 maxAdj3"],["q2","*/ a3 ss hd2"],["maxAdj4","+- 100000 0 q2"],["a4","pin 0 adj4 maxAdj4"],["dx1","*/ ss a2 100000"],["dx2","*/ ss a1 200000"],["x1","+- hc 0 dx1"],["x2","+- hc 0 dx2"],["x3","+- hc dx2 0"],["x4","+- hc dx1 0"],["y1","*/ ss a3 100000"],["y4","+- b 0 y1"],["dy2","*/ h a4 200000"],["y2","+- vc 0 dy2"],["y3","+- vc dy2 0"]],paths:[{commands:[["M","l","y2"],["L","x2","y2"],["L","x2","y1"],["L","x1","y1"],["L","hc","t"],["L","x4","y1"],["L","x3","y1"],["L","x3","y2"],["L","r","y2"],["L","r","y3"],["L","x3","y3"],["L","x3","y4"],["L","x4","y4"],["L","hc","b"],["L","x1","y4"],["L","x2","y4"],["L","x2","y3"],["L","l","y3"],["Z"]]}],rect:["l","y2","r","y3"]},uturnArrow:{av:[["adj1","val 25000"],["adj2","val 25000"],["adj3","val 25000"],["adj4","val 43750"],["adj5","val 75000"]],gd:[["a2","pin 0 adj2 25000"],["maxAdj1","*/ a2 2 1"],["a1","pin 0 adj1 maxAdj1"],["q2","*/ a1 ss h"],["q3","+- 100000 0 q2"],["maxAdj3","*/ q3 h ss"],["a3","pin 0 adj3 maxAdj3"],["q1","+- a3 a1 0"],["minAdj5","*/ q1 ss h"],["a5","pin minAdj5 adj5 100000"],["th","*/ ss a1 100000"],["aw2","*/ ss a2 100000"],["th2","*/ th 1 2"],["dh2","+- aw2 0 th2"],["y5","*/ h a5 100000"],["ah","*/ ss a3 100000"],["y4","+- y5 0 ah"],["x9","+- r 0 dh2"],["bw","*/ x9 1 2"],["bs","min bw y4"],["maxAdj4","*/ bs 100000 ss"],["a4","pin 0 adj4 maxAdj4"],["bd","*/ ss a4 100000"],["bd3","+- bd 0 th"],["bd2","max bd3 0"],["x3","+- th bd2 0"],["x8","+- r 0 aw2"],["x6","+- x8 0 aw2"],["x7","+- x6 dh2 0"],["x4","+- x9 0 bd"],["x5","+- x7 0 bd2"],["cx","+/ th x7 2"]],paths:[{commands:[["M","l","b"],["L","l","bd"],["A","bd","bd","cd2","cd4"],["L","x4","t"],["A","bd","bd","3cd4","cd4"],["L","x9","y4"],["L","r","y4"],["L","x8","y5"],["L","x6","y4"],["L","x7","y4"],["L","x7","x3"],["A","bd2","bd2","0","-5400000"],["L","x3","th"],["A","bd2","bd2","3cd4","-5400000"],["L","th","b"],["Z"]]}],rect:["l","t","r","b"]},verticalScroll:{av:[["adj","val 12500"]],gd:[["a","pin 0 adj 25000"],["ch","*/ ss a 100000"],["ch2","*/ ch 1 2"],["ch4","*/ ch 1 4"],["x3","+- ch ch2 0"],["x4","+- ch ch 0"],["x6","+- r 0 ch"],["x7","+- r 0 ch2"],["x5","+- x6 0 ch2"],["y3","+- b 0 ch"],["y4","+- b 0 ch2"]],paths:[{commands:[["M","ch2","b"],["A","ch2","ch2","cd4","-5400000"],["L","ch2","y4"],["A","ch4","ch4","cd4","-10800000"],["L","ch","y3"],["L","ch","ch2"],["A","ch2","ch2","cd2","cd4"],["L","x7","t"],["A","ch2","ch2","3cd4","cd2"],["L","x6","ch"],["L","x6","y4"],["A","ch2","ch2","0","cd4"],["Z"],["M","x4","ch2"],["A","ch2","ch2","0","cd4"],["A","ch4","ch4","cd4","cd2"],["Z"]],stroke:!1},{commands:[["M","x4","ch2"],["A","ch2","ch2","0","cd4"],["A","ch4","ch4","cd4","cd2"],["Z"],["M","ch","y4"],["A","ch2","ch2","0","3cd4"],["A","ch4","ch4","3cd4","cd2"],["Z"]],fill:"darkenLess",stroke:!1},{commands:[["M","ch","y3"],["L","ch","ch2"],["A","ch2","ch2","cd2","cd4"],["L","x7","t"],["A","ch2","ch2","3cd4","cd2"],["L","x6","ch"],["L","x6","y4"],["A","ch2","ch2","0","cd4"],["L","ch2","b"],["A","ch2","ch2","cd4","cd2"],["Z"],["M","x3","t"],["A","ch2","ch2","3cd4","cd2"],["A","ch4","ch4","cd4","cd2"],["L","x4","ch2"],["M","x6","ch"],["L","x3","ch"],["M","ch2","y3"],["A","ch4","ch4","3cd4","cd2"],["L","ch","y4"],["M","ch2","b"],["A","ch2","ch2","cd4","-5400000"],["L","ch","y3"]],fill:"none"}],rect:["ch","ch","x6","y4"]},wave:{av:[["adj1","val 12500"],["adj2","val 0"]],gd:[["a1","pin 0 adj1 20000"],["a2","pin -10000 adj2 10000"],["y1","*/ h a1 100000"],["dy2","*/ y1 10 3"],["y2","+- y1 0 dy2"],["y3","+- y1 dy2 0"],["y4","+- b 0 y1"],["y5","+- y4 0 dy2"],["y6","+- y4 dy2 0"],["dx1","*/ w a2 100000"],["of2","*/ w a2 50000"],["x1","abs dx1"],["dx2","?: of2 0 of2"],["x2","+- l 0 dx2"],["dx5","?: of2 of2 0"],["x5","+- r 0 dx5"],["dx3","+/ dx2 x5 3"],["x3","+- x2 dx3 0"],["x4","+/ x3 x5 2"],["x6","+- l dx5 0"],["x10","+- r dx2 0"],["x7","+- x6 dx3 0"],["x8","+/ x7 x10 2"],["x9","+- r 0 x1"],["xAdj","+- hc dx1 0"],["xAdj2","+- hc 0 dx1"],["il","max x2 x6"],["ir","min x5 x10"],["it","*/ h a1 50000"],["ib","+- b 0 it"]],paths:[{commands:[["M","x2","y1"],["C","x3","y2","x4","y3","x5","y1"],["L","x10","y4"],["C","x8","y6","x7","y5","x6","y4"],["Z"]]}],rect:["il","it","ir","ib"]},wedgeEllipseCallout:{av:[["adj1","val -20833"],["adj2","val 62500"]],gd:[["dxPos","*/ w adj1 100000"],["dyPos","*/ h adj2 100000"],["xPos","+- hc dxPos 0"],["yPos","+- vc dyPos 0"],["sdx","*/ dxPos h 1"],["sdy","*/ dyPos w 1"],["pang","at2 sdx sdy"],["stAng","+- pang 660000 0"],["enAng","+- pang 0 660000"],["dx1","cos wd2 stAng"],["dy1","sin hd2 stAng"],["x1","+- hc dx1 0"],["y1","+- vc dy1 0"],["dx2","cos wd2 enAng"],["dy2","sin hd2 enAng"],["x2","+- hc dx2 0"],["y2","+- vc dy2 0"],["stAng1","at2 dx1 dy1"],["enAng1","at2 dx2 dy2"],["swAng1","+- enAng1 0 stAng1"],["swAng2","+- swAng1 21600000 0"],["swAng","?: swAng1 swAng1 swAng2"],["idx","cos wd2 2700000"],["idy","sin hd2 2700000"],["il","+- hc 0 idx"],["ir","+- hc idx 0"],["it","+- vc 0 idy"],["ib","+- vc idy 0"]],paths:[{commands:[["M","xPos","yPos"],["L","x1","y1"],["A","wd2","hd2","stAng1","swAng"],["Z"]]}],rect:["il","it","ir","ib"]},wedgeRectCallout:{av:[["adj1","val -20833"],["adj2","val 62500"]],gd:[["dxPos","*/ w adj1 100000"],["dyPos","*/ h adj2 100000"],["xPos","+- hc dxPos 0"],["yPos","+- vc dyPos 0"],["dx","+- xPos 0 hc"],["dy","+- yPos 0 vc"],["dq","*/ dxPos h w"],["ady","abs dyPos"],["adq","abs dq"],["dz","+- ady 0 adq"],["xg1","?: dxPos 7 2"],["xg2","?: dxPos 10 5"],["x1","*/ w xg1 12"],["x2","*/ w xg2 12"],["yg1","?: dyPos 7 2"],["yg2","?: dyPos 10 5"],["y1","*/ h yg1 12"],["y2","*/ h yg2 12"],["t1","?: dxPos l xPos"],["xl","?: dz l t1"],["t2","?: dyPos x1 xPos"],["xt","?: dz t2 x1"],["t3","?: dxPos xPos r"],["xr","?: dz r t3"],["t4","?: dyPos xPos x1"],["xb","?: dz t4 x1"],["t5","?: dxPos y1 yPos"],["yl","?: dz y1 t5"],["t6","?: dyPos t yPos"],["yt","?: dz t6 t"],["t7","?: dxPos yPos y1"],["yr","?: dz y1 t7"],["t8","?: dyPos yPos b"],["yb","?: dz t8 b"]],paths:[{commands:[["M","l","t"],["L","x1","t"],["L","xt","yt"],["L","x2","t"],["L","r","t"],["L","r","y1"],["L","xr","yr"],["L","r","y2"],["L","r","b"],["L","x2","b"],["L","xb","yb"],["L","x1","b"],["L","l","b"],["L","l","y2"],["L","xl","yl"],["L","l","y1"],["Z"]]}],rect:["l","t","r","b"]},wedgeRoundRectCallout:{av:[["adj1","val -20833"],["adj2","val 62500"],["adj3","val 16667"]],gd:[["dxPos","*/ w adj1 100000"],["dyPos","*/ h adj2 100000"],["xPos","+- hc dxPos 0"],["yPos","+- vc dyPos 0"],["dq","*/ dxPos h w"],["ady","abs dyPos"],["adq","abs dq"],["dz","+- ady 0 adq"],["xg1","?: dxPos 7 2"],["xg2","?: dxPos 10 5"],["x1","*/ w xg1 12"],["x2","*/ w xg2 12"],["yg1","?: dyPos 7 2"],["yg2","?: dyPos 10 5"],["y1","*/ h yg1 12"],["y2","*/ h yg2 12"],["t1","?: dxPos l xPos"],["xl","?: dz l t1"],["t2","?: dyPos x1 xPos"],["xt","?: dz t2 x1"],["t3","?: dxPos xPos r"],["xr","?: dz r t3"],["t4","?: dyPos xPos x1"],["xb","?: dz t4 x1"],["t5","?: dxPos y1 yPos"],["yl","?: dz y1 t5"],["t6","?: dyPos t yPos"],["yt","?: dz t6 t"],["t7","?: dxPos yPos y1"],["yr","?: dz y1 t7"],["t8","?: dyPos yPos b"],["yb","?: dz t8 b"],["u1","*/ ss adj3 100000"],["u2","+- r 0 u1"],["v2","+- b 0 u1"],["il","*/ u1 29289 100000"],["ir","+- r 0 il"],["ib","+- b 0 il"]],paths:[{commands:[["M","l","u1"],["A","u1","u1","cd2","cd4"],["L","x1","t"],["L","xt","yt"],["L","x2","t"],["L","u2","t"],["A","u1","u1","3cd4","cd4"],["L","r","y1"],["L","xr","yr"],["L","r","y2"],["L","r","v2"],["A","u1","u1","0","cd4"],["L","x2","b"],["L","xb","yb"],["L","x1","b"],["L","u1","b"],["A","u1","u1","cd4","cd4"],["L","l","y2"],["L","xl","yl"],["L","l","y1"],["Z"]]}],rect:["il","il","ir","ib"]},upArrow:{av:[["adj1","val 50000"],["adj2","val 50000"]],gd:[["maxAdj2","*/ 100000 h ss"],["a1","pin 0 adj1 100000"],["a2","pin 0 adj2 maxAdj2"],["dy2","*/ ss a2 100000"],["y2","+- t dy2 0"],["dx1","*/ w a1 200000"],["x1","+- hc 0 dx1"],["x2","+- hc dx1 0"],["dy1","*/ x1 dy2 wd2"],["y1","+- y2 0 dy1"]],paths:[{commands:[["M","l","y2"],["L","hc","t"],["L","r","y2"],["L","x2","y2"],["L","x2","b"],["L","x1","b"],["L","x1","y2"],["Z"]]}],rect:["x1","y1","x2","b"]}};var $a=(e,t,n)=>({x:kt(e,n),y:kt(t,n)}),mB=(e,t)=>{let[n,...r]=e,a=l=>{let i=r[l];if(i===void 0)throw new $n(`preset command ${n} is missing operands`);return i};switch(n){case"M":return{kind:"moveTo",pt:$a(a(0),a(1),t)};case"L":return{kind:"lnTo",pt:$a(a(0),a(1),t)};case"A":return{kind:"arcTo",wR:kt(a(0),t),hR:kt(a(1),t),stAng:kt(a(2),t),swAng:kt(a(3),t)};case"Q":return{kind:"quadBezTo",pts:[$a(a(0),a(1),t),$a(a(2),a(3),t)]};case"C":return{kind:"cubicBezTo",pts:[$a(a(0),a(1),t),$a(a(2),a(3),t),$a(a(4),a(5),t)]};case"Z":return{kind:"close"};default:throw new $n(`unknown preset command: ${n}`)}},yf=(e,t,n,r)=>{if(!Object.hasOwn(gf,e))return null;let a=gf[e],l=ff(t,n);for(let[c,p]of a.av)l.set(c,Object.hasOwn(r,c)?r[c]:cc(p,l));for(let[c,p]of a.gd)l.set(c,cc(p,l));let i=null;if(a.rect){let[c,p,u,f]=a.rect.map(y=>kt(y,l));i={l:c,t:p,r:u,b:f}}return{paths:a.paths.map(c=>({w:c.w??null,h:c.h??null,fill:c.fill??"norm",stroke:c.stroke??!0,commands:c.commands.map(p=>mB(p,l))})),textRect:i}};var pB=o("a","r",d.dml),d2=o("a","rPr",d.dml),uB=o("a","hlinkClick",d.dml),fB=o("r","id",d.officeDocRels),xf=(e,t,n)=>{for(let r of e.children)if(!(r.kind!=="element"||r.name.namespaceURI!==d.dml||r.name.localName!=="p"))for(let a of r.children){if(a.kind!=="element"||a.name.namespaceURI!==d.dml||a.name.localName!=="r")continue;let l=m(a,d2);l===null&&(l=h(d2),a.children.unshift(l)),Ql(l,t,n)}},Ql=(e,t,n)=>{let r=t===null?null:[b(fB,t)];r&&n!==void 0&&r.push(b(o("","tooltip",""),n)),ts(e,r?h(uB,{attrs:r}):null)},ts=(e,t)=>{if(e.children=e.children.filter(r=>!(r.kind==="element"&&r.name.namespaceURI===d.dml&&r.name.localName==="hlinkClick")),!t)return;let n=e.children.findIndex(r=>r.kind==="element"&&r.name.namespaceURI===d.dml&&["hlinkMouseOver","hlinkHover","rtl","extLst"].includes(r.name.localName));e.children.splice(n<0?e.children.length:n,0,t)};var hB=o("p","blipFill",d.pml),gB=o("a","blip",d.dml),yB=o("r","embed",d.officeDocRels),Ua=e=>{let t=m(e,hB);if(t===null)return null;let n=m(t,gB);return n===null?null:x(n,yB)};var eo=["Simple Frame, White","Beveled Matte, White","Metal Frame","Drop Shadow Rectangle","Reflected Rounded Rectangle","Soft Edge Rectangle","Double Frame, Black","Thick Matte, Black","Simple Frame, Black","Beveled Oval, Black","Compound Frame, Black","Moderate Frame, Black","Center Shadow Rectangle","Rounded Diagonal Corner, White","Snip Diagonal Corner, White","Moderate Frame, White","Rotated, White","Perspective Shadow, White","Relaxed Perspective, White","Soft Edge Oval","Bevel Rectangle","Bevel Perspective","Reflected Perspective Right","Bevel Perspective Left, White","Reflected Bevel, Black","Reflected Bevel, White","Metal Rounded Rectangle","Metal Oval"],c2=['<a:prstGeom prst="rect"><a:avLst/></a:prstGeom><a:solidFill><a:srgbClr val="FFFFFF"><a:shade val="85000"/></a:srgbClr></a:solidFill><a:ln w="88900" cap="sq"><a:solidFill><a:srgbClr val="FFFFFF"/></a:solidFill><a:miter lim="800000"/></a:ln><a:effectLst><a:outerShdw blurRad="55000" dist="18000" dir="5400000" algn="tl" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="40000"/></a:srgbClr></a:outerShdw></a:effectLst><a:scene3d><a:camera prst="orthographicFront"/><a:lightRig rig="twoPt" dir="t"><a:rot lat="0" lon="0" rev="7200000"/></a:lightRig></a:scene3d><a:sp3d><a:bevelT w="25400" h="19050"/><a:contourClr><a:srgbClr val="FFFFFF"/></a:contourClr></a:sp3d>','<a:prstGeom prst="rect"><a:avLst/></a:prstGeom><a:solidFill><a:srgbClr val="FFFFFF"><a:shade val="85000"/></a:srgbClr></a:solidFill><a:ln w="190500" cap="rnd"><a:solidFill><a:srgbClr val="FFFFFF"/></a:solidFill></a:ln><a:effectLst><a:outerShdw blurRad="50000" algn="tl" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="41000"/></a:srgbClr></a:outerShdw></a:effectLst><a:scene3d><a:camera prst="orthographicFront"/><a:lightRig rig="twoPt" dir="t"><a:rot lat="0" lon="0" rev="7800000"/></a:lightRig></a:scene3d><a:sp3d contourW="6350"><a:bevelT w="50800" h="16510"/><a:contourClr><a:srgbClr val="C0C0C0"/></a:contourClr></a:sp3d>','<a:prstGeom prst="rect"><a:avLst/></a:prstGeom><a:ln w="190500" cap="sq"><a:solidFill><a:srgbClr val="C8C6BD"/></a:solidFill><a:prstDash val="solid"/><a:miter lim="800000"/></a:ln><a:effectLst><a:outerShdw blurRad="254000" algn="bl" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="43000"/></a:srgbClr></a:outerShdw></a:effectLst><a:scene3d><a:camera prst="perspectiveFront" fov="5400000"/><a:lightRig rig="threePt" dir="t"><a:rot lat="0" lon="0" rev="2100000"/></a:lightRig></a:scene3d><a:sp3d extrusionH="25400"><a:bevelT w="304800" h="152400" prst="hardEdge"/><a:extrusionClr><a:srgbClr val="000000"/></a:extrusionClr></a:sp3d>','<a:prstGeom prst="rect"><a:avLst/></a:prstGeom><a:ln><a:noFill/></a:ln><a:effectLst><a:outerShdw blurRad="292100" dist="139700" dir="2700000" algn="tl" rotWithShape="0"><a:srgbClr val="333333"><a:alpha val="65000"/></a:srgbClr></a:outerShdw></a:effectLst>','<a:prstGeom prst="roundRect"><a:avLst><a:gd name="adj" fmla="val 8594"/></a:avLst></a:prstGeom><a:solidFill><a:srgbClr val="FFFFFF"><a:shade val="85000"/></a:srgbClr></a:solidFill><a:ln><a:noFill/></a:ln><a:effectLst><a:reflection blurRad="12700" stA="38000" endPos="28000" dist="5000" dir="5400000" sy="-100000" algn="bl" rotWithShape="0"/></a:effectLst>','<a:prstGeom prst="rect"><a:avLst/></a:prstGeom><a:ln><a:noFill/></a:ln><a:effectLst><a:softEdge rad="112500"/></a:effectLst>','<a:prstGeom prst="rect"><a:avLst/></a:prstGeom><a:ln w="228600" cap="sq" cmpd="thickThin"><a:solidFill><a:srgbClr val="000000"/></a:solidFill><a:prstDash val="solid"/><a:miter lim="800000"/></a:ln><a:effectLst><a:innerShdw blurRad="76200"><a:srgbClr val="000000"/></a:innerShdw></a:effectLst>','<a:prstGeom prst="rect"><a:avLst/></a:prstGeom><a:solidFill><a:srgbClr val="000000"><a:shade val="95000"/></a:srgbClr></a:solidFill><a:ln w="444500" cap="sq"><a:solidFill><a:srgbClr val="000000"/></a:solidFill><a:miter lim="800000"/></a:ln><a:effectLst><a:outerShdw blurRad="254000" dist="190500" dir="2700000" sy="90000" algn="bl" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="40000"/></a:srgbClr></a:outerShdw></a:effectLst>','<a:prstGeom prst="rect"><a:avLst/></a:prstGeom><a:ln w="38100" cap="sq"><a:solidFill><a:srgbClr val="000000"/></a:solidFill><a:prstDash val="solid"/><a:miter lim="800000"/></a:ln><a:effectLst><a:outerShdw blurRad="50800" dist="38100" dir="2700000" algn="tl" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="43000"/></a:srgbClr></a:outerShdw></a:effectLst>','<a:prstGeom prst="ellipse"><a:avLst/></a:prstGeom><a:ln w="63500" cap="rnd"><a:solidFill><a:srgbClr val="333333"/></a:solidFill></a:ln><a:effectLst><a:outerShdw blurRad="381000" dist="292100" dir="5400000" sx="-80000" sy="-18000" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="22000"/></a:srgbClr></a:outerShdw></a:effectLst><a:scene3d><a:camera prst="orthographicFront"/><a:lightRig rig="contrasting" dir="t"><a:rot lat="0" lon="0" rev="3000000"/></a:lightRig></a:scene3d><a:sp3d contourW="7620"><a:bevelT w="95250" h="31750"/><a:contourClr><a:srgbClr val="333333"/></a:contourClr></a:sp3d>','<a:prstGeom prst="rect"><a:avLst/></a:prstGeom><a:ln w="88900" cap="sq" cmpd="thickThin"><a:solidFill><a:srgbClr val="000000"/></a:solidFill><a:prstDash val="solid"/><a:miter lim="800000"/></a:ln><a:effectLst><a:innerShdw blurRad="76200"><a:srgbClr val="000000"/></a:innerShdw></a:effectLst>','<a:prstGeom prst="rect"><a:avLst/></a:prstGeom><a:ln w="127000" cap="sq"><a:solidFill><a:srgbClr val="000000"/></a:solidFill><a:miter lim="800000"/></a:ln><a:effectLst><a:outerShdw blurRad="57150" dist="50800" dir="2700000" algn="tl" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="40000"/></a:srgbClr></a:outerShdw></a:effectLst>','<a:prstGeom prst="rect"><a:avLst/></a:prstGeom><a:ln><a:noFill/></a:ln><a:effectLst><a:outerShdw blurRad="190500" algn="tl" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="70000"/></a:srgbClr></a:outerShdw></a:effectLst>','<a:prstGeom prst="round2DiagRect"><a:avLst><a:gd name="adj1" fmla="val 16667"/><a:gd name="adj2" fmla="val 0"/></a:avLst></a:prstGeom><a:ln w="88900" cap="sq"><a:solidFill><a:srgbClr val="FFFFFF"/></a:solidFill><a:miter lim="800000"/></a:ln><a:effectLst><a:outerShdw blurRad="254000" algn="tl" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="43000"/></a:srgbClr></a:outerShdw></a:effectLst>','<a:prstGeom prst="snip2DiagRect"><a:avLst/></a:prstGeom><a:solidFill><a:srgbClr val="FFFFFF"><a:shade val="85000"/></a:srgbClr></a:solidFill><a:ln w="88900" cap="sq"><a:solidFill><a:srgbClr val="FFFFFF"/></a:solidFill><a:miter lim="800000"/></a:ln><a:effectLst><a:outerShdw blurRad="88900" algn="tl" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="45000"/></a:srgbClr></a:outerShdw></a:effectLst><a:scene3d><a:camera prst="orthographicFront"/><a:lightRig rig="twoPt" dir="t"><a:rot lat="0" lon="0" rev="7200000"/></a:lightRig></a:scene3d><a:sp3d><a:bevelT w="25400" h="19050"/><a:contourClr><a:srgbClr val="FFFFFF"/></a:contourClr></a:sp3d>','<a:prstGeom prst="rect"><a:avLst/></a:prstGeom><a:solidFill><a:srgbClr val="FFFFFF"><a:shade val="85000"/></a:srgbClr></a:solidFill><a:ln w="190500" cap="sq"><a:solidFill><a:srgbClr val="FFFFFF"/></a:solidFill><a:miter lim="800000"/></a:ln><a:effectLst><a:outerShdw blurRad="55000" dist="18000" dir="5400000" algn="tl" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="40000"/></a:srgbClr></a:outerShdw></a:effectLst><a:scene3d><a:camera prst="orthographicFront"/><a:lightRig rig="twoPt" dir="t"><a:rot lat="0" lon="0" rev="7200000"/></a:lightRig></a:scene3d><a:sp3d><a:bevelT w="25400" h="19050"/><a:contourClr><a:srgbClr val="FFFFFF"/></a:contourClr></a:sp3d>','<a:prstGeom prst="rect"><a:avLst/></a:prstGeom><a:solidFill><a:srgbClr val="FFFFFF"><a:shade val="85000"/></a:srgbClr></a:solidFill><a:ln w="190500" cap="sq"><a:solidFill><a:srgbClr val="FFFFFF"/></a:solidFill><a:miter lim="800000"/></a:ln><a:effectLst><a:outerShdw blurRad="65000" dist="50800" dir="12900000" kx="195000" ky="145000" algn="tl" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="30000"/></a:srgbClr></a:outerShdw></a:effectLst><a:scene3d><a:camera prst="orthographicFront"><a:rot lat="0" lon="0" rev="360000"/></a:camera><a:lightRig rig="twoPt" dir="t"><a:rot lat="0" lon="0" rev="7200000"/></a:lightRig></a:scene3d><a:sp3d contourW="12700"><a:bevelT w="25400" h="19050"/><a:contourClr><a:srgbClr val="969696"/></a:contourClr></a:sp3d>','<a:prstGeom prst="rect"><a:avLst/></a:prstGeom><a:ln w="127000" cap="rnd"><a:solidFill><a:srgbClr val="FFFFFF"/></a:solidFill></a:ln><a:effectLst><a:outerShdw blurRad="76200" dist="95250" dir="10500000" sx="97000" sy="23000" kx="900000" algn="br" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="20000"/></a:srgbClr></a:outerShdw></a:effectLst><a:scene3d><a:camera prst="orthographicFront"/><a:lightRig rig="twoPt" dir="t"><a:rot lat="0" lon="0" rev="7800000"/></a:lightRig></a:scene3d><a:sp3d contourW="6350"><a:bevelT w="50800" h="16510"/><a:contourClr><a:srgbClr val="C0C0C0"/></a:contourClr></a:sp3d>','<a:prstGeom prst="rect"><a:avLst/></a:prstGeom><a:solidFill><a:srgbClr val="FFFFFF"><a:shade val="85000"/></a:srgbClr></a:solidFill><a:ln w="101600" cap="sq"><a:solidFill><a:srgbClr val="FDFDFD"/></a:solidFill><a:miter lim="800000"/></a:ln><a:effectLst><a:outerShdw blurRad="57150" dist="37500" dir="7560000" sy="98000" kx="110000" ky="200000" algn="tl" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="20000"/></a:srgbClr></a:outerShdw></a:effectLst><a:scene3d><a:camera prst="perspectiveRelaxed"><a:rot lat="18960000" lon="0" rev="0"/></a:camera><a:lightRig rig="twoPt" dir="t"><a:rot lat="0" lon="0" rev="7200000"/></a:lightRig></a:scene3d><a:sp3d prstMaterial="matte"><a:bevelT w="22860" h="12700"/><a:contourClr><a:srgbClr val="FFFFFF"/></a:contourClr></a:sp3d>','<a:prstGeom prst="ellipse"><a:avLst/></a:prstGeom><a:ln><a:noFill/></a:ln><a:effectLst><a:softEdge rad="112500"/></a:effectLst>','<a:prstGeom prst="roundRect"><a:avLst><a:gd name="adj" fmla="val 16667"/></a:avLst></a:prstGeom><a:ln><a:noFill/></a:ln><a:effectLst><a:outerShdw blurRad="76200" dist="38100" dir="7800000" algn="tl" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="40000"/></a:srgbClr></a:outerShdw></a:effectLst><a:scene3d><a:camera prst="orthographicFront"/><a:lightRig rig="contrasting" dir="t"><a:rot lat="0" lon="0" rev="4200000"/></a:lightRig></a:scene3d><a:sp3d prstMaterial="plastic"><a:bevelT w="381000" h="114300" prst="relaxedInset"/><a:contourClr><a:srgbClr val="969696"/></a:contourClr></a:sp3d>','<a:prstGeom prst="roundRect"><a:avLst><a:gd name="adj" fmla="val 16667"/></a:avLst></a:prstGeom><a:ln><a:noFill/></a:ln><a:effectLst><a:outerShdw blurRad="152400" dist="12000" dir="900000" sy="98000" kx="110000" ky="200000" algn="tl" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="30000"/></a:srgbClr></a:outerShdw></a:effectLst><a:scene3d><a:camera prst="perspectiveRelaxed"><a:rot lat="19800000" lon="1200000" rev="20820000"/></a:camera><a:lightRig rig="threePt" dir="t"/></a:scene3d><a:sp3d contourW="6350" prstMaterial="matte"><a:bevelT w="101600" h="101600"/><a:contourClr><a:srgbClr val="969696"/></a:contourClr></a:sp3d>','<a:prstGeom prst="rect"><a:avLst/></a:prstGeom><a:ln><a:noFill/></a:ln><a:effectLst><a:reflection blurRad="12700" stA="30000" endPos="30000" dist="5000" dir="5400000" sy="-100000" algn="bl" rotWithShape="0"/></a:effectLst><a:scene3d><a:camera prst="perspectiveContrastingLeftFacing"><a:rot lat="300000" lon="19800000" rev="0"/></a:camera><a:lightRig rig="threePt" dir="t"><a:rot lat="0" lon="0" rev="2700000"/></a:lightRig></a:scene3d><a:sp3d><a:bevelT w="63500" h="50800"/></a:sp3d>','<a:prstGeom prst="rect"><a:avLst/></a:prstGeom><a:solidFill><a:srgbClr val="FFFFFF"><a:shade val="85000"/></a:srgbClr></a:solidFill><a:ln w="190500" cap="rnd"><a:solidFill><a:srgbClr val="FFFFFF"/></a:solidFill></a:ln><a:effectLst><a:outerShdw blurRad="36195" dist="12700" dir="11400000" algn="tl" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="33000"/></a:srgbClr></a:outerShdw></a:effectLst><a:scene3d><a:camera prst="perspectiveContrastingLeftFacing"><a:rot lat="540000" lon="2100000" rev="0"/></a:camera><a:lightRig rig="soft" dir="t"/></a:scene3d><a:sp3d contourW="12700" prstMaterial="matte"><a:bevelT w="63500" h="50800"/><a:contourClr><a:srgbClr val="C0C0C0"/></a:contourClr></a:sp3d>','<a:prstGeom prst="roundRect"><a:avLst><a:gd name="adj" fmla="val 4167"/></a:avLst></a:prstGeom><a:solidFill><a:srgbClr val="FFFFFF"/></a:solidFill><a:ln w="76200" cap="sq"><a:solidFill><a:srgbClr val="292929"/></a:solidFill><a:miter lim="800000"/></a:ln><a:effectLst><a:reflection blurRad="12700" stA="28000" endPos="28000" dist="5000" dir="5400000" sy="-100000" algn="bl" rotWithShape="0"/></a:effectLst><a:scene3d><a:camera prst="orthographicFront"/><a:lightRig rig="threePt" dir="t"><a:rot lat="0" lon="0" rev="2700000"/></a:lightRig></a:scene3d><a:sp3d><a:bevelT h="38100"/><a:contourClr><a:srgbClr val="C0C0C0"/></a:contourClr></a:sp3d>','<a:prstGeom prst="roundRect"><a:avLst><a:gd name="adj" fmla="val 4167"/></a:avLst></a:prstGeom><a:solidFill><a:srgbClr val="FFFFFF"/></a:solidFill><a:ln w="76200" cap="sq"><a:solidFill><a:srgbClr val="EAEAEA"/></a:solidFill><a:miter lim="800000"/></a:ln><a:effectLst><a:reflection blurRad="12700" stA="33000" endPos="28000" dist="5000" dir="5400000" sy="-100000" algn="bl" rotWithShape="0"/></a:effectLst><a:scene3d><a:camera prst="orthographicFront"/><a:lightRig rig="threePt" dir="t"><a:rot lat="0" lon="0" rev="2700000"/></a:lightRig></a:scene3d><a:sp3d contourW="6350"><a:bevelT h="38100"/><a:contourClr><a:srgbClr val="C0C0C0"/></a:contourClr></a:sp3d>','<a:prstGeom prst="roundRect"><a:avLst><a:gd name="adj" fmla="val 11111"/></a:avLst></a:prstGeom><a:ln w="190500" cap="rnd"><a:solidFill><a:srgbClr val="C8C6BD"/></a:solidFill><a:prstDash val="solid"/></a:ln><a:effectLst><a:outerShdw blurRad="101600" dist="50800" dir="7200000" algn="tl" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="45000"/></a:srgbClr></a:outerShdw></a:effectLst><a:scene3d><a:camera prst="perspectiveFront" fov="5400000"/><a:lightRig rig="threePt" dir="t"><a:rot lat="0" lon="0" rev="19200000"/></a:lightRig></a:scene3d><a:sp3d extrusionH="25400"><a:bevelT w="304800" h="152400" prst="hardEdge"/><a:extrusionClr><a:srgbClr val="FFFFFF"/></a:extrusionClr></a:sp3d>','<a:prstGeom prst="ellipse"><a:avLst/></a:prstGeom><a:ln w="190500" cap="rnd"><a:solidFill><a:srgbClr val="C8C6BD"/></a:solidFill><a:prstDash val="solid"/></a:ln><a:effectLst><a:outerShdw blurRad="127000" algn="bl" rotWithShape="0"><a:srgbClr val="000000"/></a:outerShdw></a:effectLst><a:scene3d><a:camera prst="perspectiveFront" fov="5400000"/><a:lightRig rig="threePt" dir="t"><a:rot lat="0" lon="0" rev="19200000"/></a:lightRig></a:scene3d><a:sp3d extrusionH="25400"><a:bevelT w="304800" h="152400" prst="hardEdge"/><a:extrusionClr><a:srgbClr val="000000"/></a:extrusionClr></a:sp3d>'];var p2=new Map(eo.map((e,t)=>[e,t])),bf=e=>p2.has(e),u2=e=>{let t=c2[p2.get(e)];return $(`<a:r xmlns:a="${d.dml}">${t}</a:r>`).root.children.filter(r=>r.kind==="element")},mc=(e,t)=>e.kind==="element"&&e.name.namespaceURI===d.dml&&e.name.localName===t,Ef=(e,t)=>{let n=e.children.filter(a=>mc(a,"xfrm")),r=e.children.filter(a=>mc(a,"extLst"));e.children=[...n,...u2(t),...r]},Sf=e=>e.children.filter(t=>t.kind==="element"),f2=(e,t)=>{if(e.name.namespaceURI!==t.name.namespaceURI||e.name.localName!==t.name.localName||e.attrs.length!==t.attrs.length)return!1;let n=i=>`${i.name.namespaceURI} ${i.name.localName}=${i.value}`,r=new Set(e.attrs.map(n));if(!t.attrs.every(i=>r.has(n(i))))return!1;let a=Sf(e),l=Sf(t);return a.length===l.length&&a.every((i,s)=>f2(i,l[s]))},m2=new Map,xB=e=>{let t=m2.get(e);return t||m2.set(e,t=u2(e)),t},Af=e=>{let t=Sf(e).filter(n=>!mc(n,"xfrm")&&!mc(n,"extLst"));for(let n of eo){let r=xB(n);if(r.length===t.length&&r.every((a,l)=>f2(a,t[l])))return n}return null};var SB=o("p","spPr",d.pml),bB=o("p","grpSpPr",d.pml),h2=o("a","xfrm",d.dml),EB=o("p","xfrm",d.pml),AB=o("a","off",d.dml),TB=o("a","ext",d.dml),wB=o("","x",""),vB=o("","y",""),CB=o("","cx",""),PB=o("","cy",""),ns=e=>e===null?null:Number.isFinite(Number.parseInt(e,10))?Number.parseInt(e,10):null,pc=(e,t)=>{switch(t){case"shape":case"picture":case"connector":{let n=m(e,SB);return n===null?null:m(n,h2)}case"group":{let n=m(e,bB);return n===null?null:m(n,h2)}case"graphicFrame":return m(e,EB)}},Rt=(e,t)=>{let n=pc(e,t);if(n===null)return null;let r=m(n,AB);if(r===null)return null;let a=ns(x(r,wB)),l=ns(x(r,vB));return a===null||l===null?null:{x:a,y:l}},At=(e,t)=>{let n=pc(e,t);if(n===null)return null;let r=m(n,TB);if(r===null)return null;let a=ns(x(r,CB)),l=ns(x(r,PB));return a===null||l===null?null:{w:a,h:l}},LB=o("","rot",""),RB=o("","flipH",""),NB=o("","flipV",""),pr=(e,t)=>{let n=pc(e,t);if(n===null)return 0;let r=ns(x(n,LB));return r===null?0:r/6e4},ur=(e,t)=>{let n=pc(e,t);if(n===null)return null;let r=x(n,RB)?.trim(),a=x(n,NB)?.trim();return{horizontal:r==="1"||r==="true",vertical:a==="1"||a==="true"}};var E2=o("p","spPr",d.pml),DB=o("p","grpSpPr",d.pml),g2=o("a","xfrm",d.dml),y2=o("p","xfrm",d.pml),x2=o("a","off",d.dml),S2=o("a","ext",d.dml),_B=o("","x",""),kB=o("","y",""),MB=o("","cx",""),FB=o("","cy",""),uc=(e,t)=>{if(t==="graphicFrame"){let l=m(e,y2);if(l===null){l=h(y2);let i=e.children.findIndex(s=>s.kind==="element"&&s.name.namespaceURI===d.pml&&s.name.localName==="nvGraphicFramePr");e.children.splice(i+1,0,l)}return l}let n=t==="group"?DB:E2,r=m(e,n);r===null&&(r=h(n),e.children.push(r));let a=m(r,g2);return a===null&&(a=h(g2),r.children.unshift(a)),a},pn=(e,t,n,r)=>{let a=uc(e,t),l=m(a,x2);l===null&&(l=h(x2),a.children.unshift(l)),l.attrs=[b(_B,String(Ue(n,"setShapePosition: x"))),b(kB,String(Ue(r,"setShapePosition: y")))]},un=(e,t,n,r)=>{let a=uc(e,t),l=m(a,S2);if(l===null){l=h(S2);let i=a.children.findIndex(s=>s.kind==="element"&&s.name.localName==="off"&&s.name.namespaceURI===d.dml);i>=0?a.children.splice(i+1,0,l):a.children.push(l)}l.attrs=[b(MB,String(xe(n,"setShapeSize: w"))),b(FB,String(xe(r,"setShapeSize: h")))]},IB=o("","rot",""),BB=o("","flipH",""),OB=o("","flipV",""),Ga=(e,t,n)=>{let r=uc(e,t),a=(n%360+360)%360,l=Math.round(a*6e4);r.attrs=r.attrs.filter(i=>i.name.localName!=="rot"),l!==0&&r.attrs.push(b(IB,String(l)))},qa=(e,t,n)=>{let r=uc(e,t);n.horizontal!==void 0&&(r.attrs=r.attrs.filter(a=>a.name.localName!=="flipH"),n.horizontal&&r.attrs.push(b(BB,"1"))),n.vertical!==void 0&&(r.attrs=r.attrs.filter(a=>a.name.localName!=="flipV"),n.vertical&&r.attrs.push(b(OB,"1")))},XB=o("a","prstGeom",d.dml),b2=o("a","avLst",d.dml),jB=o("a","gd",d.dml),$B=o("","name",""),UB=o("","fmla",""),Tf=(e,t)=>{let n=m(e,E2);if(n===null)return!1;let r=m(n,XB);if(r===null)return!1;let a=m(r,b2);return a===null&&(a=h(b2),r.children.push(a)),a.children=Object.entries(t).map(([l,i])=>h(jB,{attrs:[b($B,l),b(UB,`val ${String(Math.round(i))}`)]})),!0};var nt=Uint8Array,fn=Uint16Array,kf=Int32Array,fc=new nt([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),hc=new nt([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),Pf=new nt([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),L2=function(e,t){for(var n=new fn(31),r=0;r<31;++r)n[r]=t+=1<<e[r-1];for(var a=new kf(n[30]),r=1;r<30;++r)for(var l=n[r];l<n[r+1];++l)a[l]=l-n[r]<<5|r;return{b:n,r:a}},R2=L2(fc,2),N2=R2.b,Lf=R2.r;N2[28]=258,Lf[258]=28;var D2=L2(hc,0),GB=D2.b,A2=D2.r,Rf=new fn(32768);for(ke=0;ke<32768;++ke)Or=(ke&43690)>>1|(ke&21845)<<1,Or=(Or&52428)>>2|(Or&13107)<<2,Or=(Or&61680)>>4|(Or&3855)<<4,Rf[ke]=((Or&65280)>>8|(Or&255)<<8)>>1;var Or,ke,fr=(function(e,t,n){for(var r=e.length,a=0,l=new fn(t);a<r;++a)e[a]&&++l[e[a]-1];var i=new fn(t);for(a=1;a<t;++a)i[a]=i[a-1]+l[a-1]<<1;var s;if(n){s=new fn(1<<t);var c=15-t;for(a=0;a<r;++a)if(e[a])for(var p=a<<4|e[a],u=t-e[a],f=i[e[a]-1]++<<u,y=f|(1<<u)-1;f<=y;++f)s[Rf[f]>>c]=p}else for(s=new fn(r),a=0;a<r;++a)e[a]&&(s[a]=Rf[i[e[a]-1]++]>>15-e[a]);return s}),sa=new nt(288);for(ke=0;ke<144;++ke)sa[ke]=8;var ke;for(ke=144;ke<256;++ke)sa[ke]=9;var ke;for(ke=256;ke<280;++ke)sa[ke]=7;var ke;for(ke=280;ke<288;++ke)sa[ke]=8;var ke,ls=new nt(32);for(ke=0;ke<32;++ke)ls[ke]=5;var ke,qB=fr(sa,9,0),HB=fr(sa,9,1),VB=fr(ls,5,0),zB=fr(ls,5,1),wf=function(e){for(var t=e[0],n=1;n<e.length;++n)e[n]>t&&(t=e[n]);return t},Un=function(e,t,n){var r=t/8|0;return(e[r]|e[r+1]<<8)>>(t&7)&n},vf=function(e,t){var n=t/8|0;return(e[n]|e[n+1]<<8|e[n+2]<<16)>>(t&7)},Mf=function(e){return(e+7)/8|0},Ha=function(e,t,n){return(t==null||t<0)&&(t=0),(n==null||n>e.length)&&(n=e.length),new nt(e.subarray(t,n))};var WB=["unexpected EOF","invalid block type","invalid length/literal","invalid distance","stream finished","no stream handler",,"no callback","invalid UTF-8 data","extra field too long","date not in range 1980-2099","filename too long","stream finishing","invalid zip data"],Ot=function(e,t,n){var r=new Error(t||WB[e]);if(r.code=e,Error.captureStackTrace&&Error.captureStackTrace(r,Ot),!n)throw r;return r},_2=function(e,t,n,r){var a=e.length,l=r?r.length:0;if(!a||t.f&&!t.l)return n||new nt(0);var i=!n,s=i||t.i!=2,c=t.i;i&&(n=new nt(a*3));var p=function(Rr){var Nr=n.length;if(Rr>Nr){var lr=new nt(Math.max(Nr*2,Rr));lr.set(n),n=lr}},u=t.f||0,f=t.p||0,y=t.b||0,g=t.l,S=t.d,E=t.m,A=t.n,T=a*8;do{if(!g){u=Un(e,f,1);var w=Un(e,f+1,3);if(f+=3,w)if(w==1)g=HB,S=zB,E=9,A=5;else if(w==2){var N=Un(e,f,31)+257,_=Un(e,f+10,15)+4,k=N+Un(e,f+5,31)+1;f+=14;for(var M=new nt(k),I=new nt(19),K=0;K<_;++K)I[Pf[K]]=Un(e,f+K*3,7);f+=_*3;for(var re=wf(I),Se=(1<<re)-1,Ce=fr(I,re,1),K=0;K<k;){var me=Ce[Un(e,f,Se)];f+=me&15;var v=me>>4;if(v<16)M[K++]=v;else{var we=0,Ne=0;for(v==16?(Ne=3+Un(e,f,3),f+=2,we=M[K-1]):v==17?(Ne=3+Un(e,f,7),f+=3):v==18&&(Ne=11+Un(e,f,127),f+=7);Ne--;)M[K++]=we}}var Xe=M.subarray(0,N),ze=M.subarray(N);E=wf(Xe),A=wf(ze),g=fr(Xe,E,1),S=fr(ze,A,1)}else Ot(1);else{var v=Mf(f)+4,C=e[v-4]|e[v-3]<<8,R=v+C;if(R>a){c&&Ot(0);break}s&&p(y+C),n.set(e.subarray(v,R),y),t.b=y+=C,t.p=f=R*8,t.f=u;continue}if(f>T){c&&Ot(0);break}}s&&p(y+131072);for(var wn=(1<<E)-1,Et=(1<<A)-1,xt=f;;xt=f){var we=g[vf(e,f)&wn],it=we>>4;if(f+=we&15,f>T){c&&Ot(0);break}if(we||Ot(2),it<256)n[y++]=it;else if(it==256){xt=f,g=null;break}else{var rt=it-254;if(it>264){var K=it-257,ve=fc[K];rt=Un(e,f,(1<<ve)-1)+N2[K],f+=ve}var Lt=S[vf(e,f)&Et],at=Lt>>4;Lt||Ot(3),f+=Lt&15;var ze=GB[at];if(at>3){var ve=hc[at];ze+=vf(e,f)&(1<<ve)-1,f+=ve}if(f>T){c&&Ot(0);break}s&&p(y+131072);var vn=y+rt;if(y<ze){var Lr=l-ze,ta=Math.min(ze,vn);for(Lr+y<0&&Ot(3);y<ta;++y)n[y]=r[Lr+y]}for(;y<vn;++y)n[y]=n[y-ze]}}t.l=g,t.p=xt,t.b=y,t.f=u,g&&(u=1,t.m=E,t.d=S,t.n=A)}while(!u);return y!=n.length&&i?Ha(n,0,y):n.subarray(0,y)},Xr=function(e,t,n){n<<=t&7;var r=t/8|0;e[r]|=n,e[r+1]|=n>>8},rs=function(e,t,n){n<<=t&7;var r=t/8|0;e[r]|=n,e[r+1]|=n>>8,e[r+2]|=n>>16},Cf=function(e,t){for(var n=[],r=0;r<e.length;++r)e[r]&&n.push({s:r,f:e[r]});var a=n.length,l=n.slice();if(!a)return{t:M2,l:0};if(a==1){var i=new nt(n[0].s+1);return i[n[0].s]=1,{t:i,l:1}}n.sort(function(R,N){return R.f-N.f}),n.push({s:-1,f:25001});var s=n[0],c=n[1],p=0,u=1,f=2;for(n[0]={s:-1,f:s.f+c.f,l:s,r:c};u!=a-1;)s=n[n[p].f<n[f].f?p++:f++],c=n[p!=u&&n[p].f<n[f].f?p++:f++],n[u++]={s:-1,f:s.f+c.f,l:s,r:c};for(var y=l[0].s,r=1;r<a;++r)l[r].s>y&&(y=l[r].s);var g=new fn(y+1),S=Nf(n[u-1],g,0);if(S>t){var r=0,E=0,A=S-t,T=1<<A;for(l.sort(function(N,_){return g[_.s]-g[N.s]||N.f-_.f});r<a;++r){var w=l[r].s;if(g[w]>t)E+=T-(1<<S-g[w]),g[w]=t;else break}for(E>>=A;E>0;){var v=l[r].s;g[v]<t?E-=1<<t-g[v]++-1:++r}for(;r>=0&&E;--r){var C=l[r].s;g[C]==t&&(--g[C],++E)}S=t}return{t:new nt(g),l:S}},Nf=function(e,t,n){return e.s==-1?Math.max(Nf(e.l,t,n+1),Nf(e.r,t,n+1)):t[e.s]=n},T2=function(e){for(var t=e.length;t&&!e[--t];);for(var n=new fn(++t),r=0,a=e[0],l=1,i=function(c){n[r++]=c},s=1;s<=t;++s)if(e[s]==a&&s!=t)++l;else{if(!a&&l>2){for(;l>138;l-=138)i(32754);l>2&&(i(l>10?l-11<<5|28690:l-3<<5|12305),l=0)}else if(l>3){for(i(a),--l;l>6;l-=6)i(8304);l>2&&(i(l-3<<5|8208),l=0)}for(;l--;)i(a);l=1,a=e[s]}return{c:n.subarray(0,r),n:t}},as=function(e,t){for(var n=0,r=0;r<t.length;++r)n+=e[r]*t[r];return n},k2=function(e,t,n){var r=n.length,a=Mf(t+2);e[a]=r&255,e[a+1]=r>>8,e[a+2]=e[a]^255,e[a+3]=e[a+1]^255;for(var l=0;l<r;++l)e[a+l+4]=n[l];return(a+4+r)*8},w2=function(e,t,n,r,a,l,i,s,c,p,u){Xr(t,u++,n),++a[256];for(var f=Cf(a,15),y=f.t,g=f.l,S=Cf(l,15),E=S.t,A=S.l,T=T2(y),w=T.c,v=T.n,C=T2(E),R=C.c,N=C.n,_=new fn(19),k=0;k<w.length;++k)++_[w[k]&31];for(var k=0;k<R.length;++k)++_[R[k]&31];for(var M=Cf(_,7),I=M.t,K=M.l,re=19;re>4&&!I[Pf[re-1]];--re);var Se=p+5<<3,Ce=as(a,sa)+as(l,ls)+i,me=as(a,y)+as(l,E)+i+14+3*re+as(_,I)+2*_[16]+3*_[17]+7*_[18];if(c>=0&&Se<=Ce&&Se<=me)return k2(t,u,e.subarray(c,c+p));var we,Ne,Xe,ze;if(Xr(t,u,1+(me<Ce)),u+=2,me<Ce){we=fr(y,g,0),Ne=y,Xe=fr(E,A,0),ze=E;var wn=fr(I,K,0);Xr(t,u,v-257),Xr(t,u+5,N-1),Xr(t,u+10,re-4),u+=14;for(var k=0;k<re;++k)Xr(t,u+3*k,I[Pf[k]]);u+=3*re;for(var Et=[w,R],xt=0;xt<2;++xt)for(var it=Et[xt],k=0;k<it.length;++k){var rt=it[k]&31;Xr(t,u,wn[rt]),u+=I[rt],rt>15&&(Xr(t,u,it[k]>>5&127),u+=it[k]>>12)}}else we=qB,Ne=sa,Xe=VB,ze=ls;for(var k=0;k<s;++k){var ve=r[k];if(ve>255){var rt=ve>>18&31;rs(t,u,we[rt+257]),u+=Ne[rt+257],rt>7&&(Xr(t,u,ve>>23&31),u+=fc[rt]);var Lt=ve&31;rs(t,u,Xe[Lt]),u+=ze[Lt],Lt>3&&(rs(t,u,ve>>5&8191),u+=hc[Lt])}else rs(t,u,we[ve]),u+=Ne[ve]}return rs(t,u,we[256]),u+Ne[256]},YB=new kf([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),M2=new nt(0),ZB=function(e,t,n,r,a,l){var i=l.z||e.length,s=new nt(r+i+5*(1+Math.ceil(i/7e3))+a),c=s.subarray(r,s.length-a),p=l.l,u=(l.r||0)&7;if(t){u&&(c[0]=l.r>>3);for(var f=YB[t-1],y=f>>13,g=f&8191,S=(1<<n)-1,E=l.p||new fn(32768),A=l.h||new fn(S+1),T=Math.ceil(n/3),w=2*T,v=function(Ma){return(e[Ma]^e[Ma+1]<<T^e[Ma+2]<<w)&S},C=new kf(25e3),R=new fn(288),N=new fn(32),_=0,k=0,M=l.i||0,I=0,K=l.w||0,re=0;M+2<i;++M){var Se=v(M),Ce=M&32767,me=A[Se];if(E[Ce]=me,A[Se]=Ce,K<=M){var we=i-M;if((_>7e3||I>24576)&&(we>423||!p)){u=w2(e,c,0,C,R,N,k,I,re,M-re,u),I=_=k=0,re=M;for(var Ne=0;Ne<286;++Ne)R[Ne]=0;for(var Ne=0;Ne<30;++Ne)N[Ne]=0}var Xe=2,ze=0,wn=g,Et=Ce-me&32767;if(we>2&&Se==v(M-Et))for(var xt=Math.min(y,we)-1,it=Math.min(32767,M),rt=Math.min(258,we);Et<=it&&--wn&&Ce!=me;){if(e[M+Xe]==e[M+Xe-Et]){for(var ve=0;ve<rt&&e[M+ve]==e[M+ve-Et];++ve);if(ve>Xe){if(Xe=ve,ze=Et,ve>xt)break;for(var Lt=Math.min(Et,ve-2),at=0,Ne=0;Ne<Lt;++Ne){var vn=M-Et+Ne&32767,Lr=E[vn],ta=vn-Lr&32767;ta>at&&(at=ta,me=vn)}}}Ce=me,me=E[Ce],Et+=Ce-me&32767}if(ze){C[I++]=268435456|Lf[Xe]<<18|A2[ze];var Rr=Lf[Xe]&31,Nr=A2[ze]&31;k+=fc[Rr]+hc[Nr],++R[257+Rr],++N[Nr],K=M+Xe,++_}else C[I++]=e[M],++R[e[M]]}}for(M=Math.max(M,K);M<i;++M)C[I++]=e[M],++R[e[M]];u=w2(e,c,p,C,R,N,k,I,re,M-re,u),p||(l.r=u&7|c[u/8|0]<<3,u-=7,l.h=A,l.p=E,l.i=M,l.w=K)}else{for(var M=l.w||0;M<i+p;M+=65535){var lr=M+65535;lr>=i&&(c[u/8|0]=p,lr=i),u=k2(c,u+1,e.subarray(M,lr))}l.i=i}return Ha(s,0,r+Mf(u)+a)},KB=(function(){for(var e=new Int32Array(256),t=0;t<256;++t){for(var n=t,r=9;--r;)n=(n&1&&-306674912)^n>>>1;e[t]=n}return e})(),JB=function(){var e=-1;return{p:function(t){for(var n=e,r=0;r<t.length;++r)n=KB[n&255^t[r]]^n>>>8;e=n},d:function(){return~e}}};var QB=function(e,t,n,r,a){if(!a&&(a={l:1},t.dictionary)){var l=t.dictionary.subarray(-32768),i=new nt(l.length+e.length);i.set(l),i.set(e,l.length),e=i,a.w=l.length}return ZB(e,t.level==null?6:t.level,t.mem==null?a.l?Math.ceil(Math.max(8,Math.min(13,Math.log(e.length)))*1.5):20:12+t.mem,n,r,a)},F2=function(e,t){var n={};for(var r in e)n[r]=e[r];for(var r in t)n[r]=t[r];return n};var Nt=function(e,t,n){for(;n;++t)e[t]=n,n>>>=8};function e6(e,t){return QB(e,t||{},0,0)}var I2=(function(){function e(t,n){typeof t=="function"&&(n=t,t={}),this.ondata=n;var r=t&&t.dictionary&&t.dictionary.subarray(-32768);this.s={i:0,b:r?r.length:0},this.o=new nt(32768),this.p=new nt(0),r&&this.o.set(r)}return e.prototype.e=function(t){if(this.ondata||Ot(5),this.d&&Ot(4),!this.p.length)this.p=t;else if(t.length){var n=new nt(this.p.length+t.length);n.set(this.p),n.set(t,this.p.length),this.p=n}},e.prototype.c=function(t){this.s.i=+(this.d=t||!1);var n=this.s.b,r=_2(this.p,this.s,this.o);this.ondata(Ha(r,n,this.s.b),this.d),this.o=Ha(r,this.s.b-32768),this.s.b=this.o.length,this.p=Ha(this.p,this.s.p/8|0),this.s.p&=7},e.prototype.push=function(t,n){this.e(t),this.c(n)},e})();function B2(e,t){return _2(e,{i:2},t&&t.out,t&&t.dictionary)}var O2=function(e,t,n,r){for(var a in e){var l=e[a],i=t+a,s=r;Array.isArray(l)&&(s=F2(r,l[1]),l=l[0]),ArrayBuffer.isView(l)?n[i]=[l,s]:(n[i+="/"]=[new nt(0),s],O2(l,i,n,r))}},v2=typeof TextEncoder<"u"&&new TextEncoder,Df=typeof TextDecoder<"u"&&new TextDecoder,t6=0;try{Df.decode(M2,{stream:!0}),t6=1}catch{}var n6=function(e){for(var t="",n=0;;){var r=e[n++],a=(r>127)+(r>223)+(r>239);if(n+a>e.length)return{s:t,r:Ha(e,n-1)};a?a==3?(r=((r&15)<<18|(e[n++]&63)<<12|(e[n++]&63)<<6|e[n++]&63)-65536,t+=String.fromCharCode(55296|r>>10,56320|r&1023)):a&1?t+=String.fromCharCode((r&31)<<6|e[n++]&63):t+=String.fromCharCode((r&15)<<12|(e[n++]&63)<<6|e[n++]&63):t+=String.fromCharCode(r)}};function C2(e,t){if(t){for(var n=new nt(e.length),r=0;r<e.length;++r)n[r]=e.charCodeAt(r);return n}if(v2)return v2.encode(e);for(var a=e.length,l=new nt(e.length+(e.length>>1)),i=0,s=function(u){l[i++]=u},r=0;r<a;++r){if(i+5>l.length){var c=new nt(i+8+(a-r<<1));c.set(l),l=c}var p=e.charCodeAt(r);p<128||t?s(p):p<2048?(s(192|p>>6),s(128|p&63)):p>55295&&p<57344?(p=65536+(p&1047552)|e.charCodeAt(++r)&1023,s(240|p>>18),s(128|p>>12&63),s(128|p>>6&63),s(128|p&63)):(s(224|p>>12),s(128|p>>6&63),s(128|p&63))}return Ha(l,0,i)}function X2(e,t){if(t){for(var n="",r=0;r<e.length;r+=16384)n+=String.fromCharCode.apply(null,e.subarray(r,r+16384));return n}else{if(Df)return Df.decode(e);var a=n6(e),l=a.s,n=a.r;return n.length&&Ot(8),l}}var _f=function(e){var t=0;if(e)for(var n in e){var r=e[n].length;r>65535&&Ot(9),t+=r+4}return t},P2=function(e,t,n,r,a,l,i,s){var c=r.length,p=n.extra,u=s&&s.length,f=_f(p);Nt(e,t,i!=null?33639248:67324752),t+=4,i!=null&&(e[t++]=20,e[t++]=n.os),e[t]=20,t+=2,e[t++]=n.flag<<1|(l<0&&8),e[t++]=a&&8,e[t++]=n.compression&255,e[t++]=n.compression>>8;var y=new Date(n.mtime==null?Date.now():n.mtime),g=y.getFullYear()-1980;if((g<0||g>119)&&Ot(10),Nt(e,t,g<<25|y.getMonth()+1<<21|y.getDate()<<16|y.getHours()<<11|y.getMinutes()<<5|y.getSeconds()>>1),t+=4,l!=-1&&(Nt(e,t,n.crc),Nt(e,t+4,l<0?-l-2:l),Nt(e,t+8,n.size)),Nt(e,t+12,c),Nt(e,t+14,f),t+=16,i!=null&&(Nt(e,t,u),Nt(e,t+6,n.attrs),Nt(e,t+10,i),t+=14),e.set(r,t),t+=c,f)for(var S in p){var E=p[S],A=E.length;Nt(e,t,+S),Nt(e,t+2,A),e.set(E,t+4),t+=4+A}return u&&(e.set(s,t),t+=u),t},r6=function(e,t,n,r,a){Nt(e,t,101010256),Nt(e,t+8,n),Nt(e,t+10,n),Nt(e,t+12,r),Nt(e,t+16,a)};function j2(e,t){t||(t={});var n={},r=[];O2(e,"",n,t);var a=0,l=0;for(var i in n){var s=n[i],c=s[0],p=s[1],u=p.level==0?0:8,f=C2(i),y=f.length,g=p.comment,S=g&&C2(g),E=S&&S.length,A=_f(p.extra);y>65535&&Ot(11);var T=u?e6(c,p):c,w=T.length,v=JB();v.p(c),r.push(F2(p,{size:c.length,crc:v.d(),c:T,f,m:S,u:y!=i.length||S&&g.length!=E,o:a,compression:u})),a+=30+y+A+w,l+=76+2*(y+A)+(E||0)+w}for(var C=new nt(l+22),R=a,N=l-a,_=0;_<r.length;++_){var f=r[_];P2(C,f.o,f,f.f,f.u,f.c.length);var k=30+f.f.length+_f(f.extra);C.set(f.c,f.o+k),P2(C,a,f,f.f,f.u,f.c.length,f.o,f.m),a+=16+k+(f.m?f.m.length:0)}return r6(C,a,r.length,N,R),C}var a6=new Set(["png","jpg","jpeg","gif","bmp","tif","tiff","webp","mp3","mp4","m4a","m4v","wav","wmv","mov","avi","webm","ogg","wma","pdf","zip","gz","7z","rar"]),l6=e=>{let t=e.lastIndexOf(".");return t<0?"":e.slice(t+1).toLowerCase()},q2=e=>a6.has(l6(e)),o6=67324752,i6=33639248,s6=101010256,d6=101075792,c6=117853008,$2=22,m6=65535,p6=20,u6=56,U2=46,G2=30,f6=1,Ff=4294967295,h6=2048,g6=0,y6=8,If=16*1024,x6=1032,S6=1024,Kt=e=>new Error(`invalid ZIP: ${e}`),Gn=(e,t)=>e[t]|e[t+1]<<8,hn=(e,t)=>(e[t]|e[t+1]<<8|e[t+2]<<16|e[t+3]<<24)>>>0,Bf=(e,t)=>{let n=hn(e,t)+hn(e,t+4)*4294967296;if(!Number.isSafeInteger(n))throw Kt("ZIP64 value out of range");return n},gc=(e,t,n,r)=>{if(t<0||n<0||t+n>e.length)throw Kt(`${r} is out of bounds`)},b6=e=>{let t=Math.max(0,e.length-$2-m6);for(let n=e.length-$2;n>=t;n--)if(hn(e,n)===s6)return n;throw Kt("end of central directory not found")},E6=e=>{let t=b6(e),n=t-p6;if(n>=0&&hn(e,n)===c6){let r=hn(e,n+8)+hn(e,n+12)*4294967296;if(r+u6<=e.length&&hn(e,r)===d6)return{count:Bf(e,r+32),offset:Bf(e,r+48)}}return{count:Gn(e,t+10),offset:hn(e,t+16)}},A6=(e,t,n,r)=>{let a=r.uncompressedSize===Ff,l=r.compressedSize===Ff,i=r.localHeaderOffset===Ff;if(!a&&!l&&!i)return r;for(let s=t;s+4<=n;s+=4+Gn(e,s+2)){if(Gn(e,s)!==f6)continue;let c=s+4+Gn(e,s+2);if(c>n)break;let p=s+4,u=()=>{if(p+8>c)throw Kt("ZIP64 extra field is truncated");let f=Bf(e,p);return p+=8,f};return{uncompressedSize:a?u():r.uncompressedSize,compressedSize:l?u():r.compressedSize,localHeaderOffset:i?u():r.localHeaderOffset}}throw Kt("ZIP64 sizes without a ZIP64 extra field")},Of=(e,t)=>Kt(`entry "${e}" inflates beyond its declared size of ${t} bytes`),H2=(e,t)=>{let n=t instanceof Error?t.message:String(t);return Kt(`entry "${e}" is not valid DEFLATE data: ${n}`)},T6=(e,t,n)=>{if(e.length===0)return new Uint8Array(0);let r;try{r=B2(e,{out:new Uint8Array(t+1)})}catch(a){throw a instanceof RangeError?Of(n,t):H2(n,a)}if(r.length>t)throw Of(n,t);return r},w6=(e,t,n)=>{let r=new Uint8Array(t),a=!1,l=0,i=new I2(s=>{if(l+s.length>t)throw a=!0,Of(n,t);r.set(s,l),l+=s.length});for(let s=0;s<e.length;s+=If){let c=Math.min(s+If,e.length);try{i.push(e.subarray(s,c),c===e.length)}catch(p){throw a?p:H2(n,p)}}return r.subarray(0,l)},v6=(e,t,n)=>{if(t>e.length*x6+S6)throw Kt(`entry "${n}" declares ${t} bytes, more than ${e.length} compressed bytes can hold`);let r=e.length<=If?T6(e,t,n):w6(e,t,n);if(r.length!==t)throw Kt(`entry "${n}" inflates to ${r.length} bytes, not its declared ${t}`);return r},Xf=e=>{let{offset:t,count:n}=E6(e),r=[],a=new Set,l=t;for(let i=0;i<n;i++){if(gc(e,l,U2,"central directory"),hn(e,l)!==i6)throw Kt("bad central directory signature");let s=Gn(e,l+8),c=Gn(e,l+10),p=Gn(e,l+28),u=Gn(e,l+30),f=Gn(e,l+32),y=l+U2,g=y+p,S=g+u+f;gc(e,l,S-l,"central directory");let E=X2(e.subarray(y,g),(s&h6)===0),{compressedSize:A,uncompressedSize:T,localHeaderOffset:w}=A6(e,g,g+u,{compressedSize:hn(e,l+20),uncompressedSize:hn(e,l+24),localHeaderOffset:hn(e,l+42)});if(l=S,a.has(E))throw Kt(`duplicate entry "${E}"`);if(a.add(E),gc(e,w,G2,`local header of "${E}"`),hn(e,w)!==o6)throw Kt(`bad local header signature for "${E}"`);let v=w+G2+Gn(e,w+26)+Gn(e,w+28);gc(e,v,A,`data of "${E}"`);let C=e.subarray(v,v+A);if(c===g6){if(A!==T)throw Kt(`stored entry "${E}" has mismatched sizes`);r.push({name:E,data:C.slice()})}else if(c===y6)r.push({name:E,data:v6(C,T,E)});else throw Kt(`entry "${E}" uses unsupported compression method ${c}`)}return{entries:r}},os=(e,t={})=>{let n=t.level??6,r={};for(let a of e){let l=q2(a.name)?0:n;r[a.name]=[a.data,{level:l}]}return j2(r)};var G=e=>{if(e==="")throw new Error("part name is empty");if(!e.startsWith("/"))throw new Error(`part name must start with "/": ${e}`);if(e.length>1&&e.endsWith("/"))throw new Error(`part name must not end with "/": ${e}`);let t=e.slice(1).split("/");for(let n of t){if(n==="")throw new Error(`part name contains empty segment: ${e}`);if(n==="."||n==="..")throw new Error(`part name contains "." or ".." segment: ${e}`)}return e},jf=e=>e.slice(1),$f=e=>G(`/${e}`),Rn=(e,t)=>e.toLowerCase()===t.toLowerCase(),is=e=>{let t=e.lastIndexOf("/");return t<=0?"/":e.slice(0,t)},da=e=>{let t=e.lastIndexOf("/");return t<0?e:e.slice(t+1)},Dt=e=>{let t=is(e),n=da(e),r=t==="/"?"/_rels/":`${t}/_rels/`;return G(`${r}${n}.rels`)};var H=(e,t)=>{if(t==="")throw new Error("relationship target is empty");if(t.startsWith("/"))return G(t);let n=e==="/"?"/":is(e),r=n==="/"?[]:n.slice(1).split("/");for(let a of t.split("/"))if(!(a===""||a===".")){if(a===".."){if(r.length===0)throw new Error(`relationship target "${t}" escapes the package root`);r.pop();continue}r.push(a)}return G(`/${r.join("/")}`)};var Va=d.contentTypes,C6=o("","Types",Va),P6=o("","Default",Va),L6=o("","Override",Va),R6=o("","Extension",""),V2=o("","ContentType",""),N6=o("","PartName",""),yc=(e,t)=>{for(let n of e.attrs)if(n.name.localName===t)return n.value;return null},Uf=e=>{let t=$(e);if(t.root.name.namespaceURI!==Va||t.root.name.localName!=="Types")throw new Error(`expected root <Types xmlns="${Va}">, got <${t.root.name.localName}>`);let n=[],r=[];for(let a of t.root.children)if(a.kind==="element"&&a.name.namespaceURI===Va){if(a.name.localName==="Default"){let l=yc(a,"Extension"),i=yc(a,"ContentType");if(l===null||i===null)throw new Error("Content_Types Default missing Extension or ContentType");n.push({extension:l.toLowerCase(),contentType:i})}else if(a.name.localName==="Override"){let l=yc(a,"PartName"),i=yc(a,"ContentType");if(l===null||i===null)throw new Error("Content_Types Override missing PartName or ContentType");r.push({partName:G(l),contentType:i})}}return{defaults:n,overrides:r}},Gf=e=>{let t=[...e.defaults.map(a=>h(P6,{attrs:[{name:R6,value:a.extension},{name:V2,value:a.contentType}]})),...e.overrides.map(a=>h(L6,{attrs:[{name:N6,value:a.partName},{name:V2,value:a.contentType}]}))],n=h(C6,{prefixDecls:new Map([["",Va]]),children:t});return ae({kind:"document",decl:{version:"1.0",encoding:"UTF-8",standalone:"yes"},prolog:[],root:n,epilog:[]})},z2=e=>{let t=da(e),n=t.lastIndexOf(".");return n<0?null:t.slice(n+1).toLowerCase()},qf=e=>{let t=new Map;for(let r of e.overrides){let a=r.partName.toLowerCase();t.has(a)||t.set(a,r.contentType)}let n=new Map;for(let r of e.defaults){let a=r.extension.toLowerCase();n.has(a)||n.set(a,r.contentType)}return r=>{let a=t.get(r.toLowerCase());if(a!==void 0)return a;let l=z2(r);return l===null?null:n.get(l)??null}},Hf=(e,t)=>{for(let r of e.overrides)if(Rn(r.partName,t))return r.contentType;let n=z2(t);if(n===null)return null;for(let r of e.defaults)if(r.extension.toLowerCase()===n)return r.contentType;return null},Vf=()=>({defaults:[{extension:"rels",contentType:"application/vnd.openxmlformats-package.relationships+xml"},{extension:"xml",contentType:"application/xml"}],overrides:[]});var to=d.relationships,D6=o("","Relationships",to),_6=o("","Relationship",to),k6=o("","Id",""),M6=o("","Type",""),F6=o("","Target",""),I6=o("","TargetMode",""),xc=(e,t)=>{for(let n of e.attrs)if(n.name.localName===t)return n.value;return null},za=e=>{let t=$(e);if(t.root.name.namespaceURI!==to||t.root.name.localName!=="Relationships")throw new Error(`expected root <Relationships xmlns="${to}">, got <${t.root.name.localName}>`);let n=[];for(let r of t.root.children){if(r.kind!=="element"||r.name.namespaceURI!==to||r.name.localName!=="Relationship")continue;let a=xc(r,"Id"),l=xc(r,"Type"),i=xc(r,"Target");if(a===null||l===null||i===null)throw new Error("Relationship missing Id, Type, or Target");let s=xc(r,"TargetMode"),c="Internal";if(s!==null){if(s!=="Internal"&&s!=="External")throw new Error(`invalid TargetMode "${s}"`);c=s}n.push({id:a,type:l,target:i,targetMode:c})}return{items:n}},Sc=e=>{let t=e.items.map(a=>{let l=[{name:k6,value:a.id},{name:M6,value:a.type},{name:F6,value:a.target}];return a.targetMode==="External"&&l.push({name:I6,value:"External"}),h(_6,{attrs:l})}),n=h(D6,{prefixDecls:new Map([["",to]]),children:t});return ae({kind:"document",decl:{version:"1.0",encoding:"UTF-8",standalone:"yes"},prolog:[],root:n,epilog:[]})},pe=()=>({items:[]});function se(e,t){let n=0;for(let r of e){let a=r.match(/^rId(\d+)$/);if(a?.[1]!==void 0){let l=Number.parseInt(a[1],10);Number.isFinite(l)&&l>n&&(n=l)}}return t===void 0?`rId${n+1}`:Array.from({length:t},(r,a)=>`rId${n+a+1}`)}var Wa=(e,t)=>{if(e.length<t.length)return!1;for(let n=0;n<t.length;n++)if(e[n]!==t[n])return!1;return!0},zf=new TextDecoder("utf-8",{fatal:!1}),ut=e=>{if(Wa(e,[137,80,78,71,13,10,26,10]))return"png";if(Wa(e,[255,216,255]))return"jpeg";if(Wa(e,[71,73,70,56]))return"gif";if(Wa(e,[66,77]))return"bmp";if(Wa(e,[73,73,42,0])||Wa(e,[77,77,0,42]))return"tiff";if(e.length>=12&&Wa(e,[82,73,70,70])&&e[8]===87&&e[9]===69&&e[10]===66&&e[11]===80)return"webp";let t=zf.decode(e.subarray(0,Math.min(e.length,1024)));return/<svg[\s>]/.test(t)?"svg":null},no=(e,t)=>e[t]<<8|e[t+1],ss=(e,t)=>(e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3])>>>0,B6=e=>{if(e.length<24)return null;let t=ss(e,16),n=ss(e,20);return t<=0||n<=0?null:{width:t,height:n}},O6=new Set([196,200,204]),X6=e=>{let t=2;for(;t+9<e.length;){if(e[t]!==255){t++;continue}let n=e[t+1];if(n===255||n>=208&&n<=217||n===1){t+=2;continue}let r=no(e,t+2);if(r<2)return null;if(n>=192&&n<=207&&!O6.has(n)){let a=no(e,t+5),l=no(e,t+7);return l<=0||a<=0?null:{width:l,height:a}}t+=2+r}return null},Ya=e=>{let t=ut(e);return t==="png"?B6(e):t==="jpeg"?X6(e):null},gn=e=>{switch(e){case"jpeg":return"jpg";case"png":return"png";case"gif":return"gif";case"bmp":return"bmp";case"tiff":return"tiff";case"webp":return"webp";case"svg":return"svg"}},yn=e=>{switch(e){case"png":return"image/png";case"jpeg":return"image/jpeg";case"gif":return"image/gif";case"bmp":return"image/bmp";case"tiff":return"image/tiff";case"webp":return"image/webp";case"svg":return"image/svg+xml"}},W2=e=>{let t=ut(e);if(t==="png"){let n=8;for(;n+12<=e.length;){let r=ss(e,n);if(r>e.length-n-12)return null;let a=zf.decode(e.subarray(n+4,n+8));if(a==="pHYs"&&r===9&&e[n+16]===1){let l=ss(e,n+8)*.0254,i=ss(e,n+12)*.0254;return l>0&&i>0?{x:l,y:i}:null}if(a==="IDAT"||a==="IEND")break;n+=r+12}}else if(t==="jpeg"){let n=2;for(;n+4<=e.length&&e[n]===255;){let r=e[n+1];if(r===218||r===217)break;if(r===255||r===1||r>=208&&r<=216){n+=r===255?1:2;continue}let a=no(e,n+2);if(a<2||a>e.length-n-2)return null;if(r===224&&a>=16&&zf.decode(e.subarray(n+4,n+9))==="JFIF\0"){let l=e[n+11],i=l===1?1:l===2?2.54:0,s=no(e,n+12)*i,c=no(e,n+14)*i;if(s>0&&c>0)return{x:s,y:c}}n+=a+2}}return null};var j6={mp4:"video/mp4",m4v:"video/mp4",mov:"video/quicktime",webm:"video/webm",avi:"video/x-msvideo",wmv:"video/x-ms-wmv"},$6={mp3:"audio/mpeg",wav:"audio/x-wav",m4a:"audio/mp4",ogg:"audio/ogg",wma:"audio/x-ms-wma"},Wf=e=>j6[e],ds=e=>$6[e],bc=(e,t,n)=>{if(e.length<t+n.length)return!1;for(let r=0;r<n.length;r++)if(e[t+r]!==n[r])return!1;return!0},ro=(e,t,n)=>bc(e,t,Array.from(n,r=>r.charCodeAt(0))),Y2=e=>ro(e,4,"ftyp")&&e.length>=12?String.fromCharCode(e[8],e[9],e[10],e[11]):null,Z2=(e,t)=>ro(e,0,"RIFF")&&ro(e,8,t),K2=[48,38,178,117,142,102,207,17],U6=[26,69,223,163],G6=64,q6=e=>{if(!bc(e,0,U6))return!1;let t=Math.min(e.length,G6)-4;for(let n=4;n<=t;n++)if(ro(e,n,"webm"))return!0;return!1},Yf=e=>{let t=Y2(e);return t!==null?t==="qt "?"mov":t==="M4V "?"m4v":"mp4":q6(e)?"webm":Z2(e,"AVI ")?"avi":bc(e,0,K2)?"wmv":null},cs=e=>Y2(e)!==null?"m4a":Z2(e,"WAVE")?"wav":ro(e,0,"OggS")?"ogg":bc(e,0,K2)?"wma":ro(e,0,"ID3")||e.length>=2&&e[0]===255&&(e[1]&224)===224?"mp3":null;var Ie="http://schemas.openxmlformats.org/officeDocument/2006/relationships",J2="http://schemas.openxmlformats.org/package/2006/relationships",H6="http://schemas.microsoft.com/office/2007/relationships",Q2="http://schemas.microsoft.com/office/2018/10/relationships",D={officeDocument:`${Ie}/officeDocument`,coreProperties:`${J2}/metadata/core-properties`,extendedProperties:`${Ie}/extended-properties`,customProperties:`${Ie}/custom-properties`,slideMaster:`${Ie}/slideMaster`,notesMaster:`${Ie}/notesMaster`,handoutMaster:`${Ie}/handoutMaster`,slide:`${Ie}/slide`,presProps:`${Ie}/presProps`,viewProps:`${Ie}/viewProps`,theme:`${Ie}/theme`,tableStyles:`${Ie}/tableStyles`,customXmlProps:`${Ie}/customXmlProps`,customXml:`${Ie}/customXml`,thumbnail:`${J2}/metadata/thumbnail`,slideLayout:`${Ie}/slideLayout`,notesSlide:`${Ie}/notesSlide`,hyperlink:`${Ie}/hyperlink`,image:`${Ie}/image`,chart:`${Ie}/chart`,oleObject:`${Ie}/oleObject`,package:`${Ie}/package`,diagramData:`${Ie}/diagramData`,diagramLayout:`${Ie}/diagramLayout`,diagramQuickStyle:`${Ie}/diagramQuickStyle`,diagramColors:`${Ie}/diagramColors`,media:`${H6}/media`,video:`${Ie}/video`,audio:`${Ie}/audio`,font:`${Ie}/font`,authors:`${Q2}/authors`,modernComment:`${Q2}/comments`,comments:`${Ie}/comments`,commentAuthors:`${Ie}/commentAuthors`};var V6=o("p","presentation",d.pml),z6=o("p","sldMasterIdLst",d.pml),W6=o("p","sldMasterId",d.pml),Y6=o("p","sldIdLst",d.pml),Z6=o("p","sldId",d.pml),K6=o("p","notesMasterIdLst",d.pml),J6=o("p","notesMasterId",d.pml),Q6=o("p","sldSz",d.pml),e8=o("p","notesSz",d.pml),eE=o("","id",""),t8=o("r","id",d.officeDocRels),n8=o("","cx",""),r8=o("","cy",""),a8=o("","type",""),Zf=(e,t)=>{let n=x(e,t8);if(n===null)throw new Error(`${t}: missing r:id attribute`);return n},tE=(e,t)=>{let n=m(e,t);if(n===null)return null;let r=x(n,n8),a=x(n,r8);if(r===null||a===null)throw new Error(`<${t.localName}>: missing cx/cy attribute`);let l=x(n,a8);return{cx:Number.parseInt(r,10),cy:Number.parseInt(a,10),...l!==null?{type:l}:{}}},Jt=e=>{if(e.name.namespaceURI!==V6.namespaceURI||e.name.localName!=="presentation")throw new Error(`expected <p:presentation>, got <${e.name.prefix}:${e.name.localName}>`);let t=[],n=m(e,z6);if(n!==null)for(let s of Q(n,W6)){let c=x(s,eE);if(c===null)throw new Error("<p:sldMasterId>: missing id attribute");t.push({id:Number.parseInt(c,10),rId:Zf(s,"<p:sldMasterId>")})}let r=[],a=m(e,Y6);if(a!==null)for(let s of Q(a,Z6)){let c=x(s,eE);if(c===null)throw new Error("<p:sldId>: missing id attribute");r.push({id:Number.parseInt(c,10),rId:Zf(s,"<p:sldId>")})}let l=null,i=m(e,K6);if(i!==null){let s=m(i,J6);s!==null&&(l={rId:Zf(s,"<p:notesMasterId>")})}return{slideMasters:t,slides:r,notesMaster:l,slideSize:tE(e,Q6),notesSize:tE(e,e8)}};var l8=o("p","cSld",d.pml),o8=o("p","spTree",d.pml),i8=o("p","nvSpPr",d.pml),s8=o("p","nvPicPr",d.pml),d8=o("p","nvGrpSpPr",d.pml),c8=o("p","nvGraphicFramePr",d.pml),m8=o("p","nvCxnSpPr",d.pml),p8=o("p","cNvPr",d.pml),u8=o("p","nvPr",d.pml),f8=o("p","ph",d.pml),h8=o("p","txBody",d.pml),g8=o("","id",""),y8=o("","name",""),x8=o("","type",""),S8=o("","idx",""),b8={shape:i8,picture:s8,group:d8,graphicFrame:c8,connector:m8},E8=e=>{if(e.name.namespaceURI!==d.pml)return null;switch(e.name.localName){case"sp":return"shape";case"pic":return"picture";case"grpSp":return"group";case"graphicFrame":return"graphicFrame";case"cxnSp":return"connector";default:return null}},A8=(e,t)=>{let n=m(e,b8[t]),r=0,a="",l=null,i=null;if(n!==null){let c=m(n,p8);if(c!==null){let u=x(c,g8);u!==null&&(r=Number.parseInt(u,10));let f=x(c,y8);f!==null&&(a=f)}let p=m(n,u8);if(p!==null){let u=m(p,f8);if(u!==null){l=x(u,x8);let f=x(u,S8);f!==null&&(i=Number.parseInt(f,10))}}}let s="";if(t==="shape"){let c=m(e,h8);c!==null&&(s=Je(c))}return{kind:t,id:r,name:a,placeholderType:l,placeholderIdx:i,text:s,element:e}},Kf=(e,t,n)=>{for(let r of e.children){if(r.kind!=="element")continue;let a=E8(r);a!==null&&(t.push(A8(r,a)),a==="group"&&n&&Kf(r,t,n))}},Za=e=>{if(e.name.namespaceURI!==d.pml||e.name.localName!=="grpSp")throw new Error(`readGroupChildren: expected <p:grpSp>, got <${e.name.prefix}:${e.name.localName}>`);let t=[];return Kf(e,t,!1),t},Ge=(e,t,n={})=>{if(e.name.namespaceURI!==d.pml||e.name.localName!==t)throw new Error(`expected <p:${t}>, got <${e.name.prefix}:${e.name.localName}>`);let r=m(e,l8);if(r===null)throw new Error(`<p:${t}>: missing <p:cSld>`);let a=m(r,o8);if(a===null)throw new Error("<p:cSld>: missing <p:spTree>");let l=[];return Kf(a,l,n.recurseIntoGroups??!0),{shapes:l,cSld:r}},ao=(e,t={})=>{let{shapes:n}=Ge(e,"sld",t);return{shapes:n,root:e}},jr=(e,t=`
|
|
8
|
-
`)=>e.shapes.map(n=>n.text).filter(n=>n.length>0).join(t);var T8=o("p","cSld",d.pml),w8=o("","name",""),v8=o("","type",""),$r=(e,t={})=>{let{shapes:n}=Ge(e,"sldLayout",t),r=m(e,T8),a=r!==null?x(r,w8):null,l=x(e,v8);return{name:a??"",layoutType:l,shapes:n,root:e}};var C8=o("p","sld",d.pml),P8=o("p","cSld",d.pml),L8=o("p","spTree",d.pml),R8=o("p","nvGrpSpPr",d.pml),nE=o("p","cNvPr",d.pml),N8=o("p","cNvGrpSpPr",d.pml),Jf=o("p","nvPr",d.pml),D8=o("p","grpSpPr",d.pml),_8=o("p","sp",d.pml),rE=o("p","nvSpPr",d.pml),k8=o("p","cNvSpPr",d.pml),M8=o("p","spPr",d.pml),F8=o("p","txBody",d.pml),aE=o("p","ph",d.pml),I8=o("a","bodyPr",d.dml),B8=o("a","lstStyle",d.dml),O8=o("a","p",d.dml),X8=o("a","spLocks",d.dml),lE=o("","id",""),oE=o("","name",""),j8=o("","type",""),$8=new Set(["type","idx","orient","sz"]),U8=o("","noGrp",""),Qf=e=>{let t=[];for(let s of e.children){if(s.kind!=="element"||s.name.namespaceURI!==d.pml||s.name.localName!=="sp")continue;let c=m(s,rE);if(c===null)continue;let p=m(c,Jf);if(p===null)continue;let u=m(p,aE);u!==null&&t.push(u)}let n=2,r=[];for(let s of t)r.push(ps(n,s)),n++;let a=h(L8,{children:[G8(1),q8(),...r]}),l=h(P8,{children:[a]}),i=h(C8,{prefixDecls:new Map([["a",d.dml],["r",d.officeDocRels],["p",d.pml]]),children:[l]});return{kind:"document",decl:{version:"1.0",encoding:"UTF-8",standalone:"yes"},prolog:[],root:i,epilog:[]}},G8=e=>h(R8,{children:[h(nE,{attrs:[b(lE,String(e)),b(oE,"")]}),h(N8),h(Jf)]}),q8=()=>h(D8),ps=(e,t)=>{let n=x(t,j8),r=t.attrs.filter(y=>y.name.namespaceURI===""&&$8.has(y.name.localName)).map(y=>b(y.name,y.value)),a=h(aE,{attrs:r}),l=h(Jf,{children:[a]}),i=h(k8,{children:[h(X8,{attrs:[b(U8,"1")]})]}),s=H8(e,n),c=h(nE,{attrs:[b(lE,String(e)),b(oE,s)]}),p=h(rE,{children:[c,i,l]}),u=h(M8),f=h(F8,{children:[h(I8),h(B8),h(O8,{children:[be("")]})]});return h(_8,{children:[p,u,f]})},H8=(e,t)=>{switch(t){case"title":return`Title ${e-1}`;case"ctrTitle":return`Centered Title ${e-1}`;case"subTitle":return`Subtitle ${e-1}`;case"body":return`Content Placeholder ${e-1}`;case"pic":return`Picture Placeholder ${e-1}`;case"chart":return`Chart Placeholder ${e-1}`;case"tbl":return`Table Placeholder ${e-1}`;case"dt":return`Date Placeholder ${e-1}`;case"sldNum":return`Slide Number Placeholder ${e-1}`;case"ftr":return`Footer Placeholder ${e-1}`;case"hdr":return`Header Placeholder ${e-1}`;default:return`Placeholder ${e-1}`}};var V8=o("p","sp",d.pml),z8=o("p","nvSpPr",d.pml),W8=o("p","cNvPr",d.pml),Y8=o("p","cNvSpPr",d.pml),Z8=o("p","nvPr",d.pml),K8=o("p","spPr",d.pml),J8=o("p","txBody",d.pml),Q8=o("a","xfrm",d.dml),eO=o("a","off",d.dml),tO=o("a","ext",d.dml),nO=o("a","prstGeom",d.dml),rO=o("a","avLst",d.dml),aO=o("a","noFill",d.dml),lO=o("a","bodyPr",d.dml),oO=o("a","lstStyle",d.dml),iO=o("a","p",d.dml),sO=o("a","r",d.dml),dO=o("a","rPr",d.dml),cO=o("a","t",d.dml),mO=o("","id",""),pO=o("","name",""),uO=o("","txBox",""),fO=o("","x",""),hO=o("","y",""),gO=o("","cx",""),yO=o("","cy",""),xO=o("","prst",""),SO=o("","wrap",""),bO=o("","rtlCol",""),EO=o("","lang",""),AO=o("xml","space",d.xml),eh=e=>{let t=e.name??`TextBox ${e.id}`,n=h(W8,{attrs:[b(mO,String(e.id)),b(pO,t)]}),r=h(Y8,{attrs:[b(uO,"1")]}),a=h(Z8),l=h(z8,{children:[n,r,a]}),i=h(eO,{attrs:[b(fO,String(Ue(e.x,"addSlideTextBox: x"))),b(hO,String(Ue(e.y,"addSlideTextBox: y")))]}),s=h(tO,{attrs:[b(gO,String(xe(e.w,"addSlideTextBox: w"))),b(yO,String(xe(e.h,"addSlideTextBox: h")))]}),c=h(Q8,{children:[i,s]}),p=h(nO,{attrs:[b(xO,"rect")],children:[h(rO)]}),u=h(K8,{children:[c,p,h(aO)]}),y=e.text.split(`
|
|
9
|
-
`).map(E=>{let A=h(cO,{children:E.length>0?[be(E)]:[]}),T=h(sO,{children:[h(dO,{attrs:[b(EO,"en-US")]}),A]});return h(iO,{children:[T]})}),g=h(lO,{attrs:[b(SO,"square"),b(bO,"0")]}),S=h(J8,{children:[g,h(oO),...y]});return h(V8,{children:[l,u,S]})};var TO=o("p","sp",d.pml),wO=o("p","nvSpPr",d.pml),vO=o("p","cNvPr",d.pml),CO=o("p","cNvSpPr",d.pml),PO=o("p","nvPr",d.pml),LO=o("p","spPr",d.pml),RO=o("p","txBody",d.pml),NO=o("a","xfrm",d.dml),DO=o("a","off",d.dml),_O=o("a","ext",d.dml),kO=o("a","prstGeom",d.dml),MO=o("a","avLst",d.dml),FO=o("a","bodyPr",d.dml),IO=o("a","lstStyle",d.dml),BO=o("a","p",d.dml),OO=o("a","r",d.dml),XO=o("a","rPr",d.dml),jO=o("a","t",d.dml),$O=o("","id",""),UO=o("","name",""),GO=o("","x",""),qO=o("","y",""),HO=o("","cx",""),VO=o("","cy",""),zO=o("","prst",""),WO=o("","wrap",""),YO=o("","rtlCol",""),ZO=o("","lang",""),KO=o("","anchor",""),JO=o("","anchorCtr",""),QO=(e,t)=>{if(e===void 0)return null;let n=[b(WO,"square"),b(YO,"0")];(t==="ctr"||t==="t"||t==="b")&&n.push(b(KO,t)),(t==="ctr"||t===void 0)&&n.push(b(JO,"1"));let r=h(FO,{attrs:n}),a=e.split(`
|
|
10
|
-
`).map(l=>{let i=h(jO,{children:l.length>0?[be(l)]:[]}),s=h(OO,{children:[h(XO,{attrs:[b(ZO,"en-US")]}),i]});return h(BO,{children:[s]})});return h(RO,{children:[r,h(IO),...a]})},th=e=>{Z(e.preset,QS,"addSlideShape: preset"),e.textAnchor!==void 0&&Z(e.textAnchor,["t","ctr","b"],"addSlideShape: textAnchor");let t=e.name??`${e.preset} ${e.id}`,n=e.textAnchor??"ctr",r=h(vO,{attrs:[b($O,String(e.id)),b(UO,t)]}),a=h(CO),l=h(wO,{children:[r,a,h(PO)]}),i=h(DO,{attrs:[b(GO,String(Ue(e.x,"addSlideShape: x"))),b(qO,String(Ue(e.y,"addSlideShape: y")))]}),s=h(_O,{attrs:[b(HO,String(xe(e.w,"addSlideShape: w"))),b(VO,String(xe(e.h,"addSlideShape: h")))]}),c=h(NO,{children:[i,s]}),p=h(kO,{attrs:[b(zO,e.preset)],children:[h(MO)]}),u=h(LO,{children:[c,p]}),f=[l,u],y=QO(e.text,n);return y&&f.push(y),h(TO,{children:f})};var eX=o("p","cxnSp",d.pml),tX=o("p","nvCxnSpPr",d.pml),nX=o("p","cNvPr",d.pml),rX=o("p","cNvCxnSpPr",d.pml),aX=o("p","nvPr",d.pml),lX=o("p","spPr",d.pml),oX=o("a","xfrm",d.dml),iX=o("a","off",d.dml),sX=o("a","ext",d.dml),dX=o("a","prstGeom",d.dml),cX=o("a","avLst",d.dml),mX=o("a","ln",d.dml),pX=o("a","solidFill",d.dml),uX=o("p","style",d.pml),fX=o("a","lnRef",d.dml),hX=o("a","fillRef",d.dml),gX=o("a","effectRef",d.dml),yX=o("a","fontRef",d.dml),xX=o("a","schemeClr",d.dml),SX=o("","idx",""),bX=o("","val",""),EX=o("","id",""),AX=o("","name",""),TX=o("","x",""),wX=o("","y",""),vX=o("","cx",""),CX=o("","cy",""),PX=o("","prst",""),LX=o("","w",""),RX=o("","flipH",""),NX=o("","flipV",""),nh=e=>{let t=e.name??`Straight Connector ${e.id}`,n=h(nX,{attrs:[b(EX,String(e.id)),b(AX,t)]}),r=h(rX),a=h(tX,{children:[n,r,h(aX)]}),l=Math.min(e.from.x,e.to.x),i=Math.min(e.from.y,e.to.y),s=Math.abs(e.to.x-e.from.x),c=Math.abs(e.to.y-e.from.y),p=e.from.x>e.to.x,u=e.from.y>e.to.y,f=[];p&&f.push(b(RX,"1")),u&&f.push(b(NX,"1"));let y=h(oX,{attrs:f,children:[h(iX,{attrs:[b(TX,String(Ue(l,"addSlideLine: x"))),b(wX,String(Ue(i,"addSlideLine: y")))]}),h(sX,{attrs:[b(vX,String(xe(s,"addSlideLine: width"))),b(CX,String(xe(c,"addSlideLine: height")))]})]}),g=h(dX,{attrs:[b(PX,"line")],children:[h(cX)]}),S=e.color!==void 0||e.widthEmu!==void 0,E=[y,g];if(S){let w=h(mX,{attrs:e.widthEmu!==void 0?[b(LX,String(Mr(e.widthEmu,"addSlideLine: widthEmu")))]:[],children:e.color!==void 0?[h(pX,{children:[tt(e.color)]})]:[]});E.push(w)}let A=h(lX,{children:E}),T=[a,A];if(!S){let w=(v,C,R)=>h(v,{attrs:[b(SX,C)],children:[h(xX,{attrs:[b(bX,R)]})]});T.push(h(uX,{children:[w(fX,"1","accent1"),w(hX,"0","accent1"),w(gX,"0","accent1"),w(yX,"minor","tx1")]}))}return h(eX,{children:T})};var DX=o("p","grpSp",d.pml),_X=o("p","nvGrpSpPr",d.pml),kX=o("p","cNvPr",d.pml),MX=o("p","cNvGrpSpPr",d.pml),FX=o("p","nvPr",d.pml),IX=o("p","grpSpPr",d.pml),BX=o("a","xfrm",d.dml),OX=o("a","off",d.dml),XX=o("a","ext",d.dml),jX=o("a","chOff",d.dml),$X=o("a","chExt",d.dml),UX=o("","id",""),GX=o("","name",""),iE=o("","x",""),sE=o("","y",""),dE=o("","cx",""),cE=o("","cy",""),rh=e=>{let t=e.name??`Group ${e.id}`,n=h(kX,{attrs:[b(UX,String(e.id)),b(GX,t)]}),r=h(_X,{children:[n,h(MX),h(FX)]}),a=Ue(e.x,"groupShapes: x"),l=Ue(e.y,"groupShapes: y"),i=xe(e.w,"groupShapes: w"),s=xe(e.h,"groupShapes: h"),c=h(BX,{children:[h(OX,{attrs:[b(iE,String(a)),b(sE,String(l))]}),h(XX,{attrs:[b(dE,String(i)),b(cE,String(s))]}),h(jX,{attrs:[b(iE,String(a)),b(sE,String(l))]}),h($X,{attrs:[b(dE,String(i)),b(cE,String(s))]})]}),p=h(IX,{children:[c]});return h(DX,{children:[r,p,...e.children]})};var qX=o("p","pic",d.pml),HX=o("p","nvPicPr",d.pml),VX=o("p","cNvPr",d.pml),zX=o("p","cNvPicPr",d.pml),WX=o("p","nvPr",d.pml),YX=o("p","blipFill",d.pml),ZX=o("a","blip",d.dml),KX=o("a","stretch",d.dml),JX=o("a","fillRect",d.dml),QX=o("p","spPr",d.pml),e7=o("a","xfrm",d.dml),t7=o("a","off",d.dml),n7=o("a","ext",d.dml),r7=o("a","prstGeom",d.dml),a7=o("a","avLst",d.dml),l7=o("a","picLocks",d.dml),o7=o("","id",""),i7=o("","name",""),s7=o("","x",""),d7=o("","y",""),c7=o("","cx",""),m7=o("","cy",""),p7=o("","prst",""),u7=o("r","embed",d.officeDocRels),f7=o("","noChangeAspect",""),us=e=>{let t=e.name??`Picture ${e.id}`,n=e.lockAspect??!0,r=h(l7,{attrs:n?[b(f7,"1")]:[]}),a=h(zX,{children:[r]}),l=h(VX,{attrs:[b(o7,String(e.id)),b(i7,t)]}),i=h(WX),s=h(HX,{children:[l,a,i]}),c=h(ZX,{attrs:[b(u7,e.rEmbed)]}),p=h(KX,{children:[h(JX)]}),u=h(YX,{children:[c,p]}),f=h(t7,{attrs:[b(s7,String(Ue(e.x,"addSlideImage: x"))),b(d7,String(Ue(e.y,"addSlideImage: y")))]}),y=h(n7,{attrs:[b(c7,String(xe(e.w,"addSlideImage: w"))),b(m7,String(xe(e.h,"addSlideImage: h")))]}),g=h(e7,{children:[f,y]}),S=h(r7,{attrs:[b(p7,"rect")],children:[h(a7)]}),E=h(QX,{children:[g,S]});return h(qX,{children:[s,u,E]})};var mE=o("p","nvPicPr",d.pml),h7=o("p","cNvPr",d.pml),pE=o("p","nvPr",d.pml),g7=o("a","hlinkClick",d.dml),y7=o("a","videoFile",d.dml),x7=o("a","audioFile",d.dml),uE=o("p","extLst",d.pml),S7=o("p","ext",d.pml),fE=o("p14","media",d.p14),b7=o("p","timing",d.pml),E7=o("p","tnLst",d.pml),A7=o("p","par",d.pml),hE=o("p","cTn",d.pml),T7=o("p","childTnLst",d.pml),w7=o("p","video",d.pml),v7=o("p","audio",d.pml),gE=o("p","cMediaNode",d.pml),C7=o("p","stCondLst",d.pml),P7=o("p","cond",d.pml),yE=o("p","tgtEl",d.pml),xE=o("p","spTgt",d.pml),L7=o("r","id",d.officeDocRels),SE=o("r","link",d.officeDocRels),ah=o("r","embed",d.officeDocRels),R7=o("","action",""),N7=o("","uri",""),bE=o("","id",""),D7=o("","dur",""),_7=o("","restart",""),k7=o("","nodeType",""),M7=o("","vol",""),F7=o("","fill",""),I7=o("","display",""),B7=o("","delay",""),EE=o("","spid",""),O7="ppaction://media",X7="{DAA4B4D4-6D71-4841-9C94-3DE7FCFB9230}",j7="80000",lh=e=>{let t=us(e),n=m(t,mE),r=m(n,h7),a=m(n,pE);if(r.children.push(h(g7,{attrs:[b(L7,""),b(R7,O7)]})),a.children.push(h(e.kind==="video"?y7:x7,{attrs:[b(SE,e.rLink)]})),e.rMedia!==void 0){let l=h(fE,{attrs:[b(ah,e.rMedia)],prefixDecls:new Map([["p14",d.p14]])}),i=h(S7,{attrs:[b(N7,X7)],children:[l]});a.children.push(h(uE,{children:[i]}))}return t},Ec=(e,t,n)=>{let r=h(hE,{attrs:[b(bE,String(n)),b(F7,"hold"),b(I7,"0")],children:[h(C7,{children:[h(P7,{attrs:[b(B7,"indefinite")]})]})]}),a=h(yE,{children:[h(xE,{attrs:[b(EE,String(t))]})]}),l=h(gE,{attrs:[b(M7,j7)],children:[r,a]});return h(e==="video"?w7:v7,{children:[l]})},Ac=e=>{let t=h(hE,{attrs:[b(bE,"1"),b(D7,"indefinite"),b(_7,"never"),b(k7,"tmRoot")],children:[h(T7,{children:[...e]})]});return h(b7,{children:[h(E7,{children:[h(A7,{children:[t]})]})]})},hr=e=>e.name.namespaceURI===d.pml&&(e.name.localName==="video"||e.name.localName==="audio"),lo=e=>{let t=m(e,gE),n=t?m(t,yE):null,r=n?m(n,xE):null,a=r?x(r,EE):null;if(a===null)return null;let l=Number.parseInt(a,10);return Number.isFinite(l)?l:null},$7={videoFile:"video",quickTimeFile:"video",audioFile:"audio",wavAudioFile:"audio"},fs=e=>{let t=m(e,mE),n=t?m(t,pE):null;if(!n)return null;for(let r of n.children){if(r.kind!=="element"||r.name.namespaceURI!==d.dml)continue;let a=$7[r.name.localName];if(a===void 0)continue;let l=r.name.localName==="wavAudioFile"?x(r,ah):x(r,SE);return{kind:a,fileRId:l,mediaRId:U7(n)}}return null},U7=e=>{let t=m(e,uE);if(!t)return null;for(let n of t.children){if(n.kind!=="element")continue;let r=m(n,fE);if(r)return x(r,ah)}return null};var G7="http://schemas.openxmlformats.org/drawingml/2006/table",oo="{5C22544A-7EE6-4342-B048-85BDC9FD1C3A}",q7=o("p","graphicFrame",d.pml),H7=o("p","nvGraphicFramePr",d.pml),V7=o("p","cNvPr",d.pml),z7=o("p","cNvGraphicFramePr",d.pml),W7=o("a","graphicFrameLocks",d.dml),Y7=o("p","nvPr",d.pml),Z7=o("p","xfrm",d.pml),K7=o("a","off",d.dml),J7=o("a","ext",d.dml),Q7=o("a","graphic",d.dml),e9=o("a","graphicData",d.dml),t9=o("a","tbl",d.dml),n9=o("a","tblPr",d.dml),r9=o("a","tableStyleId",d.dml),a9=o("a","tblGrid",d.dml),l9=o("a","gridCol",d.dml),o9=o("a","tr",d.dml),i9=o("a","tc",d.dml),s9=o("a","tcPr",d.dml),d9=o("a","txBody",d.dml),c9=o("a","bodyPr",d.dml),m9=o("a","lstStyle",d.dml),p9=o("a","p",d.dml),u9=o("a","r",d.dml),AE=o("a","rPr",d.dml),f9=o("a","solidFill",d.dml),h9=o("a","srgbClr",d.dml),g9=o("a","t",d.dml),y9=o("a","pPr",d.dml),x9=o("a","buNone",d.dml),S9=o("","val",""),wE=o("","marL",""),b9=o("","marR",""),E9=o("","marT",""),A9=o("","marB",""),T9=o("","indent",""),w9=o("","id",""),v9=o("","name",""),C9=o("","noGrp",""),P9=o("","x",""),L9=o("","y",""),R9=o("","cx",""),N9=o("","cy",""),D9=o("","uri",""),_9=o("","w",""),k9=o("","h",""),M9=o("","firstRow",""),F9=o("","bandRow",""),I9=o("","lang",""),B9=e=>{let t=b(I9,"en-US");if(e===void 0)return h(AE,{attrs:[t]});let n=e.startsWith("#")?e.slice(1):e,r=h(f9,{children:[h(h9,{attrs:[b(S9,n.toUpperCase())]})]});return h(AE,{attrs:[t],children:[r]})},O9=(e,t)=>{let n=h(y9,{attrs:[b(wE,"0"),b(T9,"0")],children:[h(x9)]}),r=h(g9,{children:e.length>0?[be(e)]:[]}),a=h(u9,{children:[B9(t),r]});return h(p9,{children:[n,a]})},X9=(e,t)=>{let r=(e.length===0?[""]:e.split(`
|
|
11
|
-
`)).map(a=>O9(a,t));return h(d9,{children:[h(c9),h(m9),...r]})},j9=()=>h(s9,{attrs:[b(wE,"91440"),b(b9,"91440"),b(E9,"45720"),b(A9,"45720")]}),Tc=(e,t)=>h(i9,{children:[X9(e,t),j9()]}),wc=(e,t,n)=>h(o9,{attrs:[b(k9,String(xe(t,"addSlideTable: row height")))],children:e.map(r=>Tc(r,n))}),TE=(e,t)=>{if(t<=0)return[];let n=Math.floor(e/t),r=Array.from({length:t},()=>n);return r[t-1]=n+(e-n*t),r},oh=e=>{let t=e.rows;if(t.length===0)throw new Error("addSlideTable: at least one row is required");let n=t[0]?.length??0;if(n===0)throw new Error("addSlideTable: at least one column is required");for(let C=0;C<t.length;C++){let R=t[C];if(!R)throw new Error(`addSlideTable: row ${C} is missing`);if(R.length!==n)throw new Error(`addSlideTable: row ${C} has ${R.length} cells; expected ${n} to match row 0`)}let r=e.colWidths??TE(e.w,n);if(r.length!==n)throw new Error(`addSlideTable: colWidths has ${r.length} entries; expected ${n}`);let a=e.rowHeights??TE(e.h,t.length);if(a.length!==t.length)throw new Error(`addSlideTable: rowHeights has ${a.length} entries; expected ${t.length}`);let l=e.name??`Table ${e.id}`,i=h(V7,{attrs:[b(w9,String(e.id)),b(v9,l)]}),s=h(z7,{children:[h(W7,{attrs:[b(C9,"1")]})]}),c=h(Y7),p=h(H7,{children:[i,s,c]}),u=h(K7,{attrs:[b(P9,String(Ue(e.x,"addSlideTable: x"))),b(L9,String(Ue(e.y,"addSlideTable: y")))]}),f=h(J7,{attrs:[b(R9,String(xe(e.w,"addSlideTable: w"))),b(N9,String(xe(e.h,"addSlideTable: h")))]}),y=h(Z7,{children:[u,f]}),g=h(r9,{children:[be(e.styleId===void 0?oo:jd(e.styleId,"addSlideTable: styleId"))]}),S=h(n9,{attrs:[b(M9,e.firstRow??!0?"1":"0"),b(F9,e.bandRow??!0?"1":"0")],children:[g]}),E=h(a9,{children:r.map(C=>h(l9,{attrs:[b(_9,String(xe(C,"addSlideTable: column width")))]}))}),A=t.map((C,R)=>wc(C,a[R]??0,e.textColorHex)),T=h(t9,{children:[S,E,...A]}),w=h(e9,{attrs:[b(D9,G7)],children:[T]}),v=h(Q7,{children:[w]});return h(q7,{children:[p,y,v]})};var io=[{id:"{2D5ABB26-0587-4C30-8999-92F81FD0307C}",name:"No Style, No Grid",category:"bestMatch"},{id:"{3C2FFA5D-87B4-456A-9821-1D502468CF0F}",name:"Themed Style 1 - Accent 1",category:"bestMatch"},{id:"{284E427A-3D55-4303-BF80-6455036E1DE7}",name:"Themed Style 1 - Accent 2",category:"bestMatch"},{id:"{69C7853C-536D-4A76-A0AE-DD22124D55A5}",name:"Themed Style 1 - Accent 3",category:"bestMatch"},{id:"{775DCB02-9BB8-47FD-8907-85C794F793BA}",name:"Themed Style 1 - Accent 4",category:"bestMatch"},{id:"{35758FB7-9AC5-4552-8A53-C91805E547FA}",name:"Themed Style 1 - Accent 5",category:"bestMatch"},{id:"{08FB837D-C827-4EFA-A057-4D05807E0F7C}",name:"Themed Style 1 - Accent 6",category:"bestMatch"},{id:"{5940675A-B579-460E-94D1-54222C63F5DA}",name:"No Style, Table Grid",category:"bestMatch"},{id:"{D113A9D2-9D6B-4929-AA2D-F23B5EE8CBE7}",name:"Themed Style 2 - Accent 1",category:"bestMatch"},{id:"{18603FDC-E32A-4AB5-989C-0864C3EAD2B8}",name:"Themed Style 2 - Accent 2",category:"bestMatch"},{id:"{306799F8-075E-4A3A-A7F6-7FBC6576F1A4}",name:"Themed Style 2 - Accent 3",category:"bestMatch"},{id:"{E269D01E-BC32-4049-B463-5C60D7B0CCD2}",name:"Themed Style 2 - Accent 4",category:"bestMatch"},{id:"{327F97BB-C833-4FB7-BDE5-3F7075034690}",name:"Themed Style 2 - Accent 5",category:"bestMatch"},{id:"{638B1855-1B75-4FBE-930C-398BA8C253C6}",name:"Themed Style 2 - Accent 6",category:"bestMatch"},{id:"{9D7B26C5-4107-4FEC-AEDC-1716B250A1EF}",name:"Light Style 1",category:"light"},{id:"{3B4B98B0-60AC-42C2-AFA5-B58CD77FA1E5}",name:"Light Style 1 - Accent 1",category:"light"},{id:"{0E3FDE45-AF77-4B5C-9715-49D594BDF05E}",name:"Light Style 1 - Accent 2",category:"light"},{id:"{C083E6E3-FA7D-4D7B-A595-EF9225AFEA82}",name:"Light Style 1 - Accent 3",category:"light"},{id:"{D27102A9-8310-4765-A935-A1911B00CA55}",name:"Light Style 1 - Accent 4",category:"light"},{id:"{5FD0F851-EC5A-4D38-B0AD-8093EC10F338}",name:"Light Style 1 - Accent 5",category:"light"},{id:"{68D230F3-CF80-4859-8CE7-A43EE81993B5}",name:"Light Style 1 - Accent 6",category:"light"},{id:"{7E9639D4-E3E2-4D34-9284-5A2195B3D0D7}",name:"Light Style 2",category:"light"},{id:"{69012ECD-51FC-41F1-AA8D-1B2483CD663E}",name:"Light Style 2 - Accent 1",category:"light"},{id:"{72833802-FEF1-4C79-8D5D-14CF1EAF98D9}",name:"Light Style 2 - Accent 2",category:"light"},{id:"{F2DE63D5-997A-4646-A377-4702673A728D}",name:"Light Style 2 - Accent 3",category:"light"},{id:"{17292A2E-F333-43FB-9621-5CBBE7FDCDCB}",name:"Light Style 2 - Accent 4",category:"light"},{id:"{5A111915-BE36-4E01-A7E5-04B1672EAD32}",name:"Light Style 2 - Accent 5",category:"light"},{id:"{912C8C85-51F0-491E-9774-3900AFEF0FD7}",name:"Light Style 2 - Accent 6",category:"light"},{id:"{616DA210-FB5B-4158-B5E0-FEB733F419BA}",name:"Light Style 3",category:"light"},{id:"{BC89EF96-8CEA-46FF-86C4-4CE0E7609802}",name:"Light Style 3 - Accent 1",category:"light"},{id:"{5DA37D80-6434-44D0-A028-1B22A696006F}",name:"Light Style 3 - Accent 2",category:"light"},{id:"{8799B23B-EC83-4686-B30A-512413B5E67A}",name:"Light Style 3 - Accent 3",category:"light"},{id:"{ED083AE6-46FA-4A59-8FB0-9F97EB10719F}",name:"Light Style 3 - Accent 4",category:"light"},{id:"{BDBED569-4797-4DF1-A0F4-6AAB3CD982D8}",name:"Light Style 3 - Accent 5",category:"light"},{id:"{E8B1032C-EA38-4F05-BA0D-38AFFFC7BED3}",name:"Light Style 3 - Accent 6",category:"light"},{id:"{793D81CF-94F2-401A-BA57-92F5A7B2D0C5}",name:"Medium Style 1",category:"medium"},{id:"{B301B821-A1FF-4177-AEE7-76D212191A09}",name:"Medium Style 1 - Accent 1",category:"medium"},{id:"{9DCAF9ED-07DC-4A11-8D7F-57B35C25682E}",name:"Medium Style 1 - Accent 2",category:"medium"},{id:"{1FECB4D8-DB02-4DC6-A0A2-4F2EBAE1DC90}",name:"Medium Style 1 - Accent 3",category:"medium"},{id:"{1E171933-4619-4E11-9A3F-F7608DF75F80}",name:"Medium Style 1 - Accent 4",category:"medium"},{id:"{FABFCF23-3B69-468F-B69F-88F6DE6A72F2}",name:"Medium Style 1 - Accent 5",category:"medium"},{id:"{10A1B5D5-9B99-4C35-A422-299274C87663}",name:"Medium Style 1 - Accent 6",category:"medium"},{id:"{073A0DAA-6AF3-43AB-8588-CEC1D06C72B9}",name:"Medium Style 2",category:"medium"},{id:"{5C22544A-7EE6-4342-B048-85BDC9FD1C3A}",name:"Medium Style 2 - Accent 1",category:"medium"},{id:"{21E4AEA4-8DFA-4A89-87EB-49C32662AFE0}",name:"Medium Style 2 - Accent 2",category:"medium"},{id:"{F5AB1C69-6EDB-4FF4-983F-18BD219EF322}",name:"Medium Style 2 - Accent 3",category:"medium"},{id:"{00A15C55-8517-42AA-B614-E9B94910E393}",name:"Medium Style 2 - Accent 4",category:"medium"},{id:"{7DF18680-E054-41AD-8BC1-D1AEF772440D}",name:"Medium Style 2 - Accent 5",category:"medium"},{id:"{93296810-A885-4BE3-A3E7-6D5BEEA58F35}",name:"Medium Style 2 - Accent 6",category:"medium"},{id:"{8EC20E35-A176-4012-BC5E-935CFFF8708E}",name:"Medium Style 3",category:"medium"},{id:"{6E25E649-3F16-4E02-A733-19D2CDBF48F0}",name:"Medium Style 3 - Accent 1",category:"medium"},{id:"{85BE263C-DBD7-4A20-BB59-AAB30ACAA65A}",name:"Medium Style 3 - Accent 2",category:"medium"},{id:"{EB344D84-9AFB-497E-A393-DC336BA19D2E}",name:"Medium Style 3 - Accent 3",category:"medium"},{id:"{EB9631B5-78F2-41C9-869B-9F39066F8104}",name:"Medium Style 3 - Accent 4",category:"medium"},{id:"{74C1A8A3-306A-4EB7-A6B1-4F7E0EB9C5D6}",name:"Medium Style 3 - Accent 5",category:"medium"},{id:"{2A488322-F2BA-4B5B-9748-0D474271808F}",name:"Medium Style 3 - Accent 6",category:"medium"},{id:"{D7AC3CCA-C797-4891-BE02-D94E43425B78}",name:"Medium Style 4",category:"medium"},{id:"{69CF1AB2-1976-4502-BF36-3FF5EA218861}",name:"Medium Style 4 - Accent 1",category:"medium"},{id:"{8A107856-5554-42FB-B03E-39F5DBC370BA}",name:"Medium Style 4 - Accent 2",category:"medium"},{id:"{0505E3EF-67EA-436B-97B2-0124C06EBD24}",name:"Medium Style 4 - Accent 3",category:"medium"},{id:"{C4B1156A-380E-4F78-BDF5-A606A8083BF9}",name:"Medium Style 4 - Accent 4",category:"medium"},{id:"{22838BEF-8BB2-4498-84A7-C5851F593DF1}",name:"Medium Style 4 - Accent 5",category:"medium"},{id:"{16D9F66E-5EB9-4882-86FB-DCBF35E3C3E4}",name:"Medium Style 4 - Accent 6",category:"medium"},{id:"{E8034E78-7F5D-4C2E-B375-FC64B27BC917}",name:"Dark Style 1",category:"dark"},{id:"{125E5076-3810-47DD-B79F-674D7AD40C01}",name:"Dark Style 1 - Accent 1",category:"dark"},{id:"{37CE84F3-28C3-443E-9E96-99CF82512B78}",name:"Dark Style 1 - Accent 2",category:"dark"},{id:"{D03447BB-5D67-496B-8E87-E561075AD55C}",name:"Dark Style 1 - Accent 3",category:"dark"},{id:"{E929F9F4-4A8F-4326-A1B4-22849713DDAB}",name:"Dark Style 1 - Accent 4",category:"dark"},{id:"{8FD4443E-F989-4FC4-A0C8-D5A2AF1F390B}",name:"Dark Style 1 - Accent 5",category:"dark"},{id:"{AF606853-7671-496A-8E4F-DF71F8EC918B}",name:"Dark Style 1 - Accent 6",category:"dark"},{id:"{5202B0CA-FC54-4496-8BCA-5EF66A818D29}",name:"Dark Style 2",category:"dark"},{id:"{0660B408-B3CF-4A94-85FC-2B1E0A45F4A2}",name:"Dark Style 2 - Accent 1/Accent 2",category:"dark"},{id:"{91EBBBCC-DAD2-459C-BE2E-F6DE35CF9A28}",name:"Dark Style 2 - Accent 3/Accent 4",category:"dark"},{id:"{46F890A9-2807-4EBB-B81D-B2AA78EC7F39}",name:"Dark Style 2 - Accent 5/Accent 6",category:"dark"}],vE=['<a:wholeTbl><a:tcTxStyle><a:fontRef idx="minor"><a:scrgbClr r="0" g="0" b="0"/></a:fontRef><a:schemeClr val="tx1"/></a:tcTxStyle><a:tcStyle><a:tcBdr><a:left><a:ln><a:noFill/></a:ln></a:left><a:right><a:ln><a:noFill/></a:ln></a:right><a:top><a:ln><a:noFill/></a:ln></a:top><a:bottom><a:ln><a:noFill/></a:ln></a:bottom><a:insideH><a:ln><a:noFill/></a:ln></a:insideH><a:insideV><a:ln><a:noFill/></a:ln></a:insideV></a:tcBdr><a:fill><a:noFill/></a:fill></a:tcStyle></a:wholeTbl>','<a:tblBg><a:fillRef idx="2"><a:schemeClr val="$A"/></a:fillRef><a:effectRef idx="1"><a:schemeClr val="$A"/></a:effectRef></a:tblBg><a:wholeTbl><a:tcTxStyle><a:fontRef idx="minor"><a:scrgbClr r="0" g="0" b="0"/></a:fontRef><a:schemeClr val="dk1"/></a:tcTxStyle><a:tcStyle><a:tcBdr><a:left><a:lnRef idx="1"><a:schemeClr val="$A"/></a:lnRef></a:left><a:right><a:lnRef idx="1"><a:schemeClr val="$A"/></a:lnRef></a:right><a:top><a:lnRef idx="1"><a:schemeClr val="$A"/></a:lnRef></a:top><a:bottom><a:lnRef idx="1"><a:schemeClr val="$A"/></a:lnRef></a:bottom><a:insideH><a:lnRef idx="1"><a:schemeClr val="$A"/></a:lnRef></a:insideH><a:insideV><a:lnRef idx="1"><a:schemeClr val="$A"/></a:lnRef></a:insideV></a:tcBdr><a:fill><a:noFill/></a:fill></a:tcStyle></a:wholeTbl><a:band1H><a:tcStyle><a:tcBdr/><a:fill><a:solidFill><a:schemeClr val="$A"><a:alpha val="40000"/></a:schemeClr></a:solidFill></a:fill></a:tcStyle></a:band1H><a:band2H><a:tcStyle><a:tcBdr/></a:tcStyle></a:band2H><a:band1V><a:tcStyle><a:tcBdr><a:top><a:lnRef idx="1"><a:schemeClr val="$A"/></a:lnRef></a:top><a:bottom><a:lnRef idx="1"><a:schemeClr val="$A"/></a:lnRef></a:bottom></a:tcBdr><a:fill><a:solidFill><a:schemeClr val="$A"><a:alpha val="40000"/></a:schemeClr></a:solidFill></a:fill></a:tcStyle></a:band1V><a:band2V><a:tcStyle><a:tcBdr/></a:tcStyle></a:band2V><a:lastCol><a:tcTxStyle b="on"/><a:tcStyle><a:tcBdr><a:left><a:lnRef idx="2"><a:schemeClr val="$A"/></a:lnRef></a:left><a:right><a:lnRef idx="1"><a:schemeClr val="$A"/></a:lnRef></a:right><a:top><a:lnRef idx="1"><a:schemeClr val="$A"/></a:lnRef></a:top><a:bottom><a:lnRef idx="1"><a:schemeClr val="$A"/></a:lnRef></a:bottom><a:insideH><a:lnRef idx="1"><a:schemeClr val="$A"/></a:lnRef></a:insideH><a:insideV><a:ln><a:noFill/></a:ln></a:insideV></a:tcBdr></a:tcStyle></a:lastCol><a:firstCol><a:tcTxStyle b="on"/><a:tcStyle><a:tcBdr><a:left><a:lnRef idx="1"><a:schemeClr val="$A"/></a:lnRef></a:left><a:right><a:lnRef idx="2"><a:schemeClr val="$A"/></a:lnRef></a:right><a:top><a:lnRef idx="1"><a:schemeClr val="$A"/></a:lnRef></a:top><a:bottom><a:lnRef idx="1"><a:schemeClr val="$A"/></a:lnRef></a:bottom><a:insideH><a:lnRef idx="1"><a:schemeClr val="$A"/></a:lnRef></a:insideH><a:insideV><a:ln><a:noFill/></a:ln></a:insideV></a:tcBdr></a:tcStyle></a:firstCol><a:lastRow><a:tcTxStyle b="on"/><a:tcStyle><a:tcBdr><a:left><a:lnRef idx="1"><a:schemeClr val="$A"/></a:lnRef></a:left><a:right><a:lnRef idx="1"><a:schemeClr val="$A"/></a:lnRef></a:right><a:top><a:lnRef idx="2"><a:schemeClr val="$A"/></a:lnRef></a:top><a:bottom><a:lnRef idx="2"><a:schemeClr val="$A"/></a:lnRef></a:bottom><a:insideH><a:ln><a:noFill/></a:ln></a:insideH><a:insideV><a:ln><a:noFill/></a:ln></a:insideV></a:tcBdr><a:fill><a:noFill/></a:fill></a:tcStyle></a:lastRow><a:firstRow><a:tcTxStyle b="on"><a:fontRef idx="minor"><a:scrgbClr r="0" g="0" b="0"/></a:fontRef><a:schemeClr val="lt1"/></a:tcTxStyle><a:tcStyle><a:tcBdr><a:left><a:lnRef idx="1"><a:schemeClr val="$A"/></a:lnRef></a:left><a:right><a:lnRef idx="1"><a:schemeClr val="$A"/></a:lnRef></a:right><a:top><a:lnRef idx="1"><a:schemeClr val="$A"/></a:lnRef></a:top><a:bottom><a:lnRef idx="2"><a:schemeClr val="lt1"/></a:lnRef></a:bottom><a:insideH><a:ln><a:noFill/></a:ln></a:insideH><a:insideV><a:ln><a:noFill/></a:ln></a:insideV></a:tcBdr><a:fill><a:solidFill><a:schemeClr val="$A"/></a:solidFill></a:fill></a:tcStyle></a:firstRow>','<a:wholeTbl><a:tcTxStyle><a:fontRef idx="minor"><a:scrgbClr r="0" g="0" b="0"/></a:fontRef><a:schemeClr val="tx1"/></a:tcTxStyle><a:tcStyle><a:tcBdr><a:left><a:ln w="12700" cmpd="sng"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill></a:ln></a:left><a:right><a:ln w="12700" cmpd="sng"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill></a:ln></a:right><a:top><a:ln w="12700" cmpd="sng"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill></a:ln></a:top><a:bottom><a:ln w="12700" cmpd="sng"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill></a:ln></a:bottom><a:insideH><a:ln w="12700" cmpd="sng"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill></a:ln></a:insideH><a:insideV><a:ln w="12700" cmpd="sng"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill></a:ln></a:insideV></a:tcBdr><a:fill><a:noFill/></a:fill></a:tcStyle></a:wholeTbl>','<a:tblBg><a:fillRef idx="3"><a:schemeClr val="$A"/></a:fillRef><a:effectRef idx="3"><a:schemeClr val="$A"/></a:effectRef></a:tblBg><a:wholeTbl><a:tcTxStyle><a:fontRef idx="minor"><a:scrgbClr r="0" g="0" b="0"/></a:fontRef><a:schemeClr val="lt1"/></a:tcTxStyle><a:tcStyle><a:tcBdr><a:left><a:lnRef idx="1"><a:schemeClr val="$A"><a:tint val="50000"/></a:schemeClr></a:lnRef></a:left><a:right><a:lnRef idx="1"><a:schemeClr val="$A"><a:tint val="50000"/></a:schemeClr></a:lnRef></a:right><a:top><a:lnRef idx="1"><a:schemeClr val="$A"><a:tint val="50000"/></a:schemeClr></a:lnRef></a:top><a:bottom><a:lnRef idx="1"><a:schemeClr val="$A"><a:tint val="50000"/></a:schemeClr></a:lnRef></a:bottom><a:insideH><a:ln><a:noFill/></a:ln></a:insideH><a:insideV><a:ln><a:noFill/></a:ln></a:insideV></a:tcBdr><a:fill><a:noFill/></a:fill></a:tcStyle></a:wholeTbl><a:band1H><a:tcStyle><a:tcBdr/><a:fill><a:solidFill><a:schemeClr val="lt1"><a:alpha val="20000"/></a:schemeClr></a:solidFill></a:fill></a:tcStyle></a:band1H><a:band1V><a:tcStyle><a:tcBdr/><a:fill><a:solidFill><a:schemeClr val="lt1"><a:alpha val="20000"/></a:schemeClr></a:solidFill></a:fill></a:tcStyle></a:band1V><a:lastCol><a:tcTxStyle b="on"/><a:tcStyle><a:tcBdr><a:left><a:lnRef idx="2"><a:schemeClr val="lt1"/></a:lnRef></a:left></a:tcBdr></a:tcStyle></a:lastCol><a:firstCol><a:tcTxStyle b="on"/><a:tcStyle><a:tcBdr><a:right><a:lnRef idx="2"><a:schemeClr val="lt1"/></a:lnRef></a:right></a:tcBdr></a:tcStyle></a:firstCol><a:lastRow><a:tcTxStyle b="on"/><a:tcStyle><a:tcBdr><a:top><a:lnRef idx="2"><a:schemeClr val="lt1"/></a:lnRef></a:top></a:tcBdr><a:fill><a:noFill/></a:fill></a:tcStyle></a:lastRow><a:seCell><a:tcStyle><a:tcBdr><a:left><a:ln><a:noFill/></a:ln></a:left><a:top><a:ln><a:noFill/></a:ln></a:top></a:tcBdr></a:tcStyle></a:seCell><a:swCell><a:tcStyle><a:tcBdr><a:right><a:ln><a:noFill/></a:ln></a:right><a:top><a:ln><a:noFill/></a:ln></a:top></a:tcBdr></a:tcStyle></a:swCell><a:firstRow><a:tcTxStyle b="on"/><a:tcStyle><a:tcBdr><a:bottom><a:lnRef idx="3"><a:schemeClr val="lt1"/></a:lnRef></a:bottom></a:tcBdr><a:fill><a:noFill/></a:fill></a:tcStyle></a:firstRow><a:neCell><a:tcStyle><a:tcBdr><a:bottom><a:ln><a:noFill/></a:ln></a:bottom></a:tcBdr></a:tcStyle></a:neCell>','<a:wholeTbl><a:tcTxStyle><a:fontRef idx="minor"><a:scrgbClr r="0" g="0" b="0"/></a:fontRef><a:schemeClr val="tx1"/></a:tcTxStyle><a:tcStyle><a:tcBdr><a:left><a:ln><a:noFill/></a:ln></a:left><a:right><a:ln><a:noFill/></a:ln></a:right><a:top><a:ln w="12700" cmpd="sng"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill></a:ln></a:top><a:bottom><a:ln w="12700" cmpd="sng"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill></a:ln></a:bottom><a:insideH><a:ln><a:noFill/></a:ln></a:insideH><a:insideV><a:ln><a:noFill/></a:ln></a:insideV></a:tcBdr><a:fill><a:noFill/></a:fill></a:tcStyle></a:wholeTbl><a:band1H><a:tcStyle><a:tcBdr/><a:fill><a:solidFill><a:schemeClr val="tx1"><a:alpha val="20000"/></a:schemeClr></a:solidFill></a:fill></a:tcStyle></a:band1H><a:band2H><a:tcStyle><a:tcBdr/></a:tcStyle></a:band2H><a:band1V><a:tcStyle><a:tcBdr/><a:fill><a:solidFill><a:schemeClr val="tx1"><a:alpha val="20000"/></a:schemeClr></a:solidFill></a:fill></a:tcStyle></a:band1V><a:lastCol><a:tcTxStyle b="on"/><a:tcStyle><a:tcBdr/></a:tcStyle></a:lastCol><a:firstCol><a:tcTxStyle b="on"/><a:tcStyle><a:tcBdr/></a:tcStyle></a:firstCol><a:lastRow><a:tcTxStyle b="on"/><a:tcStyle><a:tcBdr><a:top><a:ln w="12700" cmpd="sng"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill></a:ln></a:top></a:tcBdr><a:fill><a:noFill/></a:fill></a:tcStyle></a:lastRow><a:firstRow><a:tcTxStyle b="on"/><a:tcStyle><a:tcBdr><a:bottom><a:ln w="12700" cmpd="sng"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill></a:ln></a:bottom></a:tcBdr><a:fill><a:noFill/></a:fill></a:tcStyle></a:firstRow>','<a:wholeTbl><a:tcTxStyle><a:fontRef idx="minor"><a:scrgbClr r="0" g="0" b="0"/></a:fontRef><a:schemeClr val="tx1"/></a:tcTxStyle><a:tcStyle><a:tcBdr><a:left><a:ln><a:noFill/></a:ln></a:left><a:right><a:ln><a:noFill/></a:ln></a:right><a:top><a:ln w="12700" cmpd="sng"><a:solidFill><a:schemeClr val="$A"/></a:solidFill></a:ln></a:top><a:bottom><a:ln w="12700" cmpd="sng"><a:solidFill><a:schemeClr val="$A"/></a:solidFill></a:ln></a:bottom><a:insideH><a:ln><a:noFill/></a:ln></a:insideH><a:insideV><a:ln><a:noFill/></a:ln></a:insideV></a:tcBdr><a:fill><a:noFill/></a:fill></a:tcStyle></a:wholeTbl><a:band1H><a:tcStyle><a:tcBdr/><a:fill><a:solidFill><a:schemeClr val="$A"><a:alpha val="20000"/></a:schemeClr></a:solidFill></a:fill></a:tcStyle></a:band1H><a:band2H><a:tcStyle><a:tcBdr/></a:tcStyle></a:band2H><a:band1V><a:tcStyle><a:tcBdr/><a:fill><a:solidFill><a:schemeClr val="$A"><a:alpha val="20000"/></a:schemeClr></a:solidFill></a:fill></a:tcStyle></a:band1V><a:lastCol><a:tcTxStyle b="on"/><a:tcStyle><a:tcBdr/></a:tcStyle></a:lastCol><a:firstCol><a:tcTxStyle b="on"/><a:tcStyle><a:tcBdr/></a:tcStyle></a:firstCol><a:lastRow><a:tcTxStyle b="on"/><a:tcStyle><a:tcBdr><a:top><a:ln w="12700" cmpd="sng"><a:solidFill><a:schemeClr val="$A"/></a:solidFill></a:ln></a:top></a:tcBdr><a:fill><a:noFill/></a:fill></a:tcStyle></a:lastRow><a:firstRow><a:tcTxStyle b="on"/><a:tcStyle><a:tcBdr><a:bottom><a:ln w="12700" cmpd="sng"><a:solidFill><a:schemeClr val="$A"/></a:solidFill></a:ln></a:bottom></a:tcBdr><a:fill><a:noFill/></a:fill></a:tcStyle></a:firstRow>','<a:wholeTbl><a:tcTxStyle><a:fontRef idx="minor"><a:scrgbClr r="0" g="0" b="0"/></a:fontRef><a:schemeClr val="tx1"/></a:tcTxStyle><a:tcStyle><a:tcBdr><a:left><a:lnRef idx="1"><a:schemeClr val="tx1"/></a:lnRef></a:left><a:right><a:lnRef idx="1"><a:schemeClr val="tx1"/></a:lnRef></a:right><a:top><a:lnRef idx="1"><a:schemeClr val="tx1"/></a:lnRef></a:top><a:bottom><a:lnRef idx="1"><a:schemeClr val="tx1"/></a:lnRef></a:bottom><a:insideH><a:ln><a:noFill/></a:ln></a:insideH><a:insideV><a:ln><a:noFill/></a:ln></a:insideV></a:tcBdr><a:fill><a:noFill/></a:fill></a:tcStyle></a:wholeTbl><a:band1H><a:tcStyle><a:tcBdr><a:top><a:lnRef idx="1"><a:schemeClr val="tx1"/></a:lnRef></a:top><a:bottom><a:lnRef idx="1"><a:schemeClr val="tx1"/></a:lnRef></a:bottom></a:tcBdr></a:tcStyle></a:band1H><a:band1V><a:tcStyle><a:tcBdr><a:left><a:lnRef idx="1"><a:schemeClr val="tx1"/></a:lnRef></a:left><a:right><a:lnRef idx="1"><a:schemeClr val="tx1"/></a:lnRef></a:right></a:tcBdr></a:tcStyle></a:band1V><a:band2V><a:tcStyle><a:tcBdr><a:left><a:lnRef idx="1"><a:schemeClr val="tx1"/></a:lnRef></a:left><a:right><a:lnRef idx="1"><a:schemeClr val="tx1"/></a:lnRef></a:right></a:tcBdr></a:tcStyle></a:band2V><a:lastCol><a:tcTxStyle b="on"/><a:tcStyle><a:tcBdr/></a:tcStyle></a:lastCol><a:firstCol><a:tcTxStyle b="on"/><a:tcStyle><a:tcBdr/></a:tcStyle></a:firstCol><a:lastRow><a:tcTxStyle b="on"/><a:tcStyle><a:tcBdr><a:top><a:ln w="50800" cmpd="dbl"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill></a:ln></a:top></a:tcBdr></a:tcStyle></a:lastRow><a:firstRow><a:tcTxStyle b="on"><a:fontRef idx="minor"><a:scrgbClr r="0" g="0" b="0"/></a:fontRef><a:schemeClr val="bg1"/></a:tcTxStyle><a:tcStyle><a:tcBdr/><a:fillRef idx="1"><a:schemeClr val="tx1"/></a:fillRef></a:tcStyle></a:firstRow>','<a:wholeTbl><a:tcTxStyle><a:fontRef idx="minor"><a:scrgbClr r="0" g="0" b="0"/></a:fontRef><a:schemeClr val="tx1"/></a:tcTxStyle><a:tcStyle><a:tcBdr><a:left><a:lnRef idx="1"><a:schemeClr val="$A"/></a:lnRef></a:left><a:right><a:lnRef idx="1"><a:schemeClr val="$A"/></a:lnRef></a:right><a:top><a:lnRef idx="1"><a:schemeClr val="$A"/></a:lnRef></a:top><a:bottom><a:lnRef idx="1"><a:schemeClr val="$A"/></a:lnRef></a:bottom><a:insideH><a:ln><a:noFill/></a:ln></a:insideH><a:insideV><a:ln><a:noFill/></a:ln></a:insideV></a:tcBdr><a:fill><a:noFill/></a:fill></a:tcStyle></a:wholeTbl><a:band1H><a:tcStyle><a:tcBdr><a:top><a:lnRef idx="1"><a:schemeClr val="$A"/></a:lnRef></a:top><a:bottom><a:lnRef idx="1"><a:schemeClr val="$A"/></a:lnRef></a:bottom></a:tcBdr></a:tcStyle></a:band1H><a:band1V><a:tcStyle><a:tcBdr><a:left><a:lnRef idx="1"><a:schemeClr val="$A"/></a:lnRef></a:left><a:right><a:lnRef idx="1"><a:schemeClr val="$A"/></a:lnRef></a:right></a:tcBdr></a:tcStyle></a:band1V><a:band2V><a:tcStyle><a:tcBdr><a:left><a:lnRef idx="1"><a:schemeClr val="$A"/></a:lnRef></a:left><a:right><a:lnRef idx="1"><a:schemeClr val="$A"/></a:lnRef></a:right></a:tcBdr></a:tcStyle></a:band2V><a:lastCol><a:tcTxStyle b="on"/><a:tcStyle><a:tcBdr/></a:tcStyle></a:lastCol><a:firstCol><a:tcTxStyle b="on"/><a:tcStyle><a:tcBdr/></a:tcStyle></a:firstCol><a:lastRow><a:tcTxStyle b="on"/><a:tcStyle><a:tcBdr><a:top><a:ln w="50800" cmpd="dbl"><a:solidFill><a:schemeClr val="$A"/></a:solidFill></a:ln></a:top></a:tcBdr></a:tcStyle></a:lastRow><a:firstRow><a:tcTxStyle b="on"><a:fontRef idx="minor"><a:scrgbClr r="0" g="0" b="0"/></a:fontRef><a:schemeClr val="bg1"/></a:tcTxStyle><a:tcStyle><a:tcBdr/><a:fillRef idx="1"><a:schemeClr val="$A"/></a:fillRef></a:tcStyle></a:firstRow>','<a:wholeTbl><a:tcTxStyle><a:fontRef idx="minor"><a:scrgbClr r="0" g="0" b="0"/></a:fontRef><a:schemeClr val="tx1"/></a:tcTxStyle><a:tcStyle><a:tcBdr><a:left><a:ln w="12700" cmpd="sng"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill></a:ln></a:left><a:right><a:ln w="12700" cmpd="sng"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill></a:ln></a:right><a:top><a:ln w="12700" cmpd="sng"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill></a:ln></a:top><a:bottom><a:ln w="12700" cmpd="sng"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill></a:ln></a:bottom><a:insideH><a:ln w="12700" cmpd="sng"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill></a:ln></a:insideH><a:insideV><a:ln w="12700" cmpd="sng"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill></a:ln></a:insideV></a:tcBdr><a:fill><a:noFill/></a:fill></a:tcStyle></a:wholeTbl><a:band1H><a:tcStyle><a:tcBdr/><a:fill><a:solidFill><a:schemeClr val="tx1"><a:alpha val="20000"/></a:schemeClr></a:solidFill></a:fill></a:tcStyle></a:band1H><a:band1V><a:tcStyle><a:tcBdr/><a:fill><a:solidFill><a:schemeClr val="tx1"><a:alpha val="20000"/></a:schemeClr></a:solidFill></a:fill></a:tcStyle></a:band1V><a:lastCol><a:tcTxStyle b="on"/><a:tcStyle><a:tcBdr/></a:tcStyle></a:lastCol><a:firstCol><a:tcTxStyle b="on"/><a:tcStyle><a:tcBdr/></a:tcStyle></a:firstCol><a:lastRow><a:tcTxStyle b="on"/><a:tcStyle><a:tcBdr><a:top><a:ln w="50800" cmpd="dbl"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill></a:ln></a:top></a:tcBdr><a:fill><a:noFill/></a:fill></a:tcStyle></a:lastRow><a:firstRow><a:tcTxStyle b="on"/><a:tcStyle><a:tcBdr><a:bottom><a:ln w="25400" cmpd="sng"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill></a:ln></a:bottom></a:tcBdr><a:fill><a:noFill/></a:fill></a:tcStyle></a:firstRow>','<a:wholeTbl><a:tcTxStyle><a:fontRef idx="minor"><a:scrgbClr r="0" g="0" b="0"/></a:fontRef><a:schemeClr val="tx1"/></a:tcTxStyle><a:tcStyle><a:tcBdr><a:left><a:ln w="12700" cmpd="sng"><a:solidFill><a:schemeClr val="$A"/></a:solidFill></a:ln></a:left><a:right><a:ln w="12700" cmpd="sng"><a:solidFill><a:schemeClr val="$A"/></a:solidFill></a:ln></a:right><a:top><a:ln w="12700" cmpd="sng"><a:solidFill><a:schemeClr val="$A"/></a:solidFill></a:ln></a:top><a:bottom><a:ln w="12700" cmpd="sng"><a:solidFill><a:schemeClr val="$A"/></a:solidFill></a:ln></a:bottom><a:insideH><a:ln w="12700" cmpd="sng"><a:solidFill><a:schemeClr val="$A"/></a:solidFill></a:ln></a:insideH><a:insideV><a:ln w="12700" cmpd="sng"><a:solidFill><a:schemeClr val="$A"/></a:solidFill></a:ln></a:insideV></a:tcBdr><a:fill><a:noFill/></a:fill></a:tcStyle></a:wholeTbl><a:band1H><a:tcStyle><a:tcBdr/><a:fill><a:solidFill><a:schemeClr val="$A"><a:alpha val="20000"/></a:schemeClr></a:solidFill></a:fill></a:tcStyle></a:band1H><a:band1V><a:tcStyle><a:tcBdr/><a:fill><a:solidFill><a:schemeClr val="$A"><a:alpha val="20000"/></a:schemeClr></a:solidFill></a:fill></a:tcStyle></a:band1V><a:lastCol><a:tcTxStyle b="on"/><a:tcStyle><a:tcBdr/></a:tcStyle></a:lastCol><a:firstCol><a:tcTxStyle b="on"/><a:tcStyle><a:tcBdr/></a:tcStyle></a:firstCol><a:lastRow><a:tcTxStyle b="on"/><a:tcStyle><a:tcBdr><a:top><a:ln w="50800" cmpd="dbl"><a:solidFill><a:schemeClr val="$A"/></a:solidFill></a:ln></a:top></a:tcBdr><a:fill><a:noFill/></a:fill></a:tcStyle></a:lastRow><a:firstRow><a:tcTxStyle b="on"/><a:tcStyle><a:tcBdr><a:bottom><a:ln w="25400" cmpd="sng"><a:solidFill><a:schemeClr val="$A"/></a:solidFill></a:ln></a:bottom></a:tcBdr><a:fill><a:noFill/></a:fill></a:tcStyle></a:firstRow>','<a:wholeTbl><a:tcTxStyle><a:fontRef idx="minor"><a:scrgbClr r="0" g="0" b="0"/></a:fontRef><a:schemeClr val="dk1"/></a:tcTxStyle><a:tcStyle><a:tcBdr><a:left><a:ln w="12700" cmpd="sng"><a:solidFill><a:schemeClr val="dk1"/></a:solidFill></a:ln></a:left><a:right><a:ln w="12700" cmpd="sng"><a:solidFill><a:schemeClr val="dk1"/></a:solidFill></a:ln></a:right><a:top><a:ln w="12700" cmpd="sng"><a:solidFill><a:schemeClr val="dk1"/></a:solidFill></a:ln></a:top><a:bottom><a:ln w="12700" cmpd="sng"><a:solidFill><a:schemeClr val="dk1"/></a:solidFill></a:ln></a:bottom><a:insideH><a:ln w="12700" cmpd="sng"><a:solidFill><a:schemeClr val="dk1"/></a:solidFill></a:ln></a:insideH><a:insideV><a:ln><a:noFill/></a:ln></a:insideV></a:tcBdr><a:fill><a:solidFill><a:schemeClr val="lt1"/></a:solidFill></a:fill></a:tcStyle></a:wholeTbl><a:band1H><a:tcStyle><a:tcBdr/><a:fill><a:solidFill><a:schemeClr val="dk1"><a:tint val="20000"/></a:schemeClr></a:solidFill></a:fill></a:tcStyle></a:band1H><a:band1V><a:tcStyle><a:tcBdr/><a:fill><a:solidFill><a:schemeClr val="dk1"><a:tint val="20000"/></a:schemeClr></a:solidFill></a:fill></a:tcStyle></a:band1V><a:lastCol><a:tcTxStyle b="on"/><a:tcStyle><a:tcBdr/></a:tcStyle></a:lastCol><a:firstCol><a:tcTxStyle b="on"/><a:tcStyle><a:tcBdr/></a:tcStyle></a:firstCol><a:lastRow><a:tcTxStyle b="on"/><a:tcStyle><a:tcBdr><a:top><a:ln w="50800" cmpd="dbl"><a:solidFill><a:schemeClr val="dk1"/></a:solidFill></a:ln></a:top></a:tcBdr><a:fill><a:solidFill><a:schemeClr val="lt1"/></a:solidFill></a:fill></a:tcStyle></a:lastRow><a:firstRow><a:tcTxStyle b="on"><a:fontRef idx="minor"><a:scrgbClr r="0" g="0" b="0"/></a:fontRef><a:schemeClr val="lt1"/></a:tcTxStyle><a:tcStyle><a:tcBdr/><a:fill><a:solidFill><a:schemeClr val="dk1"/></a:solidFill></a:fill></a:tcStyle></a:firstRow>','<a:wholeTbl><a:tcTxStyle><a:fontRef idx="minor"><a:scrgbClr r="0" g="0" b="0"/></a:fontRef><a:schemeClr val="dk1"/></a:tcTxStyle><a:tcStyle><a:tcBdr><a:left><a:ln w="12700" cmpd="sng"><a:solidFill><a:schemeClr val="$A"/></a:solidFill></a:ln></a:left><a:right><a:ln w="12700" cmpd="sng"><a:solidFill><a:schemeClr val="$A"/></a:solidFill></a:ln></a:right><a:top><a:ln w="12700" cmpd="sng"><a:solidFill><a:schemeClr val="$A"/></a:solidFill></a:ln></a:top><a:bottom><a:ln w="12700" cmpd="sng"><a:solidFill><a:schemeClr val="$A"/></a:solidFill></a:ln></a:bottom><a:insideH><a:ln w="12700" cmpd="sng"><a:solidFill><a:schemeClr val="$A"/></a:solidFill></a:ln></a:insideH><a:insideV><a:ln><a:noFill/></a:ln></a:insideV></a:tcBdr><a:fill><a:solidFill><a:schemeClr val="lt1"/></a:solidFill></a:fill></a:tcStyle></a:wholeTbl><a:band1H><a:tcStyle><a:tcBdr/><a:fill><a:solidFill><a:schemeClr val="$A"><a:tint val="20000"/></a:schemeClr></a:solidFill></a:fill></a:tcStyle></a:band1H><a:band1V><a:tcStyle><a:tcBdr/><a:fill><a:solidFill><a:schemeClr val="$A"><a:tint val="20000"/></a:schemeClr></a:solidFill></a:fill></a:tcStyle></a:band1V><a:lastCol><a:tcTxStyle b="on"/><a:tcStyle><a:tcBdr/></a:tcStyle></a:lastCol><a:firstCol><a:tcTxStyle b="on"/><a:tcStyle><a:tcBdr/></a:tcStyle></a:firstCol><a:lastRow><a:tcTxStyle b="on"/><a:tcStyle><a:tcBdr><a:top><a:ln w="50800" cmpd="dbl"><a:solidFill><a:schemeClr val="$A"/></a:solidFill></a:ln></a:top></a:tcBdr><a:fill><a:solidFill><a:schemeClr val="lt1"/></a:solidFill></a:fill></a:tcStyle></a:lastRow><a:firstRow><a:tcTxStyle b="on"><a:fontRef idx="minor"><a:scrgbClr r="0" g="0" b="0"/></a:fontRef><a:schemeClr val="lt1"/></a:tcTxStyle><a:tcStyle><a:tcBdr/><a:fill><a:solidFill><a:schemeClr val="$A"/></a:solidFill></a:fill></a:tcStyle></a:firstRow>','<a:wholeTbl><a:tcTxStyle><a:fontRef idx="minor"><a:prstClr val="black"/></a:fontRef><a:schemeClr val="dk1"/></a:tcTxStyle><a:tcStyle><a:tcBdr><a:left><a:ln w="12700" cmpd="sng"><a:solidFill><a:schemeClr val="lt1"/></a:solidFill></a:ln></a:left><a:right><a:ln w="12700" cmpd="sng"><a:solidFill><a:schemeClr val="lt1"/></a:solidFill></a:ln></a:right><a:top><a:ln w="12700" cmpd="sng"><a:solidFill><a:schemeClr val="lt1"/></a:solidFill></a:ln></a:top><a:bottom><a:ln w="12700" cmpd="sng"><a:solidFill><a:schemeClr val="lt1"/></a:solidFill></a:ln></a:bottom><a:insideH><a:ln w="12700" cmpd="sng"><a:solidFill><a:schemeClr val="lt1"/></a:solidFill></a:ln></a:insideH><a:insideV><a:ln w="12700" cmpd="sng"><a:solidFill><a:schemeClr val="lt1"/></a:solidFill></a:ln></a:insideV></a:tcBdr><a:fill><a:solidFill><a:schemeClr val="dk1"><a:tint val="20000"/></a:schemeClr></a:solidFill></a:fill></a:tcStyle></a:wholeTbl><a:band1H><a:tcStyle><a:tcBdr/><a:fill><a:solidFill><a:schemeClr val="dk1"><a:tint val="40000"/></a:schemeClr></a:solidFill></a:fill></a:tcStyle></a:band1H><a:band2H><a:tcStyle><a:tcBdr/></a:tcStyle></a:band2H><a:band1V><a:tcStyle><a:tcBdr/><a:fill><a:solidFill><a:schemeClr val="dk1"><a:tint val="40000"/></a:schemeClr></a:solidFill></a:fill></a:tcStyle></a:band1V><a:band2V><a:tcStyle><a:tcBdr/></a:tcStyle></a:band2V><a:lastCol><a:tcTxStyle b="on"><a:fontRef idx="minor"><a:prstClr val="black"/></a:fontRef><a:schemeClr val="lt1"/></a:tcTxStyle><a:tcStyle><a:tcBdr/><a:fill><a:solidFill><a:schemeClr val="dk1"/></a:solidFill></a:fill></a:tcStyle></a:lastCol><a:firstCol><a:tcTxStyle b="on"><a:fontRef idx="minor"><a:prstClr val="black"/></a:fontRef><a:schemeClr val="lt1"/></a:tcTxStyle><a:tcStyle><a:tcBdr/><a:fill><a:solidFill><a:schemeClr val="dk1"/></a:solidFill></a:fill></a:tcStyle></a:firstCol><a:lastRow><a:tcTxStyle b="on"><a:fontRef idx="minor"><a:prstClr val="black"/></a:fontRef><a:schemeClr val="lt1"/></a:tcTxStyle><a:tcStyle><a:tcBdr><a:top><a:ln w="38100" cmpd="sng"><a:solidFill><a:schemeClr val="lt1"/></a:solidFill></a:ln></a:top></a:tcBdr><a:fill><a:solidFill><a:schemeClr val="dk1"/></a:solidFill></a:fill></a:tcStyle></a:lastRow><a:firstRow><a:tcTxStyle b="on"><a:fontRef idx="minor"><a:prstClr val="black"/></a:fontRef><a:schemeClr val="lt1"/></a:tcTxStyle><a:tcStyle><a:tcBdr><a:bottom><a:ln w="38100" cmpd="sng"><a:solidFill><a:schemeClr val="lt1"/></a:solidFill></a:ln></a:bottom></a:tcBdr><a:fill><a:solidFill><a:schemeClr val="dk1"/></a:solidFill></a:fill></a:tcStyle></a:firstRow>','<a:wholeTbl><a:tcTxStyle><a:fontRef idx="minor"><a:prstClr val="black"/></a:fontRef><a:schemeClr val="dk1"/></a:tcTxStyle><a:tcStyle><a:tcBdr><a:left><a:ln w="12700" cmpd="sng"><a:solidFill><a:schemeClr val="lt1"/></a:solidFill></a:ln></a:left><a:right><a:ln w="12700" cmpd="sng"><a:solidFill><a:schemeClr val="lt1"/></a:solidFill></a:ln></a:right><a:top><a:ln w="12700" cmpd="sng"><a:solidFill><a:schemeClr val="lt1"/></a:solidFill></a:ln></a:top><a:bottom><a:ln w="12700" cmpd="sng"><a:solidFill><a:schemeClr val="lt1"/></a:solidFill></a:ln></a:bottom><a:insideH><a:ln w="12700" cmpd="sng"><a:solidFill><a:schemeClr val="lt1"/></a:solidFill></a:ln></a:insideH><a:insideV><a:ln w="12700" cmpd="sng"><a:solidFill><a:schemeClr val="lt1"/></a:solidFill></a:ln></a:insideV></a:tcBdr><a:fill><a:solidFill><a:schemeClr val="$A"><a:tint val="20000"/></a:schemeClr></a:solidFill></a:fill></a:tcStyle></a:wholeTbl><a:band1H><a:tcStyle><a:tcBdr/><a:fill><a:solidFill><a:schemeClr val="$A"><a:tint val="40000"/></a:schemeClr></a:solidFill></a:fill></a:tcStyle></a:band1H><a:band2H><a:tcStyle><a:tcBdr/></a:tcStyle></a:band2H><a:band1V><a:tcStyle><a:tcBdr/><a:fill><a:solidFill><a:schemeClr val="$A"><a:tint val="40000"/></a:schemeClr></a:solidFill></a:fill></a:tcStyle></a:band1V><a:band2V><a:tcStyle><a:tcBdr/></a:tcStyle></a:band2V><a:lastCol><a:tcTxStyle b="on"><a:fontRef idx="minor"><a:prstClr val="black"/></a:fontRef><a:schemeClr val="lt1"/></a:tcTxStyle><a:tcStyle><a:tcBdr/><a:fill><a:solidFill><a:schemeClr val="$A"/></a:solidFill></a:fill></a:tcStyle></a:lastCol><a:firstCol><a:tcTxStyle b="on"><a:fontRef idx="minor"><a:prstClr val="black"/></a:fontRef><a:schemeClr val="lt1"/></a:tcTxStyle><a:tcStyle><a:tcBdr/><a:fill><a:solidFill><a:schemeClr val="$A"/></a:solidFill></a:fill></a:tcStyle></a:firstCol><a:lastRow><a:tcTxStyle b="on"><a:fontRef idx="minor"><a:prstClr val="black"/></a:fontRef><a:schemeClr val="lt1"/></a:tcTxStyle><a:tcStyle><a:tcBdr><a:top><a:ln w="38100" cmpd="sng"><a:solidFill><a:schemeClr val="lt1"/></a:solidFill></a:ln></a:top></a:tcBdr><a:fill><a:solidFill><a:schemeClr val="$A"/></a:solidFill></a:fill></a:tcStyle></a:lastRow><a:firstRow><a:tcTxStyle b="on"><a:fontRef idx="minor"><a:prstClr val="black"/></a:fontRef><a:schemeClr val="lt1"/></a:tcTxStyle><a:tcStyle><a:tcBdr><a:bottom><a:ln w="38100" cmpd="sng"><a:solidFill><a:schemeClr val="lt1"/></a:solidFill></a:ln></a:bottom></a:tcBdr><a:fill><a:solidFill><a:schemeClr val="$A"/></a:solidFill></a:fill></a:tcStyle></a:firstRow>','<a:wholeTbl><a:tcTxStyle><a:fontRef idx="minor"/><a:schemeClr val="dk1"/></a:tcTxStyle><a:tcStyle><a:tcBdr><a:left><a:ln><a:noFill/></a:ln></a:left><a:right><a:ln><a:noFill/></a:ln></a:right><a:top><a:ln w="25400" cmpd="sng"><a:solidFill><a:schemeClr val="dk1"/></a:solidFill></a:ln></a:top><a:bottom><a:ln w="25400" cmpd="sng"><a:solidFill><a:schemeClr val="dk1"/></a:solidFill></a:ln></a:bottom><a:insideH><a:ln><a:noFill/></a:ln></a:insideH><a:insideV><a:ln><a:noFill/></a:ln></a:insideV></a:tcBdr><a:fill><a:solidFill><a:schemeClr val="lt1"/></a:solidFill></a:fill></a:tcStyle></a:wholeTbl><a:band1H><a:tcStyle><a:tcBdr/><a:fill><a:solidFill><a:schemeClr val="dk1"><a:tint val="20000"/></a:schemeClr></a:solidFill></a:fill></a:tcStyle></a:band1H><a:band1V><a:tcStyle><a:tcBdr/><a:fill><a:solidFill><a:schemeClr val="dk1"><a:tint val="20000"/></a:schemeClr></a:solidFill></a:fill></a:tcStyle></a:band1V><a:lastCol><a:tcTxStyle b="on"><a:fontRef idx="minor"><a:scrgbClr r="0" g="0" b="0"/></a:fontRef><a:schemeClr val="lt1"/></a:tcTxStyle><a:tcStyle><a:tcBdr/><a:fill><a:solidFill><a:schemeClr val="dk1"/></a:solidFill></a:fill></a:tcStyle></a:lastCol><a:firstCol><a:tcTxStyle b="on"><a:fontRef idx="minor"><a:scrgbClr r="0" g="0" b="0"/></a:fontRef><a:schemeClr val="lt1"/></a:tcTxStyle><a:tcStyle><a:tcBdr/><a:fill><a:solidFill><a:schemeClr val="dk1"/></a:solidFill></a:fill></a:tcStyle></a:firstCol><a:lastRow><a:tcTxStyle b="on"/><a:tcStyle><a:tcBdr><a:top><a:ln w="50800" cmpd="dbl"><a:solidFill><a:schemeClr val="dk1"/></a:solidFill></a:ln></a:top></a:tcBdr><a:fill><a:solidFill><a:schemeClr val="lt1"/></a:solidFill></a:fill></a:tcStyle></a:lastRow><a:seCell><a:tcTxStyle b="on"><a:fontRef idx="minor"><a:scrgbClr r="0" g="0" b="0"/></a:fontRef><a:schemeClr val="dk1"/></a:tcTxStyle><a:tcStyle><a:tcBdr/></a:tcStyle></a:seCell><a:swCell><a:tcTxStyle b="on"><a:fontRef idx="minor"><a:scrgbClr r="0" g="0" b="0"/></a:fontRef><a:schemeClr val="dk1"/></a:tcTxStyle><a:tcStyle><a:tcBdr/></a:tcStyle></a:swCell><a:firstRow><a:tcTxStyle b="on"><a:fontRef idx="minor"><a:scrgbClr r="0" g="0" b="0"/></a:fontRef><a:schemeClr val="lt1"/></a:tcTxStyle><a:tcStyle><a:tcBdr><a:bottom><a:ln w="25400" cmpd="sng"><a:solidFill><a:schemeClr val="dk1"/></a:solidFill></a:ln></a:bottom></a:tcBdr><a:fill><a:solidFill><a:schemeClr val="dk1"/></a:solidFill></a:fill></a:tcStyle></a:firstRow>','<a:wholeTbl><a:tcTxStyle><a:fontRef idx="minor"><a:scrgbClr r="0" g="0" b="0"/></a:fontRef><a:schemeClr val="dk1"/></a:tcTxStyle><a:tcStyle><a:tcBdr><a:left><a:ln><a:noFill/></a:ln></a:left><a:right><a:ln><a:noFill/></a:ln></a:right><a:top><a:ln w="25400" cmpd="sng"><a:solidFill><a:schemeClr val="dk1"/></a:solidFill></a:ln></a:top><a:bottom><a:ln w="25400" cmpd="sng"><a:solidFill><a:schemeClr val="dk1"/></a:solidFill></a:ln></a:bottom><a:insideH><a:ln><a:noFill/></a:ln></a:insideH><a:insideV><a:ln><a:noFill/></a:ln></a:insideV></a:tcBdr><a:fill><a:solidFill><a:schemeClr val="lt1"/></a:solidFill></a:fill></a:tcStyle></a:wholeTbl><a:band1H><a:tcStyle><a:tcBdr/><a:fill><a:solidFill><a:schemeClr val="dk1"><a:tint val="20000"/></a:schemeClr></a:solidFill></a:fill></a:tcStyle></a:band1H><a:band1V><a:tcStyle><a:tcBdr/><a:fill><a:solidFill><a:schemeClr val="dk1"><a:tint val="20000"/></a:schemeClr></a:solidFill></a:fill></a:tcStyle></a:band1V><a:lastCol><a:tcTxStyle b="on"><a:fontRef idx="minor"><a:scrgbClr r="0" g="0" b="0"/></a:fontRef><a:schemeClr val="lt1"/></a:tcTxStyle><a:tcStyle><a:tcBdr/><a:fill><a:solidFill><a:schemeClr val="$A"/></a:solidFill></a:fill></a:tcStyle></a:lastCol><a:firstCol><a:tcTxStyle b="on"><a:fontRef idx="minor"><a:scrgbClr r="0" g="0" b="0"/></a:fontRef><a:schemeClr val="lt1"/></a:tcTxStyle><a:tcStyle><a:tcBdr/><a:fill><a:solidFill><a:schemeClr val="$A"/></a:solidFill></a:fill></a:tcStyle></a:firstCol><a:lastRow><a:tcTxStyle b="on"/><a:tcStyle><a:tcBdr><a:top><a:ln w="50800" cmpd="dbl"><a:solidFill><a:schemeClr val="dk1"/></a:solidFill></a:ln></a:top></a:tcBdr><a:fill><a:solidFill><a:schemeClr val="lt1"/></a:solidFill></a:fill></a:tcStyle></a:lastRow><a:seCell><a:tcTxStyle b="on"><a:fontRef idx="minor"><a:scrgbClr r="0" g="0" b="0"/></a:fontRef><a:schemeClr val="dk1"/></a:tcTxStyle><a:tcStyle><a:tcBdr/></a:tcStyle></a:seCell><a:swCell><a:tcTxStyle b="on"><a:fontRef idx="minor"><a:scrgbClr r="0" g="0" b="0"/></a:fontRef><a:schemeClr val="dk1"/></a:tcTxStyle><a:tcStyle><a:tcBdr/></a:tcStyle></a:swCell><a:firstRow><a:tcTxStyle b="on"><a:fontRef idx="minor"><a:scrgbClr r="0" g="0" b="0"/></a:fontRef><a:schemeClr val="lt1"/></a:tcTxStyle><a:tcStyle><a:tcBdr><a:bottom><a:ln w="25400" cmpd="sng"><a:solidFill><a:schemeClr val="dk1"/></a:solidFill></a:ln></a:bottom></a:tcBdr><a:fill><a:solidFill><a:schemeClr val="$A"/></a:solidFill></a:fill></a:tcStyle></a:firstRow>','<a:wholeTbl><a:tcTxStyle><a:fontRef idx="minor"><a:scrgbClr r="0" g="0" b="0"/></a:fontRef><a:schemeClr val="dk1"/></a:tcTxStyle><a:tcStyle><a:tcBdr><a:left><a:ln w="12700" cmpd="sng"><a:solidFill><a:schemeClr val="dk1"/></a:solidFill></a:ln></a:left><a:right><a:ln w="12700" cmpd="sng"><a:solidFill><a:schemeClr val="dk1"/></a:solidFill></a:ln></a:right><a:top><a:ln w="12700" cmpd="sng"><a:solidFill><a:schemeClr val="dk1"/></a:solidFill></a:ln></a:top><a:bottom><a:ln w="12700" cmpd="sng"><a:solidFill><a:schemeClr val="dk1"/></a:solidFill></a:ln></a:bottom><a:insideH><a:ln w="12700" cmpd="sng"><a:solidFill><a:schemeClr val="dk1"/></a:solidFill></a:ln></a:insideH><a:insideV><a:ln w="12700" cmpd="sng"><a:solidFill><a:schemeClr val="dk1"/></a:solidFill></a:ln></a:insideV></a:tcBdr><a:fill><a:solidFill><a:schemeClr val="dk1"><a:tint val="20000"/></a:schemeClr></a:solidFill></a:fill></a:tcStyle></a:wholeTbl><a:band1H><a:tcStyle><a:tcBdr/><a:fill><a:solidFill><a:schemeClr val="dk1"><a:tint val="40000"/></a:schemeClr></a:solidFill></a:fill></a:tcStyle></a:band1H><a:band1V><a:tcStyle><a:tcBdr/><a:fill><a:solidFill><a:schemeClr val="dk1"><a:tint val="40000"/></a:schemeClr></a:solidFill></a:fill></a:tcStyle></a:band1V><a:lastCol><a:tcTxStyle b="on"/><a:tcStyle><a:tcBdr/></a:tcStyle></a:lastCol><a:firstCol><a:tcTxStyle b="on"/><a:tcStyle><a:tcBdr/></a:tcStyle></a:firstCol><a:lastRow><a:tcTxStyle b="on"/><a:tcStyle><a:tcBdr><a:top><a:ln w="25400" cmpd="sng"><a:solidFill><a:schemeClr val="dk1"/></a:solidFill></a:ln></a:top></a:tcBdr><a:fill><a:solidFill><a:schemeClr val="dk1"><a:tint val="20000"/></a:schemeClr></a:solidFill></a:fill></a:tcStyle></a:lastRow><a:firstRow><a:tcTxStyle b="on"/><a:tcStyle><a:tcBdr/><a:fill><a:solidFill><a:schemeClr val="dk1"><a:tint val="20000"/></a:schemeClr></a:solidFill></a:fill></a:tcStyle></a:firstRow>','<a:wholeTbl><a:tcTxStyle><a:fontRef idx="minor"><a:scrgbClr r="0" g="0" b="0"/></a:fontRef><a:schemeClr val="dk1"/></a:tcTxStyle><a:tcStyle><a:tcBdr><a:left><a:ln w="12700" cmpd="sng"><a:solidFill><a:schemeClr val="$A"/></a:solidFill></a:ln></a:left><a:right><a:ln w="12700" cmpd="sng"><a:solidFill><a:schemeClr val="$A"/></a:solidFill></a:ln></a:right><a:top><a:ln w="12700" cmpd="sng"><a:solidFill><a:schemeClr val="$A"/></a:solidFill></a:ln></a:top><a:bottom><a:ln w="12700" cmpd="sng"><a:solidFill><a:schemeClr val="$A"/></a:solidFill></a:ln></a:bottom><a:insideH><a:ln w="12700" cmpd="sng"><a:solidFill><a:schemeClr val="$A"/></a:solidFill></a:ln></a:insideH><a:insideV><a:ln w="12700" cmpd="sng"><a:solidFill><a:schemeClr val="$A"/></a:solidFill></a:ln></a:insideV></a:tcBdr><a:fill><a:solidFill><a:schemeClr val="$A"><a:tint val="20000"/></a:schemeClr></a:solidFill></a:fill></a:tcStyle></a:wholeTbl><a:band1H><a:tcStyle><a:tcBdr/><a:fill><a:solidFill><a:schemeClr val="$A"><a:tint val="40000"/></a:schemeClr></a:solidFill></a:fill></a:tcStyle></a:band1H><a:band1V><a:tcStyle><a:tcBdr/><a:fill><a:solidFill><a:schemeClr val="$A"><a:tint val="40000"/></a:schemeClr></a:solidFill></a:fill></a:tcStyle></a:band1V><a:lastCol><a:tcTxStyle b="on"/><a:tcStyle><a:tcBdr/></a:tcStyle></a:lastCol><a:firstCol><a:tcTxStyle b="on"/><a:tcStyle><a:tcBdr/></a:tcStyle></a:firstCol><a:lastRow><a:tcTxStyle b="on"/><a:tcStyle><a:tcBdr><a:top><a:ln w="25400" cmpd="sng"><a:solidFill><a:schemeClr val="$A"/></a:solidFill></a:ln></a:top></a:tcBdr><a:fill><a:solidFill><a:schemeClr val="$A"><a:tint val="20000"/></a:schemeClr></a:solidFill></a:fill></a:tcStyle></a:lastRow><a:firstRow><a:tcTxStyle b="on"/><a:tcStyle><a:tcBdr/><a:fill><a:solidFill><a:schemeClr val="$A"><a:tint val="20000"/></a:schemeClr></a:solidFill></a:fill></a:tcStyle></a:firstRow>','<a:wholeTbl><a:tcTxStyle><a:fontRef idx="minor"><a:scrgbClr r="0" g="0" b="0"/></a:fontRef><a:schemeClr val="lt1"/></a:tcTxStyle><a:tcStyle><a:tcBdr><a:left><a:ln><a:noFill/></a:ln></a:left><a:right><a:ln><a:noFill/></a:ln></a:right><a:top><a:ln><a:noFill/></a:ln></a:top><a:bottom><a:ln><a:noFill/></a:ln></a:bottom><a:insideH><a:ln><a:noFill/></a:ln></a:insideH><a:insideV><a:ln><a:noFill/></a:ln></a:insideV></a:tcBdr><a:fill><a:solidFill><a:schemeClr val="dk1"><a:tint val="20000"/></a:schemeClr></a:solidFill></a:fill></a:tcStyle></a:wholeTbl><a:band1H><a:tcStyle><a:tcBdr/><a:fill><a:solidFill><a:schemeClr val="dk1"><a:tint val="40000"/></a:schemeClr></a:solidFill></a:fill></a:tcStyle></a:band1H><a:band1V><a:tcStyle><a:tcBdr/><a:fill><a:solidFill><a:schemeClr val="dk1"><a:tint val="40000"/></a:schemeClr></a:solidFill></a:fill></a:tcStyle></a:band1V><a:lastCol><a:tcTxStyle b="on"/><a:tcStyle><a:tcBdr><a:left><a:ln w="25400" cmpd="sng"><a:solidFill><a:schemeClr val="lt1"/></a:solidFill></a:ln></a:left></a:tcBdr><a:fill><a:solidFill><a:schemeClr val="dk1"><a:tint val="60000"/></a:schemeClr></a:solidFill></a:fill></a:tcStyle></a:lastCol><a:firstCol><a:tcTxStyle b="on"/><a:tcStyle><a:tcBdr><a:right><a:ln w="25400" cmpd="sng"><a:solidFill><a:schemeClr val="lt1"/></a:solidFill></a:ln></a:right></a:tcBdr><a:fill><a:solidFill><a:schemeClr val="dk1"><a:tint val="60000"/></a:schemeClr></a:solidFill></a:fill></a:tcStyle></a:firstCol><a:lastRow><a:tcTxStyle b="on"/><a:tcStyle><a:tcBdr><a:top><a:ln w="25400" cmpd="sng"><a:solidFill><a:schemeClr val="lt1"/></a:solidFill></a:ln></a:top></a:tcBdr><a:fill><a:solidFill><a:schemeClr val="dk1"><a:tint val="60000"/></a:schemeClr></a:solidFill></a:fill></a:tcStyle></a:lastRow><a:seCell><a:tcStyle><a:tcBdr><a:left><a:ln><a:noFill/></a:ln></a:left></a:tcBdr></a:tcStyle></a:seCell><a:swCell><a:tcStyle><a:tcBdr><a:right><a:ln><a:noFill/></a:ln></a:right></a:tcBdr></a:tcStyle></a:swCell><a:firstRow><a:tcTxStyle b="on"/><a:tcStyle><a:tcBdr><a:bottom><a:ln w="25400" cmpd="sng"><a:solidFill><a:schemeClr val="lt1"/></a:solidFill></a:ln></a:bottom></a:tcBdr><a:fill><a:solidFill><a:schemeClr val="dk1"/></a:solidFill></a:fill></a:tcStyle></a:firstRow><a:neCell><a:tcStyle><a:tcBdr><a:left><a:ln><a:noFill/></a:ln></a:left></a:tcBdr></a:tcStyle></a:neCell><a:nwCell><a:tcStyle><a:tcBdr><a:right><a:ln><a:noFill/></a:ln></a:right></a:tcBdr></a:tcStyle></a:nwCell>','<a:wholeTbl><a:tcTxStyle><a:fontRef idx="minor"><a:scrgbClr r="0" g="0" b="0"/></a:fontRef><a:schemeClr val="lt1"/></a:tcTxStyle><a:tcStyle><a:tcBdr><a:left><a:ln><a:noFill/></a:ln></a:left><a:right><a:ln><a:noFill/></a:ln></a:right><a:top><a:ln><a:noFill/></a:ln></a:top><a:bottom><a:ln><a:noFill/></a:ln></a:bottom><a:insideH><a:ln><a:noFill/></a:ln></a:insideH><a:insideV><a:ln><a:noFill/></a:ln></a:insideV></a:tcBdr><a:fill><a:solidFill><a:schemeClr val="$A"/></a:solidFill></a:fill></a:tcStyle></a:wholeTbl><a:band1H><a:tcStyle><a:tcBdr/><a:fill><a:solidFill><a:schemeClr val="$A"><a:shade val="60000"/></a:schemeClr></a:solidFill></a:fill></a:tcStyle></a:band1H><a:band1V><a:tcStyle><a:tcBdr/><a:fill><a:solidFill><a:schemeClr val="$A"><a:shade val="60000"/></a:schemeClr></a:solidFill></a:fill></a:tcStyle></a:band1V><a:lastCol><a:tcTxStyle b="on"/><a:tcStyle><a:tcBdr><a:left><a:ln w="25400" cmpd="sng"><a:solidFill><a:schemeClr val="lt1"/></a:solidFill></a:ln></a:left></a:tcBdr><a:fill><a:solidFill><a:schemeClr val="$A"><a:shade val="60000"/></a:schemeClr></a:solidFill></a:fill></a:tcStyle></a:lastCol><a:firstCol><a:tcTxStyle b="on"/><a:tcStyle><a:tcBdr><a:right><a:ln w="25400" cmpd="sng"><a:solidFill><a:schemeClr val="lt1"/></a:solidFill></a:ln></a:right></a:tcBdr><a:fill><a:solidFill><a:schemeClr val="$A"><a:shade val="60000"/></a:schemeClr></a:solidFill></a:fill></a:tcStyle></a:firstCol><a:lastRow><a:tcTxStyle b="on"/><a:tcStyle><a:tcBdr><a:top><a:ln w="25400" cmpd="sng"><a:solidFill><a:schemeClr val="lt1"/></a:solidFill></a:ln></a:top></a:tcBdr><a:fill><a:solidFill><a:schemeClr val="$A"><a:shade val="40000"/></a:schemeClr></a:solidFill></a:fill></a:tcStyle></a:lastRow><a:seCell><a:tcStyle><a:tcBdr><a:left><a:ln><a:noFill/></a:ln></a:left></a:tcBdr></a:tcStyle></a:seCell><a:swCell><a:tcStyle><a:tcBdr><a:right><a:ln><a:noFill/></a:ln></a:right></a:tcBdr></a:tcStyle></a:swCell><a:firstRow><a:tcTxStyle b="on"/><a:tcStyle><a:tcBdr><a:bottom><a:ln w="25400" cmpd="sng"><a:solidFill><a:schemeClr val="lt1"/></a:solidFill></a:ln></a:bottom></a:tcBdr><a:fill><a:solidFill><a:schemeClr val="dk1"/></a:solidFill></a:fill></a:tcStyle></a:firstRow><a:neCell><a:tcStyle><a:tcBdr><a:left><a:ln><a:noFill/></a:ln></a:left></a:tcBdr></a:tcStyle></a:neCell><a:nwCell><a:tcStyle><a:tcBdr><a:right><a:ln><a:noFill/></a:ln></a:right></a:tcBdr></a:tcStyle></a:nwCell>','<a:wholeTbl><a:tcTxStyle><a:fontRef idx="minor"><a:scrgbClr r="0" g="0" b="0"/></a:fontRef><a:schemeClr val="dk1"/></a:tcTxStyle><a:tcStyle><a:tcBdr><a:left><a:ln><a:noFill/></a:ln></a:left><a:right><a:ln><a:noFill/></a:ln></a:right><a:top><a:ln><a:noFill/></a:ln></a:top><a:bottom><a:ln><a:noFill/></a:ln></a:bottom><a:insideH><a:ln><a:noFill/></a:ln></a:insideH><a:insideV><a:ln><a:noFill/></a:ln></a:insideV></a:tcBdr><a:fill><a:solidFill><a:schemeClr val="dk1"><a:tint val="20000"/></a:schemeClr></a:solidFill></a:fill></a:tcStyle></a:wholeTbl><a:band1H><a:tcStyle><a:tcBdr/><a:fill><a:solidFill><a:schemeClr val="dk1"><a:tint val="40000"/></a:schemeClr></a:solidFill></a:fill></a:tcStyle></a:band1H><a:band1V><a:tcStyle><a:tcBdr/><a:fill><a:solidFill><a:schemeClr val="dk1"><a:tint val="40000"/></a:schemeClr></a:solidFill></a:fill></a:tcStyle></a:band1V><a:lastCol><a:tcTxStyle b="on"/><a:tcStyle><a:tcBdr/></a:tcStyle></a:lastCol><a:firstCol><a:tcTxStyle b="on"/><a:tcStyle><a:tcBdr/></a:tcStyle></a:firstCol><a:lastRow><a:tcTxStyle b="on"/><a:tcStyle><a:tcBdr><a:top><a:ln w="50800" cmpd="dbl"><a:solidFill><a:schemeClr val="dk1"/></a:solidFill></a:ln></a:top></a:tcBdr><a:fill><a:solidFill><a:schemeClr val="dk1"><a:tint val="20000"/></a:schemeClr></a:solidFill></a:fill></a:tcStyle></a:lastRow><a:firstRow><a:tcTxStyle b="on"><a:fontRef idx="minor"><a:scrgbClr r="0" g="0" b="0"/></a:fontRef><a:schemeClr val="lt1"/></a:tcTxStyle><a:tcStyle><a:tcBdr/><a:fill><a:solidFill><a:schemeClr val="dk1"/></a:solidFill></a:fill></a:tcStyle></a:firstRow>','<a:wholeTbl><a:tcTxStyle><a:fontRef idx="minor"><a:scrgbClr r="0" g="0" b="0"/></a:fontRef><a:schemeClr val="dk1"/></a:tcTxStyle><a:tcStyle><a:tcBdr><a:left><a:ln><a:noFill/></a:ln></a:left><a:right><a:ln><a:noFill/></a:ln></a:right><a:top><a:ln><a:noFill/></a:ln></a:top><a:bottom><a:ln><a:noFill/></a:ln></a:bottom><a:insideH><a:ln><a:noFill/></a:ln></a:insideH><a:insideV><a:ln><a:noFill/></a:ln></a:insideV></a:tcBdr><a:fill><a:solidFill><a:schemeClr val="$A"><a:tint val="20000"/></a:schemeClr></a:solidFill></a:fill></a:tcStyle></a:wholeTbl><a:band1H><a:tcStyle><a:tcBdr/><a:fill><a:solidFill><a:schemeClr val="$A"><a:tint val="40000"/></a:schemeClr></a:solidFill></a:fill></a:tcStyle></a:band1H><a:band1V><a:tcStyle><a:tcBdr/><a:fill><a:solidFill><a:schemeClr val="$A"><a:tint val="40000"/></a:schemeClr></a:solidFill></a:fill></a:tcStyle></a:band1V><a:lastCol><a:tcTxStyle b="on"/><a:tcStyle><a:tcBdr/></a:tcStyle></a:lastCol><a:firstCol><a:tcTxStyle b="on"/><a:tcStyle><a:tcBdr/></a:tcStyle></a:firstCol><a:lastRow><a:tcTxStyle b="on"/><a:tcStyle><a:tcBdr><a:top><a:ln w="50800" cmpd="dbl"><a:solidFill><a:schemeClr val="dk1"/></a:solidFill></a:ln></a:top></a:tcBdr><a:fill><a:solidFill><a:schemeClr val="$A"><a:tint val="20000"/></a:schemeClr></a:solidFill></a:fill></a:tcStyle></a:lastRow><a:firstRow><a:tcTxStyle b="on"><a:fontRef idx="minor"><a:scrgbClr r="0" g="0" b="0"/></a:fontRef><a:schemeClr val="lt1"/></a:tcTxStyle><a:tcStyle><a:tcBdr/><a:fill><a:solidFill><a:schemeClr val="$B"/></a:solidFill></a:fill></a:tcStyle></a:firstRow>'],CE={"{2D5ABB26-0587-4C30-8999-92F81FD0307C}":[0,0,0],"{3C2FFA5D-87B4-456A-9821-1D502468CF0F}":[1,1,0],"{284E427A-3D55-4303-BF80-6455036E1DE7}":[1,2,0],"{69C7853C-536D-4A76-A0AE-DD22124D55A5}":[1,3,0],"{775DCB02-9BB8-47FD-8907-85C794F793BA}":[1,4,0],"{35758FB7-9AC5-4552-8A53-C91805E547FA}":[1,5,0],"{08FB837D-C827-4EFA-A057-4D05807E0F7C}":[1,6,0],"{5940675A-B579-460E-94D1-54222C63F5DA}":[2,0,0],"{D113A9D2-9D6B-4929-AA2D-F23B5EE8CBE7}":[3,1,0],"{18603FDC-E32A-4AB5-989C-0864C3EAD2B8}":[3,2,0],"{306799F8-075E-4A3A-A7F6-7FBC6576F1A4}":[3,3,0],"{E269D01E-BC32-4049-B463-5C60D7B0CCD2}":[3,4,0],"{327F97BB-C833-4FB7-BDE5-3F7075034690}":[3,5,0],"{638B1855-1B75-4FBE-930C-398BA8C253C6}":[3,6,0],"{9D7B26C5-4107-4FEC-AEDC-1716B250A1EF}":[4,0,0],"{3B4B98B0-60AC-42C2-AFA5-B58CD77FA1E5}":[5,1,0],"{0E3FDE45-AF77-4B5C-9715-49D594BDF05E}":[5,2,0],"{C083E6E3-FA7D-4D7B-A595-EF9225AFEA82}":[5,3,0],"{D27102A9-8310-4765-A935-A1911B00CA55}":[5,4,0],"{5FD0F851-EC5A-4D38-B0AD-8093EC10F338}":[5,5,0],"{68D230F3-CF80-4859-8CE7-A43EE81993B5}":[5,6,0],"{7E9639D4-E3E2-4D34-9284-5A2195B3D0D7}":[6,0,0],"{69012ECD-51FC-41F1-AA8D-1B2483CD663E}":[7,1,0],"{72833802-FEF1-4C79-8D5D-14CF1EAF98D9}":[7,2,0],"{F2DE63D5-997A-4646-A377-4702673A728D}":[7,3,0],"{17292A2E-F333-43FB-9621-5CBBE7FDCDCB}":[7,4,0],"{5A111915-BE36-4E01-A7E5-04B1672EAD32}":[7,5,0],"{912C8C85-51F0-491E-9774-3900AFEF0FD7}":[7,6,0],"{616DA210-FB5B-4158-B5E0-FEB733F419BA}":[8,0,0],"{BC89EF96-8CEA-46FF-86C4-4CE0E7609802}":[9,1,0],"{5DA37D80-6434-44D0-A028-1B22A696006F}":[9,2,0],"{8799B23B-EC83-4686-B30A-512413B5E67A}":[9,3,0],"{ED083AE6-46FA-4A59-8FB0-9F97EB10719F}":[9,4,0],"{BDBED569-4797-4DF1-A0F4-6AAB3CD982D8}":[9,5,0],"{E8B1032C-EA38-4F05-BA0D-38AFFFC7BED3}":[9,6,0],"{793D81CF-94F2-401A-BA57-92F5A7B2D0C5}":[10,0,0],"{B301B821-A1FF-4177-AEE7-76D212191A09}":[11,1,0],"{9DCAF9ED-07DC-4A11-8D7F-57B35C25682E}":[11,2,0],"{1FECB4D8-DB02-4DC6-A0A2-4F2EBAE1DC90}":[11,3,0],"{1E171933-4619-4E11-9A3F-F7608DF75F80}":[11,4,0],"{FABFCF23-3B69-468F-B69F-88F6DE6A72F2}":[11,5,0],"{10A1B5D5-9B99-4C35-A422-299274C87663}":[11,6,0],"{073A0DAA-6AF3-43AB-8588-CEC1D06C72B9}":[12,0,0],"{5C22544A-7EE6-4342-B048-85BDC9FD1C3A}":[13,1,0],"{21E4AEA4-8DFA-4A89-87EB-49C32662AFE0}":[13,2,0],"{F5AB1C69-6EDB-4FF4-983F-18BD219EF322}":[13,3,0],"{00A15C55-8517-42AA-B614-E9B94910E393}":[13,4,0],"{7DF18680-E054-41AD-8BC1-D1AEF772440D}":[13,5,0],"{93296810-A885-4BE3-A3E7-6D5BEEA58F35}":[13,6,0],"{8EC20E35-A176-4012-BC5E-935CFFF8708E}":[14,0,0],"{6E25E649-3F16-4E02-A733-19D2CDBF48F0}":[15,1,0],"{85BE263C-DBD7-4A20-BB59-AAB30ACAA65A}":[15,2,0],"{EB344D84-9AFB-497E-A393-DC336BA19D2E}":[15,3,0],"{EB9631B5-78F2-41C9-869B-9F39066F8104}":[15,4,0],"{74C1A8A3-306A-4EB7-A6B1-4F7E0EB9C5D6}":[15,5,0],"{2A488322-F2BA-4B5B-9748-0D474271808F}":[15,6,0],"{D7AC3CCA-C797-4891-BE02-D94E43425B78}":[16,0,0],"{69CF1AB2-1976-4502-BF36-3FF5EA218861}":[17,1,0],"{8A107856-5554-42FB-B03E-39F5DBC370BA}":[17,2,0],"{0505E3EF-67EA-436B-97B2-0124C06EBD24}":[17,3,0],"{C4B1156A-380E-4F78-BDF5-A606A8083BF9}":[17,4,0],"{22838BEF-8BB2-4498-84A7-C5851F593DF1}":[17,5,0],"{16D9F66E-5EB9-4882-86FB-DCBF35E3C3E4}":[17,6,0],"{E8034E78-7F5D-4C2E-B375-FC64B27BC917}":[18,0,0],"{125E5076-3810-47DD-B79F-674D7AD40C01}":[19,1,0],"{37CE84F3-28C3-443E-9E96-99CF82512B78}":[19,2,0],"{D03447BB-5D67-496B-8E87-E561075AD55C}":[19,3,0],"{E929F9F4-4A8F-4326-A1B4-22849713DDAB}":[19,4,0],"{8FD4443E-F989-4FC4-A0C8-D5A2AF1F390B}":[19,5,0],"{AF606853-7671-496A-8E4F-DF71F8EC918B}":[19,6,0],"{5202B0CA-FC54-4496-8BCA-5EF66A818D29}":[20,0,0],"{0660B408-B3CF-4A94-85FC-2B1E0A45F4A2}":[21,1,2],"{91EBBBCC-DAD2-459C-BE2E-F6DE35CF9A28}":[21,3,4],"{46F890A9-2807-4EBB-B81D-B2AA78EC7F39}":[21,5,6]};var $9=new Map(io.map(e=>[e.name,e.id])),U9=new Map(io.map(e=>[e.id,e.name])),ih=e=>$9.get(e)??null,vc=e=>{let t=e.trim().toUpperCase(),n=CE[t],r=U9.get(t);if(!n||r===void 0)return null;let[a,l,i]=n,s=vE[a].replaceAll('val="$A"',`val="accent${l}"`).replaceAll('val="$B"',`val="accent${i}"`);return`<a:tblStyle styleId="${t}" styleName="${r}">${s}</a:tblStyle>`},PE=new Map,sh=e=>{let t=e.trim().toUpperCase(),n=PE.get(t);if(n)return n;let r=vc(t);if(r===null)return null;let a=$(r.replace("<a:tblStyle ",`<a:tblStyle xmlns:a="${d.dml}" `)).root;return PE.set(t,a),a};var G9=o("p","notes",d.pml),q9=o("p","cSld",d.pml),H9=o("p","spTree",d.pml),V9=o("p","nvGrpSpPr",d.pml),dh=o("p","cNvPr",d.pml),z9=o("p","cNvGrpSpPr",d.pml),LE=o("p","cNvSpPr",d.pml),ch=o("p","nvPr",d.pml),W9=o("p","grpSpPr",d.pml),RE=o("p","sp",d.pml),NE=o("p","nvSpPr",d.pml),DE=o("p","spPr",d.pml),_E=o("p","ph",d.pml),Y9=o("p","txBody",d.pml),Z9=o("p","clrMapOvr",d.pml),K9=o("a","masterClrMapping",d.dml),J9=o("a","bodyPr",d.dml),Q9=o("a","lstStyle",d.dml),ej=o("a","p",d.dml),tj=o("a","r",d.dml),nj=o("a","rPr",d.dml),rj=o("a","t",d.dml),kE=o("a","spLocks",d.dml),mh=o("","id",""),ph=o("","name",""),ME=o("","noGrp",""),aj=o("","noRot",""),lj=o("","noChangeAspect",""),FE=o("","type",""),oj=o("","idx",""),ij=o("","lang",""),sj=()=>{let e=h(dh,{attrs:[b(mh,"1"),b(ph,"")]});return h(V9,{children:[e,h(z9),h(ch)]})},dj=e=>{let t=h(dh,{attrs:[b(mh,String(e)),b(ph,`Slide Image Placeholder ${e-1}`)]}),n=h(kE,{attrs:[b(ME,"1"),b(aj,"1"),b(lj,"1")]}),r=h(LE,{children:[n]}),a=h(_E,{attrs:[b(FE,"sldImg")]}),l=h(NE,{children:[t,r,h(ch,{children:[a]})]});return h(RE,{children:[l,h(DE)]})},cj=e=>e.split(`
|
|
12
|
-
`).map(n=>{let r=h(rj,{children:n.length>0?[be(n)]:[]}),a=h(tj,{children:[h(nj,{attrs:[b(ij,"en-US")]}),r]});return h(ej,{children:[a]})}),mj=(e,t)=>{let n=h(dh,{attrs:[b(mh,String(e)),b(ph,`Notes Placeholder ${e-1}`)]}),r=h(LE,{children:[h(kE,{attrs:[b(ME,"1")]})]}),a=h(_E,{attrs:[b(FE,"body"),b(oj,"1")]}),l=h(NE,{children:[n,r,h(ch,{children:[a]})]}),i=h(Y9,{children:[h(J9),h(Q9),...cj(t)]});return h(RE,{children:[l,h(DE),i]})},uh=e=>{let t=h(H9,{children:[sj(),h(W9),dj(2),mj(3,e)]}),n=h(q9,{children:[t]}),r=h(Z9,{children:[h(K9)]}),a=h(G9,{prefixDecls:new Map([["a",d.dml],["r",d.officeDocRels],["p",d.pml]]),children:[n,r]});return{kind:"document",decl:{version:"1.0",encoding:"UTF-8",standalone:"yes"},prolog:[],root:a,epilog:[]}};var Lc=`<?xml version="1.0" encoding="UTF-8" standalone="yes"?>\r
|
|
13
|
-
`,gr='xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:p="http://schemas.openxmlformats.org/presentationml/2006/main"';var pj="{0B8E6F38-1A47-4C55-9C2B-3D5A1F0E7A01}",uj="{0B8E6F38-1A47-4C55-9C2B-3D5A1F0E7A02}",gh='bg1="lt1" tx1="dk1" bg2="lt2" tx2="dk2" accent1="accent1" accent2="accent2" accent3="accent3" accent4="accent4" accent5="accent5" accent6="accent6" hlink="hlink" folHlink="folHlink"',jE=e=>e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">"),$E=e=>jE(e).replace(/"/g,"""),UE=(e,t,n)=>({x:Math.round(e.x*n.w/t.w),y:Math.round(e.y*n.h/t.h),w:Math.round(e.w*n.w/t.w),h:Math.round(e.h*n.h/t.h)}),fj=e=>e===null?"":`<a:xfrm><a:off x="${e.x}" y="${e.y}"/><a:ext cx="${e.w}" cy="${e.h}"/></a:xfrm>`,GE=e=>`<a:r><a:rPr lang="en-US"/><a:t>${jE(e)}</a:t></a:r>`,hj=["Click to edit Master text styles","Second level","Third level","Fourth level","Fifth level"],ys=()=>hj.map((e,t)=>`<a:p><a:pPr lvl="${t}"/>${GE(e)}</a:p>`).join(""),yh=()=>`<a:p><a:fld id="${pj}" type="datetimeFigureOut"><a:rPr lang="en-US"/></a:fld><a:endParaRPr lang="en-US"/></a:p>`,xh=()=>`<a:p><a:fld id="${uj}" type="slidenum"><a:rPr lang="en-US"/><a:t>\u2039#\u203A</a:t></a:fld><a:endParaRPr lang="en-US"/></a:p>`,mo=()=>'<a:p><a:endParaRPr lang="en-US"/></a:p>',po=e=>`<a:p>${GE(e)}<a:endParaRPr lang="en-US"/></a:p>`,Ur='vert="horz" lIns="91440" tIns="45720" rIns="91440" bIns="45720" rtlCol="0"',Ja=(e,t)=>{let n=t.full?'<a:prstGeom prst="rect"><a:avLst/></a:prstGeom>':"",r=`${fj(t.box)}${n}${t.spPrExtra??""}`,a=r===""?"<p:spPr/>":`<p:spPr>${r}</p:spPr>`,l=t.bodyPr??(t.full?`<a:bodyPr ${Ur}/>`:"<a:bodyPr/>"),i=t.lstStyle?`<a:lstStyle>${t.lstStyle}</a:lstStyle>`:"<a:lstStyle/>";return`<p:sp><p:nvSpPr><p:cNvPr id="${e}" name="${$E(`${t.name} ${e-1}`)}"/><p:cNvSpPr><a:spLocks ${t.locks??'noGrp="1"'}/></p:cNvSpPr><p:nvPr><p:ph ${t.ph}/></p:nvPr></p:nvSpPr>${a}<p:txBody>${l}${i}${t.paragraphs}</p:txBody></p:sp>`},gj='<p:nvGrpSpPr><p:cNvPr id="1" name=""/><p:cNvGrpSpPr/><p:nvPr/></p:nvGrpSpPr><p:grpSpPr><a:xfrm><a:off x="0" y="0"/><a:ext cx="0" cy="0"/><a:chOff x="0" y="0"/><a:chExt cx="0" cy="0"/></a:xfrm></p:grpSpPr>',Rc=e=>`<p:spTree>${gj}${e.map((t,n)=>Ja(n+2,t)).join("")}</p:spTree>`,co=e=>`<a:solidFill><a:schemeClr val="tx1">${e===void 0?"":`<a:tint val="${e}"/>`}</a:schemeClr></a:solidFill>`,hs=(e,t)=>Array.from({length:e},(n,r)=>t(r)).join(""),qE={title:{x:838200,y:365125,w:10515600,h:1325563},body:{x:838200,y:1825625,w:10515600,h:4351338},dt:{x:838200,y:6356350,w:2743200,h:365125},ftr:{x:4038600,y:6356350,w:4114800,h:365125},sldNum:{x:8610600,y:6356350,w:2743200,h:365125}},fh=e=>`<a:lvl1pPr algn="${e}"><a:defRPr sz="1200">${co(75e3)}</a:defRPr></a:lvl1pPr>`,HE={title:e=>({name:"Title Placeholder",ph:'type="title"',box:e,full:!0,bodyPr:`<a:bodyPr ${Ur} anchor="ctr"><a:normAutofit/></a:bodyPr>`,paragraphs:po("Click to edit Master title style")}),body:e=>({name:"Text Placeholder",ph:'type="body" idx="1"',box:e,full:!0,bodyPr:`<a:bodyPr ${Ur}><a:normAutofit/></a:bodyPr>`,paragraphs:ys()}),dt:e=>({name:"Date Placeholder",ph:'type="dt" sz="half" idx="2"',box:e,full:!0,bodyPr:`<a:bodyPr ${Ur} anchor="ctr"/>`,lstStyle:fh("l"),paragraphs:yh()}),ftr:e=>({name:"Footer Placeholder",ph:'type="ftr" sz="quarter" idx="3"',box:e,full:!0,bodyPr:`<a:bodyPr ${Ur} anchor="ctr"/>`,lstStyle:fh("ctr"),paragraphs:mo()}),sldNum:e=>({name:"Slide Number Placeholder",ph:'type="sldNum" sz="quarter" idx="4"',box:e,full:!0,bodyPr:`<a:bodyPr ${Ur} anchor="ctr"/>`,lstStyle:fh("r"),paragraphs:xh()})},Nc=["title","body","dt","ftr","sldNum"],Sh=e=>t=>UE(t,{w:12192e3,h:6858e3},e),bh=(e,t,n)=>Ja(t,HE[e](Sh(n)(qE[e]))).replace("<p:sp>",`<p:sp ${gr}>`),gs=457200,yj=[2800,2400,2e3,1800,1800,1800,1800,1800,1800],xj=`<p:txStyles><p:titleStyle><a:lvl1pPr algn="l" defTabSz="914400" rtl="0" eaLnBrk="1" latinLnBrk="0" hangingPunct="1"><a:lnSpc><a:spcPct val="90000"/></a:lnSpc><a:spcBef><a:spcPct val="0"/></a:spcBef><a:buNone/><a:defRPr sz="4400" kern="1200">${co()}<a:latin typeface="+mj-lt"/><a:ea typeface="+mj-ea"/><a:cs typeface="+mj-cs"/></a:defRPr></a:lvl1pPr></p:titleStyle><p:bodyStyle>${hs(9,e=>`<a:lvl${e+1}pPr marL="${228600+e*gs}" indent="-228600" algn="l" defTabSz="914400" rtl="0" eaLnBrk="1" latinLnBrk="0" hangingPunct="1"><a:lnSpc><a:spcPct val="90000"/></a:lnSpc><a:spcBef><a:spcPts val="${e===0?1e3:500}"/></a:spcBef><a:buFont typeface="Arial" panose="020B0604020202020204" pitchFamily="34" charset="0"/><a:buChar char="\u2022"/><a:defRPr sz="${yj[e]}" kern="1200">${co()}<a:latin typeface="+mn-lt"/><a:ea typeface="+mn-ea"/><a:cs typeface="+mn-cs"/></a:defRPr></a:lvl${e+1}pPr>`)}</p:bodyStyle><p:otherStyle><a:defPPr><a:defRPr lang="en-US"/></a:defPPr>${hs(9,e=>`<a:lvl${e+1}pPr marL="${e*gs}" algn="l" defTabSz="914400" rtl="0" eaLnBrk="1" latinLnBrk="0" hangingPunct="1"><a:defRPr sz="1800" kern="1200">${co()}<a:latin typeface="+mn-lt"/><a:ea typeface="+mn-ea"/><a:cs typeface="+mn-cs"/></a:defRPr></a:lvl${e+1}pPr>`)}</p:otherStyle></p:txStyles>`,Eh=(e,t)=>{let n=Sh(e),r=Nc.map(l=>HE[l](n(qE[l]))),a=t.map(l=>`<p:sldLayoutId id="${l.id}" r:id="${l.rId}"/>`).join("");return`${Lc}<p:sldMaster ${gr} preserve="1"><p:cSld><p:bg><p:bgRef idx="1001"><a:schemeClr val="bg1"/></p:bgRef></p:bg>${Rc(r)}</p:cSld><p:clrMap ${gh}/><p:sldLayoutIdLst>${a}</p:sldLayoutIdLst>${xj}</p:sldMaster>`},VE=[{name:"Date Placeholder",ph:'type="dt" sz="half" idx="10"',box:null,paragraphs:yh()},{name:"Footer Placeholder",ph:'type="ftr" sz="quarter" idx="11"',box:null,paragraphs:mo()},{name:"Slide Number Placeholder",ph:'type="sldNum" sz="quarter" idx="12"',box:null,paragraphs:xh()}],Ah=(e,t)=>VE.map((n,r)=>Ja(e+r,{...n,ph:n.ph.replace(/idx="\d+"/,`idx="${t[r]}"`)}).replace("<p:sp>",`<p:sp ${gr}>`)),Ka={name:"Title",ph:'type="title"',box:null,paragraphs:po("Click to edit Master title style")},Th=e=>Ja(e,Ka).replace("<p:sp>",`<p:sp ${gr}>`),Sj=e=>hs(9,t=>`<a:lvl${t+1}pPr marL="${t*gs}" indent="0" algn="ctr"><a:buNone/><a:defRPr sz="${e[Math.min(t,e.length-1)]}"/></a:lvl${t+1}pPr>`),so=(e,t={})=>hs(9,n=>{let r=e[Math.min(n,e.length-1)],a=t.bullets?"":` marL="${n*gs}" indent="0"`,l=t.tint===void 0?"":co(t.tint),i=t.bold?' b="1"':"";return`<a:lvl${n+1}pPr${a}>${t.bullets?"":"<a:buNone/>"}<a:defRPr sz="${r}"${i}${l===""?"/>":`>${l}</a:defRPr>`}</a:lvl${n+1}pPr>`}),Cc=(e,t,n=!1,r="title")=>({name:"Title",ph:`type="${r}"`,box:e,bodyPr:n?'<a:bodyPr anchor="b"/>':void 0,lstStyle:t===void 0?void 0:`<a:lvl1pPr${r==="ctrTitle"?' algn="ctr"':""}><a:defRPr sz="${t}"/></a:lvl1pPr>`,paragraphs:po("Click to edit Master title style")}),Nn=(e,t,n,r,a)=>({name:e,ph:t,box:n,bodyPr:a,lstStyle:r,paragraphs:ys()}),IE={x:839788,y:457200,w:3932237,h:1600200},BE={x:839788,y:2057400,w:3932237,h:3811588},OE={x:5183188,y:987425,w:6172200,h:4873625},XE=so([1600,1400,1200,1e3]),bj=[{name:"Title Slide",type:"title",placeholders:[Cc({x:1524e3,y:1122363,w:9144e3,h:2387600},6e3,!0,"ctrTitle"),{name:"Subtitle",ph:'type="subTitle" idx="1"',box:{x:1524e3,y:3602038,w:9144e3,h:1655762},lstStyle:Sj([2400,2e3,1800,1600]),paragraphs:po("Click to edit Master subtitle style")}]},{name:"Title and Content",type:"obj",placeholders:[Ka,Nn("Content Placeholder",'idx="1"',null)]},{name:"Section Header",type:"secHead",placeholders:[Cc({x:831850,y:1709738,w:10515600,h:2852737},6e3,!0),{name:"Text Placeholder",ph:'type="body" idx="1"',box:{x:831850,y:4589463,w:10515600,h:1500187},lstStyle:so([2400,2e3,1800,1600],{tint:82e3}),paragraphs:ys()}]},{name:"Two Content",type:"twoObj",placeholders:[Ka,Nn("Content Placeholder",'sz="half" idx="1"',{x:838200,y:1825625,w:5181600,h:4351338}),Nn("Content Placeholder",'sz="half" idx="2"',{x:6172200,y:1825625,w:5181600,h:4351338})]},{name:"Comparison",type:"twoTxTwoObj",placeholders:[{...Ka,box:{x:839788,y:365125,w:10515600,h:1325563}},Nn("Text Placeholder",'type="body" idx="1"',{x:839788,y:1681163,w:5157787,h:823912},so([2400,2e3,1800,1600],{bold:!0}),'<a:bodyPr anchor="b"/>'),Nn("Content Placeholder",'sz="half" idx="2"',{x:839788,y:2505075,w:5157787,h:3684588}),Nn("Text Placeholder",'type="body" sz="quarter" idx="3"',{x:6172200,y:1681163,w:5183188,h:823912},so([2400,2e3,1800,1600],{bold:!0}),'<a:bodyPr anchor="b"/>'),Nn("Content Placeholder",'sz="quarter" idx="4"',{x:6172200,y:2505075,w:5183188,h:3684588})]},{name:"Title Only",type:"titleOnly",placeholders:[Ka]},{name:"Blank",type:"blank",placeholders:[]},{name:"Content with Caption",type:"objTx",placeholders:[Cc(IE,3200,!0),Nn("Content Placeholder",'idx="1"',OE,so([3200,2800,2400,2e3],{bullets:!0})),Nn("Text Placeholder",'type="body" sz="half" idx="2"',BE,XE)]},{name:"Picture with Caption",type:"picTx",placeholders:[Cc(IE,3200,!0),{name:"Picture Placeholder",ph:'type="pic" idx="1"',box:OE,bodyPr:'<a:bodyPr anchor="t"/>',lstStyle:so([3200,2800,2400,2e3]),paragraphs:mo()},Nn("Text Placeholder",'type="body" sz="half" idx="2"',BE,XE)]},{name:"Title and Vertical Text",type:"vertTx",placeholders:[Ka,Nn("Vertical Text Placeholder",'type="body" orient="vert" idx="1"',null,void 0,'<a:bodyPr vert="eaVert"/>')]},{name:"Vertical Title and Text",type:"vertTitleAndTx",placeholders:[{name:"Vertical Title",ph:'type="title" orient="vert"',box:{x:8724900,y:365125,w:2628900,h:5811838},bodyPr:'<a:bodyPr vert="eaVert"/>',paragraphs:po("Click to edit Master title style")},Nn("Vertical Text Placeholder",'type="body" orient="vert" idx="1"',{x:838200,y:365125,w:7734300,h:5811838},void 0,'<a:bodyPr vert="eaVert"/>')]}],zE=(e,t,n)=>{let r=Sh(t),a=[...e.placeholders,...VE].map(l=>l.box===null?l:{...l,box:r(l.box)});return`${Lc}<p:sldLayout ${gr}${n}><p:cSld name="${$E(e.name)}">${Rc(a)}</p:cSld><p:clrMapOvr><a:masterClrMapping/></p:clrMapOvr></p:sldLayout>`},wh=e=>bj.map(t=>zE(t,e,` type="${t.type}" preserve="1"`)),vh=(e,t)=>zE({name:e,type:"cust",placeholders:[Ka]},t,' preserve="1" userDrawn="1"'),Ej={content:{name:"Content Placeholder",ph:"",prompt:null},verticalContent:{name:"Vertical Content Placeholder",ph:'orient="vert" ',prompt:null,vertical:!0},text:{name:"Text Placeholder",ph:'type="body" ',prompt:null},verticalText:{name:"Vertical Text Placeholder",ph:'type="body" orient="vert" ',prompt:null,vertical:!0},picture:{name:"Picture Placeholder",ph:'type="pic" ',prompt:"Picture"},chart:{name:"Chart Placeholder",ph:'type="chart" ',prompt:"Chart"},table:{name:"Table Placeholder",ph:'type="tbl" ',prompt:"Table"},smartArt:{name:"SmartArt Placeholder",ph:'type="dgm" ',prompt:"SmartArt"},media:{name:"Media Placeholder",ph:'type="media" ',prompt:"Media"},onlineImage:{name:"Online Image Placeholder",ph:'type="clipArt" ',prompt:"Online Image"}},Ch=(e,t,n,r)=>{let a=Ej[e];return Ja(t,{name:a.name,ph:`${a.ph}sz="quarter" idx="${n}"`,box:r,bodyPr:a.vertical?'<a:bodyPr vert="eaVert"/>':void 0,paragraphs:a.prompt===null?ys():po(a.prompt)}).replace("<p:sp>",`<p:sp ${gr}>`)},Ph={hdr:{x:0,y:0,w:2971800,h:458788},dt:{x:3884613,y:0,w:2971800,h:458788},ftr:{x:0,y:8685213,w:2971800,h:458788},sldNum:{x:3884613,y:8685213,w:2971800,h:458788}},Aj={x:685800,y:4400550,w:5486400,h:3600450},Pc=e=>`<a:lvl1pPr algn="${e}"><a:defRPr sz="1200"/></a:lvl1pPr>`,Lh=(e,t,n)=>{let r=t===null?"":` idx="${t}"`;switch(e){case"hdr":return{name:"Header Placeholder",ph:`type="hdr" sz="quarter"${r}`,box:n,full:!0,lstStyle:Pc("l"),paragraphs:mo()};case"dt":return{name:"Date Placeholder",ph:`type="dt" sz="quarter"${r}`,box:n,full:!0,lstStyle:Pc("r"),paragraphs:yh()};case"ftr":return{name:"Footer Placeholder",ph:`type="ftr" sz="quarter"${r}`,box:n,full:!0,bodyPr:`<a:bodyPr ${Ur} anchor="b"/>`,lstStyle:Pc("l"),paragraphs:mo()};case"sldNum":return{name:"Slide Number Placeholder",ph:`type="sldNum" sz="quarter"${r}`,box:n,full:!0,bodyPr:`<a:bodyPr ${Ur} anchor="b"/>`,lstStyle:Pc("r"),paragraphs:xh()}}},Tj=e=>{let t=e.w/e.h;if(t>=1.5)return{x:685800,y:1143e3,w:5486400,h:Math.round(5486400/t)};let n=3429e3,r=Math.round(n*t);return{x:Math.round((6858e3-r)/2),y:685800,w:r,h:n}},hh={hdr:null,dt:1,sldImg:2,body:3,ftr:4,sldNum:5},WE={hdr:null,dt:1,ftr:2,sldNum:3},Dc=["hdr","dt","sldImg","body","ftr","sldNum"],_c=["hdr","dt","ftr","sldNum"],Rh=e=>t=>UE(t,{w:6858e3,h:9144e3},e),YE=(e,t,n)=>{let r=Rh(t);return e==="sldImg"?{name:"Slide Image Placeholder",ph:`type="sldImg" idx="${hh.sldImg}"`,box:r(Tj(n)),full:!0,locks:'noGrp="1" noRot="1" noChangeAspect="1"',spPrExtra:'<a:noFill/><a:ln w="12700"><a:solidFill><a:prstClr val="black"/></a:solidFill></a:ln>',bodyPr:`<a:bodyPr ${Ur} anchor="ctr"/>`,paragraphs:mo()}:e==="body"?{name:"Notes Placeholder",ph:`type="body" sz="quarter" idx="${hh.body}"`,box:r(Aj),full:!0,paragraphs:ys()}:Lh(e,hh[e],r(Ph[e]))},Nh=(e,t,n,r)=>Ja(t,YE(e,n,r)).replace("<p:sp>",`<p:sp ${gr}>`),Dh=(e,t,n)=>Ja(t,Lh(e,WE[e],Rh(n)(Ph[e]))).replace("<p:sp>",`<p:sp ${gr}>`),wj=`<p:notesStyle>${hs(9,e=>`<a:lvl${e+1}pPr marL="${e*gs}" algn="l" defTabSz="914400" rtl="0" eaLnBrk="1" latinLnBrk="0" hangingPunct="1"><a:defRPr sz="1200" kern="1200">${co()}<a:latin typeface="+mn-lt"/><a:ea typeface="+mn-ea"/><a:cs typeface="+mn-cs"/></a:defRPr></a:lvl${e+1}pPr>`)}</p:notesStyle>`,ZE='<p:bg><p:bgRef idx="1001"><a:schemeClr val="bg1"/></p:bgRef></p:bg>',_h=(e,t)=>{let n=Dc.map(r=>YE(r,e,t));return`${Lc}<p:notesMaster ${gr}><p:cSld>${ZE}${Rc(n)}</p:cSld><p:clrMap ${gh}/>${wj}</p:notesMaster>`},kh=e=>{let t=Rh(e),n=_c.map(r=>Lh(r,WE[r],t(Ph[r])));return`${Lc}<p:handoutMaster ${gr}><p:cSld>${ZE}${Rc(n)}</p:cSld><p:clrMap ${gh}/></p:handoutMaster>`};var vj=o("p","transition",d.pml),Cj=o("p","fade",d.pml),Pj=o("","spd",""),Lj=o("","advClick",""),Rj=o("","advTm",""),Nj=o("","dir",""),Dj=o("","orient",""),_j=o("","thruBlk",""),kj=o("","spokes",""),Mj=o("","pattern",""),Fj=o("","isContent",""),Ij=o("","isInverted",""),Bj=o("","hasBounce",""),Oj=o("","prst",""),Xj=o("","invX",""),jj=o("","invY",""),$j=o("","option",""),Uj=o("p14","dur",d.p14),Gj=o("","Requires",""),qj=o("mc","AlternateContent",d.mc),Hj=o("mc","Choice",d.mc),Vj=o("mc","Fallback",d.mc),Mh={fast:500,med:750,slow:1e3},zj=e=>e<=Mh.fast?"fast":e<=Mh.med?"med":"slow",Wj=["blinds","checker","circle","dissolve","comb","cover","cut","diamond","fade","newsflash","plus","pull","push","random","randomBar","split","strips","wedge","wheel","wipe","zoom"],JE=["conveyor","doors","ferris","flash","flip","flythrough","gallery","glitter","honeycomb","pan","prism","reveal","ripple","shred","switch","vortex","warp","wheelReverse","window"],QE=[...Wj,...JE,"prstTrans","morph"],Yj=["fallOver","drape","curtains","wind","prestige","fracture","crush","peelOff","pageCurlDouble","pageCurlSingle","airplane","origami"],uo=new Set(["horz","vert"]),Qa=new Set(["l","u","r","d"]),Fh=new Set(["lu","ru","ld","rd"]),KE=new Set([...Qa,...Fh]),xs=new Set(["in","out"]),fo=new Set(["l","r"]),Zj=new Set(["center",...Fh]),Kj={blinds:uo,checker:uo,comb:uo,randomBar:uo,push:Qa,wipe:Qa,cover:KE,pull:KE,strips:Fh,zoom:xs,split:xs,vortex:Qa,pan:Qa,glitter:Qa,prism:Qa,switch:fo,flip:fo,ferris:fo,gallery:fo,conveyor:fo,reveal:fo,ripple:Zj,doors:uo,window:uo,warp:xs,flythrough:xs,shred:xs},Jj=new Set(["fade","cut","reveal"]),Qj={glitter:["diamond","hexagon"],shred:["strip","rectangle"]},e$=["byObject","byWord","byChar"],t$=new Set(JE),kc={ns:d.p14,prefix:"p14"},n$={ns:d.p15,prefix:"p15"},r$={ns:d.p159,prefix:"p159"},Ih=e=>t$.has(e)?kc:e==="prstTrans"?n$:e==="morph"?r$:null,Bh=e=>QE.includes(e)?Ih(e)?.ns??d.pml:null,ho=(e,t)=>t===!0?[b(e,"1")]:[],a$=e=>{if(e.effect==="none")return null;let t=Z(e.effect,QE,"setSlideTransition: effect"),n=Ih(t),r=o(n?.prefix??"p",t,n?.ns??d.pml),a=[];if(e.direction!==void 0){let i=Kj[t];if(i!==void 0){if(!i.has(e.direction))throw new Error(`setSlideTransition: direction "${e.direction}" is not valid for effect "${t}" (allowed: ${[...i].join(", ")})`);a.push(b(Nj,e.direction))}}if(e.spokes!==void 0&&(t==="wheel"||t==="wheelReverse")){if(!Number.isInteger(e.spokes))throw new RangeError("setSlideTransition: spokes must be an integer");let i=Ae(e.spokes,"unsignedInt","setSlideTransition: spokes");a.push(b(kj,String(i)))}e.orientation!==void 0&&t==="split"&&(Z(e.orientation,["horz","vert"],"setSlideTransition: orientation"),a.push(b(Dj,e.orientation))),Jj.has(t)&&a.push(...ho(_j,e.thruBlack));let l=Qj[t];if(e.pattern!==void 0&&l!==void 0&&a.push(b(Mj,Z(e.pattern,l,"setSlideTransition: pattern"))),t==="prism"&&a.push(...ho(Fj,e.isContent),...ho(Ij,e.isInverted)),t==="flythrough"&&a.push(...ho(Bj,e.hasBounce)),t==="prstTrans"){if(e.preset===void 0)throw new Error('setSlideTransition: effect "prstTrans" needs a preset');let i=Z(e.preset,Yj,"setSlideTransition: preset");a.push(b(Oj,i),...ho(Xj,e.invertX),...ho(jj,e.invertY))}if(t==="morph"){let i=Z(e.morphOption??"byObject",e$,"setSlideTransition: morphOption");a.push(b($j,i))}return h(r,{attrs:a})},Mc=(e,t=null)=>{e.speed!==void 0&&Z(e.speed,["slow","med","fast"],"setSlideTransition: speed");let n=e.durationMs===void 0?void 0:la(e.durationMs,"setSlideTransition: durationMs"),r=e.speed??(n===void 0?void 0:zj(n)),a=r!==void 0&&n!==Mh[r]?n:void 0,l=e.speed??(r==="fast"?void 0:r),i=[];if(l!==void 0&&i.push(b(Pj,l)),e.advanceOnClick===!1&&i.push(b(Lj,"0")),e.advanceAfterMs!==void 0){let y=la(e.advanceAfterMs,"setSlideTransition: advanceAfterMs");i.push(b(Rj,String(y)))}let s=a$(e),c=(y,g)=>h(vj,{attrs:[...i,...y],children:[...g===null?[]:[he(g)],...t===null?[]:[he(t)]]}),p=e.effect==="none"?null:Ih(e.effect);if(a===void 0&&p===null)return c([],s);let u=p??kc,f=new Map([[u.prefix,u.ns]]);return a!==void 0&&f.set(kc.prefix,kc.ns),h(qj,{prefixDecls:new Map([["mc",d.mc]]),children:[h(Hj,{attrs:[b(Gj,u.prefix)],prefixDecls:f,children:[c(a===void 0?[]:[b(Uj,String(a))],s)]}),h(Vj,{children:[c([],p===null?s:h(Cj))]})]})};var bs=["spinDirection","spinDegrees","scaleDirection","scalePercent","transparencyPercent","color"],el={spinDirection:null,spinDegrees:null,scaleDirection:null,scalePercent:null,transparencyPercent:null,color:null},jh=6e4,Bc=1e3,Xh=100*Bc,l$=2**31-1,$h=100,tA=6,o$={spinDirection:"clockwise",spinDegrees:360},i$={scaleDirection:"both",scalePercent:150},s$=50,Uh={fillColor:"scheme:accent2",fontColor:"scheme:accent2",lineColor:"scheme:accent2",brushColor:"scheme:accent2",objectColor:"scheme:accent2",growWithColor:"scheme:accent2",colorPulse:"scheme:bg1"},d$={spinDirection:'"spin"',spinDegrees:'"spin"',scaleDirection:'"growShrink"',scalePercent:'"growShrink"',transparencyPercent:'"transparency"',color:Object.keys(Uh).map(e=>JSON.stringify(e)).join(", ")},c$=["clockwise","counterclockwise"],m$=["both","horizontal","vertical"],Es=e=>e==="spin"?["spinDirection","spinDegrees"]:e==="growShrink"?["scaleDirection","scalePercent"]:e==="transparency"?["transparencyPercent"]:Uh[e]!==void 0?["color"]:[],p$=e=>{if(e==="spin")return{...el,...o$};if(e==="growShrink")return{...el,...i$};if(e==="transparency")return{...el,transparencyPercent:s$};let t=Uh[e];return t===void 0?el:{...el,color:t}},eA=(e,t,n)=>{if(typeof e!="number"||!Number.isFinite(e)||e<=0)throw new RangeError(`${n} must be a positive number, not ${JSON.stringify(e)}.`);if(Math.round(e*t)>l$)throw new RangeError(`${n} ${e} is larger than the file can record.`);return e},u$=(e,t)=>{let n=typeof e=="object"&&e!==null?e.color:e;if(typeof n!="string"||Fr(n)===null)throw new RangeError(`${t} must be a theme colour token or "#RRGGBB", not ${JSON.stringify(n)}.`);if(typeof e=="object"&&e!==null){let r=e.colorTransforms;r!==void 0&<(r)}return e},As=(e,t,n)=>{let r=new Set(Es(e));for(let s of bs)if(t[s]!==void 0&&!r.has(s))throw new RangeError(`${n}: ${s} does not apply to ${JSON.stringify(e)}; it is an Effect Option of ${d$[s]}.`);let a=p$(e),l=(s,c)=>r.has(s)?t[s]===void 0?a[s]:c(t[s]):null,i=(s,c)=>p=>{let u=c.find(f=>f===p);if(u===void 0)throw new RangeError(`${n}: ${s} ${JSON.stringify(p)} is not one of ${c.join(", ")}.`);return u};return{spinDirection:l("spinDirection",i("spinDirection",c$)),spinDegrees:l("spinDegrees",s=>eA(s,jh,`${n}: spinDegrees`)),scaleDirection:l("scaleDirection",i("scaleDirection",m$)),scalePercent:l("scalePercent",s=>eA(s,Bc,`${n}: scalePercent`)),transparencyPercent:l("transparencyPercent",s=>{if(typeof s!="number"||!Number.isFinite(s)||s<0||s>$h)throw new RangeError(`${n}: transparencyPercent must be a number from 0 to 100, not ${JSON.stringify(s)}.`);return s}),color:l("color",s=>u$(s,`${n}: color`))}},Gr=(e,t)=>e.name.namespaceURI===d.pml&&e.name.localName===t,f$=o("p","childTnLst",d.pml),h$=o("p","cBhvr",d.pml),g$=o("p","attrNameLst",d.pml),y$=o("p","attrName",d.pml),Ic=o("p","to",d.pml),nA=o("p","by",d.pml),x$=o("p","from",d.pml),rA=o("p","strVal",d.pml),S$=o("p","clrVal",d.pml),b$=o("","by",""),E$=o("","from",""),A$=o("","to",""),T$=o("","x",""),w$=o("","y",""),aA=o("","val",""),v$=o("","prLst",""),Gh=e=>{let t=m(e,f$);return t===null?[]:t.children.filter(n=>n.kind==="element"&&n.name.namespaceURI===d.pml)},lA=e=>{let t=m(e,h$),n=t===null?null:m(t,g$);return(n===null?null:m(n,y$))?.children.find(a=>a.kind==="text")?.data??null},Ss=(e,t,n)=>{let r=e.attrs.some(a=>a.name.namespaceURI===""&&a.name.localName===t);e.attrs=r?e.attrs.map(a=>a.name.namespaceURI===""&&a.name.localName===t?{...a,value:n}:a):[...e.attrs,b(o("",t,""),n)]},oA=e=>{let t=[];for(let n of Gh(e)){let r=m(n,Ic);if(r!==null){if(Gr(n,"animClr"))t.push(r);else if(Gr(n,"set")){let a=m(r,S$);a!==null&&t.push(a)}}}return t},C$=e=>{let t=typeof e=="string"?e:e.color,n=tt(t);return typeof e!="string"&&e.colorTransforms!==void 0&&(n.children=lt(e.colorTransforms)),n},P$=e=>String(Number((1-e/$h).toFixed(tA))),L$=e=>String(Math.round(e*Bc)),iA=(e,t)=>{for(let n of Gh(e)){if(Gr(n,"animRot")&&t.spinDegrees!==null){let r=t.spinDirection==="counterclockwise"?-1:1;Ss(n,"by",String(r*Math.round(t.spinDegrees*jh)))}if(Gr(n,"animScale")&&t.scalePercent!==null){let r=m(n,nA);if(r===null)continue;let a=L$(t.scalePercent),l=String(Xh);Ss(r,"x",t.scaleDirection==="vertical"?l:a),Ss(r,"y",t.scaleDirection==="horizontal"?l:a)}if(t.transparencyPercent!==null){let r=P$(t.transparencyPercent);if(Gr(n,"set")&&lA(n)==="style.opacity"){let a=m(m(n,Ic),rA);a!==null&&Ss(a,"val",r)}Gr(n,"animEffect")&&x(n,v$)!==null&&Ss(n,"prLst",`opacity: ${r}`)}}if(t.color!==null)for(let n of oA(e))n.children=[C$(t.color)]},Oh=e=>{if(e===null||!/^-?\d+$/.test(e))return null;let t=Number(e);return Number.isSafeInteger(t)?t:null},R$=e=>{let t=e.children.filter(i=>i.kind==="element"),n=t[0];if(t.length!==1||n===void 0||n.name.namespaceURI!==d.dml)return null;let r=x(n,aA);if(r===null)return null;let a=n.name.localName==="srgbClr"?dt(`#${r.toUpperCase()}`):n.name.localName==="schemeClr"?dt(`scheme:${r}`):null;if(a===null)return null;let l=Cn(n);return l.length!==n.children.filter(i=>i.kind==="element").length?null:l.length===0?a:{color:a,colorTransforms:l}},N$=(e,t)=>JSON.stringify(e)===JSON.stringify(t),Fc=e=>({...el,...e}),qh=(e,t)=>{if(Es(e).length===0)return el;let r=Gh(t);if(e==="spin"){let s=r[0];if(r.length!==1||s===void 0||!Gr(s,"animRot")||x(s,E$)!==null||x(s,A$)!==null)return null;let c=Oh(x(s,b$));return c===null||c===0?null:Fc({spinDirection:c<0?"counterclockwise":"clockwise",spinDegrees:Math.abs(c)/jh})}if(e==="growShrink"){let s=r[0];if(r.length!==1||s===void 0||!Gr(s,"animScale")||m(s,x$)!==null||m(s,Ic)!==null)return null;let c=m(s,nA),p=c===null?null:Oh(x(c,T$)),u=c===null?null:Oh(x(c,w$));if(p===null||u===null||p<=0||u<=0)return null;let f=p===u?"both":u===Xh?"horizontal":p===Xh?"vertical":null;if(f===null)return null;let y=(f==="vertical"?u:p)/Bc;return Fc({scaleDirection:f,scalePercent:y})}if(e==="transparency"){let s=r.find(y=>Gr(y,"set")&&lA(y)==="style.opacity"),c=s===void 0?null:m(s,Ic),p=c===null?null:m(c,rA),u=p===null?null:x(p,aA),f=u===null||!/^\d*\.?\d+$/.test(u.trim())?Number.NaN:Number(u);return f>=0&&f<=1?Fc({transparencyPercent:Number(((1-f)*$h).toFixed(tA-2))}):null}let l=oA(t).map(R$),i=l[0];return i==null||!l.every(s=>s!==null&&N$(s,i))?null:Fc({color:i})};var Hh=['<anim calcmode="lin" valueType="num">',"</anim>","<cBhvr>","</cBhvr>","<tavLst>","</tavLst>",' fill="hold"',"<cTn ","</cTn>",'<animEffect transition="',"</animEffect>","<set>","</set>",'<animRot by="',"</animRot>",'<animClr clrSpc="',"</animClr>","<animScale>","</animScale>",' dur="','"/>'],sA={appear:["entr",1,0,'fill="hold"',"shape",'<childTnLst>~l~c~hdur="1"~g>^0^~i{T}@style.visibility@~d<to><strVal val="visible~u</to>~m</childTnLst>'],blindsIn:["entr",3,10,'fill="hold"',"shape",'<childTnLst>~l~c~hdur="1"~g>^0^~i{T}@style.visibility@~d<to><strVal val="visible~u</to>~m~jin" filter="{F}">~c~hdur="500~u{T}~d~k</childTnLst>'],checkerboardIn:["entr",5,10,'fill="hold"',"shape",'<childTnLst>~l~c~hdur="1"~g>^0^~i{T}@style.visibility@~d<to><strVal val="visible~u</to>~m~jin" filter="{F}">~c~hdur="500~u{T}~d~k</childTnLst>'],dissolveIn:["entr",9,0,'fill="hold"',"shape",'<childTnLst>~l~c~hdur="1"~g>^0^~i{T}@style.visibility@~d<to><strVal val="visible~u</to>~m~jin" filter="dissolve">~c~hdur="500~u{T}~d~k</childTnLst>'],flyIn:["entr",2,4,'fill="hold"',"shape",'<childTnLst>~l~c~hdur="1"~g>^0^~i{T}@style.visibility@~d<to><strVal val="visible~u</to>~m~a<cBhvr additive="base">~hdur="500"~g/>{T}@ppt_x@~d~e[0|{X0}][100000|{X1}]~f~b~a<cBhvr additive="base">~hdur="500"~g/>{T}@ppt_y@~d~e[0|{Y0}][100000|{Y1}]~f~b</childTnLst>'],peekIn:["entr",12,4,'fill="hold"',"shape",'<childTnLst>~l~c~hdur="1"~g>^0^~i{T}@style.visibility@~d<to><strVal val="visible~u</to>~m~a<cBhvr additive="base">~hdur="500~u{T}@{A}@~d~e[0|{P0}][100000|{P1}]~f~b~jin" filter="{F}">~c~hdur="500~u{T}~d~k</childTnLst>'],randomBarsIn:["entr",14,10,'fill="hold"',"shape",'<childTnLst>~l~c~hdur="1"~g>^0^~i{T}@style.visibility@~d<to><strVal val="visible~u</to>~m~jin" filter="{F}">~c~hdur="500~u{T}~d~k</childTnLst>'],shapeIn:["entr",6,16,'fill="hold"',"shape",'<childTnLst>~l~c~hdur="1"~g>^0^~i{T}@style.visibility@~d<to><strVal val="visible~u</to>~m~jin" filter="{F}">~c~hdur="2000~u{T}~d~k</childTnLst>'],splitIn:["entr",16,21,'fill="hold"',"shape",'<childTnLst>~l~c~hdur="1"~g>^0^~i{T}@style.visibility@~d<to><strVal val="visible~u</to>~m~jin" filter="{F}">~c~hdur="500~u{T}~d~k</childTnLst>'],stripsIn:["entr",18,12,'fill="hold"',"shape",'<childTnLst>~l~c~hdur="1"~g>^0^~i{T}@style.visibility@~d<to><strVal val="visible~u</to>~m~jin" filter="{F}">~c~hdur="500~u{T}~d~k</childTnLst>'],wedgeIn:["entr",20,0,'fill="hold"',"shape",'<childTnLst>~l~c~hdur="1"~g>^0^~i{T}@style.visibility@~d<to><strVal val="visible~u</to>~m~jin" filter="wedge">~c~hdur="2000~u{T}~d~k</childTnLst>'],wheelIn:["entr",21,1,'fill="hold"',"shape",'<childTnLst>~l~c~hdur="1"~g>^0^~i{T}@style.visibility@~d<to><strVal val="visible~u</to>~m~jin" filter="{F}">~c~hdur="2000~u{T}~d~k</childTnLst>'],wipeIn:["entr",22,4,'fill="hold"',"shape",'<childTnLst>~l~c~hdur="1"~g>^0^~i{T}@style.visibility@~d<to><strVal val="visible~u</to>~m~jin" filter="{F}">~c~hdur="500~u{T}~d~k</childTnLst>'],expandIn:["entr",55,0,'fill="hold"',"shape",'<childTnLst>~l~c~hdur="1"~g>^0^~i{T}@style.visibility@~d<to><strVal val="visible~u</to>~m~a~c~hdur="1000"~g/>{T}@ppt_w@~d~e[0|#ppt_w*0.70][100000|#ppt_w]~f~b~a~c~hdur="1000"~g/>{T}@ppt_h@~d~e[0|#ppt_h][100000|#ppt_h]~f~b~jin" filter="fade">~c~hdur="1000~u{T}~d~k</childTnLst>'],fadeIn:["entr",10,0,'fill="hold"',"shape",'<childTnLst>~l~c~hdur="1"~g>^0^~i{T}@style.visibility@~d<to><strVal val="visible~u</to>~m~jin" filter="fade">~c~hdur="500~u{T}~d~k</childTnLst>'],swivelIn:["entr",45,0,'fill="hold"',"shape",'<childTnLst>~l~c~hdur="1"~g>^0^~i{T}@style.visibility@~d<to><strVal val="visible~u</to>~m~jin" filter="fade">~c~hdur="2000~u{T}~d~k~a~c~hdur="2000"~g/>{T}@ppt_w@~d~e<tav tm="0" fmla="#ppt_w*sin(2.5*pi*$)"><val><fltVal val="0~u</val></tav>[100000!1]~f~b~a~c~hdur="2000"~g/>{T}@ppt_h@~d~e[0|#ppt_h][100000|#ppt_h]~f~b</childTnLst>'],zoomIn:["entr",53,16,'fill="hold"',"shape",'<childTnLst>~l~c~hdur="1"~g>^0^~i{T}@style.visibility@~d<to><strVal val="visible~u</to>~m~a~c~hdur="500"~g/>{T}@ppt_w@~d~e[0!0][100000|#ppt_w]~f~b~a~c~hdur="500"~g/>{T}@ppt_h@~d~e[0!0][100000|#ppt_h]~f~b~jin" filter="fade">~c~hdur="500~u{T}~d~k</childTnLst>'],centerRevolveIn:["entr",43,0,'fill="hold"',"shape",'<childTnLst>~l~c~hdur="1"~g>^0^~i{T}@style.visibility@~d<to><strVal val="visible~u</to>~m~jin" filter="fade">~c~hdur="100~u{T}~d~k~a~c~hdur="400"~g/>{T}@ppt_x@~d~e[0|#ppt_x][100000|#ppt_x]~f~b~a~c~hdur="400"~g/>{T}@ppt_y@~d~e[0|#ppt_y+0.31][100000|#ppt_y+0.31]~f~b~a~c~hdur="600" decel="50000"~g>^400^~i{T}@ppt_x@~d~e[0|#ppt_x][5000|#ppt_x+0.0242][10000|#ppt_x+0.0479][15000|#ppt_x+0.0704][20000|#ppt_x+0.0911][25000|#ppt_x+0.1096][30000|#ppt_x+0.1254][35000|#ppt_x+0.1381][40000|#ppt_x+0.1474][45000|#ppt_x+0.1531][50000|#ppt_x+0.1550][55000|#ppt_x+0.1531][60000|#ppt_x+0.1474][65000|#ppt_x+0.1381][70000|#ppt_x+0.1254][75000|#ppt_x+0.1096][80000|#ppt_x+0.0911][85000|#ppt_x+0.0704][90000|#ppt_x+0.0479][95000|#ppt_x+0.0242][100000|#ppt_x]~f~b~a~c~hdur="600" decel="50000"~g>^400^~i{T}@ppt_y@~d~e[0|#ppt_y+0.31][5000|#ppt_y+0.308][10000|#ppt_y+0.3024][15000|#ppt_y+0.2931][20000|#ppt_y+0.2804][25000|#ppt_y+0.2646][30000|#ppt_y+0.2461][35000|#ppt_y+0.2253][40000|#ppt_y+0.2029][45000|#ppt_y+0.1792][50000|#ppt_y+0.155][55000|#ppt_y+0.1307][60000|#ppt_y+0.1071][65000|#ppt_y+0.0846][70000|#ppt_y+0.0639][75000|#ppt_y+0.0454][80000|#ppt_y+0.0296][85000|#ppt_y+0.0169][90000|#ppt_y+0.0076][95000|#ppt_y+0.0019][100000|#ppt_y]~f~b</childTnLst>'],floatIn:["entr",42,0,'fill="hold"',"shape",'<childTnLst>~l~c~hdur="1"~g>^0^~i{T}@style.visibility@~d<to><strVal val="visible~u</to>~m~jin" filter="fade">~c~hdur="1000~u{T}~d~k~a~c~hdur="1000"~g/>{T}@ppt_x@~d~e[0|#ppt_x][100000|#ppt_x]~f~b~a~c~hdur="1000"~g/>{T}@ppt_y@~d~e[0|#ppt_y+.1][100000|#ppt_y]~f~b</childTnLst>'],growTurnIn:["entr",31,0,'fill="hold"',"shape",'<childTnLst>~l~c~hdur="1"~g>^0^~i{T}@style.visibility@~d<to><strVal val="visible~u</to>~m~a~c~hdur="1000"~g/>{T}@ppt_w@~d~e[0!0][100000|#ppt_w]~f~b~a~c~hdur="1000"~g/>{T}@ppt_h@~d~e[0!0][100000|#ppt_h]~f~b~a~c~hdur="1000"~g/>{T}@style.rotation@~d~e[0!90][100000!0]~f~b~jin" filter="fade">~c~hdur="1000~u{T}~d~k</childTnLst>'],riseUpIn:["entr",37,0,'fill="hold"',"shape",'<childTnLst>~l~c~hdur="1"~g>^0^~i{T}@style.visibility@~d<to><strVal val="visible~u</to>~m~jin" filter="fade">~c~hdur="1000~u{T}~d~k~a~c~hdur="1000"~g/>{T}@ppt_x@~d~e[0|#ppt_x][100000|#ppt_x]~f~b~a~c~hdur="900" decel="100000"~g/>{T}@ppt_y@~d~e[0|#ppt_y+1][100000|#ppt_y-.03]~f~b~a~c~hdur="100" accel="100000"~g>^900^~i{T}@ppt_y@~d~e[0|#ppt_y-.03][100000|#ppt_y]~f~b</childTnLst>'],spinnerIn:["entr",49,0,'decel="100000" fill="hold"',"shape",'<childTnLst>~l~c~hdur="1"~g>^0^~i{T}@style.visibility@~d<to><strVal val="visible~u</to>~m~a~c~hdur="500"~g/>{T}@ppt_w@~d~e[0!0][100000|#ppt_w]~f~b~a~c~hdur="500"~g/>{T}@ppt_h@~d~e[0!0][100000|#ppt_h]~f~b~a~c~hdur="500"~g/>{T}@style.rotation@~d~e[0!360][100000!0]~f~b~jin" filter="fade">~c~hdur="500~u{T}~d~k</childTnLst>'],basicZoomIn:["entr",23,16,'fill="hold"',"shape",'<childTnLst>~l~c~hdur="1"~g>^0^~i{T}@style.visibility@~d<to><strVal val="visible~u</to>~m~a~c~hdur="500"~g/>{T}@ppt_w@~d~e[0!0][100000|#ppt_w]~f~b~a~c~hdur="500"~g/>{T}@ppt_h@~d~e[0!0][100000|#ppt_h]~f~b</childTnLst>'],stretchIn:["entr",17,10,'fill="hold"',"shape",'<childTnLst>~l~c~hdur="1"~g>^0^~i{T}@style.visibility@~d<to><strVal val="visible~u</to>~m~a~c~hdur="500"~g/>{T}@ppt_w@~d~e[0!0][100000|#ppt_w]~f~b~a~c~hdur="500"~g/>{T}@ppt_h@~d~e[0|#ppt_h][100000|#ppt_h]~f~b</childTnLst>'],boomerangIn:["entr",25,0,'fill="hold"',"shape",'<childTnLst>~l~c~hdur="1"~g>^0^~i{T}@style.visibility@~d<to><strVal val="visible~u</to>~m~a~c~hdur="500" decel="50000"~g>^0^~i{T}@style.rotation@~d~e[0!-90][100000!0]~f~b~a~c~hdur="500" decel="50000"~g>^0^~i{T}@ppt_w@~d~e[0|#ppt_w][100000|#ppt_w*.05]~f~b~a~c~hdur="500" accel="50000"~g>^500^~i{T}@ppt_w@~d~e[0|#ppt_w*.05][100000|#ppt_w]~f~b~a~c~hdur="1000"~g/>{T}@ppt_h@~d~e[0|#ppt_h][100000|#ppt_h]~f~b~a~c~hdur="500" decel="50000"~g>^0^~i{T}@ppt_x@~d~e[0|#ppt_x+.4][100000|#ppt_x]~f~b~a~c~hdur="500" decel="50000"~g>^0^~i{T}@ppt_y@~d~e[0|#ppt_y-.2][100000|#ppt_y+.1]~f~b~a~c~hdur="500" accel="50000"~g>^500^~i{T}@ppt_y@~d~e[0|#ppt_y+.1][100000|#ppt_y]~f~b~jin" filter="fade">~c~hdur="1000" decel="50000">^0^~i{T}~d~k</childTnLst>'],bounceIn:["entr",26,0,'fill="hold"',"shape",'<childTnLst>~l~c~hdur="1"~g>^0^~i{T}@style.visibility@~d<to><strVal val="visible~u</to>~m~jin" filter="wipe(down)">~c~hdur="580">^0^~i{T}~d~k~a~c~hdur="1822" tmFilter="0,0; 0.14,0.36; 0.43,0.73; 0.71,0.91; 1.0,1.0">^0^~i{T}@ppt_x@~d~e[0|#ppt_x-0.25][100000|#ppt_x]~f~b~a~c~hdur="664" tmFilter="0.0,0.0; 0.25,0.07; 0.50,0.2; 0.75,0.467; 1.0,1.0">^0^~i{T}@ppt_y@~d~e<tav tm="0" fmla="#ppt_y-sin(pi*$)/3"><val><fltVal val="0.5~u</val></tav>[100000!1]~f~b~a~c~hdur="664" tmFilter="0, 0; 0.125,0.2665; 0.25,0.4; 0.375,0.465; 0.5,0.5; 0.625,0.535; 0.75,0.6; 0.875,0.7335; 1,1">^664^~i{T}@ppt_y@~d~e<tav tm="0" fmla="#ppt_y-sin(pi*$)/9"><val><fltVal val="0~u</val></tav>[100000!1]~f~b~a~c~hdur="332" tmFilter="0, 0; 0.125,0.2665; 0.25,0.4; 0.375,0.465; 0.5,0.5; 0.625,0.535; 0.75,0.6; 0.875,0.7335; 1,1">^1324^~i{T}@ppt_y@~d~e<tav tm="0" fmla="#ppt_y-sin(pi*$)/27"><val><fltVal val="0~u</val></tav>[100000!1]~f~b~a~c~hdur="164" tmFilter="0, 0; 0.125,0.2665; 0.25,0.4; 0.375,0.465; 0.5,0.5; 0.625,0.535; 0.75,0.6; 0.875,0.7335; 1,1">^1656^~i{T}@ppt_y@~d~e<tav tm="0" fmla="#ppt_y-sin(pi*$)/81"><val><fltVal val="0~u</val></tav>[100000!1]~f~b~r~c~hdur="26">^650^~i{T}~d<to x="100000" y="60000~u~s~r~c~hdur="166" decel="50000">^676^~i{T}~d<to x="100000" y="100000~u~s~r~c~hdur="26">^1312^~i{T}~d<to x="100000" y="80000~u~s~r~c~hdur="166" decel="50000">^1338^~i{T}~d<to x="100000" y="100000~u~s~r~c~hdur="26">^1642^~i{T}~d<to x="100000" y="90000~u~s~r~c~hdur="166" decel="50000">^1668^~i{T}~d<to x="100000" y="100000~u~s~r~c~hdur="26">^1808^~i{T}~d<to x="100000" y="95000~u~s~r~c~hdur="166" decel="50000">^1834^~i{T}~d<to x="100000" y="100000~u~s</childTnLst>'],creditsIn:["entr",28,0,'fill="hold"',"shape",'<childTnLst>~l~c~hdur="1"~g>^0^~i{T}@style.visibility@~d<to><strVal val="visible~u</to>~m~a~c~hdur="15000"~g/>{T}@ppt_x@~d~e[0|#ppt_x][100000|#ppt_x]~f~b~a~c~hdur="15000"~g/>{T}@ppt_y@~d~e[0|#ppt_y+1][100000|#ppt_y-1]~f~b</childTnLst>'],curveUpIn:["entr",52,0,'fill="hold"',"shape",'<childTnLst>~l~c~hdur="1"~g>^0^~i{T}@style.visibility@~d<to><strVal val="visible~u</to>~m~r~c~hdur="1000" decel="50000"~g>^0^~i{T}~d<from x="250000" y="250000~u<to x="100000" y="100000~u~s<animMotion origin="layout" path="M -0.46736 0.92887 C -0.37517 0.88508 -0.02552 0.75279 0.0908 0.66613 C 0.20747 0.57948 0.21649 0.50394 0.23177 0.40825 C 0.24705 0.31256 0.22118 0.15964 0.18264 0.09152 C 0.1441 0.02341 0.03802 0.0 0.0 0.0 " pathEditMode="relative" ptsTypes="">~c~hdur="1000" decel="50000"~g>^0^~i{T}<attrNameLst><attrName>ppt_x</attrName><attrName>ppt_y</attrName></attrNameLst>~d</animMotion>~jin" filter="fade">~c~hdur="1000~u{T}~d~k</childTnLst>'],dropIn:["entr",38,0,'accel="50000" fill="hold"',"shape",'<iterate type="lt"><tmPct val="50000~u</iterate><childTnLst>~l~c~hdur="1"~g>^0^~i{T}@style.visibility@~d<to><strVal val="visible~u</to>~m~l~c~hdur="455"~g>^0^~i{T}@style.rotation@~d<to><strVal val="-45.0~u</to>~m~a~c~hdur="455"~g>^455^~i{T}@style.rotation@~d~e[0!-45][69900!45][100000!0]~f~b~a~c~hdur="455"~g>^0^~i{T}@ppt_y@~d~e[0|#ppt_y-1][100000|#ppt_y-(0.354*#ppt_w-0.172*#ppt_h)]~f~b~a~c~hdur="156" decel="50000" autoRev="1"~g>^455^~i{T}@ppt_y@~d~e[0|#ppt_y-(0.354*#ppt_w-0.172*#ppt_h)][100000|#ppt_y-(0.354*#ppt_w-0.172*#ppt_h)-#ppt_h/2]~f~b~a~c~hdur="136"~g>^864^~i{T}@ppt_y@~d~e[0|#ppt_y-(0.354*#ppt_w-0.172*#ppt_h)][100000|#ppt_y]~f~b</childTnLst>'],flipIn:["entr",56,0,'fill="hold"',"shape",'<iterate type="lt"><tmPct val="10000~u</iterate><childTnLst>~l~c~hdur="1"~g>^0^~i{T}@style.visibility@~d<to><strVal val="visible~u</to>~m<anim by="(-#ppt_w*2)" calcmode="lin" valueType="num"><cBhvr rctx="PPT">~hdur="500" autoRev="1"~g>^0^~i{T}@ppt_w@~d~b<anim by="(#ppt_w*0.50)" calcmode="lin" valueType="num">~c~hdur="500" decel="50000" autoRev="1"~g>^0^~i{T}@ppt_x@~d~b<anim from="(-#ppt_h/2)" to="(#ppt_y)" calcmode="lin" valueType="num">~c~hdur="1000"~g>^0^~i{T}@ppt_y@~d~b~n21600000">~c~hdur="1000"~g>^0^~i{T}@r@~d~o</childTnLst>'],floatingIn:["entr",30,0,'fill="hold"',"shape",'<childTnLst>~l~c~hdur="1"~g>^0^~i{T}@style.visibility@~d<to><strVal val="visible~u</to>~m~jin" filter="fade">~c~hdur="800" decel="100000~u{T}~d~k~a~c~hdur="800" decel="100000"~g/>{T}@style.rotation@~d~e[0!-90][100000!0]~f~b~a~c~hdur="800" decel="100000"~g/>{T}@ppt_x@~d~e[0|#ppt_x+0.4][100000|#ppt_x-0.05]~f~b~a~c~hdur="800" decel="100000"~g/>{T}@ppt_y@~d~e[0|#ppt_y-0.4][100000|#ppt_y+0.1]~f~b~a~c~hdur="200" accel="100000"~g>^800^~i{T}@ppt_x@~d~e[0|#ppt_x-0.05][100000|#ppt_x]~f~b~a~c~hdur="200" accel="100000"~g>^800^~i{T}@ppt_y@~d~e[0|#ppt_y+0.1][100000|#ppt_y]~f~b</childTnLst>'],pinwheelIn:["entr",35,0,'fill="hold"',"shape",'<childTnLst>~l~c~hdur="1"~g>^0^~i{T}@style.visibility@~d<to><strVal val="visible~u</to>~m~jin" filter="fade">~c~hdur="2000~u{T}~d~k~a~c~hdur="2000"~g/>{T}@style.rotation@~d~e[0!720][100000!0]~f~b~a~c~hdur="2000"~g/>{T}@ppt_h@~d~e[0!0][100000|#ppt_h]~f~b~a~c~hdur="2000"~g/>{T}@ppt_w@~d~e[0!0][100000|#ppt_w]~f~b</childTnLst>'],spiralIn:["entr",15,0,'fill="hold"',"shape",'<childTnLst>~l~c~hdur="1"~g>^0^~i{T}@style.visibility@~d<to><strVal val="visible~u</to>~m~a~c~hdur="1000"~g/>{T}@ppt_w@~d~e[0!0][100000|#ppt_w]~f~b~a~c~hdur="1000"~g/>{T}@ppt_h@~d~e[0!0][100000|#ppt_h]~f~b~a~c~hdur="1000"~g/>{T}@ppt_x@~d~e<tav tm="0" fmla="#ppt_x+(cos(-2*pi*(1-$))*-#ppt_x-sin(-2*pi*(1-$))*(1-#ppt_y))*(1-$)"><val><fltVal val="0~u</val></tav>[100000!1]~f~b~a~c~hdur="1000"~g/>{T}@ppt_y@~d~e<tav tm="0" fmla="#ppt_y+(sin(-2*pi*(1-$))*-#ppt_x+cos(-2*pi*(1-$))*(1-#ppt_y))*(1-$)"><val><fltVal val="0~u</val></tav>[100000!1]~f~b</childTnLst>'],basicSwivelIn:["entr",19,10,'fill="hold"',"shape",'<childTnLst>~l~c~hdur="1"~g>^0^~i{T}@style.visibility@~d<to><strVal val="visible~u</to>~m~a~c~hdur="5000"~g/>{T}@ppt_w@~d~e<tav tm="0" fmla="#ppt_w*sin(2.5*pi*$)"><val><fltVal val="0~u</val></tav>[100000!1]~f~b~a~c~hdur="5000"~g/>{T}@ppt_h@~d~e[0|#ppt_h][100000|#ppt_h]~f~b</childTnLst>'],whipIn:["entr",41,0,'fill="hold"',"shape",'<iterate type="lt"><tmPct val="10000~u</iterate><childTnLst>~l~c~hdur="1"~g>^0^~i{T}@style.visibility@~d<to><strVal val="visible~u</to>~m~a~c~hdur="500"~g/>{T}@ppt_x@~d~e[0|#ppt_x][50000|#ppt_x+.1][100000|#ppt_x]~f~b~a~c~hdur="500"~g/>{T}@ppt_y@~d~e[0|#ppt_y][100000|#ppt_y]~f~b~a~c~hdur="500"~g/>{T}@ppt_h@~d~e[0|#ppt_h/10][50000|#ppt_h+.01][100000|#ppt_h]~f~b~a~c~hdur="500"~g/>{T}@ppt_w@~d~e[0|#ppt_w/10][50000|#ppt_w+.01][100000|#ppt_w]~f~b~jin" filter="fade">~c~hdur="500" tmFilter="0,0; .5, 1; 1, 1~u{T}~d~k</childTnLst>'],blindsOut:["exit",3,10,'fill="hold"',"shape",'<childTnLst>~jout" filter="{F}">~c~hdur="500~u{T}~d~k~l~c~hdur="1"~g>^499^~i{T}@style.visibility@~d<to><strVal val="hidden~u</to>~m</childTnLst>'],checkerboardOut:["exit",5,10,'fill="hold"',"shape",'<childTnLst>~jout" filter="{F}">~c~hdur="500~u{T}~d~k~l~c~hdur="1"~g>^499^~i{T}@style.visibility@~d<to><strVal val="hidden~u</to>~m</childTnLst>'],disappear:["exit",1,0,'fill="hold"',"shape",'<childTnLst>~l~c~hdur="1"~g>^0^~i{T}@style.visibility@~d<to><strVal val="hidden~u</to>~m</childTnLst>'],dissolveOut:["exit",9,0,'fill="hold"',"shape",'<childTnLst>~jout" filter="dissolve">~c~hdur="500~u{T}~d~k~l~c~hdur="1"~g>^499^~i{T}@style.visibility@~d<to><strVal val="hidden~u</to>~m</childTnLst>'],flyOut:["exit",2,4,'fill="hold"',"shape",'<childTnLst>~a<cBhvr additive="base">~hdur="500~u{T}@ppt_x@~d~e[0|{X0}][100000|{X1}]~f~b~a<cBhvr additive="base">~hdur="500~u{T}@ppt_y@~d~e[0|{Y0}][100000|{Y1}]~f~b~l~c~hdur="1"~g>^499^~i{T}@style.visibility@~d<to><strVal val="hidden~u</to>~m</childTnLst>'],peekOut:["exit",12,4,'fill="hold"',"shape",'<childTnLst>~a<cBhvr additive="base">~hdur="500~u{T}@{A}@~d~e[0|{P0}][100000|{P1}]~f~b~jout" filter="{F}">~c~hdur="500~u{T}~d~k~l~c~hdur="1"~g>^499^~i{T}@style.visibility@~d<to><strVal val="hidden~u</to>~m</childTnLst>'],randomBarsOut:["exit",14,10,'fill="hold"',"shape",'<childTnLst>~jout" filter="{F}">~c~hdur="500~u{T}~d~k~l~c~hdur="1"~g>^499^~i{T}@style.visibility@~d<to><strVal val="hidden~u</to>~m</childTnLst>'],shapeOut:["exit",6,32,'fill="hold"',"shape",'<childTnLst>~jout" filter="{F}">~c~hdur="2000~u{T}~d~k~l~c~hdur="1"~g>^1999^~i{T}@style.visibility@~d<to><strVal val="hidden~u</to>~m</childTnLst>'],splitOut:["exit",16,21,'fill="hold"',"shape",'<childTnLst>~jout" filter="{F}">~c~hdur="500~u{T}~d~k~l~c~hdur="1"~g>^499^~i{T}@style.visibility@~d<to><strVal val="hidden~u</to>~m</childTnLst>'],stripsOut:["exit",18,12,'fill="hold"',"shape",'<childTnLst>~jout" filter="{F}">~c~hdur="500~u{T}~d~k~l~c~hdur="1"~g>^499^~i{T}@style.visibility@~d<to><strVal val="hidden~u</to>~m</childTnLst>'],wedgeOut:["exit",20,0,'fill="hold"',"shape",'<childTnLst>~jout" filter="wedge">~c~hdur="2000~u{T}~d~k~l~c~hdur="1"~g>^1999^~i{T}@style.visibility@~d<to><strVal val="hidden~u</to>~m</childTnLst>'],wheelOut:["exit",21,1,'fill="hold"',"shape",'<childTnLst>~jout" filter="{F}">~c~hdur="2000~u{T}~d~k~l~c~hdur="1"~g>^1999^~i{T}@style.visibility@~d<to><strVal val="hidden~u</to>~m</childTnLst>'],wipeOut:["exit",22,4,'fill="hold"',"shape",'<childTnLst>~jout" filter="{F}">~c~hdur="500~u{T}~d~k~l~c~hdur="1"~g>^499^~i{T}@style.visibility@~d<to><strVal val="hidden~u</to>~m</childTnLst>'],contractOut:["exit",55,0,'fill="hold"',"shape",'<childTnLst>~a~c~hdur="1000~u{T}@ppt_w@~d~e[0|ppt_w][100000|ppt_w*0.70]~f~b~a~c~hdur="1000~u{T}@ppt_h@~d~e[0|ppt_h][100000|ppt_h]~f~b~jout" filter="fade">~c~hdur="1000~u{T}~d~k~l~c~hdur="1"~g>^999^~i{T}@style.visibility@~d<to><strVal val="hidden~u</to>~m</childTnLst>'],fadeOut:["exit",10,0,'fill="hold"',"shape",'<childTnLst>~jout" filter="fade">~c~hdur="500~u{T}~d~k~l~c~hdur="1"~g>^499^~i{T}@style.visibility@~d<to><strVal val="hidden~u</to>~m</childTnLst>'],swivelOut:["exit",45,0,'fill="hold"',"shape",'<childTnLst>~jout" filter="fade">~c~hdur="2000~u{T}~d~k~a~c~hdur="2000~u{T}@ppt_w@~d~e[0|ppt_w][5000|0.92*ppt_w][10000|0.71*ppt_w][15000|0.38*ppt_w][20000!0][25000|-0.38*ppt_w][30000|-0.71*ppt_w][35000|-0.92*ppt_w][40000|-ppt_w][45000|-0.92*ppt_w][50000|-0.71*ppt_w][55000|-0.38*ppt_w][60000!0][65000|0.38*ppt_w][70000|0.71*ppt_w][75000|0.92*ppt_w][80000|ppt_w][85000|0.92*ppt_w][90000|0.71*ppt_w][95000|0.38*ppt_w][100000!0]~f~b~a~c~hdur="2000~u{T}@ppt_h@~d~e[0|ppt_h][100000|ppt_h]~f~b~l~c~hdur="1"~g>^1999^~i{T}@style.visibility@~d<to><strVal val="hidden~u</to>~m</childTnLst>'],zoomOut:["exit",53,32,'fill="hold"',"shape",'<childTnLst>~a~c~hdur="500~u{T}@ppt_w@~d~e[0|ppt_w][100000!0]~f~b~a~c~hdur="500~u{T}@ppt_h@~d~e[0|ppt_h][100000!0]~f~b~jout" filter="fade">~c~hdur="500~u{T}~d~k~l~c~hdur="1"~g>^499^~i{T}@style.visibility@~d<to><strVal val="hidden~u</to>~m</childTnLst>'],centerRevolveOut:["exit",43,0,'fill="hold"',"shape",'<childTnLst>~a~c~hdur="600" decel="50000">^0^~i{T}@ppt_x@~d~e[0|ppt_x][5000|ppt_x+0.0242][10000|ppt_x+0.0479][15000|ppt_x+0.0704][20000|ppt_x+0.0911][25000|ppt_x+0.1096][30000|ppt_x+0.1254][35000|ppt_x+0.1381][40000|ppt_x+0.1474][45000|ppt_x+0.1531][50000|ppt_x+0.155][55000|ppt_x+0.1531][60000|ppt_x+0.1474][65000|ppt_x+0.1381][70000|ppt_x+0.1254][75000|ppt_x+0.1096][80000|ppt_x+0.0911][85000|ppt_x+0.0704][90000|ppt_x+0.0479][95000|ppt_x+0.0242][100000|ppt_x]~f~b~a~c~hdur="400">^600^~i{T}@ppt_x@~d~e[0|ppt_x][100000|ppt_x]~f~b~a~c~hdur="600" decel="50000">^0^~i{T}@ppt_y@~d~e[0|ppt_y][5000|ppt_y+0.0019][10000|ppt_y+0.0076][15000|ppt_y+0.0169][20000|ppt_y+0.0296][25000|ppt_y+0.0454][30000|ppt_y+0.0639][35000|ppt_y+0.0846][40000|ppt_y+0.1071][45000|ppt_y+0.1307][50000|ppt_y+0.155][55000|ppt_y+0.1792][60000|ppt_y+0.2029][65000|ppt_y+0.2253][70000|ppt_y+0.2461][75000|ppt_y+0.2646][80000|ppt_y+0.2804][85000|ppt_y+0.2931][90000|ppt_y+0.3024][95000|ppt_y+0.308][100000|ppt_y+0.31]~f~b~a~c~hdur="400">^600^~i{T}@ppt_y@~d~e[0|ppt_y][100000|ppt_y]~f~b~jout" filter="fade">~c~hdur="100">^900^~i{T}~d~k~l~c~hdur="1"~g>^999^~i{T}@style.visibility@~d<to><strVal val="hidden~u</to>~m</childTnLst>'],collapseOut:["exit",17,10,'fill="hold"',"shape",'<childTnLst>~a~c~hdur="500~u{T}@ppt_w@~d~e[0|ppt_w][100000!0]~f~b~a~c~hdur="500~u{T}@ppt_h@~d~e[0|ppt_h][100000|ppt_h]~f~b~l~c~hdur="1"~g>^499^~i{T}@style.visibility@~d<to><strVal val="hidden~u</to>~m</childTnLst>'],floatOut:["exit",42,0,'fill="hold"',"shape",'<childTnLst>~jout" filter="fade">~c~hdur="1000~u{T}~d~k~a~c~hdur="1000~u{T}@ppt_x@~d~e[0|ppt_x][100000|ppt_x]~f~b~a~c~hdur="1000~u{T}@ppt_y@~d~e[0|ppt_y][100000|ppt_y+.1]~f~b~l~c~hdur="1"~g>^999^~i{T}@style.visibility@~d<to><strVal val="hidden~u</to>~m</childTnLst>'],shrinkTurnOut:["exit",31,0,'fill="hold"',"shape",'<childTnLst>~a~c~hdur="1000~u{T}@ppt_w@~d~e[0|ppt_w][100000!0]~f~b~a~c~hdur="1000~u{T}@ppt_h@~d~e[0|ppt_h][100000!0]~f~b~a~c~hdur="1000~u{T}@style.rotation@~d~e[0!0][100000!90]~f~b~jout" filter="fade">~c~hdur="1000~u{T}~d~k~l~c~hdur="1"~g>^999^~i{T}@style.visibility@~d<to><strVal val="hidden~u</to>~m</childTnLst>'],sinkDownOut:["exit",37,0,'fill="hold"',"shape",'<childTnLst>~jout" filter="fade">~c~hdur="1000~u{T}~d~k~a~c~hdur="1000~u{T}@ppt_x@~d~e[0|ppt_x][100000|ppt_x]~f~b~a~c~hdur="100" decel="100000~u{T}@ppt_y@~d~e[0|ppt_y][100000|ppt_y-.03]~f~b~a~c~hdur="900" accel="100000">^100^~i{T}@ppt_y@~d~e[0|ppt_y][100000|ppt_y+1]~f~b~l~c~hdur="1"~g>^999^~i{T}@style.visibility@~d<to><strVal val="hidden~u</to>~m</childTnLst>'],spinnerOut:["exit",49,0,'accel="100000" fill="hold"',"shape",'<childTnLst>~a~c~hdur="500~u{T}@ppt_w@~d~e[0|ppt_w][100000!0]~f~b~a~c~hdur="500~u{T}@ppt_h@~d~e[0|ppt_h][100000!0]~f~b~a~c~hdur="500~u{T}@style.rotation@~d~e[0!0][100000!360]~f~b~jout" filter="fade">~c~hdur="500~u{T}~d~k~l~c~hdur="1"~g>^499^~i{T}@style.visibility@~d<to><strVal val="hidden~u</to>~m</childTnLst>'],basicZoomOut:["exit",23,32,'fill="hold"',"shape",'<childTnLst>~a~c~hdur="500~u{T}@ppt_w@~d~e[0|ppt_w][100000!0]~f~b~a~c~hdur="500~u{T}@ppt_h@~d~e[0|ppt_h][100000!0]~f~b~l~c~hdur="1"~g>^499^~i{T}@style.visibility@~d<to><strVal val="hidden~u</to>~m</childTnLst>'],stretchyOut:["exit",50,0,'accel="100000" fill="hold"',"shape",'<childTnLst>~a~c~hdur="1000~u{T}@ppt_w@~d~e[0|ppt_w][100000|ppt_w+.3]~f~b~a~c~hdur="1000~u{T}@ppt_h@~d~e[0|ppt_h][100000|ppt_h]~f~b~jout" filter="fade">~c~hdur="1000~u{T}~d~k~l~c~hdur="1"~g>^999^~i{T}@style.visibility@~d<to><strVal val="hidden~u</to>~m</childTnLst>'],boomerangOut:["exit",25,0,'fill="hold"',"shape",'<childTnLst>~jout" filter="fade">~c~hdur="1000" accel="50000">^0^~i{T}~d~k~a~c~hdur="500" accel="50000">^0^~i{T}@ppt_y@~d~e[0|ppt_y][100000|ppt_y+.1]~f~b~a~c~hdur="500" decel="50000">^500^~i{T}@ppt_y@~d~e[0|ppt_y][100000|ppt_y-.1]~f~b~a~c~hdur="500" accel="50000">^500^~i{T}@ppt_x@~d~e[0|ppt_x][100000|ppt_x+.4]~f~b~a~c~hdur="1000~u{T}@ppt_h@~d~e[0|ppt_h][100000|ppt_h]~f~b~a~c~hdur="500" accel="50000">^0^~i{T}@ppt_w@~d~e[0|ppt_w][100000|ppt_w*.05]~f~b~a~c~hdur="500" decel="50000">^500^~i{T}@ppt_w@~d~e[0|ppt_w][100000|ppt_w/.05]~f~b~a~c~hdur="500" accel="50000">^500^~i{T}@style.rotation@~d~e[0!0][100000!-90]~f~b~l~c~hdur="1"~g>^999^~i{T}@style.visibility@~d<to><strVal val="hidden~u</to>~m</childTnLst>'],bounceOut:["exit",26,0,'fill="hold"',"shape",'<childTnLst>~jout" filter="wipe(down)">~c~hdur="180" accel="50000">^1820^~i{T}~d~k~a~c~hdur="1822" tmFilter="0,0; 0.14,0.31; 0.43,0.73; 0.71,0.91; 1.0,1.0">^0^~i{T}@ppt_x@~d~e[0|ppt_x][100000|#ppt_x+0.25]~f~b~a~c~hdur="178">^1822^~i{T}@ppt_x@~d~e[0|ppt_x][100000|ppt_x]~f~b~a~c~hdur="664" tmFilter="0.0,0.0;0.25,0.07;0.50,0.2;0.75,0.467;1.0,1.0">^0^~i{T}@ppt_y@~d~e[0|ppt_y][5000|ppt_y+0.026][10000|ppt_y+0.052][15000|ppt_y+0.078][20000|ppt_y+0.103][30000|ppt_y+0.151][40000|ppt_y+0.196][50000|ppt_y+0.236][60000|ppt_y+0.270][70000|ppt_y+0.297][80000|ppt_y+0.317][90000|ppt_y+0.329][100000|ppt_y+0.333]~f~b~a~c~hdur="664" tmFilter="0, 0; 0.125,0.2665; 0.25,0.4; 0.375,0.465; 0.5,0.5; 0.625,0.535; 0.75,0.6; 0.875,0.7335; 1,1">^664^~i{T}@ppt_y@~d~e[0|ppt_y][10000|ppt_y-0.034][20000|ppt_y-0.065][30000|ppt_y-0.090][40000|ppt_y-0.106][50000|ppt_y-0.111][60000|ppt_y-0.106][70000|ppt_y-0.090][80000|ppt_y-0.065][90000|ppt_y-0.034][100000|ppt_y]~f~b~a~c~hdur="332" tmFilter="0, 0; 0.125,0.2665; 0.25,0.4; 0.375,0.465; 0.5,0.5; 0.625,0.535; 0.75,0.6; 0.875,0.7335; 1,1">^1324^~i{T}@ppt_y@~d~e[0|ppt_y][10000|ppt_y-0.011][20000|ppt_y-0.022][30000|ppt_y-0.030][40000|ppt_y-0.035][50000|ppt_y-0.037][60000|ppt_y-0.035][70000|ppt_y-0.030][80000|ppt_y-0.022][90000|ppt_y-0.011][100000|ppt_y]~f~b~a~c~hdur="164" tmFilter="0, 0; 0.125,0.2665; 0.25,0.4; 0.375,0.465; 0.5,0.5; 0.625,0.535; 0.75,0.6; 0.875,0.7335; 1,1">^1656^~i{T}@ppt_y@~d~e[0|ppt_y][10000|ppt_y-0.004][20000|ppt_y-0.007][30000|ppt_y-0.010][40000|ppt_y-0.012][50000|ppt_y-0.0123][60000|ppt_y-0.012][70000|ppt_y-0.010][80000|ppt_y-0.007][90000|ppt_y-0.004][100000|ppt_y]~f~b~a~c~hdur="180" accel="50000">^1820^~i{T}@ppt_y@~d~e[0|ppt_y][100000|ppt_y+ppt_h]~f~b~r~c~hdur="26">^620^~i{T}~d<to x="100000" y="60000~u~s~r~c~hdur="166" decel="50000">^646^~i{T}~d<to x="100000" y="100000~u~s~r~c~hdur="26">^1312^~i{T}~d<to x="100000" y="80000~u~s~r~c~hdur="166" decel="50000">^1338^~i{T}~d<to x="100000" y="100000~u~s~r~c~hdur="26">^1642^~i{T}~d<to x="100000" y="90000~u~s~r~c~hdur="166" decel="50000">^1668^~i{T}~d<to x="100000" y="100000~u~s~r~c~hdur="26">^1808^~i{T}~d<to x="100000" y="95000~u~s~r~c~hdur="166" decel="50000">^1834^~i{T}~d<to x="100000" y="100000~u~s~l~c~hdur="1"~g>^1999^~i{T}@style.visibility@~d<to><strVal val="hidden~u</to>~m</childTnLst>'],creditsOut:["exit",28,0,'fill="hold"',"shape",'<childTnLst>~a~c~hdur="15000~u{T}@ppt_x@~d~e[0|ppt_x][100000|ppt_x]~f~b~a~c~hdur="15000~u{T}@ppt_y@~d~e[0|ppt_y-1][100000|ppt_y+1]~f~b~l~c~hdur="1"~g>^14999^~i{T}@style.visibility@~d<to><strVal val="hidden~u</to>~m</childTnLst>'],curveDownOut:["exit",52,0,'fill="hold"',"shape",'<childTnLst>~r~c~hdur="1000" accel="50000">^0^~i{T}~d<from x="100000" y="100000~u<to x="250000" y="250000~u~s<animMotion origin="layout" path="M 0.0000 0.0000 C 0.03802 0.0 0.1441 0.02341 0.1826 0.0915 C 0.22118 0.15964 0.24705 0.31256 0.2318 0.4083 C 0.21649 0.50394 0.20747 0.57948 0.0908 0.6661 C -0.02552 0.75279 -0.37517 0.88508 -0.4674 0.9289" pathEditMode="relative" ptsTypes="">~c~hdur="1000" accel="50000">^0^~i{T}<attrNameLst><attrName>ppt_x</attrName><attrName>ppt_y</attrName></attrNameLst>~d</animMotion>~jout" filter="fade">~c~hdur="1000~u{T}~d~k~l~c~hdur="1"~g>^999^~i{T}@style.visibility@~d<to><strVal val="hidden~u</to>~m</childTnLst>'],dropOut:["exit",38,0,'accel="50000" fill="hold"',"shape",'<iterate type="lt"><tmPct val="50000~u</iterate><childTnLst>~a~c~hdur="1000">^0^~i{T}@style.rotation@~d~e[0!0][100000!45]~f~b~a~c~hdur="1000">^0^~i{T}@ppt_y@~d~e[0|ppt_y][100000|ppt_y+1]~f~b~l~c~hdur="1"~g>^999^~i{T}@style.visibility@~d<to><strVal val="hidden~u</to>~m</childTnLst>'],flipOut:["exit",56,0,'fill="hold"',"shape",'<iterate type="lt"><tmPct val="10000~u</iterate><childTnLst><anim from="(ppt_w)" to="(-ppt_w*2)" calcmode="lin" valueType="num"><cBhvr rctx="PPT">~hdur="500" autoRev="1">^0^~i{T}@ppt_w@~d~b<anim by="(ppt_w*0.50)" calcmode="lin" valueType="num">~c~hdur="500" decel="50000" autoRev="1">^0^~i{T}@ppt_x@~d~b<anim from="(ppt_y)" to="(1+ppt_h/2)" calcmode="lin" valueType="num">~c~hdur="1000">^0^~i{T}@ppt_y@~d~b~n21600000">~c~hdur="1000">^0^~i{T}@r@~d~o~l~c~hdur="1"~g>^999^~i{T}@style.visibility@~d<to><strVal val="hidden~u</to>~m</childTnLst>'],floatingOut:["exit",30,0,'fill="hold"',"shape",'<childTnLst>~jout" filter="fade">~c~hdur="800" accel="100000">^200^~i{T}~d~k~a~c~hdur="800" accel="100000">^200^~i{T}@style.rotation@~d~e[0!0][100000!-90]~f~b~a~c~hdur="200" decel="100000~u{T}@ppt_x@~d~e[0|ppt_x][100000|ppt_x-0.05]~f~b~a~c~hdur="200" decel="100000~u{T}@ppt_y@~d~e[0|ppt_y][100000|ppt_y+0.1]~f~b~a~c~hdur="800" accel="100000">^200^~i{T}@ppt_x@~d~e[0|ppt_x][100000|ppt_x+0.4+0.05]~f~b~a~c~hdur="800" accel="100000">^200^~i{T}@ppt_y@~d~e[0|ppt_y][100000|ppt_y-0.4-0.1]~f~b~l~c~hdur="1"~g>^999^~i{T}@style.visibility@~d<to><strVal val="hidden~u</to>~m</childTnLst>'],pinwheelOut:["exit",35,0,'fill="hold"',"shape",'<childTnLst>~jout" filter="fade">~c~hdur="2000~u{T}~d~k~a~c~hdur="2000~u{T}@style.rotation@~d~e[0!0][100000!720]~f~b~a~c~hdur="2000~u{T}@ppt_h@~d~e[0|ppt_h][100000!0]~f~b~a~c~hdur="2000~u{T}@ppt_w@~d~e[0|ppt_w][100000!0]~f~b~l~c~hdur="1"~g>^1999^~i{T}@style.visibility@~d<to><strVal val="hidden~u</to>~m</childTnLst>'],spiralOut:["exit",15,0,'fill="hold"',"shape",'<childTnLst>~a~c~hdur="1000~u{T}@ppt_w@~d~e[0|ppt_w][100000!0]~f~b~a~c~hdur="1000~u{T}@ppt_h@~d~e[0|ppt_h][100000!0]~f~b~a~c~hdur="1000~u{T}@ppt_x@~d~e[0|ppt_x][5000|ppt_x+-0.0500*(ppt_x*0.9511+(1-ppt_y)*0.3090)][10000|ppt_x+-0.1000*(ppt_x*0.8090+(1-ppt_y)*0.5878)][15000|ppt_x+-0.1500*(ppt_x*0.5878+(1-ppt_y)*0.8090)][20000|ppt_x+-0.2000*(ppt_x*0.3090+(1-ppt_y)*0.9511)][25000|ppt_x+-0.2500*(ppt_x*-0.0000+(1-ppt_y)*1.0000)][30000|ppt_x+-0.3000*(ppt_x*-0.3090+(1-ppt_y)*0.9511)][35000|ppt_x+-0.3500*(ppt_x*-0.5878+(1-ppt_y)*0.8090)][40000|ppt_x+-0.4000*(ppt_x*-0.8090+(1-ppt_y)*0.5878)][45000|ppt_x+-0.4500*(ppt_x*-0.9511+(1-ppt_y)*0.3090)][50000|ppt_x+-0.5000*(ppt_x*-1.0000+(1-ppt_y)*-0.0000)][55000|ppt_x+-0.5500*(ppt_x*-0.9511+(1-ppt_y)*-0.3090)][60000|ppt_x+-0.6000*(ppt_x*-0.8090+(1-ppt_y)*-0.5878)][65000|ppt_x+-0.6500*(ppt_x*-0.5878+(1-ppt_y)*-0.8090)][70000|ppt_x+-0.7000*(ppt_x*-0.3090+(1-ppt_y)*-0.9511)][75000|ppt_x+-0.7500*(ppt_x*0.0000+(1-ppt_y)*-1.0000)][80000|ppt_x+-0.8000*(ppt_x*0.3090+(1-ppt_y)*-0.9511)][85000|ppt_x+-0.8500*(ppt_x*0.5878+(1-ppt_y)*-0.8090)][90000|ppt_x+-0.9000*(ppt_x*0.8090+(1-ppt_y)*-0.5878)][95000|ppt_x+-0.9500*(ppt_x*0.9511+(1-ppt_y)*-0.3090)][100000|ppt_x+-1.0000*(ppt_x*1.0000+(1-ppt_y)*0.0000)]~f~b~a~c~hdur="1000~u{T}@ppt_y@~d~e[0|ppt_y][5000|ppt_y+-0.0500*(ppt_x*0.3090-(1-ppt_y)*0.9511)][10000|ppt_y+-0.1000*(ppt_x*0.5878-(1-ppt_y)*0.8090)][15000|ppt_y+-0.1500*(ppt_x*0.8090-(1-ppt_y)*0.5878)][20000|ppt_y+-0.2000*(ppt_x*0.9511-(1-ppt_y)*0.3090)][25000|ppt_y+-0.2500*(ppt_x*1.0000-(1-ppt_y)*-0.0000)][30000|ppt_y+-0.3000*(ppt_x*0.9511-(1-ppt_y)*-0.3090)][35000|ppt_y+-0.3500*(ppt_x*0.8090-(1-ppt_y)*-0.5878)][40000|ppt_y+-0.4000*(ppt_x*0.5878-(1-ppt_y)*-0.8090)][45000|ppt_y+-0.4500*(ppt_x*0.3090-(1-ppt_y)*-0.9511)][50000|ppt_y+-0.5000*(ppt_x*-0.0000-(1-ppt_y)*-1.0000)][55000|ppt_y+-0.5500*(ppt_x*-0.3090-(1-ppt_y)*-0.9511)][60000|ppt_y+-0.6000*(ppt_x*-0.5878-(1-ppt_y)*-0.8090)][65000|ppt_y+-0.6500*(ppt_x*-0.8090-(1-ppt_y)*-0.5878)][70000|ppt_y+-0.7000*(ppt_x*-0.9511-(1-ppt_y)*-0.3090)][75000|ppt_y+-0.7500*(ppt_x*-1.0000-(1-ppt_y)*0.0000)][80000|ppt_y+-0.8000*(ppt_x*-0.9511-(1-ppt_y)*0.3090)][85000|ppt_y+-0.8500*(ppt_x*-0.8090-(1-ppt_y)*0.5878)][90000|ppt_y+-0.9000*(ppt_x*-0.5878-(1-ppt_y)*0.8090)][95000|ppt_y+-0.9500*(ppt_x*-0.3090-(1-ppt_y)*0.9511)][100000|ppt_y+-1.0000*(ppt_x*0.0000-(1-ppt_y)*1.0000)]~f~b~l~c~hdur="1"~g>^999^~i{T}@style.visibility@~d<to><strVal val="hidden~u</to>~m</childTnLst>'],basicSwivelOut:["exit",19,10,'fill="hold"',"shape",'<childTnLst>~a~c~hdur="5000~u{T}@ppt_h@~d~e[0|ppt_h][100000|ppt_h]~f~b~a~c~hdur="5000~u{T}@ppt_w@~d~e[0|ppt_w][5000|0.92*ppt_w][10000|0.71*ppt_w][15000|0.38*ppt_w][20000!0][25000|-0.38*ppt_w][30000|-0.71*ppt_w][35000|-0.92*ppt_w][40000|-ppt_w][45000|-0.92*ppt_w][50000|-0.71*ppt_w][55000|-0.38*ppt_w][60000!0][65000|0.38*ppt_w][70000|0.71*ppt_w][75000|0.92*ppt_w][80000|ppt_w][85000|0.92*ppt_w][90000|0.71*ppt_w][95000|0.38*ppt_w][100000!0]~f~b~l~c~hdur="1"~g>^4999^~i{T}@style.visibility@~d<to><strVal val="hidden~u</to>~m</childTnLst>'],whipOut:["exit",41,0,'fill="hold"',"shape",'<iterate type="lt"><tmPct val="10000~u</iterate><childTnLst>~a~c~hdur="500~u{T}@ppt_x@~d~e[0|ppt_x][50000|ppt_x+.1][100000|ppt_x]~f~b~a~c~hdur="500~u{T}@ppt_y@~d~e[0|ppt_y][100000|ppt_y]~f~b~a~c~hdur="500~u{T}@ppt_h@~d~e[0|ppt_h][50000|ppt_h+.01][100000|ppt_h/10]~f~b~a~c~hdur="500~u{T}@ppt_w@~d~e[0|ppt_w][50000|ppt_w+.01][100000|ppt_w/10]~f~b~jout" filter="fade">~c~hdur="500" tmFilter="0,0; .5, 0; 1, 1~u{T}~d~k~l~c~hdur="1"~g>^499^~i{T}@style.visibility@~d<to><strVal val="hidden~u</to>~m</childTnLst>'],fillColor:["emph",1,2,'fill="hold"',"none",'<childTnLst>~prgb" dir="cw">~c~hdur="2000"~g/>{T}@fillcolor@~d<to><a:schemeClr val="accent2~u</to>~q~l~c~hdur="2000"~g/>{T}@fill.type@~d<to><strVal val="solid~u</to>~m~l~c~hdur="2000"~g/>{T}@fill.on@~d<to><strVal val="true~u</to>~m</childTnLst>'],fontColor:["emph",3,2,'fill="hold"',"text",'<childTnLst>~prgb" dir="cw"><cBhvr override="childStyle">~hdur="2000"~g/>{T}@style.color@~d<to><a:schemeClr val="accent2~u</to>~q</childTnLst>'],growShrink:["emph",6,0,'fill="hold"',"shape",'<childTnLst>~r~c~hdur="2000"~g/>{T}~d<by x="150000" y="150000~u~s</childTnLst>'],lineColor:["emph",7,2,'fill="hold"',"none",'<childTnLst>~prgb" dir="cw">~c~hdur="2000"~g/>{T}@stroke.color@~d<to><a:schemeClr val="accent2~u</to>~q~l~c~hdur="2000"~g/>{T}@stroke.on@~d<to><strVal val="true~u</to>~m</childTnLst>'],spin:["emph",8,0,'fill="hold"',"shape",'<childTnLst>~n21600000">~c~hdur="2000"~g/>{T}@r@~d~o</childTnLst>'],transparency:["emph",9,0,"","shape",'<childTnLst>~l~c~hdur="indefinite~u{T}@style.opacity@~d<to><strVal val="0.5~u</to>~m<animEffect filter="image" prLst="opacity: 0.5"><cBhvr rctx="IE">~hdur="indefinite~u{T}~d~k</childTnLst>'],boldFlash:["emph",10,0,'fill="hold"',"text",'<childTnLst><anim calcmode="discrete" valueType="str"><cBhvr override="childStyle">~hdur="2000"~g/>{T}@style.fontWeight@~d~e[0|normal][50000|bold][60000|normal][100000|normal]~f~b</childTnLst>'],brushColor:["emph",16,0,'fill="hold"',"shape",'<iterate type="lt"><tmPct val="4000~u</iterate><childTnLst>~l<cBhvr override="childStyle">~hdur="500"~g/>{T}@style.color@~d<to><clrVal><a:schemeClr val="accent2~u</clrVal></to>~m~l~c~hdur="500"~g/>{T}@fillcolor@~d<to><clrVal><a:schemeClr val="accent2~u</clrVal></to>~m~l~c~hdur="500"~g/>{T}@fill.type@~d<to><strVal val="solid~u</to>~m</childTnLst>'],complementaryColor:["emph",21,0,'fill="hold"',"shape",'<childTnLst>~phsl" dir="cw"><cBhvr override="childStyle">~hdur="500"~g/>{T}@style.color@~d<by><hsl h="7200000" s="0" l="0~u</by>~q~phsl" dir="cw">~c~hdur="500"~g/>{T}@fillcolor@~d<by><hsl h="7200000" s="0" l="0~u</by>~q~phsl" dir="cw">~c~hdur="500"~g/>{T}@stroke.color@~d<by><hsl h="7200000" s="0" l="0~u</by>~q~l~c~hdur="500"~g/>{T}@fill.type@~d<to><strVal val="solid~u</to>~m</childTnLst>'],complementaryColor2:["emph",22,0,'fill="hold"',"shape",'<childTnLst>~phsl" dir="cw"><cBhvr override="childStyle">~hdur="500"~g/>{T}@style.color@~d<by><hsl h="-7200000" s="0" l="0~u</by>~q~phsl" dir="cw">~c~hdur="500"~g/>{T}@fillcolor@~d<by><hsl h="-7200000" s="0" l="0~u</by>~q~phsl" dir="cw">~c~hdur="500"~g/>{T}@stroke.color@~d<by><hsl h="-7200000" s="0" l="0~u</by>~q~l~c~hdur="500"~g/>{T}@fill.type@~d<to><strVal val="solid~u</to>~m</childTnLst>'],contrastingColor:["emph",23,0,'fill="hold"',"shape",'<childTnLst>~phsl" dir="cw"><cBhvr override="childStyle">~hdur="500"~g/>{T}@style.color@~d<by><hsl h="10842353" s="0" l="0~u</by>~q~phsl" dir="cw">~c~hdur="500"~g/>{T}@fillcolor@~d<by><hsl h="10842353" s="0" l="0~u</by>~q~phsl" dir="cw">~c~hdur="500"~g/>{T}@stroke.color@~d<by><hsl h="10842353" s="0" l="0~u</by>~q~l~c~hdur="500"~g/>{T}@fill.type@~d<to><strVal val="solid~u</to>~m</childTnLst>'],darken:["emph",24,0,'fill="hold"',"shape",'<childTnLst>~phsl" dir="cw"><cBhvr override="childStyle">~hdur="500"~g/>{T}@style.color@~d<by><hsl h="0" s="-12549" l="-25098~u</by>~q~phsl" dir="cw">~c~hdur="500"~g/>{T}@fillcolor@~d<by><hsl h="0" s="-12549" l="-25098~u</by>~q~phsl" dir="cw">~c~hdur="500"~g/>{T}@stroke.color@~d<by><hsl h="0" s="-12549" l="-25098~u</by>~q~l~c~hdur="500"~g/>{T}@fill.type@~d<to><strVal val="solid~u</to>~m</childTnLst>'],desaturate:["emph",25,0,'fill="hold"',"shape",'<childTnLst>~phsl" dir="cw"><cBhvr override="childStyle">~hdur="500"~g/>{T}@style.color@~d<by><hsl h="0" s="-70588" l="0~u</by>~q~phsl" dir="cw">~c~hdur="500"~g/>{T}@fillcolor@~d<by><hsl h="0" s="-70588" l="0~u</by>~q~phsl" dir="cw">~c~hdur="500"~g/>{T}@stroke.color@~d<by><hsl h="0" s="-70588" l="0~u</by>~q~l~c~hdur="500"~g/>{T}@fill.type@~d<to><strVal val="solid~u</to>~m</childTnLst>'],lighten:["emph",30,0,'fill="hold"',"shape",'<childTnLst>~phsl" dir="cw"><cBhvr override="childStyle">~hdur="500"~g/>{T}@style.color@~d<by><hsl h="0" s="12549" l="25098~u</by>~q~phsl" dir="cw">~c~hdur="500"~g/>{T}@fillcolor@~d<by><hsl h="0" s="12549" l="25098~u</by>~q~phsl" dir="cw">~c~hdur="500"~g/>{T}@stroke.color@~d<by><hsl h="0" s="12549" l="25098~u</by>~q~l~c~hdur="500"~g/>{T}@fill.type@~d<to><strVal val="solid~u</to>~m</childTnLst>'],objectColor:["emph",19,0,'fill="hold"',"shape",'<childTnLst>~prgb" dir="cw"><cBhvr override="childStyle">~hdur="500"~g/>{T}@style.color@~d<to><a:schemeClr val="accent2~u</to>~q~prgb" dir="cw">~c~hdur="500"~g/>{T}@fillcolor@~d<to><a:schemeClr val="accent2~u</to>~q~l~c~hdur="500"~g/>{T}@fill.type@~d<to><strVal val="solid~u</to>~m~l~c~hdur="500"~g/>{T}@fill.on@~d<to><strVal val="true~u</to>~m</childTnLst>'],pulse:["emph",26,0,'fill="hold"',"shape",'<childTnLst>~jout" filter="fade">~c~hdur="500" tmFilter="0, 0; .2, .5; .8, .5; 1, 0~u{T}~d~k~r~c~hdur="250" autoRev="1"~g/>{T}~d<by x="105000" y="105000~u~s</childTnLst>'],underline:["emph",18,0,'fill="hold"',"text",'<iterate type="lt"><tmPct val="4000~u</iterate><childTnLst>~l<cBhvr override="childStyle">~hdur="500"~g/>{T}@style.textDecorationUnderline@~d<to><strVal val="true~u</to>~m</childTnLst>'],colorPulse:["emph",27,0,'fill="remove"',"shape",'<childTnLst>~prgb" dir="cw"><cBhvr override="childStyle">~hdur="250" autoRev="1" fill="remove~u{T}@style.color@~d<to><a:schemeClr val="bg1~u</to>~q~prgb" dir="cw">~c~hdur="250" autoRev="1" fill="remove~u{T}@fillcolor@~d<to><a:schemeClr val="bg1~u</to>~q~l~c~hdur="250" autoRev="1" fill="remove~u{T}@fill.type@~d<to><strVal val="solid~u</to>~m~l~c~hdur="250" autoRev="1" fill="remove~u{T}@fill.on@~d<to><strVal val="true~u</to>~m</childTnLst>'],growWithColor:["emph",28,0,'fill="hold"',"text",'<iterate type="lt"><tmPct val="10000~u</iterate><childTnLst>~prgb" dir="cw"><cBhvr override="childStyle">~hdur="500"~g/>{T}@style.color@~d<to><a:schemeClr val="accent2~u</to>~q~prgb" dir="cw">~c~hdur="500"~g/>{T}@fillcolor@~d<to><a:schemeClr val="accent2~u</to>~q~l~c~hdur="500"~g/>{T}@fill.type@~d<to><strVal val="solid~u</to>~m<anim to="1.5" calcmode="lin" valueType="num"><cBhvr override="childStyle">~hdur="500"~g/>{T}@style.fontSize@~d~b</childTnLst>'],shimmer:["emph",36,0,'fill="hold"',"shape",'<iterate type="lt"><tmPct val="10000~u</iterate><childTnLst>~r~c~hdur="250" autoRev="1"~g>^0^~i{T}~d<to x="80000" y="100000~u~s<anim by="(#ppt_w*0.10)" calcmode="lin" valueType="num">~c~hdur="250" autoRev="1"~g>^0^~i{T}@ppt_x@~d~b<anim by="(-#ppt_w*0.10)" calcmode="lin" valueType="num">~c~hdur="250" autoRev="1"~g>^0^~i{T}@ppt_y@~d~b~n-480000">~c~hdur="250" autoRev="1"~g>^0^~i{T}@r@~d~o</childTnLst>'],teeter:["emph",32,0,'fill="hold"',"shape",'<childTnLst>~n120000">~c~hdur="100"~g>^0^~i{T}@r@~d~o~n-240000">~c~hdur="200"~g>^200^~i{T}@r@~d~o~n240000">~c~hdur="200"~g>^400^~i{T}@r@~d~o~n-240000">~c~hdur="200"~g>^600^~i{T}@r@~d~o~n120000">~c~hdur="200"~g>^800^~i{T}@r@~d~o</childTnLst>'],blink:["emph",35,0,'fill="hold"',"shape",'<childTnLst><anim calcmode="discrete" valueType="str">~c~hdur="1000"~g/>{T}@style.visibility@~d~e[0|hidden][50000|visible]~f~b</childTnLst>'],boldReveal:["emph",15,0,"","text",'<iterate type="lt"><tmAbs val="25~u</iterate><childTnLst>~l<cBhvr override="childStyle">~hdur="indefinite~u{T}@style.fontWeight@~d<to><strVal val="bold~u</to>~m</childTnLst>'],wave:["emph",34,0,'fill="hold"',"shape",'<iterate type="lt"><tmPct val="10000~u</iterate><childTnLst><animMotion origin="layout" path="M 0.0 0.0 L 0.0 -0.07213" pathEditMode="relative" ptsTypes="">~c~hdur="250" accel="50000" decel="50000" autoRev="1"~g>^0^~i{T}<attrNameLst><attrName>ppt_x</attrName><attrName>ppt_y</attrName></attrNameLst>~d</animMotion>~n1500000">~c~hdur="125"~g>^0^~i{T}@r@~d~o~n-1500000">~c~hdur="125"~g>^125^~i{T}@r@~d~o~n-1500000">~c~hdur="125"~g>^250^~i{T}@r@~d~o~n1500000">~c~hdur="125"~g>^375^~i{T}@r@~d~o</childTnLst>']};var dA=o("p","timing",d.pml),D$=o("p","tnLst",d.pml),Oc=o("p","par",d.pml),Ts=o("p","cTn",d.pml),ws=o("p","childTnLst",d.pml),_$=o("p","seq",d.pml),Kh=o("p","stCondLst",d.pml),k$=o("p","prevCondLst",d.pml),M$=o("p","nextCondLst",d.pml),Vh=o("p","cond",d.pml),F$=o("p","tgtEl",d.pml),I$=o("p","sldTgt",d.pml),B$=o("p","attrNameLst",d.pml),O$=o("p","attrName",d.pml),X$=o("p","cBhvr",d.pml),j$=o("p","to",d.pml),$$=o("p","strVal",d.pml),U$=o("p","bldLst",d.pml),G$=o("p","bldP",d.pml),q$=o("","id",""),$c=o("","dur",""),H$=o("","restart",""),cA=o("","nodeType",""),mA=o("","fill",""),go=o("","delay",""),V$=o("","concurrent",""),z$=o("","nextAc",""),W$=o("","spid",""),hA=o("","evt",""),Y$=o("","val",""),Z$=o("","grpId",""),K$=o("","build",""),J$=o("","animBg",""),Q$=o("","autoRev",""),tl=sA,Gc=Object.keys(tl),gA=["top","right","bottom","left"],yA=["topLeft","topRight","bottomLeft","bottomRight"],eU=[...gA,...yA],zh=["horizontal","vertical"],pA=["circle","box","diamond","plus"],tU=[1,2,3,4,8],Xc={top:1,right:2,bottom:4,left:8,topLeft:9,topRight:3,bottomLeft:12,bottomRight:6},jc={horizontal:10,vertical:5},uA={in:16,out:32},fA={top:"up",right:"right",bottom:"down",left:"left"},nU={top:"bottom",right:"left",bottom:"top",left:"right"},rU={topLeft:"upLeft",topRight:"upRight",bottomLeft:"downLeft",bottomRight:"downRight"},aU={circle:6,box:4,diamond:8,plus:13},lU=e=>e[0].toUpperCase()+e.slice(1),xA=e=>e==="left"||e==="topLeft"||e==="bottomLeft"?"left":e==="right"||e==="topRight"||e==="bottomRight"?"right":null,oU=e=>e==="top"||e==="topLeft"||e==="topRight"?"top":e==="bottom"||e==="bottomLeft"||e==="bottomRight"?"bottom":null,iU=(e,t)=>{let n=l=>`${t?"#":""}ppt_${l}`,r={x:xA(e),y:oU(e)},a={};for(let l of["x","y"]){let i=n(l),s=`${n(l==="x"?"w":"h")}/2`,c=r[l]==="right"||r[l]==="bottom",p=r[l]===null?i:c?`1+${s}`:`0-${s}`,u=l.toUpperCase();a[`${u}0`]=t?p:i,a[`${u}1`]=t?i:p}return a},ca=e=>(t,n)=>({F:e(t,n)}),Wh=["bottom",...gA.filter(e=>e!=="bottom")],sU={fly:{domains:{direction:[...Wh,...yA]},presetSubtype:e=>Xc[e.direction],values:(e,t)=>iU(e.direction,t)},peek:{domains:{direction:Wh},presetSubtype:e=>Xc[e.direction],values:(e,t)=>{let n=e.direction,r=xA(n)!==null,a=r?"x":"y",l=r?"w":"h",i=n==="right"||n==="bottom"?"+":"-",s=`#ppt_${a}`,c=`#ppt_${a}${i}#ppt_${l}*1.125000`;return{A:`ppt_${a}`,P0:t?c:s,P1:t?s:c,F:`wipe(${fA[t?nU[n]:n]})`}}},wipe:{domains:{direction:Wh},presetSubtype:e=>Xc[e.direction],values:ca(e=>`wipe(${fA[e.direction]})`)},blinds:{domains:{orientation:zh},presetSubtype:e=>jc[e.orientation],values:ca(e=>`blinds(${e.orientation})`)},checkerboard:{domains:{orientation:zh},presetSubtype:e=>jc[e.orientation],values:ca(e=>`checkerboard(${e.orientation==="horizontal"?"across":"down"})`)},randomBars:{domains:{orientation:zh},presetSubtype:e=>jc[e.orientation],values:ca(e=>`randombar(${e.orientation})`)},shape:{domains:{shape:pA,inOut:["in","out"]},exitDomains:{shape:pA,inOut:["out","in"]},presetId:e=>aU[e.shape],presetSubtype:e=>uA[e.inOut],values:ca(e=>`${e.shape}(${e.inOut})`)},split:{domains:{orientation:["vertical","horizontal"],inOut:["in","out"]},presetSubtype:e=>uA[e.inOut]+(e.orientation==="vertical"?5:jc.horizontal),values:ca(e=>`barn(${e.inOut}${lU(e.orientation)})`)},strips:{domains:{direction:["bottomLeft","topLeft","topRight","bottomRight"]},presetSubtype:e=>Xc[e.direction],values:ca(e=>`strips(${rU[e.direction]})`)},wheel:{domains:{spokes:tU},presetSubtype:e=>e.spokes,values:ca(e=>`wheel(${e.spokes})`)}},SA={},qc=e=>sU[e.replace(/(In|Out)$/,"")],bA=e=>tl[e][0],yo=e=>{let t=qc(e);return t===void 0?SA:bA(e)==="exit"?t.exitDomains??t.domains:t.domains};var vs=(e,t,n)=>{let r=yo(e),a=(l,i)=>{let s=t[l];if(i===void 0){if(s===void 0)return null;throw new RangeError(`${n}: ${l} only applies to ${Gc.filter(p=>yo(p)[l]!==void 0).join(", ")}; ${JSON.stringify(e)} does not take it.`)}if(s===void 0)return i[0];let c=i.find(p=>p===s);if(c===void 0)throw new RangeError(`${n}: ${l} ${JSON.stringify(s)} is not one of ${i.join(", ")} for ${JSON.stringify(e)}.`);return c};return{direction:a("direction",r.direction),orientation:a("orientation",r.orientation),inOut:a("inOut",r.inOut),shape:a("shape",r.shape),spokes:a("spokes",r.spokes)}},EA=(e,t)=>qc(e)?.presetId?.(t)??tl[e][1],AA=(e,t)=>qc(e)?.presetSubtype(t)??tl[e][2],xo=e=>tl[e][4],dU=e=>{let t=n=>n??[null];return t(e.direction).flatMap(n=>t(e.orientation).flatMap(r=>t(e.inOut).flatMap(a=>t(e.shape).flatMap(l=>t(e.spokes).map(i=>({direction:n,orientation:r,inOut:a,shape:l,spokes:i}))))))},eg=Gc.flatMap(e=>{let t=yo(e);return dU(t).map(n=>({presetClass:bA(e),presetId:EA(e,n),presetSubtype:AA(e,n),effect:e,options:n,optionless:t===SA}))}),Jh=e=>Math.max(0,e-1),tg=(e,t)=>e.name.namespaceURI===d.pml&&e.name.localName===t,TA=new Set(["set","anim","animClr","animEffect","animMotion","animRot","animScale","cmd"]),cU=e=>{let t=m(e,B$);return(t===null?null:m(t,O$))?.children.find(r=>r.kind==="text")?.data??null},ng=e=>{let t=m(e,ws);if(t===null)return[];let n=[];for(let r of t.children){if(r.kind!=="element")continue;if(r.name.namespaceURI!==d.pml||!TA.has(r.name.localName))return null;let a=m(r,X$),l=a===null?null:m(a,Ts);n.push({element:r,cTn:l,kick:tg(r,"set")&&a!==null&&cU(a)==="style.visibility"})}return n},Uc=e=>{if(e===null||!/^\d+$/.test(e))return null;let t=Number(e);return Number.isSafeInteger(t)?t:null},Qh=e=>{let t=m(e,Kh);if(t===null)return;let n=t.children.filter(a=>a.kind==="element"&&tg(a,"cond"));if(n.length!==1)return null;let r=n[0];return x(r,hA)!==null||r.children.some(a=>a.kind==="element")?null:r},mU=new Set(["repeatCount","repeatDur","spd"]),pU=e=>{let t=x(e,Q$);return t==="1"||t==="true"},uU=e=>{if(e.attrs.some(a=>a.name.namespaceURI===""&&mU.has(a.name.localName)))return null;let t=Uc(x(e,$c)),n=Qh(e),r=n===void 0?0:n===null?null:Uc(x(n,go));return t===null||r===null?null:r+t*(pU(e)?2:1)},Cs=e=>Hc(e,!1),Hc=(e,t)=>{let n=ng(e);if(n===null)return null;let r=null;for(let a of n){if(a.kick&&!t)continue;let l=a.cTn===null?null:uU(a.cTn);if(l===null)return null;r=Math.max(r??0,l)}return r},Yh=(e,t,n)=>{let r=e.attrs.some(a=>a.name.namespaceURI===""&&a.name.localName===t);e.attrs=r?e.attrs.map(a=>a.name.namespaceURI===""&&a.name.localName===t?{...a,value:n}:a):[...e.attrs,b(o("",t,""),n)]},fU=e=>{let t=m(e.element,j$),n=t===null?null:m(t,$$);return n!==null&&x(n,Y$)==="hidden"},Vc=(e,t)=>{let n=ng(e);if(n===null)return!1;let r=n.filter(s=>!s.kick);if(r.length===0)return!0;let a=Cs(e);if(a===null)return!1;let l=s=>String(a===0?t:Math.round(s*t/a));for(let{cTn:s}of r){Yh(s,"dur",l(Uc(x(s,$c))));let c=Qh(s);c&&Yh(c,"delay",l(Uc(x(c,go))))}let i=String(Jh(a));for(let s of n){if(!s.kick||s.cTn===null||!fU(s))continue;let c=Qh(s.cTn);!c||x(c,go)!==i||Yh(c,"delay",String(Jh(t)))}return!0},wA=e=>{let t=e;for(let n=Hh.length-1;n>=0;n-=1)t=t.replaceAll(`~${String.fromCharCode(97+n)}`,Hh[n]);return t.replaceAll(/\^(\w+)\^/g,'<stCondLst><cond delay="$1"/></stCondLst>').replaceAll(/@([^@]*)@/g,"<attrNameLst><attrName>$1</attrName></attrNameLst>").replaceAll(/\[(\d+)!([^\]]*)\]/g,'<tav tm="$1"><val><fltVal val="$2"/></val></tav>').replaceAll(/\[(\d+)\|([^\]]*)\]/g,'<tav tm="$1"><val><strVal val="$2"/></val></tav>').replaceAll(/<(\/?)([A-Za-z]+)(?=[\s/>])/g,"<$1p:$2")},vA=(e,t)=>t===null?`<p:tgtEl><p:spTgt spid="${e}"/></p:tgtEl>`:`<p:tgtEl><p:spTgt spid="${e}"><p:txEl><p:pRg st="${t}" end="${t}"/></p:txEl></p:spTgt></p:tgtEl>`,hU={click:"clickEffect",withPrevious:"withEffect",afterPrevious:"afterEffect"},CA=(e,t,n,r,a)=>{let[l,,,i,s,c]=tl[e],p=qc(e)?.values(t,l==="entr")??{},u=wA(c).replaceAll(/\{(\w+)\}/g,(S,E)=>E==="T"?n:p[E]),f=[`presetID="${EA(e,t)}"`,`presetClass="${l}"`,`presetSubtype="${AA(e,t)}"`,i,s==="none"?"":'grpId="0"',`nodeType="${hU[r]}"`].filter(S=>S!=="").join(" "),y=`<p:cTn xmlns:p="${d.pml}" xmlns:a="${d.dml}" ${f}><p:stCondLst><p:cond delay="${a}"/></p:stCondLst>${u}</p:cTn>`,g=$(y).root;return g.prefixDecls=new Map,g},Zh=new Map,rg=e=>{if(!Zh.has(e)){let t=vs(e,{},"defaultAnimationDurationMs"),n=CA(e,t,vA(1,null),"click",0);Zh.set(e,Cs(n))}return Zh.get(e)},ag=e=>{let t=new Set;for(let n of wA(tl[e][5]).matchAll(/<p:(\w+)/g))TA.has(n[1])&&t.add(n[1]);return t},gU=(e,t)=>{let n=t,r=a=>{if(tg(a,"cTn")){let l=String(n++),i=a.attrs.some(s=>s.name.namespaceURI===""&&s.name.localName==="id");a.attrs=i?a.attrs.map(s=>s.name.namespaceURI===""&&s.name.localName==="id"?{...s,value:l}:s):[b(q$,l),...a.attrs]}for(let l of a.children)l.kind==="element"&&r(l)};return r(e),n},nl=(e,t,n={})=>{let r=n.paragraph??null,a=n.label??"setShapeAnimation",l=Z(t.effect,Gc,`${a}: effect`),i=vs(l,t,a),s=Z(n.start??t.start??"click",["click","withPrevious","afterPrevious"],`${a}: start`),c=t.delayMs===void 0?0:la(t.delayMs,`${a}: delayMs`),p=CA(l,i,vA(e,r),s,c);if(iA(p,As(l,t,a)),t.durationMs!==void 0&&!Vc(p,la(t.durationMs,`${a}: durationMs`)))throw new RangeError(`${a}: ${JSON.stringify(l)} holds until the end of the slide, so it takes no durationMs.`);let u=h(Oc,{children:[p]}),f=h(Ts,{attrs:[b(mA,"hold")],children:[h(Kh,{children:[h(Vh,{attrs:[b(go,"0")]})]}),h(ws,{children:[u]})]}),y=h(Oc,{children:[f]}),g=h(Ts,{attrs:[b(mA,"hold")],children:[h(Kh,{children:[h(Vh,{attrs:[b(go,s==="click"?"indefinite":"0")]})]}),h(ws,{children:[y]})]}),S=h(Oc,{children:[g]}),E=h(Ts,{attrs:[b($c,"indefinite"),b(cA,"mainSeq")],children:[h(ws,{children:[S]})]}),A=(_,k)=>h(_,{children:[h(Vh,{attrs:[b(hA,k),b(go,"0")],children:[h(F$,{children:[h(I$)]})]})]}),T=h(_$,{attrs:[b(V$,"1"),b(z$,"seek")],children:[E,A(k$,"onPrev"),A(M$,"onNext")]}),w=h(Ts,{attrs:[b($c,"indefinite"),b(H$,"never"),b(cA,"tmRoot")],children:[h(ws,{children:[T]})]}),v=h(D$,{children:[h(Oc,{children:[w]})]});gU(v,1);let C=xo(l);if(C==="none")return h(dA,{children:[v]});let R=[b(W$,String(e)),b(Z$,"0")];r!==null?R.push(b(K$,n.build==="allAtOnce"?"allAtOnce":"p")):C==="shape"&&n.background===!0&&R.push(b(J$,"1"));let N=h(U$,{children:[h(G$,{attrs:R})]});return h(dA,{children:[v,N]})};var yU=o("p","cmAuthorLst",d.pml),PA=o("p","cmAuthor",d.pml),xU=o("p","cmLst",d.pml),LA=o("p","cm",d.pml),RA=o("p","pos",d.pml),lg="http://schemas.microsoft.com/office/powerpoint/2012/main",NA="{C676402C-5697-4E1C-873F-D02D1690AC5C}",DA=o("p","extLst",d.pml),_A=o("p","ext",d.pml),kA=o("p15","threadingInfo",lg),MA=o("p15","parentCm",lg),FA=o("","uri",""),IA=o("p","text",d.pml),BA=o("","id",""),OA=o("","name",""),XA=o("","initials",""),jA=o("","lastIdx",""),$A=o("","clrIdx",""),zc=o("","authorId",""),UA=o("","dt",""),Wc=o("","idx",""),GA=o("","x",""),qA=o("","y",""),og=e=>{if(e.name.namespaceURI!==d.pml||e.name.localName!=="cmAuthorLst")throw new Error(`expected <p:cmAuthorLst> root, got <${e.name.prefix}:${e.name.localName}>`);let t=[];for(let n of Q(e,PA)){let r=x(n,BA),a=x(n,OA),l=x(n,XA),i=x(n,jA),s=x(n,$A);if(r===null)continue;let c=Number.parseInt(r,10);Number.isFinite(c)&&t.push({id:c,name:a??"",initials:l??"",lastIdx:i!==null&&Number.parseInt(i,10)||0,clrIdx:s!==null&&Number.parseInt(s,10)||null})}return{authors:t}},ig=e=>{if(e.name.namespaceURI!==d.pml||e.name.localName!=="cmLst")throw new Error(`expected <p:cmLst> root, got <${e.name.prefix}:${e.name.localName}>`);let t=[];for(let n of Q(e,LA)){let r=x(n,zc),a=x(n,Wc),l=x(n,UA);if(r===null||a===null)continue;let i=Number.parseInt(r,10),s=Number.parseInt(a,10);if(!Number.isFinite(i)||!Number.isFinite(s))continue;let c=null,p=m(n,RA);if(p!==null){let S=x(p,GA),E=x(p,qA);if(S!==null&&E!==null){let A=Number.parseInt(S,10),T=Number.parseInt(E,10);Number.isFinite(A)&&Number.isFinite(T)&&(c={x:A,y:T})}}let u="",f=m(n,IA);if(f!==null)for(let S of f.children)(S.kind==="text"||S.kind==="cdata")&&(u+=S.data);let y,g=m(n,DA);if(g)for(let S of Q(g,_A)){if(x(S,FA)!==NA)continue;let E=m(S,kA),A=E&&m(E,MA);if(!A)continue;let T=x(A,zc),w=x(A,Wc);T!==null&&w!==null&&/^\d+$/.test(T)&&/^\d+$/.test(w)&&Number(T)<=4294967295&&Number(w)<=4294967295&&(y={authorId:Number(T),idx:Number(w)})}t.push({...y?{parent:y}:{},authorId:i,idx:s,dt:l,text:u,position:c})}return{comments:t}},SU=e=>{let t=[b(BA,String(e.id)),b(OA,e.name),b(XA,e.initials),b(jA,String(e.lastIdx)),b($A,String(e.clrIdx??0))];return h(PA,{attrs:t})},sg=e=>{let t=h(yU,{prefixDecls:new Map([["p",d.pml]]),children:e.map(SU)});return{kind:"document",decl:{version:"1.0",encoding:"UTF-8",standalone:"yes"},prolog:[],root:t,epilog:[]}},Yc={x:0,y:0},bU=e=>{let t=[b(zc,String(e.authorId)),b(Wc,String(e.idx))];e.dt!==null&&t.push(b(UA,e.dt));let n=e.position??Yc,r=[h(RA,{attrs:[b(GA,String(n.x)),b(qA,String(n.y))]})];return r.push(h(IA,{children:[be(e.text)]})),e.parent&&r.push(h(DA,{children:[h(_A,{attrs:[b(FA,NA)],children:[h(kA,{prefixDecls:new Map([["p15",lg]]),children:[h(MA,{attrs:[b(zc,String(e.parent.authorId)),b(Wc,String(e.parent.idx))]})]})]})]})),h(LA,{attrs:t,children:r})},dg=e=>{let t=h(xU,{prefixDecls:new Map([["p",d.pml]]),children:e.map(bU)});return{kind:"document",decl:{version:"1.0",encoding:"UTF-8",standalone:"yes"},prolog:[],root:t,epilog:[]}};var ft="http://schemas.microsoft.com/office/powerpoint/2018/8/main",So="http://schemas.microsoft.com/office/powerpoint/2013/main/command",cg="http://schemas.microsoft.com/office/powerpoint/2010/main",mg="{BB962C8B-B14F-4D97-AF65-F5344CB8AC3E}",pg="application/vnd.ms-powerpoint.comments+xml",ug="application/vnd.ms-powerpoint.authors+xml",EU=o("p188","authorLst",ft),VA=o("p188","author",ft),AU=o("p188","cmLst",ft),Ls=o("p188","cm",ft),Ps=o("p188","replyLst",ft),Zc=o("p188","reply",ft),fg=o("p188","txBody",ft),zA=o("p188","pos",ft),TU=o("p188","unknownAnchor",ft),wU=o("pc","sldMkLst",So),vU=o("pc","docMk",So),CU=o("pc","sldMk",So),PU=o("a","bodyPr",d.dml),qr=o("","id",""),WA=o("","name",""),YA=o("","initials",""),ZA=o("","userId",""),KA=o("","providerId",""),hg=o("","authorId",""),Kc=o("","status",""),gg=o("","created",""),JA=o("","x",""),QA=o("","y",""),LU=o("","cId",""),RU=o("","sldId",""),Jc=["active","resolved","closed"],NU=e=>{let t=x(e,Kc);return t===null?"active":Jc.find(n=>n===t)??null},DU=e=>{let t=m(e,fg);return t===null?"":Je(t)},HA=e=>{let t=x(e,qr),n=x(e,hg);return t===null||n===null?null:{id:t,authorId:n,status:NU(e),created:x(e,gg),text:DU(e)}},yg=e=>{if(e.name.namespaceURI!==ft||e.name.localName!=="authorLst")throw new Error(`expected <p188:authorLst> root, got <${e.name.prefix}:${e.name.localName}>`);let t=[];for(let n of Q(e,VA)){let r=x(n,qr);r!==null&&t.push({id:r,name:x(n,WA)??"",initials:x(n,YA),userId:x(n,ZA)??"",providerId:x(n,KA)??""})}return t},_U=e=>{let t=m(e,zA);if(t===null)return null;let n=Number.parseInt(x(t,JA)??"",10),r=Number.parseInt(x(t,QA)??"",10);return Number.isFinite(n)&&Number.isFinite(r)?{x:n,y:r}:null},xg=e=>{if(e.name.namespaceURI!==ft||e.name.localName!=="cmLst")throw new Error(`expected <p188:cmLst> root, got <${e.name.prefix}:${e.name.localName}>`);let t=[];for(let n of Q(e,Ls)){let r=HA(n);if(r===null)continue;let a=m(n,Ps),l=[];if(a!==null)for(let i of Q(a,Zc)){let s=HA(i);s!==null&&l.push(s)}t.push({...r,replies:l,position:_U(n)})}return t},Qc=(e,t)=>Q(e,Ls).find(n=>x(n,qr)===t)??null,Sg=(e,t)=>{let n=m(e,Ps);return n===null?null:Q(n,Zc).find(r=>x(r,qr)===t)??null},bg=e=>{let t=h(fg,{prefixDecls:new Map([["a",d.dml]]),children:[h(PU)]});return Pn(t,e),t},Eg=(e,t)=>{let n=e.attrs.findIndex(r=>r.name.localName==="status"&&!r.name.namespaceURI);n<0?e.attrs.push(b(Kc,t)):e.attrs[n]={...e.attrs[n],value:t}},Ag=(e,t)=>{let n=m(e,fg);if(n===null){n=bg(t);let r=e.children.findIndex(a=>a.kind==="element"&&a.name.namespaceURI===ft&&a.name.localName==="extLst");e.children.splice(r<0?e.children.length:r,0,n);return}Pn(n,t)},em=e=>{let t=[b(qr,e.id),b(WA,e.name)];return e.initials!==null&&t.push(b(YA,e.initials)),t.push(b(ZA,e.userId),b(KA,e.providerId)),h(VA,{attrs:t})},Tg=e=>({kind:"document",decl:{version:"1.0",encoding:"UTF-8",standalone:"yes"},prolog:[],root:h(EU,{prefixDecls:new Map([["p188",ft]]),children:e.map(em)}),epilog:[]}),wg=(e,t)=>h(wU,{prefixDecls:new Map([["pc",So]]),children:[h(vU),h(CU,{attrs:[b(LU,String(e)),b(RU,String(t))]})]}),vg=()=>h(TU),Cg=e=>{let t=[e.anchor];return e.position&&t.push(h(zA,{attrs:[b(JA,String(e.position.x)),b(QA,String(e.position.y))]})),t.push(bg(e.text)),h(Ls,{prefixDecls:new Map([["p188",ft]]),attrs:[b(qr,e.id),b(hg,e.authorId),b(gg,e.created),b(Kc,e.status??"active")],children:t})},Pg=e=>h(Zc,{attrs:[b(qr,e.id),b(hg,e.authorId),b(gg,e.created),b(Kc,"active")],children:[bg(e.text)]}),Lg=(e,t)=>{let n=m(e,Ps);if(n!==null){n.children.push(t);return}let r=h(Ps,{children:[t]}),a=e.children.findIndex(l=>l.kind==="element"&&l.name.namespaceURI===ft&&(l.name.localName==="txBody"||l.name.localName==="extLst"));e.children.splice(a<0?e.children.length:a,0,r)},Rg=e=>({kind:"document",decl:{version:"1.0",encoding:"UTF-8",standalone:"yes"},prolog:[],root:h(AU,{prefixDecls:new Map([["p188",ft],["a",d.dml]]),children:[...e]}),epilog:[]}),Ng=(e,t)=>{let n=e.children.length;if(e.children=e.children.filter(r=>!(r.kind==="element"&&r.name.namespaceURI===ft&&r.name.localName==="cm"&&x(r,qr)===t)),e.children.length!==n)return!0;for(let r of Q(e,Ls)){let a=m(r,Ps);if(a===null)continue;let l=a.children.length;if(a.children=a.children.filter(i=>!(i.kind==="element"&&i.name.namespaceURI===ft&&i.name.localName==="reply"&&x(i,qr)===t)),a.children.length!==l)return Q(a,Zc).length===0&&(r.children=r.children.filter(i=>i!==a)),!0}return!1},tm=e=>Q(e,Ls),Dg=e=>{for(let t of e.children)if(t.kind==="element"&&(t.name.namespaceURI===So&&t.name.localName==="sldMkLst"||t.name.namespaceURI===ft&&t.name.localName==="unknownAnchor"))return t;return null};var L=Symbol.for("@office-kit/pptx.package"),O=Symbol.for("@office-kit/pptx.slide.partName"),te=Symbol.for("@office-kit/pptx.slide.document"),Qt=Symbol.for("@office-kit/pptx.slide.part"),ne=Symbol.for("@office-kit/pptx.slide.shapes"),X=Symbol.for("@office-kit/pptx.shape.slide"),F=Symbol.for("@office-kit/pptx.shape.element"),U=Symbol.for("@office-kit/pptx.shape.snapshot"),de=Symbol.for("@office-kit/pptx.layout.partName"),ue=Symbol.for("@office-kit/pptx.layout.part"),ot=Symbol.for("@office-kit/pptx.layout.document"),bo=Symbol.for("@office-kit/pptx.comment.parent"),Dn=Symbol.for("@office-kit/pptx.comment.slide"),Tt=Symbol.for("@office-kit/pptx.comment.snapshot"),en=Symbol.for("@office-kit/pptx.comment.modern"),Pe=Symbol.for("@office-kit/pptx.cell.table"),qe=Symbol.for("@office-kit/pptx.cell.element"),Eo=Symbol.for("@office-kit/pptx.cell.row"),Ao=Symbol.for("@office-kit/pptx.cell.col");var kU=new TextDecoder,MU=new TextEncoder,V=e=>kU.decode(e),le=e=>MU.encode(e),rl="application/vnd.openxmlformats-officedocument.presentationml.slideLayout+xml",al="application/vnd.openxmlformats-officedocument.presentationml.slide+xml",Y=G("/ppt/presentation.xml"),eT=o("p","presentation",d.pml),Xt=o("p","sldMasterIdLst",d.pml),To=o("p","sldIdLst",d.pml),wo=o("p","sldId",d.pml),Le=o("p","cSld",d.pml),_n=o("p","spTree",d.pml),qn=o("","id",""),ct=o("r","id",d.officeDocRels),_g=256,nm=2147482623,ce=e=>{let t=ae(e[te]),n=e[L].getPart(e[O]);if(!n)throw new Error(`slide part missing: ${e[O]}`);n.data=le(t)},ge=e=>{let t=ao(e[te].root);e[Qt]=t;let n=e[ne];for(let r=0;r<n.length;r++){let a=t.shapes[r],l=n[r];!a||!l||(l[F]=a.element,l[U]=a)}},Hn=e=>{let t=e[L].getPart(e[de]);if(!t)throw new Error(`slide layout part missing: ${e[de]}`);t.data=le(ae(e[ot])),e[ue]=$r(e[ot].root)},Vn=e=>{let t=ao(e[te].root);e[Qt]=t;let n=[];for(let r of t.shapes)n.push({[X]:e,[F]:r.element,[U]:r});e[ne]=n},kg=o("p","txBody",d.pml),Re=e=>{let t=e[U].kind;if(t!=="shape"&&t!=="picture"&&t!=="connector")throw new Error(`fill/stroke is not supported on ${t} shapes`);let n=o("p","spPr",d.pml),r=e[F],a=m(r,n);return a===null&&(a={kind:"element",name:n,attrs:[],prefixDecls:new Map,children:[]},r.children.push(a)),a},ht=e=>{if(e[U].kind!=="shape")throw new Error(`text operations require a shape kind; ${e[U].kind} is not text-bearing`);let t=m(e[F],kg);if(t===null)throw new Error(`shape "${e[U].name}" has no <p:txBody>`);return t},FU=o("a","bodyPr",d.dml),IU=o("a","lstStyle",d.dml),BU=o("a","p",d.dml),Mg=()=>h(kg,{children:[h(FU),h(IU),h(BU)]}),ma=e=>{if(e[U].kind!=="shape")throw new Error(`text operations require a shape kind; ${e[U].kind} is not text-bearing`);let t=m(e[F],kg);if(t!==null)return t;let n=Mg();return e[F].children.push(n),n},J=e=>{ce(e[X]),ge(e[X])},OU=new Set([D.hyperlink,D.slide]),vo=e=>{let t=e[L],n=t.getRels(e[O]);if(n===null)return;let r=new Set;_t(e[te].root,l=>{for(let i of l.attrs)i.name.namespaceURI===d.officeDocRels&&r.add(i.value)});let a=n.items.filter(l=>!OU.has(l.type)||r.has(l.id));a.length!==n.items.length&&t.setRels(e[O],{items:a})},pa=e=>{let t=m(e[te].root,Le);if(!t)throw new Error("slide has no <p:cSld>");let n=m(t,_n);if(!n)throw new Error("slide has no <p:spTree>");return n},ua=e=>{let t=0,n=r=>{if(r.name.namespaceURI===d.pml&&r.name.localName==="cNvPr"){let a=Number(x(r,o("","id","")));a>t&&(t=a)}for(let a of r.children)a.kind==="element"&&n(a)};return n(e),Math.max(t,1)+1},wt=e=>ua(pa(e)),fa=(e,t,n)=>{let r=0,a=t.toLowerCase();for(let l of e.parts){let i=l.name.toLowerCase();if(!i.startsWith(a)||!i.endsWith(".xml"))continue;let s=Number(i.slice(a.length,-4));Number.isInteger(s)&&s>r&&(r=s)}return Array.from({length:n},(l,i)=>G(`${t}${r+1+i}.xml`))},yr=(e,t)=>{let n=is(e).split("/").filter(Boolean),r=t.split("/").filter(Boolean),a=0;for(;a<n.length&&n[a]===r[a];)a++;return[...n.slice(a).map(()=>".."),...r.slice(a)].join("/")},kn=(e,t)=>{pa(e).children.push(t),ce(e);let r=e[ne].length;Vn(e);let a=e[ne][r];if(!a)throw new Error("appendShape: post-condition failed");return a},xn=(e,t,n)=>{e.contentTypes.defaults.some(a=>a.extension.toLowerCase()===t)||e.contentTypes.defaults.push({extension:t,contentType:n})},ha=e=>{let t=[pa(e[X])],n=e[F];for(;t.length;){let r=t.pop();for(let a of r.children){if(a===n)return r;a.kind==="element"&&a.name.namespaceURI===d.pml&&a.name.localName==="grpSp"&&t.push(a)}}return null};var XU=o("p","timing",d.pml),tT=o("p","tnLst",d.pml),jU=o("p","par",d.pml),nT=o("p","cTn",d.pml),$U=o("p","childTnLst",d.pml),UU=o("p","extLst",d.pml),GU=o("","id",""),Fg=e=>m(e[te].root,XU),qU=(e,t)=>{let n=e[te].root,r=m(n,UU);r===null?n.children.push(t):n.children.splice(n.children.indexOf(r),0,t)},tn=e=>{let t=m(e,tT),n=t?m(t,jU):null,r=n?m(n,nT):null;return r?m(r,$U):null},Rs=e=>{let t=0,n=r=>{if(r.name.namespaceURI===d.pml&&r.name.localName==="cTn"){let a=Number.parseInt(x(r,GU)??"",10);Number.isFinite(a)&&a>t&&(t=a)}for(let a of r.children)a.kind==="element"&&n(a)};return n(e),t},rm=(e,t,n)=>{let r=Fg(e);if(r===null){qU(e,Ac([Ec(t,n,2)]));return}let a=Ec(t,n,Rs(r)+1),l=tn(r);if(l!==null){l.children.push(a);return}let i=Ac([a]),s=r.children.filter(c=>!(c.kind==="element"&&c.name.namespaceURI===d.pml&&c.name.localName==="tnLst"));r.children=[...i.children,...s]},Ig=(e,t)=>{let n=Fg(e);if(n===null)return;let r=tn(n),a=!1,l=p=>{let u=!1;return p.children=p.children.filter(f=>{if(f.kind!=="element")return!0;if(hr(f)){let g=lo(f);if(g!==null&&t.has(g))return u=!0,!1}let y=l(f);return u||=y,y&&f.name.namespaceURI===d.pml&&["childTnLst","subTnLst","tnLst"].includes(f.name.localName)&&!f.children.some(g=>g.kind==="element")?(f===r&&(a=!0),!1):!0}),u};if(!l(n))return;let s=m(n,tT)?.children.filter(p=>p.kind==="element")??[],c=s.length===1?m(s[0],nT):null;if(a&&s.length===1&&s[0].name.localName==="par"&&c!==null&&!c.children.some(p=>p.kind==="element")){let p=e[te].root;p.children=p.children.filter(u=>u!==n)}};var rT=(e,t)=>{let n=Fg(e);if(n===null)return null;let r={first:null},a=0,l=(i,s,c)=>{let p=i.name.namespaceURI===d.pml&&i.name.localName==="cTn"?[...s,i]:s,u=c||i.name.namespaceURI===d.pml&&["seq","excl","subTnLst"].includes(i.name.localName);hr(i)&&lo(i)===t&&(a++,r.first===null&&(r.first={node:i,ancestors:p,hasDependentTimingAncestor:u,duplicateTarget:!1}));for(let f of i.children)f.kind==="element"&&l(f,p,u)};return l(n,[],!1),r.first===null?null:{...r.first,duplicateTarget:a>1}};var HU=o("p","timing",d.pml),VU=o("p","bldLst",d.pml),Xg=o("p","stCondLst",d.pml),zU=o("p","cond",d.pml),Co=o("p","cTn",d.pml),lT=o("p","childTnLst",d.pml),WU=o("p","attrNameLst",d.pml),YU=o("p","attrName",d.pml),ZU=o("p","tgtEl",d.pml),KU=o("p","spTgt",d.pml),JU=o("p","txEl",d.pml),QU=o("p","pRg",d.pml),oT=o("","id",""),eG=o("","dur",""),iT=o("","delay",""),tG=o("","evt",""),jg=o("","nodeType",""),sT=o("","presetID",""),dT=o("","presetClass",""),nG=o("","presetSubtype",""),cT=o("","grpId",""),mT=o("","spid",""),rG=o("","build",""),aG=o("","bldLvl",""),lG=o("","st",""),oG=o("","end",""),Bg=o("","fill",""),Og=new Set(["hold","freeze"]),iG="style.visibility",sG=new Set(["set","anim","animClr","animEffect","animMotion","animRot","animScale","cmd"]),dG=new Set(["clickEffect","withEffect","afterEffect"]),ll=(e,t)=>e.name.namespaceURI===d.pml&&e.name.localName===t,pT=e=>{if(e===null||!/^[+-]?\d+$/.test(e))return null;let t=Number(e);return Number.isSafeInteger(t)?t:null},Hr=(e,t)=>pT(x(e,t)),ol=e=>m(e[te].root,HU),cG=e=>{let t=new Map,n=m(e,VU);if(n===null)return t;for(let r of n.children){if(r.kind!=="element")continue;let a=x(r,mT),l=x(r,cT);a!==null&&t.set(`${a}:${l??"0"}`,r)}return t},mG=e=>{let t=m(e,Co),n=t===null?null:x(t,jg);return n==="mainSeq"?"mainSeq":n==="interactiveSeq"?"interactiveSeq":"other"},pG=e=>{let t=m(e,lT);return t===null?!1:t.children.some(n=>n.kind==="element"&&n.name.namespaceURI===d.pml&&sG.has(n.name.localName))},uG=e=>x(e,sT)!==null||x(e,dT)!==null||dG.has(x(e,jg)??"")||pG(e),uT=(e,t)=>{if(!ll(e,"cBhvr")){if(ll(e,"cTn")&&uG(e)){t.push(e);return}for(let n of e.children)n.kind==="element"&&uT(n,t)}},$g=e=>{let t=[],n=r=>{for(let a of r.children)if(a.kind==="element"){if(ll(a,"cBhvr")){t.push({owner:r,cBhvr:a});continue}n(a)}};return n(e),t},fG=e=>{let t=Hr(e,mT);if(t===null)return{kind:"unsupported",shapeId:null};let n=e.children.filter(l=>l.kind==="element");if(n.length===0)return{kind:"shape",shapeId:t};let r=m(e,JU),a=r===null?null:m(r,QU);if(n.length===1&&a!==null){let l=Hr(a,lG),i=Hr(a,oG);if(l!==null&&i!==null&&l<=i)return{kind:"paragraphs",shapeId:t,firstParagraph:l,lastParagraph:i}}return{kind:"unsupported",shapeId:t}},aT=e=>e.kind==="paragraphs"?`p:${e.shapeId}:${e.firstParagraph}:${e.lastParagraph}`:`${e.kind}:${e.shapeId??""}`,hG=e=>{let t=$g(e).flatMap(({cBhvr:l})=>{let i=m(l,ZU);if(i===null)return[];let s=m(i,KU);return[s===null?{kind:"unsupported",shapeId:null}:fG(s)]}),n=[...new Set(t.flatMap(l=>l.shapeId===null?[]:[l.shapeId]))];if(t.length===0)return{target:{kind:"unsupported",shapeId:null},targetShapeIds:n};let r=t[0],a=aT(r);return t.some(l=>aT(l)!==a)?{target:{kind:"unsupported",shapeId:null},targetShapeIds:n}:{target:r,targetShapeIds:n}},gG=e=>{let t=m(e,Xg),n=t===null?null:m(t,zU);return n===null?null:Hr(n,iT)},fT=({owner:e,cBhvr:t})=>{if(!ll(e,"set"))return!1;let n=m(t,WU);return((n===null?null:m(n,YU))?.children.find(a=>a.kind==="text")?.data??"")===iG},yG=e=>Hr(e,eG)??Cs(e),xG=e=>{if(!Og.has(x(e,Bg)??""))return!1;let t=$g(e),n=t.filter(fT);for(let{cBhvr:r}of n.length>0?n:t){let a=m(r,Co);if(a===null||!Og.has(x(a,Bg)??""))return!1}return!0},SG=e=>{let t=!0;for(let n of $g(e)){if(fT(n))continue;let r=m(n.cBhvr,Co),a=r===null?null:x(r,Bg);if(a===null)t=!1;else if(!Og.has(a))return"removed"}return t?"held":"unstated"},bG={whole:"asOneObject",allAtOnce:"allAtOnce",p:"byParagraph",cust:"custom"},EG=(()=>{let e=new Map;for(let t of eg){let n={effect:t.effect,options:t.options};e.set(`${t.presetClass}:${t.presetId}:${t.presetSubtype}`,n),t.optionless&&e.set(`${t.presetClass}:${t.presetId}:-`,n)}return e})(),AG=e=>{switch(x(e,jg)){case"clickEffect":return"click";case"withEffect":return"withPrevious";case"afterEffect":return"afterPrevious";default:return"unknown"}},TG=e=>{let t=new Map,n=r=>{if(ll(r,"cTn")){let a=Hr(r,oT);a!==null&&t.set(a,(t.get(a)??0)+1)}for(let a of r.children)a.kind==="element"&&n(a)};return n(e),t},wG=(e,t,n,r)=>{let a=x(e,dT),l=Hr(e,sT),{target:i,targetShapeIds:s}=hG(e),c=AG(e),p=Hr(e,oT),u=p!==null&&r.get(p)===1?p:null,f=x(e,cT)??"0",y=i.kind==="unsupported"?void 0:t.get(`${i.shapeId}:${f}`),g=x(e,nG),S=g===null?"-":pT(g)??"unreadable",E=EG.get(`${a}:${l}:${S}`)??null,A=E===null?null:qh(E.effect,e),T=A===null?null:E,w=T?.effect??null,v=n==="mainSeq"&&c!=="unknown"&&i.kind!=="unsupported"&&w!==null&&(a==="emph"||xG(e));return{id:u,target:i,targetShapeIds:s,effect:w,direction:T?.options.direction??null,orientation:T?.options.orientation??null,inOut:T?.options.inOut??null,shape:T?.options.shape??null,spokes:T?.options.spokes??null,spinDirection:A?.spinDirection??null,spinDegrees:A?.spinDegrees??null,scaleDirection:A?.scaleDirection??null,scalePercent:A?.scalePercent??null,transparencyPercent:A?.transparencyPercent??null,color:A?.color??null,presetId:l,presetClass:a,start:c,durationMs:yG(e),delayMs:gG(e),valueAfterEnd:SG(e),build:bG[(y===void 0?null:x(y,rG))??"whole"]??"asOneObject",buildLevel:y===void 0?null:Hr(y,aG),sequence:n,playable:v,editable:v&&u!==null}},Ns=e=>{let t=ol(e);return t===null?[]:il(t)},il=e=>{let t=tn(e);if(t===null)return[];let n=cG(e),r=TG(e),a=[];for(let l of t.children){if(l.kind!=="element"||hr(l))continue;let i=mG(l),s=[];uT(l,s);for(let c of s)a.push({step:wG(c,n,i,r),cTn:c,sequence:l})}return a},vG=e=>{if(e===null||!/^\d+$/.test(e))return null;let t=Number(e);return Number.isSafeInteger(t)?t:null},Ug=e=>{let t=m(e,Xg);if(t===null)return null;let n=t.children.filter(a=>a.kind==="element"&&ll(a,"cond"));if(n.length!==1)return null;let r=n[0];return x(r,tG)!==null||r.children.some(a=>a.kind==="element")?null:r},hT=e=>{if(m(e,Xg)===null)return 0;let t=Ug(e);return t===null?null:vG(x(t,iT))},CG=new Set(["repeatCount","repeatDur","spd","autoRev"]),gT=e=>e.attrs.some(t=>t.name.namespaceURI===""&&CG.has(t.name.localName)),PG=e=>{let t=m(e,Co);if(t===null||gT(t)||m(t,o("p","iterate",d.pml))!==null)return null;let n=hT(t);if(n===null)return null;let r=Hc(t,!0);return r===null?null:n+r},Po=e=>{let t=m(e,Co);if(t===null||gT(t))return null;let n=hT(t);if(n===null)return null;let r=m(t,lT);if(r===null)return null;let a=r.children.filter(i=>i.kind==="element");if(!a.every(i=>ll(i,"par")))return null;let l=null;for(let i of a){let s=PG(i);if(s===null)return null;l=Math.max(l??0,s)}return l===null?null:n+l},yT=(e,t)=>{let n=m(e,Co),r=n===null?null:Ug(n);return r===null?!1:(r.attrs=r.attrs.map(a=>a.name.namespaceURI===""&&a.name.localName==="delay"?{...a,value:String(t)}:a),!0)},LG=(e,t,n)=>{let r=e.attrs.some(a=>a.name.namespaceURI===""&&a.name.localName===t);e.attrs=r?e.attrs.map(a=>a.name.namespaceURI===""&&a.name.localName===t?{...a,value:n}:a):[...e.attrs,{name:o("",t,""),value:n}]},xT=(e,t)=>{let n=Ug(e);return n===null?!1:(LG(n,"delay",String(t)),!0)};var Oe=e=>o("a",e,d.dml),Sn=(e,t)=>e.name.namespaceURI===d.dml&&e.name.localName===t,zn=e=>structuredClone(e),ET=(e,t)=>h(Oe("r"),{children:[...t?[zn(t)]:[],h(Oe("t"),{children:[be(e)]})]}),am=(e,t,n=!1)=>{let r=zn(e);n&&(r.name=Oe("r"),r.attrs=r.attrs.filter(l=>l.name.namespaceURI!==""||!["id","type"].includes(l.name.localName)),r.children=r.children.filter(l=>l.kind!=="element"||!Sn(l,"pPr")));let a=m(r,Oe("t"));return a&&(a.children=[be(t)]),r},Ds=e=>e.toLowerCase()!==e.toUpperCase(),RG=(e,t)=>{let n=Array.from(e),r=n.map(()=>t);if(t==="sentence"){let a=!0;n.forEach((l,i)=>{Ds(l)&&(r[i]=a?"upper":"lower",a=!1),(l==="."||l==="?"||l==="!"||l===`
|
|
14
|
-
`)&&(a=!0)})}else if(t==="title"){let a=new Intl.Segmenter(void 0,{granularity:"word"}),l=0;for(let{segment:i,isWordLike:s}of a.segment(e)){let c=Array.from(i);if(s){let p=c.findIndex(Ds);c.forEach((u,f)=>{Ds(u)&&(r[l+f]=f===p?"upper":"lower")})}l+=c.length}}return r},AT=(e,t)=>{let n=Array.from(e),r=e.toLowerCase(),a=n.map(p=>p.toLowerCase().length);if(a.reduce((p,u)=>p+u,0)!==r.length)throw new Error("Unicode case mapping cannot be partitioned safely");let i=RG(e,t),s=[],c=0;return n.forEach((p,u)=>{let f=a[u];s.push(i[u]==="upper"?p.toUpperCase():r.slice(c,c+f)),c+=f}),s},TT=e=>{let t=Array.from(e),n=e.toLowerCase(),r=t.map(i=>i.toLowerCase().length);if(r.reduce((i,s)=>i+s,0)!==n.length)throw new Error("Unicode case mapping cannot be partitioned safely");let a=[],l=0;return t.forEach((i,s)=>{let c=r[s];a.push(Ds(i)&&i===i.toUpperCase()?n.slice(l,l+c):Ds(i)?i.toUpperCase():n.slice(l,l+c)),l+=c}),a},wT=(e,t)=>t==="lower"?e.toLowerCase():t==="upper"?e.toUpperCase():t==="toggle"?TT(e).join(""):AT(e,t).join(""),NG=(e,t,n)=>{let r=Array.from(e),a=n==="lower"||n==="sentence"||n==="title"?AT(e,n).map(i=>i.length):n==="toggle"?TT(e).map(i=>i.length):r.map(i=>wT(i,n).length);if(a.reduce((i,s)=>i+s,0)!==t.length)throw new Error("Unicode case mapping cannot be partitioned safely");let l=[0];for(let i of a)l.push(l.at(-1)+i);return l};function Lo(e,t,n){if(!["sentence","lower","upper","title","toggle"].includes(t))throw new RangeError("text case must be one of sentence, lower, upper, title, toggle");let r=Je(e),a=n??{start:0,end:r.length};nn(r,a,"setText");let l=r.slice(a.start,a.end),i=wT(l,t);if(l===i)return;let s=NG(l,i,t),c=Array.from({length:l.length+1}),p=0;for(let y=0;y<l.length;){c[y]=p;let g=l.codePointAt(y)>65535?2:1;g===2&&(c[y+1]=p),y+=g,p++}c[l.length]=p;let u=y=>s[c[y]]??i.length,f=0;for(let y of Fa(e)){for(let g of y.children){if(g.kind!=="element"||g.name.namespaceURI!==d.dml||!["r","fld"].includes(g.name.localName)){g.kind==="element"&&Sn(g,"br")&&f++;continue}let S=m(g,Oe("t"));if(!S)continue;let E=cn(S),A=f,T=A+E.length,w=Math.max(a.start,A),v=Math.min(a.end,T);if(w<v){let C=u(w-a.start),R=u(v-a.start),N=E.slice(0,w-A),_=E.slice(v-A),k=i.slice(C,R);S.children=[be(N+k+_)]}f=T}f++}}function Gg(e,t,n){let r=[],a=0;for(let l of e.children){if(l.kind!=="element"||l.name.namespaceURI!==d.dml||!["r","fld","br"].includes(l.name.localName))continue;let i=Sn(l,"br")?`
|
|
15
|
-
`:cn(m(l,Oe("t"))??h(Oe("t"))),s=a+i.length,c=Math.max(t,a),p=Math.min(n,s);c<p&&r.push(c===a&&p===s?zn(l):Sn(l,"r")||Sn(l,"fld")?am(l,i.slice(c-a,p-a),Sn(l,"fld")):ET(i.slice(c-a,p-a),m(l,Oe("rPr")))),a=s}return r}function qg(e,t){return lm(e,[t])[0]}function lm(e,t){let n=Je(e);for(let l of t)nn(n,l,"setShapeParagraphs");let r=0,a=Fa(e).map(l=>{let i=r,s=i+aa(l).length;return r=s+1,{paragraph:l,start:i,end:s}});return t.map(l=>{let i=[],s=0,c=a.length;for(;s<c;){let p=Math.floor((s+c)/2);a[p].end<l.start?s=p+1:c=p}for(let p=s;p<a.length;p++){let{paragraph:u,start:f,end:y}=a[p];if(f>l.end)break;let g=Math.max(0,l.start-f),S=Math.min(y-f,l.end-f),E=zn(u);if(g!==0||S!==y-f){let A=Gg(u,g,S),T=!1;E.children=E.children.flatMap(w=>w.kind!=="element"||!["r","fld","br"].some(v=>Sn(w,v))?[w]:T?[]:(T=!0,A))}i.push(E)}return i})}function DG(e,t,n){let r=0,a=null;for(let s of e.children){if(s.kind!=="element"||s.name.namespaceURI!==d.dml||!["r","fld","br"].includes(s.name.localName))continue;let c=Sn(s,"br")?1:cn(m(s,Oe("t"))??h(Oe("t"))).length,p=m(s,Oe("rPr"));if(t<r+c||n&&t===r+c)return p;r+=c,a=p}let l=m(e,Oe("endParaRPr"));if(a||!l)return a;let i=zn(l);return i.name=Oe("rPr"),i}var ST=e=>{if(!Sn(e,"r")||e.attrs.length>0)return null;let t="";for(let n of e.children)if(n.kind==="element"){if(Sn(n,"rPr"))t=Fi(n);else if(!Sn(n,"t"))return null}return t},bT=(e,t)=>{let n=e.at(-1),r=t[0];if(!n||!r)return[...e,...t];let a=ST(n);if(a===null||a!==ST(r))return[...e,...t];let l=am(n,cn(m(n,Oe("t"))??h(Oe("t")))+cn(m(r,Oe("t"))??h(Oe("t"))));return[...e.slice(0,-1),l,...t.slice(1)]};function Ro(e,t,n,r="paragraph"){let a=Je(e);if(n&&nn(a,n,"setText"),n?a.slice(n.start,n.end)===t&&!t.includes(`
|
|
16
|
-
`):a===t)return;let l=Array.from(a),i=Array.from(t),s=0;for(;s<l.length&&s<i.length&&l[s]===i[s];)s++;let c=0;for(;c<l.length-s&&c<i.length-s&&l[l.length-1-c]===i[i.length-1-c];)c++;let p=n?.start??l.slice(0,s).join("").length,u=n?.end??a.length-l.slice(l.length-c).join("").length,f=n?t:i.slice(s,i.length-c).join(""),g=Fa(e).map(re=>({paragraph:re,length:aa(re).length})),S=0,E=0,A=0,T=0,w=0;for(let re=0;re<g.length;re++){let Se=g[re];p>S+Se.length&&(E=re+1,T=S+Se.length+1),u>S+Se.length&&(A=re+1,w=S+Se.length+1),S+=Se.length+1}let v=g[E]?.paragraph??h(Oe("p")),C=g[A]?.paragraph??v,R=Gg(v,0,p-T),N=Gg(C,u-w,aa(C).length),_=DG(v,p-T,p===u),k=r==="break"?[f]:f.split(`
|
|
17
|
-
`),M=k.map((re,Se)=>{let Ce=zn(v),me=m(Ce,Oe("pPr")),we=m(Se===k.length-1?C:v,Oe("endParaRPr")),Ne=re||(Se!==0||R.length===0)&&(Se!==k.length-1||N.length===0)?re.split(`
|
|
18
|
-
`).flatMap((Xe,ze)=>[...ze?[h(Oe("br"),{children:_?[zn(_)]:[]})]:[],...Xe||!re?[ET(Xe,_)]:[]]):[];return Ce.children=[...me?[me]:[],...bT(bT(Se===0?R:[],Ne),Se===k.length-1?N:[]),...we?[zn(we)]:[]],Ce}),I=e.children.indexOf(v),K=e.children.indexOf(C);I===-1?e.children.push(...M):e.children.splice(I,K-I+1,...M)}function No(e,t,n,r=!1,a){mr(h(Oe("rPr")),t,void 0,a&&{check:a.check,embed:()=>""}),sl(e,n,l=>{r&&Zd(l),mr(l,t,void 0,a)})}function Do(e,t,n,r=!1,a){let l=Fa(e)[t];if(!l)throw new RangeError(`paragraph index out of range: ${t}`);let i=m(l,Oe("endParaRPr")),s=i?zn(i):h(Oe("endParaRPr"));r&&Zd(s),mr(s,n,void 0,a),i?l.children[l.children.indexOf(i)]=s:l.children.push(s)}function sl(e,t,n){nn(Je(e),t,"text range");let{start:r,end:a}=t;if(r===a)return;let l=zn(e),i=0;for(let s of Fa(l)){let c=[];for(let p of s.children){if(p.kind!=="element"||p.name.namespaceURI!==d.dml||!["r","fld","br"].includes(p.name.localName)){c.push(p);continue}let u=Sn(p,"br")?`
|
|
19
|
-
`:cn(m(p,Oe("t"))??h(Oe("t"))),f=Math.max(0,r-i),y=Math.min(u.length,a-i);if(i+=u.length,f>=y){c.push(p);continue}let g=(A,T)=>A===0&&T===u.length?zn(p):Sn(p,"fld")?am(p,u.slice(A,T),!0):am(p,u.slice(A,T));f>0&&c.push(g(0,f));let S=g(f,y),E=m(S,Oe("rPr"));E||(E=h(Oe("rPr")),S.children.unshift(E)),n(E),c.push(S),y<u.length&&c.push(g(y,u.length))}s.children=c,i++}e.children=l.children}function nn(e,t,n){let{start:r,end:a}=t,l=i=>i>0&&i<e.length&&/[\uD800-\uDBFF]/.test(e[i-1])&&/[\uDC00-\uDFFF]/.test(e[i]);if(!Number.isInteger(r)||!Number.isInteger(a)||r<0||a<r||a>e.length||l(r)||l(a))throw new RangeError(`${n}: range must contain valid UTF-16 boundaries within the text`)}function St(e,t){let n=e?.trim();if(!n)return t;let r=n.endsWith("%"),a=Number(r?n.slice(0,-1):n);return Number.isFinite(a)?a/(r?100:1e5):t}var om=(e,t)=>{if(!e)return{};let n={},r=m(e,o("a","buClr",d.dml));if(m(e,o("a","buClrTx",d.dml)))n.color=null,n.colorFollowText=!0;else if(r){let u=r.children.find(f=>f.kind==="element"&&f.name.namespaceURI===d.dml);u&&(n.color=t(u),n.colorFollowText=!1)}let l=m(e,o("a","buSzTx",d.dml)),i=m(e,o("a","buSzPct",d.dml)),s=m(e,o("a","buSzPts",d.dml));if(l)n.sizePct=null,n.sizePts=null,n.sizeFollowText=!0;else if(i){let u=x(i,o("","val","")),f=u===null?Number.NaN:St(u,Number.NaN);Number.isFinite(f)&&(n.sizePct=f,n.sizePts=null,n.sizeFollowText=!1)}else if(s){let u=x(s,o("","val","")),f=u===null?Number.NaN:Number.parseInt(u,10)/100;Number.isFinite(f)&&(n.sizePct=null,n.sizePts=f,n.sizeFollowText=!1)}let c=m(e,o("a","buFontTx",d.dml)),p=m(e,o("a","buFont",d.dml));return c?(n.font=null,n.fontFollowText=!0):p&&(n.font=x(p,o("","typeface","")),n.fontFollowText=!1),n};var CT="application/vnd.openxmlformats-officedocument.theme+xml",im=o("a","themeElements",d.dml),PT=o("a","clrScheme",d.dml),LT=o("a","srgbClr",d.dml),_G=o("a","sysClr",d.dml),kG=o("","val",""),MG=o("","name",""),FG=o("","typeface",""),IG=[["dark1","dk1"],["light1","lt1"],["dark2","dk2"],["light2","lt2"],["accent1","accent1"],["accent2","accent2"],["accent3","accent3"],["accent4","accent4"],["accent5","accent5"],["accent6","accent6"],["hyperlink","hlink"],["followedHyperlink","folHlink"]],Mn=(e,t)=>{let n=m(e,o("a",t,d.dml));if(!n)return"";let r=m(n,LT);if(r){let l=x(r,o("","val",""));if(l)return`#${l.toUpperCase()}`}let a=m(n,_G);if(a){let l=x(a,o("","lastClr",""));if(l)return`#${l.toUpperCase()}`}return""},Fe=e=>Vr(e[L]),vT=new WeakMap,Vg=e=>{let t=vT.get(e);return t||(t=$(V(e)).root,vT.set(e,t)),t},RT=(e,t)=>t.startsWith("/")?G(t):H(e,t),Hg=(e,t)=>{let n=e.getRels(t)?.items.find(a=>a.type===D.theme&&a.targetMode==="Internal");if(!n)return null;let r=e.getPart(RT(t,n.target));return r!==null&&r.contentType===CT?r:null},BG=e=>{let t=e.getPart(Y),n=e.getRels(Y);if(t===null||n===null)return null;let a=m(Vg(t.data),Xt)?.children.find(s=>s.kind==="element"),l=a?.kind==="element"?x(a,ct):null,i=n.items.find(s=>s.type===D.slideMaster&&(l===null||s.id===l))??n.items.find(s=>s.type===D.slideMaster);return i?RT(Y,i.target):null},sm=e=>{let t=BG(e),n=t===null?null:Hg(e,t);if(n)return n;let r=Hg(e,Y);return r||e.parts.filter(a=>a.contentType===CT).sort((a,l)=>a.name.localeCompare(l.name))[0]},Wn=(e,t)=>{let n=(t?Hg(e,t):null)??sm(e);return n?Vg(n.data):null},Vr=(e,t)=>{let n=Wn(e,t);if(!n)return null;let r=m(n,im);if(!r)return null;let a=m(r,PT);return a?{name:x(a,o("","name",""))??"",dark1:Mn(a,"dk1"),light1:Mn(a,"lt1"),dark2:Mn(a,"dk2"),light2:Mn(a,"lt2"),accent1:Mn(a,"accent1"),accent2:Mn(a,"accent2"),accent3:Mn(a,"accent3"),accent4:Mn(a,"accent4"),accent5:Mn(a,"accent5"),accent6:Mn(a,"accent6"),hyperlink:Mn(a,"hlink"),followedHyperlink:Mn(a,"folHlink")}:null},zg=e=>{if(!e)return null;let t=m(e,im);if(!t)return null;let n=m(t,o("a","fontScheme",d.dml));if(!n)return null;let r=m(n,o("a","majorFont",d.dml)),a=m(n,o("a","minorFont",d.dml));return{majorLatin:_o(r,"latin"),majorEastAsian:_o(r,"ea"),majorComplexScript:_o(r,"cs"),minorLatin:_o(a,"latin"),minorEastAsian:_o(a,"ea"),minorComplexScript:_o(a,"cs")}},_o=(e,t)=>{if(!e)return null;let n=m(e,o("a",t,d.dml));if(!n)return null;let r=x(n,o("","typeface",""));return r||null},Mo=e=>{let t=e[L],n=sm(t);return n?zg(Vg(n.data)):null},NT=(e,t)=>{let n=e[L],r=sm(n);if(!r)throw new Error("setPresentationTheme: presentation has no theme part");let a=$(V(r.data)),l=m(a.root,im);if(!l)throw new Error("setPresentationTheme: theme part has no <a:themeElements>");let i=m(l,PT);if(!i)throw new Error("setPresentationTheme: theme part has no <a:clrScheme>");t.name!==void 0&&(i.attrs=i.attrs.filter(s=>s.name.localName!=="name"),i.attrs.push(b(MG,t.name)));for(let[s,c]of IG){let p=t[s];if(p===void 0)continue;let u=Oi(p);if(u===null)throw new Error(`setPresentationTheme: "${s}" must be a #RRGGBB or #RGB color, got ${JSON.stringify(p)}`);let f=o("a",c,d.dml),y=i.children.findIndex(g=>g.kind==="element"&&g.name.namespaceURI===d.dml&&g.name.localName===c);if(y<0)throw new Error(`setPresentationTheme: clrScheme is missing <a:${c}>`);i.children[y]=h(f,{children:[h(LT,{attrs:[b(kG,u)]})]})}r.data=le(ae(a))},ko=(e,t,n)=>{let r=m(e,o("a",t,d.dml));if(!r)throw new Error(`setPresentationFonts: fontScheme is missing <a:${t}>`);r.attrs=r.attrs.filter(a=>a.name.localName!=="typeface"),r.attrs.push(b(FG,n))},DT=(e,t)=>{let n=e[L],r=sm(n);if(!r)throw new Error("setPresentationFonts: presentation has no theme part");let a=$(V(r.data)),l=m(a.root,im);if(!l)throw new Error("setPresentationFonts: theme part has no <a:themeElements>");let i=m(l,o("a","fontScheme",d.dml));if(!i)throw new Error("setPresentationFonts: theme part has no <a:fontScheme>");let s=m(i,o("a","majorFont",d.dml));if(!s)throw new Error("setPresentationFonts: fontScheme has no <a:majorFont>");let c=m(i,o("a","minorFont",d.dml));if(!c)throw new Error("setPresentationFonts: fontScheme has no <a:minorFont>");t.majorLatin!==void 0&&ko(s,"latin",t.majorLatin),t.majorEastAsian!==void 0&&ko(s,"ea",t.majorEastAsian),t.majorComplexScript!==void 0&&ko(s,"cs",t.majorComplexScript),t.minorLatin!==void 0&&ko(c,"latin",t.minorLatin),t.minorEastAsian!==void 0&&ko(c,"ea",t.minorEastAsian),t.minorComplexScript!==void 0&&ko(c,"cs",t.minorComplexScript),r.data=le(ae(a))};var Wg=(e,t,n)=>{if(t==="fill"||n===null)return e;let r=Math.min(e.w/n.width,e.h/n.height),a=Math.round(n.width*r),l=Math.round(n.height*r),i=e.x+Math.round((e.w-a)/2),s=e.y+Math.round((e.h-l)/2);return{x:i,y:s,w:a,h:l}},_T=(e,t,n={})=>{if(e[U].kind!=="picture")throw new Error(`setShapeImage only works on picture shapes; ${e[U].kind} is not one`);let r=n.format??ut(t);if(r===null)throw new Error("setShapeImage: could not detect image format. Pass options.format explicitly.");let a=Ua(e[F]);if(a===null)throw new Error(`picture "${e[U].name}" has no r:embed`);let l=e[X],i=l[L],s=i.getRels(l[O]);if(s===null)throw new Error(`slide ${l[O]} has no rels`);let c=s.items.find(C=>C.id===a);if(!c)throw new Error(`slide rels missing entry for r:embed="${a}"`);if(c.targetMode==="External")throw new Error("setShapeImage: r:embed must reference internal media");let p=c.target.startsWith("/")?G(c.target):H(l[O],c.target),u=gn(r),f=yn(r),y=p.lastIndexOf("."),g=y>=0?p.slice(y+1).toLowerCase():"",S=0;_t(l[te].root,C=>{for(let R of C.attrs)R.name.namespaceURI===d.officeDocRels&&R.value===a&&S++});let E=S>1,A=new Map(i.parts.map(C=>[C.name.toLowerCase(),C])),T=p.toLowerCase(),w=new TextDecoder,v=E||i.parts.some(C=>{let R=A.get(Dt(C.name).toLowerCase());return R?za(w.decode(R.data)).items.some(N=>N.targetMode!=="External"&&!(C.name.toLowerCase()===l[O].toLowerCase()&&N.id===a)&&H(C.name,N.target).toLowerCase()===T):!1});if(g===u&&!v){let C=i.getPart(p);if(!C)throw new Error(`media part missing: ${p}`);C.data=t,C.contentType=f}else{let C=1,R=/^\/ppt\/media\/image(\d+)\./i;for(let M of i.parts){let I=M.name.match(R);if(I?.[1]!==void 0){let K=Number.parseInt(I[1],10);Number.isFinite(K)&&K>=C&&(C=K+1)}}let N=G(`/ppt/media/image${C}.${u}`);i.contentTypes.defaults.some(M=>M.extension.toLowerCase()===u)||i.contentTypes.defaults.push({extension:u,contentType:f}),i.addPart(N,f,t);let k=`../media/image${C}.${u}`;if(E){let M=se(s.items.map(re=>re.id)),I=m(e[F],o("p","blipFill",d.pml)),K=m(I,o("a","blip",d.dml));K.attrs=K.attrs.map(re=>re.name.namespaceURI===d.officeDocRels&&re.name.localName==="embed"?{...re,value:M}:re),s.items.push({...c,id:M,target:k})}else c.target=k;i.setRels(l[O],s)}if(n.fit==="contain"){let C=Rt(e[F],"picture"),R=At(e[F],"picture"),N=Ya(t);if(C!==null&&R!==null&&N!==null){let _=Wg({x:C.x,y:C.y,w:R.w,h:R.h},"contain",N);pn(e[F],"picture",_.x,_.y),un(e[F],"picture",_.w,_.h)}}ce(l),ge(l)};var jt=e=>o("p",e,d.pml),Yg=o("","id",""),kT=o("","name",""),cm=o("r","id",d.officeDocRels),dm=(e,t)=>e.name.namespaceURI===d.pml&&e.name.localName===t;function MT(e){return e[L].getRels(Y)?.items.filter(t=>t.type===D.slide&&t.targetMode==="Internal")??[]}function dl(e){let t=e[L].getPart(Y);if(!t)return[];let n=m($(V(t.data)).root,jt("custShowLst"));if(!n)return[];let r=new Map(z(e).map(l=>[l[O],l])),a=new Map(MT(e).map(l=>[l.id,r.get(H(Y,l.target))]));return Q(n,jt("custShow")).map(l=>{let i=m(l,jt("sldLst"));return{id:Number(x(l,Yg)),name:x(l,kT)??"",slides:i?Q(i,jt("sld")).flatMap(s=>{let c=a.get(x(s,cm)??"");return c?[c]:[]}):[]}})}function FT(e,t){let n=e[L],r=n.getPart(Y);if(!r)throw new Error("presentation.xml missing");let a=$(V(r.data)),l=m(a.root,jt("custShowLst")),i=new Map(MT(e).map(g=>[H(Y,g.target),g.id])),s=new Set(z(e).map(g=>g[O])),c=new Set,p=t.map(g=>{if(!Number.isInteger(g.id)||g.id<0||g.id>4294967295||c.has(g.id))throw new Error("Custom show IDs must be unique unsigned integers");if(typeof g.name!="string")throw new Error("Custom show name must be a string");return c.add(g.id),{...g,relationships:g.slides.map(S=>{let E=i.get(S[O]);if(S[L]!==n||!s.has(S[O])||!E)throw new Error("Custom show slide must belong to this presentation");return E})}}),u=l?Q(l,jt("custShow")):[],f=new Map(u.map(g=>[x(g,Yg),g])),y=p.map(g=>{let S=f.get(String(g.id))??h(jt("custShow"));S.attrs=S.attrs.filter(C=>!(C.name.namespaceURI===""&&["id","name"].includes(C.name.localName))),S.attrs.push(b(Yg,String(g.id)),b(kT,g.name));let E=m(S,jt("sldLst")),A=E??h(jt("sldLst")),T=E?Q(E,jt("sld")):[],w=new Map;for(let C of T){let R=x(C,cm);if(!R)continue;let N=w.get(R)??{slides:[],next:0};N.slides.push(C),w.set(R,N)}let v=g.relationships.map(C=>{let R=w.get(C),N=R&&R.next<R.slides.length?R.slides[R.next++]:h(jt("sld"));return N.attrs=N.attrs.filter(_=>!(_.name.namespaceURI===d.officeDocRels&&_.name.localName==="id")),N.attrs.push(b(cm,C)),N});return S.children=[A,...S.children.filter(C=>C.kind!=="element"||!dm(C,"sldLst"))],A.children=[...v,...A.children.filter(C=>C.kind!=="element"||!dm(C,"sld"))],S});if(l)l.children=[...y,...l.children.filter(g=>g.kind!=="element"||!dm(g,"custShow"))];else if(y.length){let g=h(jt("custShowLst"),{children:y}),S=new Set(["photoAlbum","custDataLst","kinsoku","defaultTextStyle","modifyVerifier","extLst"]),E=a.root.children.findIndex(A=>A.kind==="element"&&A.name.namespaceURI===d.pml&&S.has(A.name.localName));a.root.children.splice(E<0?a.root.children.length:E,0,g)}else return;r.data=le(ae(a))}function IT(e,t){let n=m(e,jt("custShowLst"));if(n)for(let r of Q(n,jt("custShow"))){let a=m(r,jt("sldLst"));a&&(a.children=a.children.filter(l=>l.kind!=="element"||!dm(l,"sld")||x(l,cm)!==t))}}var mm=o("a","hlinkClick",d.dml),Fn=e=>{let t=e[F],n=e[U].kind,r=n==="shape"?"nvSpPr":n==="picture"?"nvPicPr":n==="connector"?"nvCxnSpPr":n==="graphicFrame"?"nvGraphicFramePr":n==="group"?"nvGrpSpPr":null;if(r===null)return null;let a=m(t,o("p",r,d.pml));return a?m(a,o("p","cNvPr",d.pml)):null},OG=(e,t)=>e===null?null:e.items.find(r=>r.type===D.hyperlink&&r.target===t&&r.targetMode==="External")?.id??null,BT=e=>{let t=Fn(e);if(!t)return null;let n=m(t,mm);return n?_s(e[X],n):null},_s=(e,t)=>{let n=x(t,o("","action","")),r=x(t,o("r","id",d.officeDocRels));if(n==="ppaction://hlinkshowjump?jump=nextslide")return{kind:"nextSlide"};if(n==="ppaction://hlinkshowjump?jump=previousslide")return{kind:"prevSlide"};if(n==="ppaction://hlinkshowjump?jump=firstslide")return{kind:"firstSlide"};if(n==="ppaction://hlinkshowjump?jump=lastslide")return{kind:"lastSlide"};if(n==="ppaction://hlinkshowjump?jump=lastslideviewed")return{kind:"lastSlideViewed"};if(n==="ppaction://hlinkshowjump?jump=endshow")return{kind:"endShow"};let a=/^ppaction:\/\/customshow\?id=(\d+)(?:&return=(true|false))?$/.exec(n??"");if(a){let l=Number(a[1]);return Number.isSafeInteger(l)&&l>=0&&dl({[L]:e[L],_slidesCache:null}).some(i=>i.id===l)?{kind:"customShow",id:l,returnToShow:a[2]==="true"}:null}if(n?.startsWith("ppaction://customshow"))return null;if(r!==null&&r!==""){let l=e[L],i=l.getRels(e[O]);if(!i)return null;let s=i.items.find(c=>c.id===r);if(!s)return null;if(n==="ppaction://hlinksldjump"&&s.type===D.slide){let c=s.target.startsWith("/")?G(s.target):H(e[O],s.target),p={[L]:l,_slidesCache:null};for(let u of z(p))if(u[O]===c)return{kind:"slide",slide:u};return null}if(s.type===D.hyperlink&&s.targetMode==="External")return{kind:"url",url:s.target}}return null},OT=(e,t,n)=>{let r=n?.range,a=r?ht(e):null;if(r&&a&&(nn(Je(a),r,"setShapeClickAction"),r.start===r.end))return;let l=Fn(e);if(!l)throw new Error(`setShapeClickAction: ${e[U].kind} shape has no cNvPr to attach to`);let i=t?Zg(e[X],t):null;i&&n?.tooltip!==void 0&&i.attrs.push(b(o("","tooltip",""),n.tooltip));let s=c=>{ts(c,i?structuredClone(i):null)};r&&a?sl(a,r,s):s(l),J(e),vo(e[X])},Zg=(e,t)=>{let n=e[L],r=null,a=null;switch(t.kind){case"url":{let i=n.getRels(e[O])??pe(),s=OG(i,t.url);if(s!==null)r=s;else{let c=se(i.items.map(p=>p.id));i.items.push({id:c,type:D.hyperlink,target:t.url,targetMode:"External"}),n.setRels(e[O],i),r=c}break}case"slide":{let i=t.slide[O];if(t.slide[L]!==n||!n.getPart(i))throw new Error("setShapeClickAction: target slide must belong to this presentation");let s=`../slides/${da(i)}`,c=n.getRels(e[O])??pe(),p=c.items.find(u=>u.type===D.slide&&H(e[O],u.target)===i&&u.targetMode==="Internal");if(p)r=p.id;else{let u=se(c.items.map(f=>f.id));c.items.push({id:u,type:D.slide,target:s,targetMode:"Internal"}),n.setRels(e[O],c),r=u}a="ppaction://hlinksldjump";break}case"nextSlide":a="ppaction://hlinkshowjump?jump=nextslide";break;case"prevSlide":a="ppaction://hlinkshowjump?jump=previousslide";break;case"firstSlide":a="ppaction://hlinkshowjump?jump=firstslide";break;case"lastSlide":a="ppaction://hlinkshowjump?jump=lastslide";break;case"lastSlideViewed":a="ppaction://hlinkshowjump?jump=lastslideviewed";break;case"endShow":a="ppaction://hlinkshowjump?jump=endshow";break;case"customShow":{if(!Number.isSafeInteger(t.id)||t.id<0||t.id>4294967295)throw new Error("setShapeClickAction: custom show ID must be an unsigned integer");let i={[L]:n,_slidesCache:null};if(!dl(i).some(s=>s.id===t.id))throw new Error(`setShapeClickAction: custom show ${t.id} does not exist`);a=`ppaction://customshow?id=${t.id}${t.returnToShow?"&return=true":""}`;break}}let l=[];return r!==null?l.push(b(o("r","id",d.officeDocRels),r)):l.push(b(o("r","id",d.officeDocRels),"")),a!==null&&l.push(b(o("","action",""),a)),h(mm,{attrs:l})};var XG=["ctr","inEnd","outEnd","inBase","t","b","l","r","bestFit"],jG=["hundreds","thousands","tenThousands","hundredThousands","millions","tenMillions","hundredMillions","billions","trillions"],$G=["ctr","l","r"],UG=["gap","zero","span"],GG=["none","line","lineMarker","marker","smooth","smoothMarker"],qG=["standard","marker","filled"],HG=["box","cone","coneToMax","cylinder","pyramid","pyramidToMax"],VG=["pie","bar"],zG=["auto","cust","percent","pos","val"],XT=["inner","outer"],WG=["autoZero","min","max"],YG=["r","t","b","l","tr"],ZG=["none","auto","circle","square","diamond","triangle","star","x","plus","dash","dot","picture"],KG=["linear","exp","log","poly","power","movingAvg"],JG=["both","plus","minus"],QG=["fixedVal","percentage","stdDev","stdErr","cust"],eq=["clustered","stacked","percentStacked","standard"],Fo=["in","out","cross","none"],pm=["none","low","high","nextTo"],Kg=["minMax","maxMin"],jT=["between","midCat"],Jg=["days","months","years"],Qg=(e,t)=>{e?.position!==void 0&&Z(e.position,XG,`${t}.position`)},ey=(e,t)=>{e?.displayUnits!==void 0&&Z(e.displayUnits,jG,`${t}.displayUnits`)},ty=(e,t)=>{Z(e.kind,["bar","column","line","pie","doughnut","area","scatter","radar","bubble","stock","surface"],`${t}: kind`),e.grouping!==void 0&&Z(e.grouping,eq,`${t}: grouping`),e.valueAxisMajorTickMark!==void 0&&Z(e.valueAxisMajorTickMark,Fo,`${t}: valueAxisMajorTickMark`),e.valueAxisMinorTickMark!==void 0&&Z(e.valueAxisMinorTickMark,Fo,`${t}: valueAxisMinorTickMark`),e.categoryAxisMajorTickMark!==void 0&&Z(e.categoryAxisMajorTickMark,Fo,`${t}: categoryAxisMajorTickMark`),e.categoryAxisMinorTickMark!==void 0&&Z(e.categoryAxisMinorTickMark,Fo,`${t}: categoryAxisMinorTickMark`),e.valueAxisTickLabelPos!==void 0&&Z(e.valueAxisTickLabelPos,pm,`${t}: valueAxisTickLabelPos`),e.categoryAxisTickLabelPos!==void 0&&Z(e.categoryAxisTickLabelPos,pm,`${t}: categoryAxisTickLabelPos`),e.categoryAxisLabelAlign!==void 0&&Z(e.categoryAxisLabelAlign,$G,`${t}: categoryAxisLabelAlign`),e.categoryAxisOrientation!==void 0&&Z(e.categoryAxisOrientation,Kg,`${t}: categoryAxisOrientation`),e.valueAxisOrientation!==void 0&&Z(e.valueAxisOrientation,Kg,`${t}: valueAxisOrientation`),e.valueAxisCrossBetween!==void 0&&Z(e.valueAxisCrossBetween,jT,`${t}: valueAxisCrossBetween`),e.dispBlanksAs!==void 0&&Z(e.dispBlanksAs,UG,`${t}: dispBlanksAs`),e.scatterStyle!==void 0&&Z(e.scatterStyle,GG,`${t}: scatterStyle`),e.radarStyle!==void 0&&Z(e.radarStyle,qG,`${t}: radarStyle`),e.bubbleSizeRepresents!==void 0&&Z(e.bubbleSizeRepresents,["area","width"],`${t}: bubbleSizeRepresents`),e.bar3DShape!==void 0&&Z(e.bar3DShape,HG,`${t}: bar3DShape`),e.secondaryValueAxis?.majorTickMark!==void 0&&Z(e.secondaryValueAxis.majorTickMark,Fo,`${t}: secondaryValueAxis.majorTickMark`),e.secondaryValueAxis?.minorTickMark!==void 0&&Z(e.secondaryValueAxis.minorTickMark,Fo,`${t}: secondaryValueAxis.minorTickMark`),e.secondaryValueAxis?.tickLabelPos!==void 0&&Z(e.secondaryValueAxis.tickLabelPos,pm,`${t}: secondaryValueAxis.tickLabelPos`),e.secondaryValueAxis?.crossBetween!==void 0&&Z(e.secondaryValueAxis.crossBetween,jT,`${t}: secondaryValueAxis.crossBetween`),e.seriesAxis?.orientation!==void 0&&Z(e.seriesAxis.orientation,Kg,`${t}: seriesAxis.orientation`),e.seriesAxis?.tickLabelPos!==void 0&&Z(e.seriesAxis.tickLabelPos,pm,`${t}: seriesAxis.tickLabelPos`),e.categoryAxisDate?.baseTimeUnit!==void 0&&Z(e.categoryAxisDate.baseTimeUnit,Jg,`${t}: categoryAxisDate.baseTimeUnit`),e.categoryAxisDate?.majorTimeUnit!==void 0&&Z(e.categoryAxisDate.majorTimeUnit,Jg,`${t}: categoryAxisDate.majorTimeUnit`),e.categoryAxisDate?.minorTimeUnit!==void 0&&Z(e.categoryAxisDate.minorTimeUnit,Jg,`${t}: categoryAxisDate.minorTimeUnit`),e.ofPie?.type!==void 0&&Z(e.ofPie.type,VG,`${t}: ofPie.type`),e.ofPie?.splitType!==void 0&&Z(e.ofPie.splitType,zG,`${t}: ofPie.splitType`),e.plotAreaLayout?.target!==void 0&&Z(e.plotAreaLayout.target,XT,`${t}: plotAreaLayout.target`),e.legend?.layout?.target!==void 0&&Z(e.legend.layout.target,XT,`${t}: legend.layout.target`),e.valueAxisCrosses!==void 0&&typeof e.valueAxisCrosses!="object"&&Z(e.valueAxisCrosses,WG,`${t}: valueAxisCrosses`),e.legend?.position!=null&&Z(e.legend.position,YG,`${t}: legend.position`),Qg(e.dataLabels,`${t}: dataLabels`),ey(e.valueAxis,`${t}: valueAxis`),ey(e.categoryAxisScaling,`${t}: categoryAxisScaling`),ey(e.secondaryValueAxis?.scaling,`${t}: secondaryValueAxis.scaling`);for(let[n,r]of e.series.entries()){let a=`${t}: series[${n}]`;r.chartKind!==void 0&&Z(r.chartKind,["bar","column","line","area"],`${a}.chartKind`),r.lineDash!==void 0&&Z(r.lineDash,Gl,`${a}.lineDash`),r.markerSymbol!==void 0&&Z(r.markerSymbol,ZG,`${a}.markerSymbol`),r.trendline!==void 0&&Z(r.trendline.type,KG,`${a}.trendline.type`),Qg(r.dataLabels,`${a}.dataLabels`);for(let[l,i]of(r.pointDataLabels??[]).entries())Qg(i,`${a}.pointDataLabels[${l}]`);for(let l of["errorBars","xErrorBars"]){let i=r[l];i!==void 0&&(Z(i.barType,JG,`${a}.${l}.barType`),Z(i.amount.type,QG,`${a}.${l}.amount.type`))}}};var ks=["categories","title","titleStyle","titleOverlay","titleLayout","dataLabels","legend","plotAreaLayout","plotAreaFill","plotAreaStrokeColor","chartAreaFill","chartAreaStrokeColor","plotVisibleCellsOnly","dispBlanksAs","date1904","language","roundedCorners","chartStyle","varyColors"],tq=["valueAxis","valueAxisTitle","valueAxisTitleStyle","valueAxisTitleRotationDeg","valueAxisLabelStyle","valueAxisLabelRotationDeg","valueAxisHidden","valueAxisMajorGridlines","valueAxisMinorGridlines","valueAxisMajorGridlineColor","valueAxisMinorGridlineColor","valueAxisMajorGridlineWidthEmu","valueAxisMinorGridlineWidthEmu","valueAxisMajorTickMark","valueAxisMinorTickMark","valueAxisTickLabelPos","valueAxisLineColor","valueAxisLineWidthEmu","valueAxisLineHidden","valueAxisOrientation","valueAxisCrosses","valueAxisCrossBetween"],nq=["categoryAxisTitle","categoryAxisTitleStyle","categoryAxisTitleRotationDeg","categoryAxisLabelStyle","categoryAxisLabelRotationDeg","categoryAxisHidden","categoryAxisMajorGridlines","categoryAxisMinorGridlines","categoryAxisMajorGridlineColor","categoryAxisMinorGridlineColor","categoryAxisMajorGridlineWidthEmu","categoryAxisMinorGridlineWidthEmu","categoryAxisMajorTickMark","categoryAxisMinorTickMark","categoryAxisTickLabelPos","categoryAxisLineColor","categoryAxisLineWidthEmu","categoryAxisLineHidden","categoryAxisOrientation","categoryAxisNumberFormat"],rq=["categoryAxisTickLabelSkip","categoryAxisTickMarkSkip","categoryAxisLabelOffset","categoryAxisLabelAlign","categoryAxisNoMultiLevelLabel"],aq=["categoryAxisDate","categoryAxisScaling","categoryGroupLevels"],ny=[...ks,...tq,...nq],cl=[...ny,...rq,...aq,"dataTable"],rn={combo:[...cl,"grouping","gapWidthPct","overlapPct","dropLines","hiLowLines","lineMarkers","upDownBars","secondaryValueAxis"],bar3D:[...cl,"grouping","gapWidthPct","gapDepthPct","bar3DShape","seriesAxis","view3D"],lineArea3D:[...cl,"grouping","dropLines","gapDepthPct","seriesAxis","view3D"],pie:[...ks,"firstSliceAngleDeg"],ofPie:[...ks,"ofPie"],pie3D:[...ks,"view3D"],doughnut:[...ks,"firstSliceAngleDeg","holeSizePct"],scatter:[...ny,"categoryAxisScaling","scatterStyle"],bubble:[...ny,"categoryAxisScaling","bubbleScale","bubbleSizeRepresents","bubble3D","showNegativeBubbles"],radar:[...cl,"radarStyle"],stock:[...cl,"dropLines","hiLowLines"],candlestick:[...cl,"dropLines","hiLowLines","upDownBars"],surface:[...cl,"surfaceContour","surfaceWireframe","view3D","seriesAxis"]},ry=3,Io=4,bn=e=>new Set(e),lq={combo:bn(rn.combo),bar3D:bn(rn.bar3D),lineArea3D:bn(rn.lineArea3D),pie:bn(rn.pie),ofPie:bn(rn.ofPie),pie3D:bn(rn.pie3D),doughnut:bn(rn.doughnut),scatter:bn(rn.scatter),bubble:bn(rn.bubble),radar:bn(rn.radar),stock:bn(rn.stock),candlestick:bn(rn.candlestick),surface:bn(rn.surface)},oq=e=>{switch(e.kind){case"bar":case"column":return e.view3D!==void 0?"bar3D":"combo";case"line":case"area":return e.view3D!==void 0?"lineArea3D":"combo";case"pie":return e.view3D!==void 0?"pie3D":e.ofPie!==void 0?"ofPie":"pie";case"stock":return e.series.length===Io?"candlestick":"stock";default:return e.kind}},iq=new Set(["pie","ofPie","pie3D","doughnut"]),sq=(e,t)=>{if(iq.has(t)&&e.series.length!==1||t==="stock"&&e.series.length!==ry||t==="candlestick"&&e.series.length!==Io)return!1;let n=t==="scatter"||t==="bubble";return e.series.every(r=>r.xValues!==void 0===n&&r.bubbleSizes!==void 0==(t==="bubble")&&(t==="combo"||r.chartKind===void 0&&r.secondaryAxis===void 0))},ay=e=>{let t=oq(e),n=lq[t];for(let[r,a]of Object.entries(e))if(!(r==="kind"||r==="series"||a===void 0)&&!n.has(r))return!1;if(e.categoryAxisDate===void 0){if(e.categoryAxisScaling!==void 0&&e.kind!=="scatter"&&e.kind!=="bubble")return!1}else if(e.categoryGroupLevels!==void 0)return!1;return sq(e,t)},dq=new Set(Object.values(rn).flat());var cq=new TextEncoder,Ms=e=>cq.encode(e),mq=e=>e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,"""),um=e=>{let t=e,n="";for(;;){if(n=String.fromCharCode(65+t%26)+n,t<26)return n;t=Math.floor(t/26)-1}},$T=(e,t)=>`${um(t)}${e+1}`,Fs=e=>{let t=[];t.push(`<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
|
20
|
-
`,'<worksheet xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main">',"<sheetData>"),e.forEach((s,c)=>{t.push(`<row r="${c+1}">`),s.forEach((p,u)=>{p!==null&&t.push(typeof p=="number"?`<c r="${$T(c,u)}"><v>${p}</v></c>`:`<c r="${$T(c,u)}" t="inlineStr"><is><t>${mq(p)}</t></is></c>`)}),t.push("</row>")}),t.push("</sheetData></worksheet>");let n=t.join("");return os([{name:"[Content_Types].xml",data:Ms(`<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
|
21
|
-
<Types xmlns="http://schemas.openxmlformats.org/package/2006/content-types"><Default Extension="rels" ContentType="application/vnd.openxmlformats-package.relationships+xml"/><Default Extension="xml" ContentType="application/xml"/><Override PartName="/xl/workbook.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml"/><Override PartName="/xl/worksheets/sheet1.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml"/></Types>`)},{name:"_rels/.rels",data:Ms(`<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
|
22
|
-
<Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships"><Relationship Id="rId1" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument" Target="xl/workbook.xml"/></Relationships>`)},{name:"xl/workbook.xml",data:Ms(`<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
|
23
|
-
<workbook xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships"><sheets><sheet name="Sheet1" sheetId="1" r:id="rId1"/></sheets></workbook>`)},{name:"xl/_rels/workbook.xml.rels",data:Ms(`<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
|
24
|
-
<Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships"><Relationship Id="rId1" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet" Target="worksheets/sheet1.xml"/></Relationships>`)},{name:"xl/worksheets/sheet1.xml",data:Ms(n)}])},ml=(e,t,n,r,a=n)=>`${e}!$${um(n)}$${t+1}:$${um(a)}$${t+r}`,fm=(e,t,n)=>`${e}!$${um(n)}$${t+1}`;var pl="Sheet1",pq=e=>e.kind==="scatter"||e.kind==="bubble",ly=e=>Number(e),uq=e=>{let t=[...e.categoryGroupLevels??[]].reverse(),n=t.length+1,r=e.categories.length,a=e.categoryAxisDate!==void 0,i=[[...Array.from({length:n},()=>""),...e.series.map(s=>s.name)]];for(let s=0;s<r;s++){let c=e.categories[s]??"",p=t.map(u=>{let f=u[s]??"";return f===""?null:f});p.push(a?ly(c):c);for(let u of e.series)p.push(u.values[s]??null);i.push(p)}return{grid:i,categories:ml(pl,1,0,r,n-1),series:e.series.map((s,c)=>({name:fm(pl,0,n+c),values:ml(pl,1,n+c,r)}))}},fq=e=>{let t=e.kind==="bubble",n=t?3:2,r=Math.max(0,...e.series.map(i=>Math.max(i.values.length,i.xValues?.length??0,i.bubbleSizes?.length??0))),a=[];for(let i of e.series)a.push("X",i.name),t&&a.push("Size");let l=[a];for(let i=0;i<r;i++){let s=[];for(let c of e.series)s.push(c.xValues?.[i]??null,c.values[i]??null),t&&s.push(c.bubbleSizes?.[i]??null);l.push(s)}return{grid:l,series:e.series.map((i,s)=>{let c=s*n,p=i.values.length;return{name:fm(pl,0,c+1),xValues:ml(pl,1,c,p),values:ml(pl,1,c+1,p),...t?{bubbleSizes:ml(pl,1,c+2,p)}:{}}})}},ul=e=>pq(e)?fq(e):uq(e);var YT=d.chart,ZT=d.dml,KT=d.officeDocRels,P=e=>o("c",e,YT),fe=e=>o("a",e,ZT),hq=e=>o("r",e,KT),JT=o("","val",""),gq=o("","idx",""),B=(e,t)=>h(e,{attrs:[b(JT,String(t))]}),dy=(e,t)=>h(P("pt"),{attrs:[b(gq,String(e))],children:[h(P("v"),{children:[be(t)]})]}),QT=(e,t)=>{let n=h(P("strCache"),{children:[B(P("ptCount"),t.length),...t.map((r,a)=>dy(a,r))]});return h(P("strRef"),{children:[h(P("f"),{children:[be(e)]}),n]})},ew=(e,t)=>[h(P("formatCode"),{children:[be(t)]}),B(P("ptCount"),e.length),...e.map((n,r)=>n===null?null:dy(r,String(n))).filter(n=>n!==null)],Is=(e,t,n="General")=>h(P("numRef"),{children:[h(P("f"),{children:[be(e)]}),h(P("numCache"),{children:ew(t,n)})]}),yq=(e,t,n)=>h(P("multiLvlStrRef"),{children:[h(P("f"),{children:[be(e)]}),h(P("multiLvlStrCache"),{children:[B(P("ptCount"),n),...t.map((r,a)=>h(P("lvl"),{children:r.map((l,i)=>a>0&&l===""?null:dy(i,l)).filter(l=>l!==null)}))]})]}),Bs=e=>e.replace(/^#/,"").toUpperCase(),oy=(e,t)=>h(fe("solidFill"),{children:[h(fe("srgbClr"),{attrs:[b(JT,Bs(e))],children:t!==void 0?[B(fe("alpha"),Ae(t*1e5,"percent100000","chart series: fillOpacity"))]:[]})]}),xm=(e,t)=>h(P("spPr"),{children:[oy(e,t)]}),Xs=(e,t,n,r=!1)=>{if(r)return h(P("spPr"),{children:[h(fe("ln"),{children:[h(fe("noFill"))]})]});if(e===void 0&&t===void 0)return null;let a=h(fe("ln"),{attrs:t!==void 0?[b(o("","w",""),String(Mr(t,n)))]:[],children:e!==void 0?[h(fe("solidFill"),{children:[h(fe("srgbClr"),{attrs:[b(o("","val",""),e.replace(/^#/,"").toUpperCase())]})]})]:[]});return h(P("spPr"),{children:[a]})},gm=(e,t,n,r)=>{let a=Xs(t,n,r);return a===null?h(P(e)):h(P(e),{children:[a]})},UT=(e,t)=>{let n=[];return e!==void 0&&n.push(h(fe("solidFill"),{children:[h(fe("srgbClr"),{attrs:[b(o("","val",""),e.replace(/^#/,"").toUpperCase())]})]})),t!==void 0&&n.push(h(fe("ln"),{children:[h(fe("solidFill"),{children:[h(fe("srgbClr"),{attrs:[b(o("","val",""),t.replace(/^#/,"").toUpperCase())]})]})]})),h(P("spPr"),{children:n})},GT=["4472C4","ED7D31","A5A5A5","FFC000","5B9BD5","70AD47"],xq=(e,t,n,r,a)=>{let l=[t===null?h(fe("noFill")):oy(t)];t!==null&&r!==void 0&&l.push(h(fe("prstDash"),{attrs:[b(o("","val",""),r)]}));let i=n!==void 0?h(fe("ln"),{attrs:[b(o("","w",""),String(Mr(n,"chart series: lineWidthEmu")))],children:l}):h(fe("ln"),{children:l});return h(P("spPr"),{children:[oy(e,a),i]})},Sq=(e,t,n,r)=>{let a=[];if(e!==void 0&&a.push(B(P("symbol"),e)),t!==void 0&&a.push(B(P("size"),Math.round(t))),e!=="none"){let l=i=>h(fe("solidFill"),{children:[h(fe("srgbClr"),{attrs:[b(o("","val",""),i)]})]});a.push(h(P("spPr"),{children:[l(n),h(fe("ln"),{children:[l(r)]})]}))}return h(P("marker"),{children:a})},bq=(e,t,n,r)=>{let a=[],l=e?.length??0,i=t?.length??0,s=Math.max(l,i);for(let c=0;c<s;c++){let p=e?.[c]??null,u=t?.[c]??null;if(p===null&&(u===null||!Number.isFinite(u)))continue;let f=[B(P("idx"),c),B(P("bubble3D"),r?"1":"0")];u!==null&&f.push(B(P("explosion"),Math.round(u))),p!==null&&f.push(xm(p,n)),a.push(h(P("dPt"),{children:f}))}return a},Eq=e=>{let t=[];if(e.name!==void 0&&t.push(h(P("name"),{children:[be(e.name)]})),e.color!==void 0){let n=e.color.replace(/^#/,"").toUpperCase(),r=h(fe("ln"),{children:[h(fe("solidFill"),{children:[h(fe("srgbClr"),{attrs:[b(o("","val",""),n)]})]})]});t.push(h(P("spPr"),{children:[r]}))}return t.push(B(P("trendlineType"),e.type)),e.type==="movingAvg"&&e.period!==void 0&&t.push(B(P("period"),e.period)),e.type==="poly"&&e.order!==void 0&&t.push(B(P("order"),e.order)),e.forward!==void 0&&t.push(B(P("forward"),e.forward)),e.backward!==void 0&&t.push(B(P("backward"),e.backward)),e.displayRSquared&&t.push(B(P("dispRSqr"),"1")),e.displayEquation&&t.push(B(P("dispEq"),"1")),h(P("trendline"),{children:t})},qT=(e,t)=>{let n=[];if(t!==null&&n.push(B(P("errDir"),t)),n.push(B(P("errBarType"),e.barType),B(P("errValType"),e.amount.type)),e.noEndCap!==void 0&&n.push(B(P("noEndCap"),e.noEndCap?"1":"0")),e.amount.type==="cust"){let a=(l,i)=>h(P(l),{children:[h(P("numLit"),{children:ew(i,"General")})]});e.amount.plus!==void 0&&n.push(a("plus",e.amount.plus)),e.amount.minus!==void 0&&n.push(a("minus",e.amount.minus))}else e.amount.type!=="stdErr"&&n.push(B(P("val"),e.amount.value));let r=Xs(e.color,e.lineWidthEmu,"chart series: errorBars.lineWidthEmu");return r!==null&&n.push(r),h(P("errBars"),{children:n})},Aq={bar:"bar",column:"bar",line:"line",stock:"line",area:"area",pie:"pie",doughnut:"pie",scatter:"scatter",bubble:"bubble",radar:"radar",surface:"surface"},Tq=new Set(["line","scatter","radar"]),tw=new Set(["bar","line","area","scatter","bubble"]),wq=tw,vq=new Set(["bar","bubble"]),Cq=new Set(["line","lineMarker","smooth","smoothMarker"]),Pq=new Set(["marker","lineMarker","smoothMarker"]),Lq=(e,t)=>e.categoryAxisDate!==void 0?h(P("cat"),{children:[Is(t,e.categories.map(ly),e.categoryAxisNumberFormat??"General")]}):e.categoryGroupLevels!==void 0&&e.categoryGroupLevels.length>0?h(P("cat"),{children:[yq(t,[e.categories,...e.categoryGroupLevels],e.categories.length)]}):h(P("cat"),{children:[QT(t,e.categories)]}),hm=(e,t)=>Array.from({length:t},(n,r)=>e?.[r]??null),Rq=(e,t,n)=>{let r=e.series[t],a=n.series[t];if(!r||!a)throw new Error("seriesElement: out of range");let l=r.color!==void 0?Bs(r.color):GT[t%GT.length]??"4472C4",i=r.chartKind??e.kind,s=Aq[i],c=[B(P("idx"),t),B(P("order"),t),h(P("tx"),{children:[QT(a.name,[r.name])]})],p=s==="scatter"||s==="bubble",u=p?r.values.length:e.categories.length,f=[];if(p){if(a.xValues===void 0)throw new Error("seriesElement: xy series without an x range");if(f.push(h(P("xVal"),{children:[Is(a.xValues,hm(r.xValues,u))]}),h(P("yVal"),{children:[Is(a.values,hm(r.values,u))]})),s==="bubble"){if(a.bubbleSizes===void 0)throw new Error("seriesElement: bubble series without a size range");f.push(h(P("bubbleSize"),{children:[Is(a.bubbleSizes,hm(r.bubbleSizes,u))]}),B(P("bubble3D"),e.bubble3D===!0?"1":"0"))}}else{if(n.categories===void 0)throw new Error("seriesElement: category series without a category range");f.push(Lq(e,n.categories),h(P("val"),{children:[Is(a.values,hm(r.values,u))]}))}if(s==="surface")return h(P("ser"),{children:[...c,...f]});let y=e.scatterStyle??"marker",g=e.kind==="stock"||s==="scatter"&&!Cq.has(y);if(g||s==="line"||s==="scatter"||s==="radar"||r.lineWidthEmu!==void 0||r.lineColor!==void 0||r.lineDash!==void 0){let E=g?null:r.lineColor!==void 0?Bs(r.lineColor):l;c.push(xq(l,E,r.lineWidthEmu,r.lineDash,r.fillOpacity))}else c.push(xm(l,r.fillOpacity));if(r.invertIfNegative===!0&&vq.has(s)&&c.push(B(P("invertIfNegative"),"1")),Tq.has(s)){let E=r.markerColor!==void 0?Bs(r.markerColor):l,A=r.markerLineColor!==void 0?Bs(r.markerLineColor):E,T=e.kind==="stock"||s==="scatter"&&!Pq.has(y)||s==="radar"&&e.radarStyle!=="marker";c.push(Sq(r.markerSymbol??(T?"none":void 0),r.markerSizePt,E,A))}for(let E of bq(r.pointColors,r.pointExplosions,r.fillOpacity,e.bubble3D===!0))c.push(E);let S=rw(r.dataLabels??(r.pointDataLabels!==void 0?e.dataLabels??Oq:void 0),r.pointDataLabels);if(S!==null&&c.push(S),r.trendline&&tw.has(s)&&e.kind!=="stock"&&c.push(Eq(r.trendline)),r.errorBars!==void 0||r.xErrorBars!==void 0){if(!wq.has(s))throw new Error(`chart: series '${r.name}' sets error bars, which a ${i} series cannot carry (bar / column / line / area / scatter / bubble only)`);if(r.xErrorBars!==void 0&&!p)throw new Error(`chart: series '${r.name}' sets xErrorBars, which only scatter / bubble series have an x channel for`);r.xErrorBars!==void 0&&c.push(qT(r.xErrorBars,"x")),r.errorBars!==void 0&&c.push(qT(r.errorBars,p?"y":null))}if(c.push(...f),s==="line")c.push(B(P("smooth"),r.smooth===!0?"1":"0"));else if(s==="scatter"){let E=r.smooth??(y==="smooth"||y==="smoothMarker");c.push(B(P("smooth"),E?"1":"0"))}return h(P("ser"),{children:c})},Sm=111111111,js=222222222,cy=333333333,my=444444444,HT={cat:Sm,val:js},Nq={cat:cy,val:my},Dq=new Set(["bar","column","line","area"]),_q=(e,t)=>e.series[t]?.chartKind??e.kind,kq=e=>{let t=new Map;for(let r=0;r<e.series.length;r++){let a=_q(e,r),l=e.series[r]?.secondaryAxis===!0,i=`${a}|${l?"1":"0"}`,s=t.get(i);s?s.indices.push(r):t.set(i,{kind:a,secondary:l,indices:[r]})}let n=r=>(r.secondary?2:0)+(r.kind==="line"||r.kind==="area"?1:0);return[...t.values()].sort((r,a)=>n(r)-n(a))},Oo=(e,t)=>{if(e===void 0&&t===void 0)return null;let n=[];t!==void 0&&n.push(b(o("","rot",""),String(Math.round(t*6e4)))),n.push(b(o("","vert",""),"horz"));let r=h(fe("bodyPr"),{attrs:n}),{attrs:a,children:l}=ym(e),i=h(fe("defRPr"),{attrs:a,children:l}),s=h(fe("pPr"),{children:[i]});return h(P("txPr"),{children:[r,h(fe("lstStyle")),h(fe("p"),{children:[s]})]})},Mq=e=>{let t=e.categoryAxisOrientation??"minMax",n=e.categoryAxisDate,r=[B(P("orientation"),t)];e.categoryAxisScaling?.max!==void 0&&r.push(B(P("max"),e.categoryAxisScaling.max)),e.categoryAxisScaling?.min!==void 0&&r.push(B(P("min"),e.categoryAxisScaling.min));let a=[B(P("axId"),Sm),h(P("scaling"),{children:r}),B(P("delete"),e.categoryAxisHidden?"1":"0"),B(P("axPos"),uy(e)?"l":"b")];e.categoryAxisMajorGridlines&&a.push(gm("majorGridlines",e.categoryAxisMajorGridlineColor,e.categoryAxisMajorGridlineWidthEmu,"chart: categoryAxisMajorGridlineWidthEmu")),e.categoryAxisMinorGridlines&&a.push(gm("minorGridlines",e.categoryAxisMinorGridlineColor,e.categoryAxisMinorGridlineWidthEmu,"chart: categoryAxisMinorGridlineWidthEmu")),e.categoryAxisTitle!==void 0&&a.push(bm(e.categoryAxisTitle,e.categoryAxisTitleStyle,e.categoryAxisTitleRotationDeg)),e.categoryAxisNumberFormat!==void 0&&a.push(h(P("numFmt"),{attrs:[b(o("","formatCode",""),e.categoryAxisNumberFormat),b(o("","sourceLinked",""),"0")]})),a.push(B(P("majorTickMark"),e.categoryAxisMajorTickMark??(e.kind==="bar"||e.kind==="column"?"none":"out")),B(P("minorTickMark"),e.categoryAxisMinorTickMark??"none")),e.categoryAxisTickLabelPos!==void 0&&a.push(B(P("tickLblPos"),e.categoryAxisTickLabelPos));let l=Xs(e.categoryAxisLineColor,e.categoryAxisLineWidthEmu,"chart: categoryAxisLineWidthEmu",e.categoryAxisLineHidden===!0);l!==null&&a.push(l);let i=Oo(e.categoryAxisLabelStyle,e.categoryAxisLabelRotationDeg);return i&&a.push(i),a.push(B(P("crossAx"),js)),n!==void 0?(a.push(B(P("auto"),"0")),e.categoryAxisLabelOffset!==void 0&&a.push(B(P("lblOffset"),e.categoryAxisLabelOffset)),n.baseTimeUnit!==void 0&&a.push(B(P("baseTimeUnit"),n.baseTimeUnit)),n.majorUnit!==void 0&&a.push(B(P("majorUnit"),n.majorUnit)),n.majorTimeUnit!==void 0&&a.push(B(P("majorTimeUnit"),n.majorTimeUnit)),n.minorUnit!==void 0&&a.push(B(P("minorUnit"),n.minorUnit)),n.minorTimeUnit!==void 0&&a.push(B(P("minorTimeUnit"),n.minorTimeUnit)),h(P("dateAx"),{children:a})):(e.categoryAxisLabelAlign!==void 0&&a.push(B(P("lblAlgn"),e.categoryAxisLabelAlign)),e.categoryAxisLabelOffset!==void 0&&a.push(B(P("lblOffset"),e.categoryAxisLabelOffset)),e.categoryAxisTickLabelSkip!==void 0&&a.push(B(P("tickLblSkip"),e.categoryAxisTickLabelSkip)),e.categoryAxisTickMarkSkip!==void 0&&a.push(B(P("tickMarkSkip"),e.categoryAxisTickMarkSkip)),e.categoryAxisNoMultiLevelLabel&&a.push(B(P("noMultiLvlLbl"),"1")),h(P("catAx"),{children:a}))},py=(e,t)=>{let n=[];e.scaling?.logBase!==void 0&&n.push(B(P("logBase"),e.scaling.logBase)),n.push(B(P("orientation"),e.orientation??"minMax")),e.scaling?.max!==void 0&&n.push(B(P("max"),e.scaling.max)),e.scaling?.min!==void 0&&n.push(B(P("min"),e.scaling.min));let r=[B(P("axId"),t.axId),h(P("scaling"),{children:n}),B(P("delete"),e.hidden?"1":"0"),B(P("axPos"),t.axPos)];e.majorGridlines&&r.push(gm("majorGridlines",e.majorGridlineColor,e.majorGridlineWidthEmu,`chart: ${e.widthFields.majorGridline}`)),e.minorGridlines&&r.push(gm("minorGridlines",e.minorGridlineColor,e.minorGridlineWidthEmu,`chart: ${e.widthFields.minorGridline}`)),e.title!==void 0&&r.push(bm(e.title,e.titleStyle,e.titleRotationDeg)),e.scaling?.numberFormat!==void 0&&r.push(h(P("numFmt"),{attrs:[b(o("","formatCode",""),e.scaling.numberFormat),b(o("","sourceLinked",""),"0")]})),r.push(B(P("majorTickMark"),e.majorTickMark??"out"),B(P("minorTickMark"),e.minorTickMark??"none")),e.tickLabelPos!==void 0&&r.push(B(P("tickLblPos"),e.tickLabelPos));let a=Xs(e.lineColor,e.lineWidthEmu,`chart: ${e.widthFields.line}`,e.lineHidden===!0);a!==null&&r.push(a);let l=Oo(e.labelStyle,e.labelRotationDeg);l&&r.push(l),r.push(B(P("crossAx"),t.crossAxId));let i=e.crosses;return i!==void 0&&(typeof i=="string"?r.push(B(P("crosses"),i)):r.push(B(P("crossesAt"),String(i.at)))),e.crossBetween!==void 0&&r.push(B(P("crossBetween"),e.crossBetween)),e.scaling?.majorUnit!==void 0&&r.push(B(P("majorUnit"),e.scaling.majorUnit)),e.scaling?.minorUnit!==void 0&&r.push(B(P("minorUnit"),e.scaling.minorUnit)),e.scaling?.displayUnits!==void 0&&r.push(h(P("dispUnits"),{children:[B(P("builtInUnit"),e.scaling.displayUnits),...e.scaling.displayUnitsLabel===!0?[h(P("dispUnitsLbl"))]:[]]})),h(P("valAx"),{children:r})},uy=e=>e.kind==="bar",Fq=e=>py({scaling:e.valueAxis,orientation:e.valueAxisOrientation,hidden:e.valueAxisHidden,majorGridlines:e.valueAxisMajorGridlines,majorGridlineColor:e.valueAxisMajorGridlineColor,majorGridlineWidthEmu:e.valueAxisMajorGridlineWidthEmu,minorGridlines:e.valueAxisMinorGridlines,minorGridlineColor:e.valueAxisMinorGridlineColor,minorGridlineWidthEmu:e.valueAxisMinorGridlineWidthEmu,title:e.valueAxisTitle,titleStyle:e.valueAxisTitleStyle,titleRotationDeg:e.valueAxisTitleRotationDeg,majorTickMark:e.valueAxisMajorTickMark,minorTickMark:e.valueAxisMinorTickMark,tickLabelPos:e.valueAxisTickLabelPos,lineColor:e.valueAxisLineColor,lineWidthEmu:e.valueAxisLineWidthEmu,lineHidden:e.valueAxisLineHidden,widthFields:{majorGridline:"valueAxisMajorGridlineWidthEmu",minorGridline:"valueAxisMinorGridlineWidthEmu",line:"valueAxisLineWidthEmu"},labelStyle:e.valueAxisLabelStyle,labelRotationDeg:e.valueAxisLabelRotationDeg,crosses:e.valueAxisCrosses,crossBetween:e.valueAxisCrossBetween},{axId:js,crossAxId:Sm,axPos:uy(e)?"b":"l"}),Iq=e=>py({scaling:{...e.categoryAxisScaling,...e.categoryAxisNumberFormat!==void 0?{numberFormat:e.categoryAxisNumberFormat}:{}},orientation:e.categoryAxisOrientation,hidden:e.categoryAxisHidden,majorGridlines:e.categoryAxisMajorGridlines,majorGridlineColor:e.categoryAxisMajorGridlineColor,majorGridlineWidthEmu:e.categoryAxisMajorGridlineWidthEmu,minorGridlines:e.categoryAxisMinorGridlines,minorGridlineColor:e.categoryAxisMinorGridlineColor,minorGridlineWidthEmu:e.categoryAxisMinorGridlineWidthEmu,title:e.categoryAxisTitle,titleStyle:e.categoryAxisTitleStyle,titleRotationDeg:e.categoryAxisTitleRotationDeg,majorTickMark:e.categoryAxisMajorTickMark,minorTickMark:e.categoryAxisMinorTickMark,tickLabelPos:e.categoryAxisTickLabelPos,lineColor:e.categoryAxisLineColor,lineWidthEmu:e.categoryAxisLineWidthEmu,lineHidden:e.categoryAxisLineHidden,widthFields:{majorGridline:"categoryAxisMajorGridlineWidthEmu",minorGridline:"categoryAxisMinorGridlineWidthEmu",line:"categoryAxisLineWidthEmu"},labelStyle:e.categoryAxisLabelStyle,labelRotationDeg:e.categoryAxisLabelRotationDeg,crosses:void 0,crossBetween:"midCat"},{axId:Sm,crossAxId:js,axPos:"b"}),nw=555555555,Bq=e=>{let t=e.seriesAxis??{},n=[B(P("axId"),nw),h(P("scaling"),{children:[B(P("orientation"),t.orientation??"minMax")]}),B(P("delete"),t.hidden?"1":"0"),B(P("axPos"),"b")];t.majorGridlines&&n.push(h(P("majorGridlines"))),t.title!==void 0&&n.push(bm(t.title,t.titleStyle)),n.push(B(P("majorTickMark"),"out"),B(P("minorTickMark"),"none")),t.tickLabelPos!==void 0&&n.push(B(P("tickLblPos"),t.tickLabelPos));let r=Xs(t.lineColor,void 0,"chart: seriesAxis");r!==null&&n.push(r);let a=Oo(t.labelStyle,void 0);return a!==null&&n.push(a),n.push(B(P("crossAx"),js)),t.tickLabelSkip!==void 0&&n.push(B(P("tickLblSkip"),t.tickLabelSkip)),h(P("serAx"),{children:n})},Oq={showValue:!1,showCategory:!1,showSeriesName:!1,showPercent:!1},rw=(e,t=void 0)=>{let n=[];return t?.forEach((r,a)=>{r!==null&&n.push(h(P("dLbl"),{children:[B(P("idx"),a),...r.text!==void 0?[h(P("tx"),{children:[Jq(r.text,r.textStyle)]})]:[],...VT(r)]}))}),e&&(n.push(...VT(e)),e.showLeaderLines!==void 0&&n.push(B(P("showLeaderLines"),e.showLeaderLines?"1":"0"))),n.length===0?null:h(P("dLbls"),{children:n})},VT=e=>{let t=[];if(e.numberFormat!==void 0&&t.push(h(P("numFmt"),{attrs:[b(o("","formatCode",""),e.numberFormat),b(o("","sourceLinked",""),"0")]})),e.fillColor!==void 0&&t.push(xm(e.fillColor)),e.textStyle!==void 0){let n=Oo(e.textStyle,void 0);n!==null&&t.push(n)}return e.position!==void 0&&t.push(B(P("dLblPos"),e.position)),t.push(B(P("showLegendKey"),e.showLegendKey?"1":"0"),B(P("showVal"),e.showValue?"1":"0"),B(P("showCatName"),e.showCategory?"1":"0"),B(P("showSerName"),e.showSeriesName?"1":"0"),B(P("showPercent"),e.showPercent?"1":"0"),B(P("showBubbleSize"),e.showBubbleSize?"1":"0")),e.separator!==void 0&&t.push(h(P("separator"),{children:[be(e.separator)]})),t},Xq=e=>rw(e.dataLabels),Zn=e=>e.seriesIndices.map(t=>Rq(e.spec,t,e.layout)),xr=e=>{let t=Xq(e.spec);return t?[t]:[]},Bo=e=>e.view3D!==void 0,aw=e=>e.kind==="surface"?!0:Bo(e)?e.kind==="line"?!0:(e.kind==="bar"||e.kind==="column"||e.kind==="area")&&e.grouping==="standard":!1,Yn=e=>[B(P("axId"),e.axes.cat),B(P("axId"),e.axes.val),...aw(e.spec)?[B(P("axId"),nw)]:[]],fy=e=>e.gapDepthPct!==void 0?[B(P("gapDepth"),Ii(e.gapDepthPct,"chart: gapDepthPct"))]:[],zT=(e,t)=>{let{spec:n}=e,r=n.grouping??"clustered",a=[B(P("barDir"),t),B(P("grouping"),r),B(P("varyColors"),n.varyColors?"1":"0"),...Zn(e),...xr(e)];if(n.gapWidthPct!==void 0&&a.push(B(P("gapWidth"),Ii(n.gapWidthPct,"chart: gapWidthPct"))),Bo(n))return a.push(...fy(n)),n.bar3DShape!==void 0&&a.push(B(P("shape"),n.bar3DShape)),a.push(...Yn(e)),h(P("bar3DChart"),{children:a});let l=n.overlapPct??(r==="stacked"||r==="percentStacked"?100:void 0);return l!==void 0&&a.push(B(P("overlap"),ZS(l,"chart: overlapPct"))),a.push(...Yn(e)),h(P("barChart"),{children:a})},lw=e=>e.grouping==="stacked"||e.grouping==="percentStacked"?e.grouping:"standard",ow=e=>{let t=(n,r)=>h(P(n),{children:r!==void 0?[xm(r)]:[]});return h(P("upDownBars"),{children:[...e.gapWidthPct!==void 0?[B(P("gapWidth"),Ii(e.gapWidthPct,"chart: upDownBars.gapWidthPct"))]:[],t("upBars",e.upColor),t("downBars",e.downColor)]})},jq=e=>{let{spec:t}=e,n=[B(P("grouping"),lw(t)),B(P("varyColors"),t.varyColors?"1":"0"),...Zn(e),...xr(e)];if(t.dropLines&&n.push(h(P("dropLines"))),Bo(t)){if(t.hiLowLines||t.upDownBars!==void 0)throw new Error("chart: hiLowLines / upDownBars are not available on a 3-D line chart");return n.push(...fy(t),...Yn(e)),h(P("line3DChart"),{children:n})}return t.hiLowLines&&n.push(h(P("hiLowLines"))),t.upDownBars!==void 0&&n.push(ow(t.upDownBars)),n.push(B(P("marker"),t.lineMarkers===!1?"0":"1"),...Yn(e)),h(P("lineChart"),{children:n})},$q=e=>{let{spec:t}=e,n=[B(P("grouping"),lw(t)),B(P("varyColors"),t.varyColors?"1":"0"),...Zn(e),...xr(e)];return t.dropLines&&t.kind==="area"&&n.push(h(P("dropLines"))),Bo(t)?(n.push(...fy(t),...Yn(e)),h(P("area3DChart"),{children:n})):(n.push(...Yn(e)),h(P("areaChart"),{children:n}))},iw=e=>{if(e.series.length!==1)throw new Error(`${e.kind} chart requires exactly one series`)},sw=e=>e.firstSliceAngleDeg!==void 0?[B(P("firstSliceAng"),JS(e.firstSliceAngleDeg,"chart: firstSliceAngleDeg"))]:[],Uq=(e,t)=>{let n=[B(P("ofPieType"),t.type),B(P("varyColors"),"1"),...Zn(e),...xr(e)];if(t.gapWidthPct!==void 0&&n.push(B(P("gapWidth"),Ii(t.gapWidthPct,"chart: ofPie.gapWidthPct"))),t.customSplit!==void 0&&t.splitType!=="cust")throw new Error("chart: ofPie.customSplit requires ofPie.splitType 'cust'");return t.splitType!==void 0&&n.push(B(P("splitType"),t.splitType)),t.splitPos!==void 0&&n.push(B(P("splitPos"),t.splitPos)),t.customSplit!==void 0&&n.push(h(P("custSplit"),{children:t.customSplit.map(r=>B(P("secondPiePt"),r))})),t.secondPieSizePct!==void 0&&n.push(B(P("secondPieSize"),Ae(t.secondPieSizePct,"secondPieSize","chart: ofPie.secondPieSizePct"))),t.seriesLines&&n.push(h(P("serLines"))),h(P("ofPieChart"),{children:n})},Gq=e=>{let{spec:t}=e;if(iw(t),t.ofPie!==void 0){if(Bo(t))throw new Error("chart: ofPie and view3D cannot be combined");return Uq(e,t.ofPie)}let n=[B(P("varyColors"),"1"),...Zn(e),...xr(e)];if(Bo(t)){if(t.firstSliceAngleDeg!==void 0)throw new Error("chart: a 3-D pie has no firstSliceAngleDeg; rotate it with view3D.rotY");return h(P("pie3DChart"),{children:n})}return n.push(...sw(t)),h(P("pieChart"),{children:n})},qq=e=>{let{spec:t}=e;return iw(t),h(P("doughnutChart"),{children:[B(P("varyColors"),"1"),...Zn(e),...xr(e),...sw(t),B(P("holeSize"),KS(t.holeSizePct??50,"chart: holeSizePct"))]})},Hq=e=>h(P("scatterChart"),{children:[B(P("scatterStyle"),e.spec.scatterStyle??"marker"),B(P("varyColors"),e.spec.varyColors?"1":"0"),...Zn(e),...xr(e),...Yn(e)]}),Vq=e=>{let{spec:t}=e,n=[B(P("varyColors"),t.varyColors?"1":"0"),...Zn(e),...xr(e)];return t.bubbleScale!==void 0&&n.push(B(P("bubbleScale"),Ae(t.bubbleScale,"bubbleScale","chart: bubbleScale"))),t.showNegativeBubbles!==void 0&&n.push(B(P("showNegBubbles"),t.showNegativeBubbles?"1":"0")),t.bubbleSizeRepresents!==void 0&&n.push(B(P("sizeRepresents"),t.bubbleSizeRepresents==="width"?"w":"area")),n.push(...Yn(e)),h(P("bubbleChart"),{children:n})},zq=e=>h(P("radarChart"),{children:[B(P("radarStyle"),e.spec.radarStyle??"standard"),B(P("varyColors"),e.spec.varyColors?"1":"0"),...Zn(e),...xr(e),...Yn(e)]}),Wq=e=>{let{spec:t}=e,n=t.series.length;if(n!==ry&&n!==Io)throw new Error(`stock chart requires 3 series (high, low, close) or 4 (open, high, low, close); got ${n}`);let r=[...Zn(e),...xr(e)];if(t.dropLines&&r.push(h(P("dropLines"))),t.hiLowLines!==!1&&r.push(h(P("hiLowLines"))),t.upDownBars!==void 0&&n!==Io)throw new Error("stock chart: upDownBars require the 4-series form (open, high, low, close)");return n===Io&&r.push(ow(t.upDownBars??{})),r.push(...Yn(e)),h(P("stockChart"),{children:r})},Yq=e=>{let{spec:t}=e,n=[];return t.surfaceWireframe!==void 0&&n.push(B(P("wireframe"),t.surfaceWireframe?"1":"0")),n.push(...Zn(e),...Yn(e)),h(P(t.surfaceContour===!0?"surfaceChart":"surface3DChart"),{children:n})},WT=(e,t)=>{switch(t){case"column":return zT(e,"col");case"bar":return zT(e,"bar");case"line":return jq(e);case"area":return $q(e);case"pie":return Gq(e);case"doughnut":return qq(e);case"scatter":return Hq(e);case"bubble":return Vq(e);case"radar":return zq(e);case"stock":return Wq(e);case"surface":return Yq(e);default:{let n=t;throw new Error(`unsupported chart kind: ${String(n)}`)}}},Zq=e=>{let t=e.secondaryValueAxis??{};return py({scaling:t.scaling,orientation:void 0,hidden:void 0,majorGridlines:t.majorGridlines,majorGridlineColor:t.majorGridlineColor,majorGridlineWidthEmu:t.majorGridlineWidthEmu,minorGridlines:void 0,minorGridlineColor:void 0,minorGridlineWidthEmu:void 0,title:t.title,titleStyle:t.titleStyle,titleRotationDeg:void 0,majorTickMark:t.majorTickMark,minorTickMark:t.minorTickMark,tickLabelPos:t.tickLabelPos,lineColor:t.lineColor,lineWidthEmu:t.lineWidthEmu,lineHidden:void 0,widthFields:{majorGridline:"secondaryValueAxis.majorGridlineWidthEmu",minorGridline:"secondaryValueAxis.minorGridlineWidthEmu",line:"secondaryValueAxis.lineWidthEmu"},labelStyle:t.labelStyle,labelRotationDeg:void 0,crosses:"max",crossBetween:t.crossBetween},{axId:my,crossAxId:cy,axPos:"r"})},Kq=e=>h(P("catAx"),{children:[B(P("axId"),cy),h(P("scaling"),{children:[B(P("orientation"),"minMax")]}),B(P("delete"),"1"),B(P("axPos"),uy(e)?"l":"b"),B(P("crossAx"),my)]}),ym=e=>{let t=[],n=[];if(e?.sizePt!==void 0&&t.push(b(o("","sz",""),String(Math.round(e.sizePt*100)))),e?.bold===!0&&t.push(b(o("","b",""),"1")),e?.bold===!1&&t.push(b(o("","b",""),"0")),e?.italic===!0&&t.push(b(o("","i",""),"1")),e?.italic===!1&&t.push(b(o("","i",""),"0")),e?.color!==void 0){let r=e.color.startsWith("#")?e.color.slice(1):e.color;n.push(h(fe("solidFill"),{children:[h(fe("srgbClr"),{attrs:[b(o("","val",""),r.toUpperCase())]})]}))}if(e?.font!==void 0){let r=b(o("","typeface",""),e.font);n.push(h(fe("latin"),{attrs:[r]})),n.push(h(fe("ea"),{attrs:[r]}))}return e?.fontComplexScript!==void 0&&n.push(h(fe("cs"),{attrs:[b(o("","typeface",""),e.fontComplexScript)]})),{attrs:t,children:n}},iy=(e,t,n)=>h(P("layout"),{children:[h(P("manualLayout"),{children:[...n!==void 0?[B(P("layoutTarget"),n)]:[],B(P("xMode"),"edge"),B(P("yMode"),"edge"),B(P("x"),e.x),B(P("y"),e.y),...t!==void 0?[B(P("w"),t.w),B(P("h"),t.h)]:[]]})]}),Jq=(e,t)=>{let n=h(fe("r"),{children:[...t!==void 0?[h(fe("rPr"),ym(t))]:[],h(fe("t"),{children:[be(e)]})]}),r=t!==void 0?[h(fe("pPr"),{children:[h(fe("defRPr"),ym(t))]})]:[];return h(P("rich"),{children:[h(fe("bodyPr")),h(fe("lstStyle")),h(fe("p"),{children:[...r,n]})]})},bm=(e,t,n,r)=>{let a=h(fe("pPr"),{children:[h(fe("defRPr"))]}),{attrs:l,children:i}=ym(t),s=h(fe("rPr"),{attrs:l,children:i}),c=h(fe("r"),{children:[s,h(fe("t"),{children:[be(e)]})]}),p=h(fe("p"),{children:[a,c]}),u=h(P("rich"),{children:[h(fe("bodyPr"),{attrs:[...n!==void 0?[b(o("","rot",""),String(Math.round(n*6e4)))]:[],b(o("","spcFirstLastPara",""),"1"),b(o("","vertOverflow",""),"ellipsis"),...n!==void 0?[b(o("","vert",""),"horz")]:[],b(o("","wrap",""),"square"),b(o("","anchor",""),"ctr"),b(o("","anchorCtr",""),"1")]}),h(fe("lstStyle")),p]});return h(P("title"),{children:[h(P("tx"),{children:[u]}),...r?.layout!==void 0?[iy(r.layout)]:[],B(P("overlay"),r?.overlay===!0?"1":"0")]})},Qq=e=>e.kind==="surface"&&e.surfaceContour===!0?{rotX:90,rotY:0,rightAngleAxes:!1,perspective:0}:e.kind==="pie"?{rotX:30,rotY:0,rightAngleAxes:!1}:e.kind==="surface"?{rotX:15,rotY:20,rightAngleAxes:!1,perspective:30}:{rotX:15,rotY:20,rightAngleAxes:!0},eH=e=>{let t={...Qq(e),...e.view3D},n=[];return t.rotX!==void 0&&n.push(B(P("rotX"),Ae(t.rotX,"rotX","chart: view3D.rotX"))),t.heightPercent!==void 0&&n.push(B(P("hPercent"),Ae(t.heightPercent,"heightPercent","chart: view3D.heightPercent"))),t.rotY!==void 0&&n.push(B(P("rotY"),Ae(t.rotY,"rotY","chart: view3D.rotY"))),t.depthPercent!==void 0&&n.push(B(P("depthPercent"),Ae(t.depthPercent,"depthPercent","chart: view3D.depthPercent"))),t.rightAngleAxes!==void 0&&n.push(B(P("rAngAx"),t.rightAngleAxes?"1":"0")),t.perspective!==void 0&&n.push(B(P("perspective"),Ae(t.perspective,"perspective","chart: view3D.perspective"))),h(P("view3D"),{children:n})},tH=new Set(["bar","column","line","area","pie","surface"]),sy=new Set(["pie","doughnut"]),Os=new Set(["scatter","bubble"]),nH=(e,t)=>{if(t&&!Dq.has(e.kind))throw new Error(`chart kind '${e.kind}' does not support per-series chartKind / secondaryAxis (combo charts require a bar / column / line / area base kind)`);if(e.view3D!==void 0){if(!tH.has(e.kind))throw new Error(`chart kind '${e.kind}' has no 3-D variant; view3D applies to bar / column / line / area / pie / surface`);if(t)throw new Error("chart: view3D cannot be combined with a combo chart")}if((e.bar3DShape!==void 0||e.gapDepthPct!==void 0)&&e.view3D===void 0)throw new Error("chart: bar3DShape / gapDepthPct require view3D");if(e.ofPie!==void 0&&e.kind!=="pie")throw new Error(`chart: ofPie applies to kind 'pie', not '${e.kind}'`);if(e.dataTable!==void 0&&(sy.has(e.kind)||Os.has(e.kind)))throw new Error(`chart kind '${e.kind}' cannot show a data table`);if(e.categoryAxisDate!==void 0){if(sy.has(e.kind)||Os.has(e.kind))throw new Error(`chart kind '${e.kind}' has no category axis to make a date axis of`);if(e.categoryGroupLevels!==void 0)throw new Error("chart: a date axis cannot have categoryGroupLevels");e.categories.forEach((n,r)=>{if(n.trim()===""||!Number.isFinite(Number(n)))throw new Error(`chart: categories[${r}] is ${JSON.stringify(n)}; a date axis needs date serial numbers (e.g. "45292" for 2024-01-01)`)})}if(e.categoryAxisScaling!==void 0&&e.categoryAxisDate===void 0&&!Os.has(e.kind))throw new Error("chart: categoryAxisScaling needs a numeric horizontal axis \u2014 a scatter / bubble chart or a date axis");e.categoryGroupLevels?.forEach((n,r)=>{if(n.length!==e.categories.length)throw new Error(`chart: categoryGroupLevels[${r}] has ${n.length} entries for ${e.categories.length} categories`)}),Os.has(e.kind)&&e.series.forEach(n=>{if(n.xValues===void 0)throw new Error(`chart: ${e.kind} series '${n.name}' needs xValues`);if(e.kind==="bubble"&&n.bubbleSizes===void 0)throw new Error(`chart: bubble series '${n.name}' needs bubbleSizes`)})},rH=e=>{let t=[B(P("showHorzBorder"),e.showHorizontalBorder===!1?"0":"1"),B(P("showVertBorder"),e.showVerticalBorder===!1?"0":"1"),B(P("showOutline"),e.showOutline===!1?"0":"1"),B(P("showKeys"),e.showKeys===!1?"0":"1")],n=Oo(e.textStyle,void 0);return n!==null&&t.push(n),h(P("dTable"),{children:t})},Em=e=>{let t=e.series.some(g=>g.chartKind!==void 0||g.secondaryAxis===!0);nH(e,t);let n=ul(e),r,a=!1;if(t){let g=kq(e);a=g.some(S=>S.secondary),r=g.map(S=>WT({spec:e,layout:n,seriesIndices:S.indices,axes:S.secondary?Nq:HT},S.kind))}else r=[WT({spec:e,layout:n,seriesIndices:e.series.map((g,S)=>S),axes:HT},e.kind)];let l=e.plotAreaLayout,i=[l!==void 0?iy(l,l,l.target):h(P("layout")),...r];sy.has(e.kind)||(i.push(Os.has(e.kind)?Iq(e):Mq(e),Fq(e)),aw(e)&&i.push(Bq(e)),a&&i.push(Zq(e),Kq(e))),e.dataTable!==void 0&&i.push(rH(e.dataTable)),(e.plotAreaFill!==void 0||e.plotAreaStrokeColor!==void 0)&&i.push(UT(e.plotAreaFill,e.plotAreaStrokeColor));let s=h(P("plotArea"),{children:i}),c=[];if(e.title!==void 0&&c.push(bm(e.title,e.titleStyle,void 0,{...e.titleOverlay!==void 0?{overlay:e.titleOverlay}:{},...e.titleLayout!==void 0?{layout:e.titleLayout}:{}})),c.push(B(P("autoTitleDeleted"),e.title!==void 0?"0":"1")),(e.view3D!==void 0||e.kind==="surface")&&c.push(eH(e)),c.push(s),e.legend!==void 0&&e.legend.position!==null){let g=[B(P("legendPos"),e.legend.position)];for(let S of e.legend.hiddenIndices??[])g.push(h(P("legendEntry"),{children:[B(P("idx"),S),B(P("delete"),"1")]}));if(e.legend.layout!==void 0&&g.push(iy(e.legend.layout,e.legend.layout)),g.push(B(P("overlay"),e.legend.overlay?"1":"0")),e.legend.textStyle!==void 0){let S=Oo(e.legend.textStyle,void 0);S!==null&&g.push(S)}c.push(h(P("legend"),{children:g}))}c.push(B(P("plotVisOnly"),e.plotVisibleCellsOnly===!1?"0":"1"),B(P("dispBlanksAs"),e.dispBlanksAs??"gap"));let p=h(P("chart"),{children:c}),u=h(P("externalData"),{attrs:[b(hq("id"),"rId1")],children:[B(P("autoUpdate"),"0")]}),f=[];e.date1904&&f.push(B(P("date1904"),"1")),e.language!==void 0&&f.push(B(P("lang"),e.language)),e.roundedCorners&&f.push(B(P("roundedCorners"),"1")),e.chartStyle!==void 0&&f.push(B(P("style"),Math.round(e.chartStyle))),f.push(p),(e.chartAreaFill!==void 0||e.chartAreaStrokeColor!==void 0)&&f.push(UT(e.chartAreaFill,e.chartAreaStrokeColor)),f.push(u);let y=h(P("chartSpace"),{prefixDecls:new Map([["c",YT],["a",ZT],["r",KT]]),children:f});return{kind:"document",decl:{version:"1.0",encoding:"UTF-8",standalone:"yes"},prolog:[],root:y,epilog:[]}};var j=d.chart,He=d.dml,aH=o("c","chartSpace",j),lH=o("c","chart",j),oH=o("c","plotArea",j),dw=o("c","ser",j),Gs=o("c","tx",j),iH=o("c","cat",j),sH=o("c","val",j),dH=o("c","strRef",j),cH=o("c","numRef",j),mH=o("c","strCache",j),pH=o("c","numCache",j),uH=o("c","strLit",j),fH=o("c","numLit",j),xw=o("c","multiLvlStrRef",j),Sw=o("c","multiLvlStrCache",j),bw=o("c","lvl",j),hH=o("c","pt",j),gH=o("c","ptCount",j),Tm=1048576,yH=o("c","v",j),cw=o("c","dLbls",j),xH=o("c","dLbl",j),hy=o("c","valAx",j),ga=o("c","title",j),wm=o("c","rich",j),Ew=o("a","t",He),xy=o("a","p",He),Sy=o("a","r",He),Mt=o("c","spPr",j),Kn=o("a","solidFill",He),Sr=o("a","srgbClr",He),oe=o("","val",""),SH=o("","idx",""),bH=e=>e==="bar"||e==="column"||e==="line"||e==="area",EH=[{localName:"barChart",kind:"column"},{localName:"bar3DChart",kind:"column"},{localName:"lineChart",kind:"line"},{localName:"line3DChart",kind:"line"},{localName:"pieChart",kind:"pie"},{localName:"pie3DChart",kind:"pie"},{localName:"ofPieChart",kind:"pie"},{localName:"doughnutChart",kind:"doughnut"},{localName:"areaChart",kind:"area"},{localName:"area3DChart",kind:"area"},{localName:"scatterChart",kind:"scatter"},{localName:"bubbleChart",kind:"bubble"},{localName:"radarChart",kind:"radar"},{localName:"stockChart",kind:"stock"},{localName:"surfaceChart",kind:"surface"},{localName:"surface3DChart",kind:"surface"}],AH=(e,t)=>{for(let n of e.children)if(!(n.kind!=="element"||n.name.namespaceURI!==j)&&t.includes(n.name.localName))return n;return null},TH=e=>{let t=m(e,gH),n=t!==null?x(t,oe):null;return n!==null?Number.parseInt(n,10):Number.NaN},jo=e=>{let t=x(e,oe);return t===null||t==="1"||t==="true"},by=(e,t)=>{if(e===null||!/^\d+$/.test(e))return null;let n=Number.parseInt(e,10);return n<t?n:null},Aw=(e,t)=>{let n=m(e,o("c","idx",j));return by(n!==null?x(n,oe):null,t)},Xo=(e,t=e)=>{let n=[],r=TH(t),a=Number.isFinite(r)?Math.min(r,Tm):Tm;for(let l of Q(e,hH)){let i=by(x(l,SH),a);if(i===null)continue;let s=m(l,yH);if(s===null)continue;let c="";for(let p of s.children)(p.kind==="text"||p.kind==="cdata")&&(c+=p.data);n[i]=c}if(Number.isFinite(r)&&r<=Tm)for(let l=0;l<r;l++)n[l]===void 0&&(n[l]="");return n},wH=e=>{let t=m(e,dH);if(t){let a=m(t,mH);if(a)return Xo(a)}let n=m(e,uH);if(n)return Xo(n);let r=m(e,xw);if(r){let a=m(r,Sw),l=a?m(a,bw):null;if(l&&a)return Xo(l,a)}return null},Ey=e=>wH(e),Tw=e=>{let t=m(e,cH),n=null;if(t){let r=m(t,pH);r&&(n=Xo(r))}if(!n){let r=m(e,fH);r&&(n=Xo(r))}return n?n.map(r=>{if(r===void 0||r==="")return null;let a=Number.parseFloat(r);return Number.isFinite(a)?a:null}):null},Am=e=>Tw(e),vH=e=>{let t=m(e,Gs);return t?Ey(t)?.[0]??"":""},CH=(e,t)=>{let n=[],r=[],a=!1,l=!1;for(let i of e.children){if(i.kind!=="element"||i.name.namespaceURI!==j||i.name.localName!=="dPt")continue;let s=Aw(i,t);if(s===null)continue;let c=m(i,Mt);if(c){let u=m(c,Kn);if(u){let f=m(u,Sr);if(f){let y=x(f,oe);y!==null&&(n[s]=`#${y.toUpperCase()}`,a=!0)}}}let p=m(i,o("c","explosion",j));if(p){let u=x(p,oe);if(u!==null){let f=Number.parseInt(u,10);Number.isFinite(f)&&f>0&&(r[s]=f,l=!0)}}}return{colors:a?n:void 0,explosions:l?r:void 0}},PH=e=>{let t=m(e,o("c","trendline",j));if(!t)return;let n,r=m(t,o("c","name",j));if(r){let T="";for(let w of r.children)(w.kind==="text"||w.kind==="cdata")&&(T+=w.data);T.length>0&&(n=T)}let a=m(t,o("c","trendlineType",j)),l=a?x(a,oe):null,i;switch(l){case"exp":case"log":case"poly":case"power":case"movingAvg":case"linear":i=l;break;default:i="linear"}let s;if(i==="movingAvg"){let T=m(t,o("c","period",j));if(T){let w=x(T,oe);if(w!==null){let v=Number.parseInt(w,10);Number.isFinite(v)&&v>0&&(s=v)}}}let c;if(i==="poly"){let T=m(t,o("c","order",j));if(T){let w=x(T,oe);if(w!==null){let v=Number.parseInt(w,10);Number.isFinite(v)&&v>=2&&(c=v)}}}let p,u=m(t,Mt);if(u){let T=m(u,o("a","ln",He));if(T){let w=m(T,Kn);if(w){let v=m(w,Sr);if(v){let C=x(v,oe);C!==null&&(p=`#${C.toUpperCase()}`)}}}}let f=T=>{let w=m(t,o("c",T,j));if(!w)return;let v=x(w,oe);if(v===null)return;let C=Number.parseFloat(v);return Number.isFinite(C)&&C>0?C:void 0},y=f("forward"),g=f("backward"),S=T=>{let w=m(t,o("c",T,j));if(!w)return;let v=x(w,oe);return v===null||v==="1"||v==="true"?!0:void 0},E=S("dispEq"),A=S("dispRSqr");return{...n!==void 0?{name:n}:{},type:i,...s!==void 0?{period:s}:{},...c!==void 0?{order:c}:{},...p!==void 0?{color:p}:{},...y!==void 0?{forward:y}:{},...g!==void 0?{backward:g}:{},...E===!0?{displayEquation:!0}:{},...A===!0?{displayRSquared:!0}:{}}},LH=e=>{let t=m(e,Mt);if(!t)return;let n=m(t,Kn);if(!n)return;let r=m(n,Sr);if(!r)return;let a=x(r,oe);return a!==null?`#${a.toUpperCase()}`:void 0},$o=e=>{let t=e!==null?m(e,Kn):null,n=t!==null?m(t,Sr):null,r=n!==null?x(n,oe):null;return r!==null?`#${r.toUpperCase()}`:void 0},RH=e=>{let t=m(e,o("c","marker",j));if(!t)return{};let n={},r=m(t,Mt),a=$o(r);a!==void 0&&(n.markerColor=a);let l=$o(r!==null?m(r,o("a","ln",He)):null);l!==void 0&&(n.markerLineColor=l);let i=m(t,o("c","symbol",j));if(i){let c=x(i,oe);(c==="none"||c==="auto"||c==="circle"||c==="square"||c==="diamond"||c==="triangle"||c==="star"||c==="x"||c==="plus"||c==="dash"||c==="dot"||c==="picture")&&(n.markerSymbol=c)}let s=m(t,o("c","size",j));if(s){let c=x(s,oe);if(c!==null){let p=Number.parseInt(c,10);Number.isFinite(p)&&p>0&&(n.markerSizePt=p)}}return n},NH=e=>{let t=m(e,Mt);if(!t)return{};let n=m(t,o("a","ln",He));if(!n)return{};let r={},a=m(n,Kn),l=a!==null?m(a,Sr):null,i=l!==null?x(l,oe):null;i!==null&&(r.lineColor=`#${i.toUpperCase()}`);let s=x(n,o("","w",""));if(s!==null){let p=Number.parseInt(s,10);Number.isFinite(p)&&p>=0&&(r.lineWidthEmu=p)}let c=m(n,o("a","prstDash",He));if(c){let p=x(c,oe);p!==null&&(r.lineDash=p)}return r},$s=e=>{let t=m(e,ga);if(!t)return;let n=m(t,Gs);if(!n)return;let r=m(n,wm);if(r){let l="";for(let i of Q(r,xy))for(let s of Q(i,Sy)){let c=m(s,Ew);if(c)for(let p of c.children)(p.kind==="text"||p.kind==="cdata")&&(l+=p.data)}if(l.length>0)return l}let a=Ey(n);if(a&&a.length>0){let l=a.filter(i=>i.length>0).join(" ");if(l.length>0)return l}},DH=o("a","rPr",He),_H=o("a","defRPr",He),kH=o("a","pPr",He),MH=o("a","srgbClr",He),FH=o("a","latin",He),IH=o("a","cs",He),mw=o("","typeface",""),pw=e=>{let t,n,r,a,l,i,s=x(e,o("","sz",""));if(s!==null){let g=Number.parseInt(s,10);Number.isFinite(g)&&g>0&&(r=g/100)}let c=x(e,o("","b",""));c!==null&&(a=c==="1"||c==="true");let p=x(e,o("","i",""));p!==null&&(l=p==="1"||p==="true");let u=m(e,Kn);if(u){let g=m(u,MH);if(g){let S=x(g,oe);S!==null&&(i=`#${S.toUpperCase()}`)}}let f=m(e,FH);if(f){let g=x(f,mw);g!==null&&g!==""&&(t=g)}let y=m(e,IH);if(y){let g=x(y,mw);g!==null&&g!==""&&(n=g)}if(!(t===void 0&&n===void 0&&r===void 0&&a===void 0&&l===void 0&&i===void 0))return{...t!==void 0?{font:t}:{},...n!==void 0?{fontComplexScript:n}:{},...r!==void 0?{sizePt:r}:{},...a!==void 0?{bold:a}:{},...l!==void 0?{italic:l}:{},...i!==void 0?{color:i}:{}}},ya=e=>{for(let t of Q(e,xy)){let n;for(let i of Q(t,Sy)){let s=m(i,DH);if(n=s!==null?pw(s):void 0,n!==void 0)break}let r=m(t,kH),a=r!==null?m(r,_H):null,l=a!==null?pw(a):void 0;if(!(n===void 0&&l===void 0))return{...l,...n}}},Us=e=>{let t=m(e,Gs);if(!t)return;let n=m(t,wm);if(n)return ya(n)},BH=e=>{let t=m(e,ga);if(t)return Us(t)},uw=e=>{let t=m(e,Gs);if(!t)return;let n=m(t,wm);if(!n)return;let r=m(n,o("a","bodyPr",He));if(!r)return;let a=x(r,o("","rot",""));if(a===null)return;let l=Number.parseInt(a,10);return Number.isFinite(l)?l/6e4:void 0},OH=e=>{let t=m(e,o("c","dLblPos",j));if(!t)return;let n=x(t,oe);switch(n){case"ctr":case"inEnd":case"outEnd":case"inBase":case"t":case"b":case"l":case"r":case"bestFit":return n;default:return}},XH=e=>{let t=m(e,o("c","separator",j));if(!t)return;let n="";for(let r of t.children)(r.kind==="text"||r.kind==="cdata")&&(n+=r.data);return n.length>0?n:void 0},ww=(e,t)=>{let n=(g,S)=>{let E=m(e,o("c",g,j));return E!==null?jo(E):S},r=m(e,o("c","numFmt",j)),a;if(r){let g=x(r,o("","formatCode",""));g!==null&&g.length>0&&g!=="General"&&(a=g)}let l=OH(e),i=XH(e),s=m(e,o("c","txPr",j)),c=s?ya(s):void 0,p=n("showBubbleSize",t?.showBubbleSize??!1),u=n("showLegendKey",t?.showLegendKey??!1),f=m(e,Mt),y=f!==null?$o(f):void 0;return{showValue:n("showVal",t?.showValue??!1),showCategory:n("showCatName",t?.showCategory??!1),showSeriesName:n("showSerName",t?.showSeriesName??!1),showPercent:n("showPercent",t?.showPercent??!1),...a!==void 0?{numberFormat:a}:{},...l!==void 0?{position:l}:{},...i!==void 0?{separator:i}:{},...c!==void 0?{textStyle:c}:{},...p?{showBubbleSize:p}:{},...u?{showLegendKey:u}:{},...y!==void 0?{fillColor:y}:{}}},jH=e=>{let t=m(e,Gs),n=t!==null?m(t,wm):null;if(n===null)return;let r=[];for(let a of Q(n,xy)){let l="";for(let i of Q(a,Sy)){let s=m(i,Ew);if(s!==null)for(let c of s.children)(c.kind==="text"||c.kind==="cdata")&&(l+=c.data)}r.push(l)}return r.join(`
|
|
25
|
-
`)},fw=e=>{let t=ww(e,void 0),n=m(e,o("c","showLeaderLines",j));return n!==null?{...t,showLeaderLines:jo(n)}:t},$H=e=>e.children.some(t=>t.kind==="element"&&t.name.namespaceURI===j&&t.name.localName!=="dLbl"&&t.name.localName!=="extLst"),UH={showValue:!1,showCategory:!1,showSeriesName:!1,showPercent:!1},GH=(e,t,n)=>{let r=[],a=!1;for(let l of Q(e,xH)){let i=Aw(l,t);if(i===null)continue;let s=m(l,o("c","delete",j));if(s!==null&&jo(s))r[i]=UH;else{let c=ww(l,n),p=jH(l);r[i]=p!==void 0?{...c,text:p}:c}a=!0}if(a){for(let l=0;l<r.length;l++)r[l]??=null;return r}},gy=e=>{let t,n,r,a,l,i,s=!1,c=m(e,o("c","scaling",j)),p=(g,S)=>{let E=m(g,o("c",S,j));if(!E)return;let A=x(E,oe);if(A===null)return;let T=Number.parseFloat(A);return Number.isFinite(T)?T:void 0};if(c){t=p(c,"min"),n=p(c,"max");let g=p(c,"logBase");g!==void 0&&g>=2&&g<=1e3&&(l=g)}r=p(e,"majorUnit"),a=p(e,"minorUnit");let u=m(e,o("c","dispUnits",j));if(u){let g=m(u,o("c","builtInUnit",j));if(g){let S=x(g,oe);switch(S){case"hundreds":case"thousands":case"tenThousands":case"hundredThousands":case"millions":case"tenMillions":case"hundredMillions":case"billions":case"trillions":i=S;break}}s=m(u,o("c","dispUnitsLbl",j))!==null}let f,y=m(e,o("c","numFmt",j));if(y){let g=x(y,o("","formatCode",""));g!==null&&g.length>0&&g!=="General"&&(f=g)}if(t!==void 0||n!==void 0||r!==void 0||a!==void 0||f!==void 0||l!==void 0||i!==void 0)return{...t!==void 0?{min:t}:{},...n!==void 0?{max:n}:{},...r!==void 0?{majorUnit:r}:{},...a!==void 0?{minorUnit:a}:{},...f!==void 0?{numberFormat:f}:{},...l!==void 0?{logBase:l}:{},...i!==void 0?{displayUnits:i}:{},...i!==void 0&&s?{displayUnitsLabel:s}:{}}},fl=(e,t)=>{let n=m(e,o("c",t,j));return n!==null?x(n,oe):null},vt=(e,t)=>{let n=fl(e,t);if(n===null)return;let r=Number.parseFloat(n);return Number.isFinite(r)?r:void 0},br=(e,t)=>{let n=m(e,o("c",t,j));return n!==null?jo(n):void 0},Jn=(e,t,n)=>{let r=fl(e,t);return n.find(a=>a===r)},hw=1e5,qH=e=>{let t=m(e,Mt),n=t!==null?m(t,Kn):null,r=n!==null?m(n,Sr):null,a=r!==null?m(r,o("a","alpha",He)):null,l=a!==null?x(a,oe):null;if(l===null||!/^\d+$/.test(l))return;let i=Number.parseInt(l,10);return i<=hw?i/hw:void 0},HH=e=>{let t=Jn(e,"errValType",["cust","fixedVal","percentage","stdDev","stdErr"]);if(t===void 0)return;if(t==="stdErr")return{type:t};if(t==="cust"){let r=i=>{let s=m(e,o("c",i,j));return s!==null?Tw(s)??void 0:void 0},a=r("plus"),l=r("minus");return{type:t,...a!==void 0?{plus:a}:{},...l!==void 0?{minus:l}:{}}}let n=vt(e,"val");return n!==void 0?{type:t,value:n}:void 0},VH=e=>{let t={};for(let n of Q(e,o("c","errBars",j))){let r=Jn(n,"errBarType",["both","minus","plus"]),a=HH(n);if(r===void 0||a===void 0)continue;let l=br(n,"noEndCap"),i=m(n,Mt),s=i!==null?m(i,o("a","ln",He)):null,c=$o(s),p=s!==null?x(s,o("","w","")):null,u={barType:r,amount:a,...l!==void 0?{noEndCap:l}:{},...c!==void 0?{color:c}:{},...p!==null&&/^\d+$/.test(p)?{lineWidthEmu:Number.parseInt(p,10)}:{}};fl(n,"errDir")==="x"?t.xErrorBars??=u:t.errorBars??=u}return t},zH=e=>{let t=m(e,o("c","view3D",j));if(t===null)return;let n=vt(t,"rotX"),r=vt(t,"rotY"),a=br(t,"rAngAx"),l=vt(t,"perspective"),i=vt(t,"depthPercent"),s=vt(t,"hPercent");return{...n!==void 0?{rotX:n}:{},...r!==void 0?{rotY:r}:{},...a!==void 0?{rightAngleAxes:a}:{},...l!==void 0?{perspective:l}:{},...i!==void 0?{depthPercent:i}:{},...s!==void 0?{heightPercent:s}:{}}},WH=e=>{let t=Jn(e,"ofPieType",["pie","bar"]);if(t===void 0)return;let n=Jn(e,"splitType",["auto","cust","percent","pos","val"]),r=vt(e,"splitPos"),a=vt(e,"secondPieSize"),l=vt(e,"gapWidth"),i=m(e,o("c","custSplit",j)),s=[];if(i!==null)for(let p of Q(i,o("c","secondPiePt",j))){let u=by(x(p,oe),Tm);u!==null&&s.push(u)}let c=m(e,o("c","serLines",j))!==null;return{type:t,...n!==void 0?{splitType:n}:{},...r!==void 0?{splitPos:r}:{},...i!==null?{customSplit:s}:{},...a!==void 0?{secondPieSizePct:a}:{},...l!==void 0?{gapWidthPct:l}:{},...c?{seriesLines:c}:{}}},YH=e=>{let t=m(e,o("c","upDownBars",j));if(t===null)return;let n=i=>{let s=m(t,o("c",i,j));return $o(s!==null?m(s,Mt):null)},r=vt(t,"gapWidth"),a=n("upBars"),l=n("downBars");return{...r!==void 0?{gapWidthPct:r}:{},...a!==void 0?{upColor:a}:{},...l!==void 0?{downColor:l}:{}}},ZH=e=>{let t=m(e,o("c","dTable",j));if(t===null)return;let n=br(t,"showHorzBorder"),r=br(t,"showVertBorder"),a=br(t,"showOutline"),l=br(t,"showKeys"),i=m(t,o("c","txPr",j)),s=i!==null?ya(i):void 0;return{...n!==void 0?{showHorizontalBorder:n}:{},...r!==void 0?{showVerticalBorder:r}:{},...a!==void 0?{showOutline:a}:{},...l!==void 0?{showKeys:l}:{},...s!==void 0?{textStyle:s}:{}}},yy=["days","months","years"],KH=e=>{let t=Jn(e,"baseTimeUnit",yy),n=vt(e,"majorUnit"),r=Jn(e,"majorTimeUnit",yy),a=vt(e,"minorUnit"),l=Jn(e,"minorTimeUnit",yy);return{...t!==void 0?{baseTimeUnit:t}:{},...n!==void 0?{majorUnit:n}:{},...r!==void 0?{majorTimeUnit:r}:{},...a!==void 0?{minorUnit:a}:{},...l!==void 0?{minorTimeUnit:l}:{}}},JH=e=>{if(e===void 0)return;let{numberFormat:t,...n}=e;return Object.keys(n).length>0?n:void 0},QH=e=>{if(!(e?.min===void 0&&e?.max===void 0))return{...e.min!==void 0?{min:e.min}:{},...e.max!==void 0?{max:e.max}:{}}},gw=e=>{let t=m(e,Mt),n=t!==null?m(t,o("a","ln",He)):null;return n!==null&&m(n,o("a","noFill",He))!==null},eV=e=>{let t=m(e,o("c","serAx",j));if(t===null)return;let n=br(t,"delete"),r=$s(t),a=m(t,ga),l=a!==null?Us(a):void 0,i=m(t,o("c","txPr",j)),s=i!==null?ya(i):void 0,c=m(t,o("c","majorGridlines",j))!==null,p=m(t,o("c","scaling",j)),u=p!==null?Jn(p,"orientation",["minMax","maxMin"]):void 0,f=Jn(t,"tickLblPos",["none","low","high","nextTo"]),y=vt(t,"tickLblSkip"),g=m(t,Mt),S=$o(g!==null?m(g,o("a","ln",He)):null),E={...n===!0?{hidden:n}:{},...r!==void 0?{title:r}:{},...l!==void 0?{titleStyle:l}:{},...s!==void 0?{labelStyle:s}:{},...c?{majorGridlines:c}:{},...u==="maxMin"?{orientation:u}:{},...f!==void 0?{tickLabelPos:f}:{},...y!==void 0?{tickLabelSkip:y}:{},...S!==void 0?{lineColor:S}:{}};return Object.keys(E).length>0?E:void 0},vw=e=>{let t=m(e,o("c","layout",j)),n=t!==null?m(t,o("c","manualLayout",j)):null;if(n===null||fl(n,"xMode")!=="edge"||fl(n,"yMode")!=="edge")return;let r=p=>(fl(n,p)??"factor")==="factor";if(!r("wMode")||!r("hMode"))return;let a=vt(n,"x"),l=vt(n,"y");if(a===void 0||l===void 0)return;let i=vt(n,"w"),s=vt(n,"h"),c=Jn(n,"layoutTarget",["inner","outer"]);return{x:a,y:l,...i!==void 0?{w:i}:{},...s!==void 0?{h:s}:{},...c!==void 0?{target:c}:{}}},yw=e=>{let t=vw(e);if(!(t===void 0||t.w===void 0||t.h===void 0))return{x:t.x,y:t.y,w:t.w,h:t.h,...t.target!==void 0?{target:t.target}:{}}},tV=e=>{let t=m(e,xw),n=t!==null?m(t,Sw):null;if(n===null)return;let r=Q(n,bw).slice(1).map(a=>Xo(a,n));return r.length>0?r:void 0},qs=e=>{if(e.name.namespaceURI!==j||e.name.localName!=="chartSpace")throw new Error(`expected <c:chartSpace> root, got <${e.name.prefix}:${e.name.localName}>`);let t=m(e,lH);if(!t)throw new Error("<c:chartSpace> has no <c:chart>");let n=m(t,oH);if(!n)throw new Error("<c:chart> has no <c:plotArea>");let r=new Map(EH.map(q=>[q.localName,q])),a=[];for(let q of n.children){if(q.kind!=="element"||q.name.namespaceURI!==j)continue;let W=r.get(q.name.localName);if(!W)continue;let ee=W.kind;if(W.localName==="barChart"||W.localName==="bar3DChart"){let ie=m(q,o("c","barDir",j));ee=(ie!==null?x(ie,oe):null)==="bar"?"bar":"column"}a.push({element:q,kind:ee})}let l=a[0];if(!l)return null;let i=l.element,s=l.kind,c=q=>{let W=[];for(let ee of Q(q,o("c","axId",j))){let ie=x(ee,oe);ie!==null&&W.push(ie)}return W},p=new Set;for(let q of Q(n,hy)){let W=m(q,o("c","axId",j)),ee=W!==null?x(W,oe):null;ee!==null&&p.add(ee)}let u=new Set(c(i)),f=new Set;for(let q of a.slice(1))for(let W of c(q.element))p.has(W)&&!u.has(W)&&f.add(W);let y=q=>c(q).some(W=>f.has(W)),g=[],S=null,E,A=[];for(let q of a){let W=y(q.element);for(let ee of Q(q.element,dw))A.push({ser:ee,groupKind:q.kind,secondary:W})}for(let{ser:q,groupKind:W,secondary:ee}of A){let ie=vH(q),De=m(q,iH);if(De!==null&&S===null&&(S=Ey(De)??null,E=tV(De),S===null)){let kS=Am(De);kS!==null&&(S=kS.map(Qu=>Qu===null||!Number.isFinite(Qu)?"":String(Qu)))}let Be=m(q,sH);Be||(Be=m(q,o("c","yVal",j)));let et=Be!==null?Am(Be):null,Bt=m(q,o("c","xVal",j)),Me=Bt!==null?Am(Bt):null,Ke=m(q,o("c","bubbleSize",j)),Yt=Ke!==null?Am(Ke):null,jn=LH(q),{lineWidthEmu:Ee,lineColor:st,lineDash:Zt}=NH(q),{markerSymbol:Dr,markerSizePt:Ni,markerColor:Ul,markerLineColor:Di}=RH(q),_i=m(q,o("c","invertIfNegative",j)),wS=_i!==null&&jo(_i)?!0:void 0,vS=et!==null?et.length:0,{colors:CS,explosions:PS}=CH(q,vS),Ku=m(q,o("c","smooth",j)),i4=Ku!==null&&jo(Ku),LS=PH(q),RS=qH(q),{errorBars:NS,xErrorBars:DS}=VH(q),ki=m(q,cw),Ju=ki!==null&&$H(ki)?fw(ki):void 0,_S=ki!==null?GH(ki,vS,Ju):void 0;g.push({name:ie,values:et??[],...W!==s&&bH(W)?{chartKind:W}:{},...ee?{secondaryAxis:!0}:{},...Me!==null?{xValues:Me}:{},...Yt!==null?{bubbleSizes:Yt}:{},...jn!==void 0?{color:jn}:{},...Ee!==void 0?{lineWidthEmu:Ee}:{},...st!==void 0?{lineColor:st}:{},...Zt!==void 0?{lineDash:Zt}:{},...Dr!==void 0?{markerSymbol:Dr}:{},...Ni!==void 0?{markerSizePt:Ni}:{},...Ul!==void 0?{markerColor:Ul}:{},...Di!==void 0?{markerLineColor:Di}:{},...wS!==void 0?{invertIfNegative:wS}:{},...CS!==void 0?{pointColors:CS}:{},...PS!==void 0?{pointExplosions:PS}:{},..._S!==void 0?{pointDataLabels:_S}:{},...Ku!==null?{smooth:i4}:{},...LS!==void 0?{trendline:LS}:{},...Ju!==void 0?{dataLabels:Ju}:{},...RS!==void 0?{fillOpacity:RS}:{},...NS!==void 0?{errorBars:NS}:{},...DS!==void 0?{xErrorBars:DS}:{}})}let T=S??[],w=$s(t),v=BH(t),C=m(i,cw),R=C!==null?fw(C):void 0,N=null,_=null;for(let q of Q(n,hy)){let W=m(q,o("c","axId",j)),ee=W!==null?x(W,oe):null;ee!==null&&f.has(ee)?_??=q:N??=q}N===null&&(N=_,_=null);let k=s==="scatter"||s==="bubble",M=null;if(k){let[q,W]=c(i),ee=new Map;for(let Be of Q(n,hy)){let et=fl(Be,"axId");et!==null&&ee.set(et,Be)}let ie=q!==void 0?ee.get(q):void 0,De=W!==void 0?ee.get(W):void 0;ie!==void 0&&De!==void 0&&(M=ie,N=De)}let I=N!==null?gy(N):void 0,K;if(s==="column"||s==="bar"||s==="area"||s==="line"){let q=m(i,o("c","grouping",j));if(q){let W=x(q,oe);(W==="clustered"||W==="stacked"||W==="percentStacked"||W==="standard")&&(K=W)}}let re=m(i,o("c","dropLines",j)),Se=m(i,o("c","hiLowLines",j)),Ce=re!==null?!0:void 0,me=Se!==null?!0:void 0,we;if(i.name.localName==="lineChart"){let q=m(i,o("c","marker",j));if(q===null)we=!1;else{let W=x(q,oe);we=W===null?!0:W==="1"||W==="true"}}let Ne,Xe;if(s==="column"||s==="bar"){let q=m(i,o("c","gapWidth",j));if(q){let ee=x(q,oe);if(ee!==null){let ie=Number.parseInt(ee,10);Number.isFinite(ie)&&(Ne=ie)}}let W=m(i,o("c","overlap",j));if(W){let ee=x(W,oe);if(ee!==null){let ie=Number.parseInt(ee,10);Number.isFinite(ie)&&(Xe=ie)}}}let ze,wn,Et,xt,it,rt,ve,Lt,at,vn,Lr=(q,W)=>{let ee=m(q,o("c",W,j));if(!ee)return;let ie=x(ee,oe);if(ie==="in"||ie==="out"||ie==="cross"||ie==="none")return ie},ta=q=>Lr(q,"majorTickMark"),Rr,Nr,lr,Ma,du,cu,mu,pu,uu,fu,hu,gu,X1,yu,xu,j1,$1,Su,bu,Eu,Au,Tu,wu,vu,Cu,Pu,Ri=q=>{let W=m(q,Mt);if(!W)return;let ee=m(W,o("a","ln",He));if(!ee)return;let ie=m(ee,Kn);if(!ie)return;let De=m(ie,Sr);if(!De)return;let Be=x(De,oe);return Be!==null?`#${Be.toUpperCase()}`:void 0},na=q=>{let W=m(q,Mt),ee=W!==null?m(W,o("a","ln",He)):null,ie=ee!==null?x(ee,o("","w","")):null;if(!(ie===null||!/^\d+$/.test(ie)))return Number.parseInt(ie,10)},Lu=q=>{let W=m(q,Mt);if(!W)return;let ee=m(W,o("a","ln",He));if(!ee)return;let ie=m(ee,Kn);if(!ie)return;let De=m(ie,Sr);if(!De)return;let Be=x(De,oe);return Be!==null?`#${Be.toUpperCase()}`:void 0},We=M??AH(n,["catAx","dateAx"]),U1=q=>{let W=m(q,o("c","delete",j));if(!W)return;let ee=x(W,oe);return ee===null||ee==="1"||ee==="true"},Ru,Nu,kd,Du,_u,G1=q=>{let W=m(q,o("c","scaling",j));if(!W)return;let ee=m(W,o("c","orientation",j));if(!ee)return;let ie=x(ee,oe);if(ie==="minMax"||ie==="maxMin")return ie};if(We){let q=$s(We);q!==void 0&&(ze=q);let W=m(We,ga);W&&(wn=Us(W),Et=uw(W));let ee=m(We,o("c","txPr",j));if(ee){xt=ya(ee);let Ee=m(ee,o("a","bodyPr",He));if(Ee){let st=x(Ee,o("","rot",""));if(st!==null){let Zt=Number.parseInt(st,10);Number.isFinite(Zt)&&(it=Zt/6e4)}}}du=U1(We),yu=Lu(We),Au=na(We);let ie=m(We,o("c","majorGridlines",j));j1=ie!==null,ie&&(Su=Ri(ie),wu=na(ie));let De=m(We,o("c","minorGridlines",j));$1=De!==null,De&&(bu=Ri(De),vu=na(De)),Ru=G1(We),Lt=ta(We),vn=Lr(We,"minorTickMark");let Be=m(We,o("c","tickLblSkip",j));if(Be){let Ee=x(Be,oe);if(Ee!==null){let st=Number.parseInt(Ee,10);Number.isFinite(st)&&st>1&&(mu=st)}}let et=m(We,o("c","tickMarkSkip",j));if(et){let Ee=x(et,oe);if(Ee!==null){let st=Number.parseInt(Ee,10);Number.isFinite(st)&&st>1&&(pu=st)}}let Bt=m(We,o("c","tickLblPos",j));if(Bt){let Ee=x(Bt,oe);(Ee==="none"||Ee==="low"||Ee==="high"||Ee==="nextTo")&&(uu=Ee)}let Me=m(We,o("c","lblOffset",j));if(Me){let Ee=x(Me,oe);if(Ee!==null){let st=Number.parseInt(Ee,10);Number.isFinite(st)&&st!==100&&(fu=st)}}let Ke=m(We,o("c","lblAlgn",j));if(Ke){let Ee=x(Ke,oe);(Ee==="ctr"||Ee==="l"||Ee==="r")&&(hu=Ee)}let Yt=m(We,o("c","numFmt",j));if(Yt){let Ee=x(Yt,o("","formatCode",""));Ee!==null&&Ee.length>0&&Ee!=="General"&&(gu=Ee)}let jn=m(We,o("c","noMultiLvlLbl",j));if(jn){let Ee=x(jn,oe);(Ee==="1"||Ee==="true")&&(X1=!0)}}let ku,Mu,Fu;if(N){let q=$s(N);q!==void 0&&(Rr=q);let W=m(N,ga);W&&(Nr=Us(W),lr=uw(W));let ee=m(N,o("c","txPr",j));if(ee){Ma=ya(ee);let Me=m(ee,o("a","bodyPr",He));if(Me){let Ke=x(Me,o("","rot",""));if(Ke!==null){let Yt=Number.parseInt(Ke,10);Number.isFinite(Yt)&&(rt=Yt/6e4)}}}cu=U1(N),xu=Lu(N),Tu=na(N),Nu=G1(N),ve=ta(N),at=Lr(N,"minorTickMark");let ie=m(N,o("c","tickLblPos",j));if(ie){let Me=x(ie,oe);(Me==="none"||Me==="low"||Me==="high"||Me==="nextTo")&&(_u=Me)}let De=m(N,o("c","crossesAt",j));if(De){let Me=x(De,oe);if(Me!==null){let Ke=Number.parseFloat(Me);Number.isFinite(Ke)&&(kd={at:Ke})}}else{let Me=m(N,o("c","crosses",j));if(Me){let Ke=x(Me,oe);(Ke==="autoZero"||Ke==="min"||Ke==="max")&&(kd=Ke)}}let Be=m(N,o("c","crossBetween",j));if(Be){let Me=x(Be,oe);(Me==="between"||Me==="midCat")&&(Du=Me)}let et=m(N,o("c","majorGridlines",j));ku=et!==null,et&&(Fu=Ri(et),Cu=na(et));let Bt=m(N,o("c","minorGridlines",j));Mu=Bt!==null,Bt&&(Eu=Ri(Bt),Pu=na(Bt))}let Iu;if(_!==null){let q=gy(_),W=$s(_),ee=m(_,ga),ie=ee!==null?Us(ee):void 0,De=m(_,o("c","txPr",j)),Be=De!==null?ya(De):void 0,et=m(_,o("c","majorGridlines",j)),Bt=et!==null?Ri(et):void 0,Me=et!==null?na(et):void 0,Ke=Lu(_),Yt=na(_),jn=ta(_),Ee=Lr(_,"minorTickMark"),st=m(_,o("c","tickLblPos",j)),Zt=st!==null?x(st,oe):null,Dr=Zt==="none"||Zt==="low"||Zt==="high"||Zt==="nextTo"?Zt:void 0,Ni=m(_,o("c","crossBetween",j)),Ul=Ni!==null?x(Ni,oe):null,Di=Ul==="between"||Ul==="midCat"?Ul:void 0,_i={...q!==void 0?{scaling:q}:{},...W!==void 0?{title:W}:{},...ie!==void 0?{titleStyle:ie}:{},...Be!==void 0?{labelStyle:Be}:{},...et!==null?{majorGridlines:!0}:{},...Bt!==void 0?{majorGridlineColor:Bt}:{},...Me!==void 0?{majorGridlineWidthEmu:Me}:{},...Ke!==void 0?{lineColor:Ke}:{},...Yt!==void 0?{lineWidthEmu:Yt}:{},...jn!==void 0?{majorTickMark:jn}:{},...Ee!==void 0?{minorTickMark:Ee}:{},...Dr!==void 0?{tickLabelPos:Dr}:{},...Di!==void 0?{crossBetween:Di}:{}};Object.keys(_i).length>0&&(Iu=_i)}let q1=q=>{let W=m(q,Mt);if(!W)return;let ee=m(W,Kn);if(!ee)return;let ie=m(ee,Sr);if(!ie)return;let De=x(ie,oe);return De!==null?`#${De.toUpperCase()}`:void 0},H1=q=>{let W=m(q,Mt);if(!W)return;let ee=m(W,o("a","ln",He));if(!ee)return;let ie=m(ee,Kn);if(!ie)return;let De=m(ie,Sr);if(!De)return;let Be=x(De,oe);return Be!==null?`#${Be.toUpperCase()}`:void 0},V1=q1(n),z1=H1(n),W1=q1(e),Y1=H1(e),Bu,Z1=m(t,o("c","dispBlanksAs",j));if(Z1){let q=x(Z1,oe);(q==="gap"||q==="zero"||q==="span")&&(Bu=q)}let K1,J1=m(t,o("c","plotVisOnly",j));if(J1){let q=x(J1,oe);(q==="0"||q==="false")&&(K1=!1)}let Q1,eS=m(e,o("c","roundedCorners",j));if(eS){let q=x(eS,oe);(q==="1"||q==="true")&&(Q1=!0)}let Ou,tS=m(e,o("c","style",j));if(tS){let q=x(tS,oe);if(q!==null){let W=Number.parseInt(q,10);Number.isFinite(W)&&W>=1&&W<=48&&(Ou=W)}}let Xu,nS=m(e,o("c","lang",j));if(nS){let q=x(nS,oe);q!==null&&q.length>0&&(Xu=q)}let rS,aS=m(e,o("c","date1904",j));if(aS){let q=x(aS,oe);(q==="1"||q==="true")&&(rS=!0)}let ju,$l=m(t,o("c","legend",j));if($l){let q=m($l,o("c","legendPos",j)),W=q?x(q,oe):null,ee=m($l,o("c","overlay",j)),ie=ee?x(ee,oe)!=="0":!1,De=m($l,o("c","txPr",j)),Be=De?ya(De):void 0,et=[];for(let Ke of $l.children){if(Ke.kind!=="element"||Ke.name.namespaceURI!==j||Ke.name.localName!=="legendEntry")continue;let Yt=m(Ke,o("c","idx",j)),jn=m(Ke,o("c","delete",j));if(!Yt||!jn)continue;let Ee=x(jn,oe);if(!(Ee===null||Ee==="1"||Ee==="true"))continue;let Zt=x(Yt,oe);if(Zt===null)continue;let Dr=Number.parseInt(Zt,10);Number.isFinite(Dr)&&Dr>=0&&et.push(Dr)}let Bt=W==="r"||W==="t"||W==="b"||W==="l"||W==="tr"?W:"r",Me=yw($l);ju={position:Bt,...ie?{overlay:ie}:{},...Me!==void 0?{layout:Me}:{},...Be!==void 0?{textStyle:Be}:{},...et.length>0?{hiddenIndices:et}:{}}}let $u,lS=m(i,o("c","varyColors",j));if(lS){let q=x(lS,oe);$u=q===null||q==="1"||q==="true"}let Uu,oS=m(t,ga);if(oS){let q=m(oS,o("c","overlay",j));q&&(Uu=x(q,oe)!=="0")}let Gu,qu;if(s==="pie"||s==="doughnut"){let q=m(i,o("c","firstSliceAng",j));if(q){let W=x(q,oe);if(W!==null){let ee=Number.parseInt(W,10);Number.isFinite(ee)&&(Gu=(ee%360+360)%360)}}if(s==="doughnut"){let W=m(i,o("c","holeSize",j));if(W){let ee=x(W,oe);if(ee!==null){let ie=Number.parseInt(ee,10);Number.isFinite(ie)&&(qu=Math.max(10,Math.min(90,ie)))}}}}let Hu,Vu,zu,Md;if(s==="scatter"){let q=m(i,o("c","scatterStyle",j));if(q){let W=x(q,oe);(W==="none"||W==="line"||W==="lineMarker"||W==="marker"||W==="smooth"||W==="smoothMarker")&&(Hu=W)}}else if(s==="radar"){let q=m(i,o("c","radarStyle",j));if(q){let W=x(q,oe);(W==="standard"||W==="marker"||W==="filled")&&(Vu=W)}}else if(s==="bubble"){let q=m(i,o("c","bubbleScale",j));if(q){let ee=x(q,oe);if(ee!==null){let ie=Number.parseInt(ee,10);Number.isFinite(ie)&&ie>=0&&(zu=Math.min(300,ie))}}let W=m(i,o("c","sizeRepresents",j));if(W){let ee=x(W,oe);ee==="area"?Md="area":ee==="w"&&(Md="width")}}let Fd=i.name.localName,o4=zH(t),Wu=Fd.endsWith("3DChart")||s==="surface"?o4:void 0,iS=Fd==="bar3DChart"?Jn(i,"shape",["box","cone","coneToMax","cylinder","pyramid","pyramidToMax"]):void 0,sS=Wu!==void 0?vt(i,"gapDepth"):void 0,dS=s==="bubble"&&Q(i,dw).some(q=>br(q,"bubble3D")===!0),cS=s==="bubble"?br(i,"showNegBubbles"):void 0,mS=Fd==="ofPieChart"?WH(i):void 0,pS=Fd==="surfaceChart",uS=s==="surface"?br(i,"wireframe"):void 0,fS=YH(i),hS=ZH(n),gS=eV(n),yS=yw(n),xS=m(t,ga),Yu=xS!==null?vw(xS):void 0,SS=Yu!==void 0?{x:Yu.x,y:Yu.y}:void 0,Zu=We!==null&&We.name.localName==="dateAx"?KH(We):void 0,bS=We!==null?gy(We):void 0,ES=k?JH(bS):Zu!==void 0?QH(bS):void 0,AS=N!==null&&gw(N),TS=We!==null&&gw(We);return{kind:s,categories:T,series:g,...w!==void 0?{title:w}:{},...v!==void 0?{titleStyle:v}:{},...R!==void 0?{dataLabels:R}:{},...I!==void 0?{valueAxis:I}:{},...Iu!==void 0?{secondaryValueAxis:Iu}:{},...K!==void 0?{grouping:K}:{},...Ce!==void 0?{dropLines:Ce}:{},...me!==void 0?{hiLowLines:me}:{},...we!==void 0?{lineMarkers:we}:{},...Ne!==void 0?{gapWidthPct:Ne}:{},...Xe!==void 0?{overlapPct:Xe}:{},...ju!==void 0?{legend:ju}:{},...Uu!==void 0?{titleOverlay:Uu}:{},...$u!==void 0?{varyColors:$u}:{},...Bu!==void 0?{dispBlanksAs:Bu}:{},...K1===!1?{plotVisibleCellsOnly:!1}:{},...Q1===!0?{roundedCorners:!0}:{},...Ou!==void 0?{chartStyle:Ou}:{},...Xu!==void 0?{language:Xu}:{},...rS===!0?{date1904:!0}:{},...V1!==void 0?{plotAreaFill:V1}:{},...z1!==void 0?{plotAreaStrokeColor:z1}:{},...W1!==void 0?{chartAreaFill:W1}:{},...Y1!==void 0?{chartAreaStrokeColor:Y1}:{},...ze!==void 0?{categoryAxisTitle:ze}:{},...wn!==void 0?{categoryAxisTitleStyle:wn}:{},...Et!==void 0?{categoryAxisTitleRotationDeg:Et}:{},...xt!==void 0?{categoryAxisLabelStyle:xt}:{},...it!==void 0?{categoryAxisLabelRotationDeg:it}:{},...Rr!==void 0?{valueAxisTitle:Rr}:{},...Nr!==void 0?{valueAxisTitleStyle:Nr}:{},...lr!==void 0?{valueAxisTitleRotationDeg:lr}:{},...Ma!==void 0?{valueAxisLabelStyle:Ma}:{},...du!==void 0?{categoryAxisHidden:du}:{},...cu!==void 0?{valueAxisHidden:cu}:{},...ku!==void 0?{valueAxisMajorGridlines:ku}:{},...Fu!==void 0?{valueAxisMajorGridlineColor:Fu}:{},...Cu!==void 0?{valueAxisMajorGridlineWidthEmu:Cu}:{},...ve!==void 0?{valueAxisMajorTickMark:ve}:{},...at!==void 0?{valueAxisMinorTickMark:at}:{},..._u!==void 0?{valueAxisTickLabelPos:_u}:{},...rt!==void 0?{valueAxisLabelRotationDeg:rt}:{},...Lt!==void 0?{categoryAxisMajorTickMark:Lt}:{},...vn!==void 0?{categoryAxisMinorTickMark:vn}:{},...Mu!==void 0?{valueAxisMinorGridlines:Mu}:{},...mu!==void 0?{categoryAxisTickLabelSkip:mu}:{},...pu!==void 0?{categoryAxisTickMarkSkip:pu}:{},...uu!==void 0?{categoryAxisTickLabelPos:uu}:{},...fu!==void 0?{categoryAxisLabelOffset:fu}:{},...hu!==void 0?{categoryAxisLabelAlign:hu}:{},...gu!==void 0?{categoryAxisNumberFormat:gu}:{},...X1===!0?{categoryAxisNoMultiLevelLabel:!0}:{},...yu!==void 0?{categoryAxisLineColor:yu}:{},...xu!==void 0?{valueAxisLineColor:xu}:{},...j1===!0?{categoryAxisMajorGridlines:!0}:{},...$1===!0?{categoryAxisMinorGridlines:!0}:{},...Su!==void 0?{categoryAxisMajorGridlineColor:Su}:{},...bu!==void 0?{categoryAxisMinorGridlineColor:bu}:{},...Eu!==void 0?{valueAxisMinorGridlineColor:Eu}:{},...Au!==void 0?{categoryAxisLineWidthEmu:Au}:{},...Tu!==void 0?{valueAxisLineWidthEmu:Tu}:{},...wu!==void 0?{categoryAxisMajorGridlineWidthEmu:wu}:{},...vu!==void 0?{categoryAxisMinorGridlineWidthEmu:vu}:{},...Pu!==void 0?{valueAxisMinorGridlineWidthEmu:Pu}:{},...Ru!==void 0?{categoryAxisOrientation:Ru}:{},...Nu!==void 0?{valueAxisOrientation:Nu}:{},...kd!==void 0?{valueAxisCrosses:kd}:{},...Du!==void 0?{valueAxisCrossBetween:Du}:{},...Gu!==void 0?{firstSliceAngleDeg:Gu}:{},...qu!==void 0?{holeSizePct:qu}:{},...Hu!==void 0?{scatterStyle:Hu}:{},...Vu!==void 0?{radarStyle:Vu}:{},...zu!==void 0?{bubbleScale:zu}:{},...Md!==void 0?{bubbleSizeRepresents:Md}:{},...dS===!0?{bubble3D:dS}:{},...cS!==void 0?{showNegativeBubbles:cS}:{},...Wu!==void 0?{view3D:Wu}:{},...iS!==void 0?{bar3DShape:iS}:{},...sS!==void 0?{gapDepthPct:sS}:{},...gS!==void 0?{seriesAxis:gS}:{},...mS!==void 0?{ofPie:mS}:{},...pS?{surfaceContour:pS}:{},...uS!==void 0?{surfaceWireframe:uS}:{},...fS!==void 0?{upDownBars:fS}:{},...hS!==void 0?{dataTable:hS}:{},...Zu!==void 0?{categoryAxisDate:Zu}:{},...ES!==void 0?{categoryAxisScaling:ES}:{},...E!==void 0?{categoryGroupLevels:E}:{},...yS!==void 0?{plotAreaLayout:yS}:{},...SS!==void 0?{titleLayout:SS}:{},...AS?{valueAxisLineHidden:AS}:{},...TS?{categoryAxisLineHidden:TS}:{}}};function Cw(e,t,n,r){hl(e,e,new Map([[t,n]]),r)}function hl(e,t,n,r=new Set,a=new Map){let l=new Map(e.parts.map(E=>[E.name.toLowerCase(),E])),i=new Set(t.parts.map(E=>E.name.toLowerCase())),s=new Map([...a].map(([E,A])=>[E.toLowerCase(),A])),c=[],p=[],u=new TextEncoder,f=new TextDecoder,y=new Map,g=E=>{let A=E.lastIndexOf("."),T=A>E.lastIndexOf("/")?A:E.length,w=E.slice(0,T),v=E.slice(T),C=y.get(E.toLowerCase())??1,R;do R=G(`${w}-copy${C++}${v}`);while(i.has(R.toLowerCase()));return y.set(E.toLowerCase(),C),i.add(R.toLowerCase()),R};for(let[E,A]of n)s.has(E.toLowerCase())||(s.set(E.toLowerCase(),A??g(E)),A&&i.add(A.toLowerCase()),c.push(E));for(let E=0;E<c.length;E++){let A=c[E],T=l.get(A.toLowerCase());if(!T)throw new Error(`Cannot duplicate missing dependency ${A}`);let w=s.get(A.toLowerCase());p.push({name:w,contentType:T.contentType,data:new Uint8Array(T.data)});let v=l.get(Dt(A).toLowerCase());if(!v)continue;let C=$(f.decode(v.data));for(let R of C.root.children){if(R.kind!=="element"||R.name.localName!=="Relationship"||R.name.namespaceURI!==d.relationships)continue;let N=R.attrs.find(K=>K.name.namespaceURI===""&&K.name.localName==="Target"),_=R.attrs.find(K=>K.name.namespaceURI===""&&K.name.localName==="Type")?.value,k=R.attrs.find(K=>K.name.namespaceURI===""&&K.name.localName==="TargetMode")?.value;if(!N||!_)throw new Error(`Invalid relationship in ${v.name}`);if(k==="External")continue;let M=H(A,N.value);if(!l.has(M.toLowerCase()))throw new Error(`Cannot duplicate missing dependency ${M}`);let I=s.get(M.toLowerCase());!I&&!r.has(_)&&(I=g(M),s.set(M.toLowerCase(),I),c.push(M)),R.attrs=R.attrs.map(K=>K===N?{...K,value:I??M}:K)}p.push({name:Dt(w),contentType:v.contentType,data:u.encode(ae(C))})}let S=new Set(t.parts.map(E=>E.name.toLowerCase()));for(let E of p){let A=E.name.toLowerCase();if(S.has(A))throw new Error(`Cannot duplicate into existing part ${E.name}`);S.add(A)}for(let E of p)t.addPart(E.name,E.contentType,E.data);return s}function vm(e){let t=m(e,o("a","srcRect",d.dml));if(!t)return null;let n=r=>{let a=x(t,o("",r,""));return St(a,0)};return{left:n("l"),top:n("t"),right:n("r"),bottom:n("b")}}var nV=o("a","alphaModFix",d.dml),rV=o("","amt",""),Cm=(e,t)=>{let n=e.children.findIndex(r=>r.kind==="element"&&r.name.namespaceURI===d.dml&&r.name.localName==="extLst");n===-1?e.children.push(t):e.children.splice(n,0,t)},Pm=e=>{let t=m(e,o("a","alphaModFix",d.dml));if(!t)return null;let n=x(t,o("","amt",""));if(n===null)return 1;let r=St(n,Number.NaN);return Number.isFinite(r)?r:null},Lm=(e,t)=>{if(t!==null&&(!Number.isFinite(t)||t<0||t>1))throw new RangeError(`opacity must be in [0, 1], got ${t}`);e.children=e.children.filter(n=>!(n.kind==="element"&&n.name.namespaceURI===d.dml&&n.name.localName==="alphaModFix")),t!==null&&Cm(e,h(nV,{attrs:[b(rV,String(Math.round(t*1e5)))]}))};var Hs=e=>Math.round(e*914400),Pw=e=>Math.round(e*36e4),Lw=e=>Math.round(e*36e4/10),Rw=e=>Math.round(e*12700),Qn=e=>Math.round(e);var Vs=(e,t)=>x(e,o("",t,"")),Uo=(e,t,n)=>St(Vs(e,t),n),Nw=(e,t)=>{let n=Vs(e,t)?.trim()??"0",r={mm:36e3,cm:36e4,in:914400,pt:12700,pc:152400,pi:152400},a=/^([+-]?(?:\d+(?:\.\d*)?|\.\d+))(mm|cm|in|pt|pc|pi)?$/.exec(n);return Qn(a?Number(a[1])*(a[2]?r[a[2]]:1):0)},kw=e=>{switch(e?.trim()){case"t":return"t";case"tr":return"tr";case"l":return"l";case"ctr":return"ctr";case"r":return"r";case"bl":return"bl";case"b":return"b";case"br":return"br";default:return"tl"}},Mw=e=>{switch(e?.trim()){case"x":return"x";case"y":return"y";case"xy":return"xy";default:return"none"}},Rm=e=>{let t=Vs(e,"rotWithShape")?.trim(),n=t!=="0"&&t!=="false",r=m(e,o("a","tile",d.dml));if(r)return{mode:"tile",rotateWithShape:n,offsetX:Nw(r,"tx"),offsetY:Nw(r,"ty"),scaleX:Uo(r,"sx",1),scaleY:Uo(r,"sy",1),alignment:kw(Vs(r,"algn")),flip:Mw(Vs(r,"flip"))};let a=m(e,o("a","stretch",d.dml)),l=a&&m(a,o("a","fillRect",d.dml));return{mode:"stretch",rotateWithShape:n,left:l?Uo(l,"l",0):0,top:l?Uo(l,"t",0):0,right:l?Uo(l,"r",0):0,bottom:l?Uo(l,"b",0):0}},aV=-2147483648,lV=2147483647,Dw=-27273042329600,_w=27273042316900,Ay=(e,t,n,r,a)=>{let l=Math.round(t*n);if(!Number.isFinite(t)||l<r||l>a)throw new RangeError(`Image fill ${e} is outside the supported range`);return b(o("",e,""),String(l))},Go=(e,t)=>Ay(e,t,1e5,aV,lV),Nm=(e,t)=>{let n;if(t.mode==="tile"){let r=t.alignment??"tl",a=t.flip??"none";if(kw(r)!==r||Mw(a)!==a)throw new RangeError("Invalid image tile alignment or flip");n=h(o("a","tile",d.dml),{attrs:[Ay("tx",t.offsetX??0,1,Dw,_w),Ay("ty",t.offsetY??0,1,Dw,_w),Go("sx",t.scaleX??1),Go("sy",t.scaleY??1),b(o("","flip",""),a),b(o("","algn",""),r)]})}else if(t.mode==="stretch")n=h(o("a","stretch",d.dml),{children:[h(o("a","fillRect",d.dml),{attrs:[Go("l",t.left??0),Go("t",t.top??0),Go("r",t.right??0),Go("b",t.bottom??0)]})]});else throw new RangeError("Invalid image fill mode");if(t.rotateWithShape!==void 0&&typeof t.rotateWithShape!="boolean")throw new TypeError("rotateWithShape must be a boolean");e.children=e.children.filter(r=>!(r.kind==="element"&&r.name.namespaceURI===d.dml&&(r.name.localName==="tile"||r.name.localName==="stretch"))),e.children.push(n),t.rotateWithShape!==void 0&&(e.attrs=e.attrs.filter(r=>!(r.name.localName==="rotWithShape"&&r.name.namespaceURI==="")),e.attrs.push(b(o("","rotWithShape",""),t.rotateWithShape?"1":"0")))},Dm=(e,t)=>{let n=Ya(t);if(!n)return null;let r=Number(x(e,o("","dpi",""))),a=W2(t),l=r>0?r:a?.x??96,i=r>0?r:a?.y??96;return{width:Hs(n.width/l),height:Hs(n.height/i)}};var er=(e,t,n=d.pml)=>e?m(e,o("",t,n)):null;function zr(e,t,n){let r=er(er(n,"cSld"),"bg"),a=er(r,"bgPr"),l=er(r,"bgRef");if(!a&&!l)return{properties:null,theme:null,colorMap:{}};let i=[n],s=t;for(let f of[D.slideLayout,D.slideMaster]){let y=e.getRels(s)?.items.find(S=>S.type===f&&S.targetMode!=="External");if(!y)continue;s=H(s,y.target);let g=e.getPart(s);g&&i.push($(V(g.data)).root)}let c={},p={};for(let f of[...i].reverse()){let y=er(f,"clrMap"),g=er(f,"clrMapOvr");er(g,"masterClrMapping",d.dml)&&(c={...p});let S=y??er(g,"overrideClrMapping",d.dml);for(let E of S?.attrs??[])E.name.namespaceURI===""&&(c[E.name.localName]=E.value);y&&(p={...c})}let u=Vr(e,s);if(!a&&l){let f=Number(x(l,o("","idx",""))),y=Wn(e,s),g=er(er(y,"themeElements",d.dml),"fmtScheme",d.dml),S=1001,T=(er(g,f>=S?"bgFillStyleLst":"fillStyleLst",d.dml)?.children.filter(w=>w.kind==="element")??[])[f>=S?f-S:f-1];if(T?.kind==="element"){let w=he(T),v=l.children.find(C=>C.kind==="element"&&C.name.namespaceURI===d.dml);if(v?.kind==="element"){let C=R=>{R.children=R.children.map(N=>{if(N.kind!=="element")return N;if(N.name.namespaceURI===d.dml&&N.name.localName==="schemeClr"&&x(N,o("","val",""))==="phClr"){let _=he(v);return _.children.push(...N.children.map(k=>k.kind==="element"?he(k):{...k})),_}return C(N),N})};C(w)}a=h(o("p","bgPr",d.pml),{children:[w]})}}return{properties:a,theme:u,colorMap:c}}var zs=e=>e.filter(t=>t.placeholderType!==null||t.placeholderIdx!==null),qo=e=>zs(e).map(t=>{let n=Rt(t.element,t.kind),r=At(t.element,t.kind),a=n===null||r===null?null:{x:n.x,y:n.y,w:r.w,h:r.h};return{type:t.placeholderType,idx:t.placeholderIdx,name:t.name,bounds:a}}),mt=(e,t)=>{let n=e.getPart(t);if(n===null)throw new Error(`part ${t} is missing`);return{part:n,doc:$(V(n.data))}},En=({part:e,doc:t})=>{e.data=le(ae(t))},Ho=e=>{let t=m(e,Le),n=t&&m(t,_n);if(!n)throw new Error(`<p:${e.name.localName}> has no <p:spTree>`);return n},oV=o("p","nvSpPr",d.pml),iV=o("p","nvPr",d.pml),sV=o("p","ph",d.pml),dV=o("","type",""),cV=o("","idx",""),Fw=e=>{if(e.name.namespaceURI!==d.pml||e.name.localName!=="sp")return null;let t=m(e,oV),n=t&&m(t,iV);return n&&m(n,sV)},Ws=e=>{let t=Fw(e);return t===null?null:x(t,dV)??"obj"},Ty=e=>{let t=[];for(let n of e.children){if(n.kind!=="element")continue;let r=Fw(n),a=r&&x(r,cV);a&&t.push(Number(a))}return t},Vo=(e,t)=>{e.children=e.children.filter(n=>{if(n.kind!=="element")return!0;let r=Ws(n);return r===null||!t.has(r)})},gl=(e,t)=>e.children.some(n=>{if(n.kind!=="element")return!1;let r=Ws(n);return r!==null&&t.has(r)}),yl=e=>{let t=i0(e);return t.prefixDecls=new Map,t},_m=(e,t,n,r)=>{let a=r.indexOf(n),l=e.children.findIndex(i=>{if(i.kind!=="element")return!1;let s=Ws(i);return s!==null&&r.indexOf(s)>a});l<0?e.children.push(t):e.children.splice(l,0,t)};var xa=e=>e[ue].name,km=e=>e[de],Iw=(e,t)=>{for(let n of Ct(e))if(n[de]===t)return n;return null},Ys=e=>qo(e[ue].shapes),Bw=(e,t)=>{for(let n of Ct(e)){let r=n[ue].name;if(typeof t=="string"?r===t:t.test(r))return n}return null},Ow=(e,t)=>{let n=[];for(let r of Ct(e))Ys(r).some(i=>i.type===t||t==="body"&&i.type===null&&i.idx!==null)&&n.push(r);return n},Wr=(e,t)=>{for(let n of Ct(e))if(n[ue].layoutType===t)return n;return null},zo=e=>e[ue].layoutType,Ct=e=>{let t=e[L],n=[];for(let r of t.parts){if(r.contentType!==rl)continue;let a=$(V(r.data));n.push({[L]:t,[de]:r.name,[ot]:a,[ue]:$r(a.root)})}return n},Xw=e=>{let t=new Set;for(let n of z(e)){let r=Te(n);r!==null&&t.add(xa(r))}return Ct(e).filter(n=>!t.has(xa(n)))},jw=e=>{let t={};for(let n of z(e)){let r=Te(n);if(r===null)continue;let a=r[ue].layoutType;a!==null&&(t[a]=(t[a]??0)+1)}return t},$w=e=>{let t={};for(let n of Ct(e))t[xa(n)]=0;for(let n of z(e)){let r=Te(n);if(r===null)continue;let a=xa(r);t[a]=(t[a]??0)+1}return t};var mV=o("","name",""),wy=(e,t)=>{let n=m(e[ot].root,Le);if(n===null)throw new Error(`${t}: the layout has no <p:cSld>`);return n},Uw=(e,t)=>{let n=wy(e,"setSlideLayoutName");n.attrs=n.attrs.filter(r=>r.name.localName!=="name"),n.attrs.push(b(mV,t)),Hn(e)},Gw=(e,t)=>{let n=wy(e,"setSlideLayoutBackground");Fm(n,r=>dr(r,t)),Hn(e)},Mm=e=>{let t=wy(e,"clearSlideLayoutBackground");t.children=t.children.filter(n=>!(n.kind==="element"&&n.name.namespaceURI===d.pml&&n.name.localName==="bg")),Hn(e)},pV=e=>zs(e[ue].shapes),qw=(e,t,n)=>{let r=pV(e),a=r[t];if(a===void 0)throw new Error(`setSlideLayoutPlaceholderBounds: the layout has ${r.length} placeholder(s); no index ${t}`);pn(a.element,a.kind,n.x,n.y),un(a.element,a.kind,n.w,n.h),Hn(e)};var Hw={aliceBlue:"#F0F8FF",antiqueWhite:"#FAEBD7",aqua:"#00FFFF",aquamarine:"#7FFFD4",azure:"#F0FFFF",beige:"#F5F5DC",bisque:"#FFE4C4",black:"#000000",blanchedAlmond:"#FFEBCD",blue:"#0000FF",blueViolet:"#8A2BE2",brown:"#A52A2A",burlyWood:"#DEB887",cadetBlue:"#5F9EA0",chartreuse:"#7FFF00",chocolate:"#D2691E",coral:"#FF7F50",cornflowerBlue:"#6495ED",cornsilk:"#FFF8DC",crimson:"#DC143C",cyan:"#00FFFF",darkBlue:"#00008B",darkCyan:"#008B8B",darkGoldenrod:"#B8860B",darkGray:"#A9A9A9",darkGrey:"#A9A9A9",darkGreen:"#006400",darkKhaki:"#BDB76B",darkMagenta:"#8B008B",darkOliveGreen:"#556B2F",darkOrange:"#FF8C00",darkOrchid:"#9932CC",darkRed:"#8B0000",darkSalmon:"#E9967A",darkSeaGreen:"#8FBC8F",darkSlateBlue:"#483D8B",darkSlateGray:"#2F4F4F",darkSlateGrey:"#2F4F4F",darkTurquoise:"#00CED1",darkViolet:"#9400D3",deepPink:"#FF1493",deepSkyBlue:"#00BFFF",dimGray:"#696969",dimGrey:"#696969",dodgerBlue:"#1E90FF",firebrick:"#B22222",floralWhite:"#FFFAF0",forestGreen:"#228B22",fuchsia:"#FF00FF",gainsboro:"#DCDCDC",ghostWhite:"#F8F8FF",gold:"#FFD700",goldenrod:"#DAA520",gray:"#808080",grey:"#808080",green:"#008000",greenYellow:"#ADFF2F",honeydew:"#F0FFF0",hotPink:"#FF69B4",indianRed:"#CD5C5C",indigo:"#4B0082",ivory:"#FFFFF0",khaki:"#F0E68C",lavender:"#E6E6FA",lavenderBlush:"#FFF0F5",lawnGreen:"#7CFC00",lemonChiffon:"#FFFACD",lightBlue:"#ADD8E6",lightCoral:"#F08080",lightCyan:"#E0FFFF",lightGoldenrodYellow:"#FAFAD2",lightGray:"#D3D3D3",lightGrey:"#D3D3D3",lightGreen:"#90EE90",lightPink:"#FFB6C1",lightSalmon:"#FFA07A",lightSeaGreen:"#20B2AA",lightSkyBlue:"#87CEFA",lightSlateGray:"#778899",lightSlateGrey:"#778899",lightSteelBlue:"#B0C4DE",lightYellow:"#FFFFE0",lime:"#00FF00",limeGreen:"#32CD32",linen:"#FAF0E6",magenta:"#FF00FF",maroon:"#800000",mediumAquamarine:"#66CDAA",mediumBlue:"#0000CD",mediumOrchid:"#BA55D3",mediumPurple:"#9370DB",mediumSeaGreen:"#3CB371",mediumSlateBlue:"#7B68EE",mediumSpringGreen:"#00FA9A",mediumTurquoise:"#48D1CC",mediumVioletRed:"#C71585",midnightBlue:"#191970",mintCream:"#F5FFFA",mistyRose:"#FFE4E1",moccasin:"#FFE4B5",navajoWhite:"#FFDEAD",navy:"#000080",oldLace:"#FDF5E6",olive:"#808000",oliveDrab:"#6B8E23",orange:"#FFA500",orangeRed:"#FF4500",orchid:"#DA70D6",paleGoldenrod:"#EEE8AA",paleGreen:"#98FB98",paleTurquoise:"#AFEEEE",paleVioletRed:"#DB7093",papayaWhip:"#FFEFD5",peachPuff:"#FFDAB9",peru:"#CD853F",pink:"#FFC0CB",plum:"#DDA0DD",powderBlue:"#B0E0E6",purple:"#800080",red:"#FF0000",rosyBrown:"#BC8F8F",royalBlue:"#4169E1",saddleBrown:"#8B4513",salmon:"#FA8072",sandyBrown:"#F4A460",seaGreen:"#2E8B57",seaShell:"#FFF5EE",sienna:"#A0522D",silver:"#C0C0C0",skyBlue:"#87CEEB",slateBlue:"#6A5ACD",slateGray:"#708090",slateGrey:"#708090",snow:"#FFFAFA",springGreen:"#00FF7F",steelBlue:"#4682B4",tan:"#D2B48C",teal:"#008080",thistle:"#D8BFD8",tomato:"#FF6347",turquoise:"#40E0D0",violet:"#EE82EE",wheat:"#F5DEB3",white:"#FFFFFF",whiteSmoke:"#F5F5F5",yellow:"#FFFF00",yellowGreen:"#9ACD32"},uV={dkBlue:"darkBlue",dkCyan:"darkCyan",dkGoldenrod:"darkGoldenrod",dkGray:"darkGray",dkGrey:"darkGrey",dkGreen:"darkGreen",dkKhaki:"darkKhaki",dkMagenta:"darkMagenta",dkOliveGreen:"darkOliveGreen",dkOrange:"darkOrange",dkOrchid:"darkOrchid",dkRed:"darkRed",dkSalmon:"darkSalmon",dkSeaGreen:"darkSeaGreen",dkSlateBlue:"darkSlateBlue",dkSlateGray:"darkSlateGray",dkSlateGrey:"darkSlateGrey",dkTurquoise:"darkTurquoise",dkViolet:"darkViolet",ltBlue:"lightBlue",ltCoral:"lightCoral",ltCyan:"lightCyan",ltGoldenrodYellow:"lightGoldenrodYellow",ltGray:"lightGray",ltGrey:"lightGrey",ltGreen:"lightGreen",ltPink:"lightPink",ltSalmon:"lightSalmon",ltSeaGreen:"lightSeaGreen",ltSkyBlue:"lightSkyBlue",ltSlateGray:"lightSlateGray",ltSlateGrey:"lightSlateGrey",ltSteelBlue:"lightSteelBlue",ltYellow:"lightYellow",medAquamarine:"mediumAquamarine",medBlue:"mediumBlue",medOrchid:"mediumOrchid",medPurple:"mediumPurple",medSeaGreen:"mediumSeaGreen",medSlateBlue:"mediumSlateBlue",medSpringGreen:"mediumSpringGreen",medTurquoise:"mediumTurquoise",medVioletRed:"mediumVioletRed"},Vw=Object.freeze({...Hw,...Object.fromEntries(Object.entries(uV).map(([e,t])=>[e,Hw[t]])),dkSeaGreen:"#8FBC8B",ltGoldenrodYellow:"#FAFA78"}),Im=e=>Object.prototype.hasOwnProperty.call(Vw,e)?Vw[e]:null;var fV=o("p","style",d.pml),hV=o("a","fillRef",d.dml),gV=o("a","lnRef",d.dml),yV=o("a","effectRef",d.dml),xV=o("a","fmtScheme",d.dml),Ft=(e,t)=>{let n=e[L],r=Te(t[X]);if(r){let a=r[de],l=n.getRels(a)?.items.find(i=>i.type===D.slideMaster&&i.targetMode!=="External");if(l){let i=H(a,l.target);return{root:Wn(n,i),theme:Vr(n,i)}}}return{root:Wn(n),theme:Fe(e)}},SV=(e,t)=>{let n=t.children.find(a=>a.kind==="element"&&a.name.namespaceURI===d.dml);if(!n)return;let r=a=>{a.children=a.children.map(l=>{if(l.kind!=="element")return l;if(l.name.localName==="schemeClr"&&x(l,o("","val",""))==="phClr"){let i=he(n);return i.children.push(...l.children.map(s=>s.kind==="element"?he(s):{...s})),i}return r(l),l})};r(e)},vy=(e,t,n,r,a=t[F])=>{let l=m(a,fV),i=l?m(l,n):null;if(!i)return null;let s=Number.parseInt(x(i,o("","idx",""))??"",10);if(!Number.isInteger(s))return null;if(s===0&&r==="effectStyleLst")return h(o("a","effectLst",d.dml));if(s===0||s===1e3&&r==="fillStyleLst")return h(o("a","noFill",d.dml));if(s<1)return null;let c=Ft(e,t).root,p=c?m(c,o("a","themeElements",d.dml)):null,u=p?m(p,xV):null,y=(u?m(u,o("a",s>=1001&&r==="fillStyleLst"?"bgFillStyleLst":r,d.dml)):null)?.children.filter(T=>T.kind==="element"&&T.name.namespaceURI===d.dml),g=r==="fillStyleLst"&&s>=1001,S=y?.[g?s-1001:s-1];if(!S)return null;let E=r==="effectStyleLst"?m(S,o("a","effectLst",d.dml)):S;if(!E)return null;let A=he(E);return SV(A,i),A},Cy=(e,t)=>vy(e,t,hV,"fillStyleLst"),zw=(e,t)=>vy(e,t,gV,"lnStyleLst"),Py=(e,t,n=t[F])=>vy(e,t,yV,"effectStyleLst",n),Bm=(e,t)=>{let n=Cy(e,t);if(!n)return null;switch(n.name.localName){case"solidFill":{let r=n.children.find(i=>i.kind==="element"&&i.name.namespaceURI===d.dml);if(!r)return{kind:"solid",color:"",colorElement:n};let a=Ft(e,t).theme;return{kind:"solid",color:ye(r,a,Ye(t[X]))??"",colorElement:r}}case"gradFill":return{kind:"gradient"};case"pattFill":return{kind:"pattern"};case"blipFill":return{kind:"image"};case"noFill":return{kind:"none"};default:return null}};var Ww=new WeakMap,bV=e=>{let n=e[X][ne],r=Ww.get(n);if(!r){r=new WeakMap;let a=l=>{for(let i of Za(l))r.set(i.element,l),i.kind==="group"&&a(i.element)};for(let l of n)l[U].kind==="group"&&a(l[F]);Ww.set(n,r)}return r},Wo=e=>{let t=bV(e),n=t.get(e[F]);for(;n;){let a=m(n,o("p","grpSpPr",d.pml))?.children.find(l=>l.kind==="element"&&l.name.namespaceURI===d.dml&&["noFill","solidFill","gradFill","pattFill","blipFill","grpFill"].includes(l.name.localName));if(a&&a.name.localName!=="grpFill")return a;n=t.get(n)}return null};function Yw(e){if(!e)return;let t=n=>{let r=x(e,o("",n,""));if(r===null)return 0;let a=Number.parseFloat(r);return Number.isFinite(a)?a/(r.endsWith("%")?100:1e5):0};return{left:t("l"),top:t("t"),right:t("r"),bottom:t("b")}}var Zs=o("a","gradFill",d.dml),EV=o("a","gsLst",d.dml),AV=o("a","lin",d.dml),Yo=e=>{for(let t of e.children)if(!(t.kind!=="element"||t.name.namespaceURI!==d.dml)){if(t.name.localName==="srgbClr"){let n=x(t,o("","val",""));if(n!==null)return`#${n.toUpperCase()}`}if(t.name.localName==="schemeClr"){let n=x(t,o("","val",""));if(n!==null)return`scheme:${n}`}if(t.name.localName==="prstClr"){let n=x(t,o("","val",""));if(n!==null)return Im(n)}if(t.name.localName==="sysClr"){let n=x(t,o("","lastClr",""));if(n!==null)return`#${n.toUpperCase()}`}if(t.name.localName==="scrgbClr"||t.name.localName==="hslClr")return ye({...t,children:[]},null)}return null},an=(e,t)=>{let n=m(e,EV);if(!n)return null;let r=[];for(let f of n.children){if(f.kind!=="element"||f.name.namespaceURI!==d.dml||f.name.localName!=="gs")continue;let y=x(f,o("","pos",""));if(y===null)continue;let g=Number.parseInt(y,10);if(!Number.isFinite(g))continue;let S=Yo(f);if(S===null)continue;let E=f.children.find(R=>R.kind==="element"&&R.name.namespaceURI===d.dml),A=E?.kind==="element"?gt(E):null,T=t&&E?.kind==="element"?ye(E,t.theme,t.colorMap):null,w=E?.kind==="element"?Cn(E):[],v=ql(w),C=w.some(R=>!["alpha","alphaMod","alphaOff",...v!==void 0?["lumMod","lumOff"]:[]].includes(R.kind));r.push({offset:g/1e5,color:S,...C?{colorTransforms:w}:{},...A!==null?{opacity:A}:{},...v!==void 0?{brightness:v}:{},...T!==null?{resolvedColor:T}:{}})}if(r.length===0)return null;let a=0,l=m(e,AV);if(l){let f=x(l,o("","ang",""));if(f!==null){let y=Number.parseInt(f,10);Number.isFinite(y)&&(a=y/6e4)}}let i=x(e,o("","rotWithShape","")),s=l?x(l,o("","scaled","")):null,c=Yw(m(e,o("a","tileRect",d.dml))),p={...c?{tileRect:c}:{},...i!==null?{rotateWithShape:i!=="0"&&i!=="false"}:{},...s!==null?{scaled:s!=="0"&&s!=="false"}:{}},u=m(e,o("a","path",d.dml));if(u){let f=x(u,o("","path","")),y=f==="circle"||f==="rect"||f==="shape"?f:null;if(y){let g=Yw(m(u,o("a","fillToRect",d.dml)));return{stops:r,angleDeg:a,...p,path:y,...g?{focus:g}:{}}}}return{stops:r,angleDeg:a,...p}},TV=(e,t)=>{let n=Cy(e,t);if(!n)return;if(n.name.localName!=="gradFill")return null;let{theme:r}=Ft(e,t);return an(n,{theme:r,colorMap:Ye(t[X])})},wV=(e,t)=>{let n=Wo(t);if(!n||n.name.localName!=="gradFill")return null;let{theme:r}=Ft(e,t);return an(n,{theme:r,colorMap:Ye(t[X])})},Zw=e=>{let t=m(e[F],o("p","spPr",d.pml));if(!t)return null;let n=m(t,Zs);return n?an(n):null},Kw=(e,t)=>{let n=w=>{let v=x(w,o("","useBgFill",""))?.trim();if(v==="1"||v==="true")return null;let C=m(w,o("p","spPr",d.pml));if(!C)return;let R=C.children.find(_=>_.kind==="element"&&_.name.namespaceURI===d.dml&&["noFill","solidFill","gradFill","pattFill","blipFill","grpFill"].includes(_.name.localName));return!R||R.kind!=="element"?void 0:R.name.localName==="grpFill"?w===t[F]?wV(e,t):null:R.name.localName!=="gradFill"?null:an(R,{theme:Fe(e),colorMap:Ye(t[X])})},r=n(t[F]);if(r!==void 0)return r;let a=TV(e,t);if(a!==void 0)return a;let l=Ut(t),i=$t(t);if(l===null&&i===null)return null;let s=Te(t[X]);if(!s)return null;let c=w=>{let v=l!==null?w.find(C=>C.placeholderIdx===l):void 0;return!v&&i!==null&&(v=w.find(C=>C.placeholderType===i)),v?.element??null},p=c(s[ue].shapes);if(p){let w=n(p);if(w!==void 0)return w}let u=e[L],f=G(s[de]),y=u.getRels(f);if(!y)return null;let g=y.items.find(w=>w.type===D.slideMaster);if(!g)return null;let S=u.getPart(H(f,g.target));if(!S)return null;let E=$(V(S.data)).root,{shapes:A}=Ge(E,"sldMaster"),T=c(A);if(T){let w=n(T);if(w!==void 0)return w}return null};var Fm=(e,t)=>{let n=o("p","bg",d.pml),a={kind:"element",name:o("p","bgPr",d.pml),attrs:[],prefixDecls:new Map,children:[]};t(a);let l=m(e,n);l===null&&(l={kind:"element",name:n,attrs:[],prefixDecls:new Map,children:[]},e.children.unshift(l)),l.children=[a]},Om=(e,t)=>{let n=m(e[te].root,Le);if(!n)throw new Error("slide has no <p:cSld>");Fm(n,t),ce(e),ge(e)},Jw=(e,t,n)=>{if(e.name.namespaceURI!==d.dml)return null;if(e.name.localName==="schemeClr"){let r=x(e,o("","val",""));return r===null?null:e.children.some(l=>l.kind==="element"&&l.name.namespaceURI===d.dml&&!["alpha","alphaMod","alphaOff"].includes(l.name.localName))?ye(e,t,n)??`scheme:${r}`:`scheme:${r}`}return["srgbClr","scrgbClr","hslClr","sysClr","prstClr"].includes(e.name.localName)?ye(e,null):null},Xm=e=>{let t=e[te].root,n=null;for(let l of t.children)if(l.kind==="element"&&l.name.namespaceURI===d.pml&&l.name.localName==="clrMapOvr"){n=l;break}if(!n)return null;let r=m(n,o("a","overrideClrMapping",d.dml));if(!r)return null;let a={};for(let l of r.attrs)l.name.namespaceURI===""&&(a[l.name.localName]=l.value);return Object.keys(a).length>0?a:null},Ks=(e,t,n=null,r)=>{if(e===null)return{kind:"inherit"};let a=m(e,o("p","bg",d.pml));if(!a)return{kind:"inherit"};let l=m(a,o("p","bgRef",d.pml));if(l&&!t){for(let s of l.children){if(s.kind!=="element"||s.name.namespaceURI!==d.dml)continue;let c=gt(s),p=Jw(s,n,r);if(p!==null)return{kind:"solid",color:p,...c===null?{}:{opacity:c}}}return{kind:"inherit"}}let i=t??m(a,o("p","bgPr",d.pml));if(!i)return{kind:"inherit"};for(let s of i.children)if(!(s.kind!=="element"||s.name.namespaceURI!==d.dml))switch(s.name.localName){case"solidFill":{for(let c of s.children){if(c.kind!=="element"||c.name.namespaceURI!==d.dml)continue;let p=gt(c),u=Jw(c,n,r);if(u!==null)return{kind:"solid",color:u,...p===null?{}:{opacity:p}}}return{kind:"solid",color:""}}case"gradFill":return{kind:"gradient"};case"pattFill":return{kind:"pattern"};case"blipFill":return{kind:"image"}}return{kind:"inherit"}},Qw=e=>{let t=zr(e[L],e[O],e[te].root);return Ks(m(e[te].root,Le),t.properties,t.theme,t.colorMap)},ev=(e,t)=>{let n=Fe(e),r=[];for(let a of t[ue].shapes){if(a.placeholderType!==null||a.placeholderIdx!==null||a.kind!=="shape"&&a.kind!=="connector")continue;let l=a.element,i=Rt(l,a.kind),s=At(l,a.kind),c=i!==null&&s!==null?{x:i.x,y:i.y,w:s.w,h:s.h}:null,p=m(l,o("p","spPr",d.pml)),u=null,f=null,y=null,g=null;if(p){let A=m(p,o("a","prstGeom",d.dml));A&&(u=x(A,o("","prst","")));let T=m(p,o("a","solidFill",d.dml));if(T){for(let v of T.children)if(!(v.kind!=="element"||v.name.namespaceURI!==d.dml)){f=ye(v,n);break}}let w=m(p,o("a","ln",d.dml));if(w){let v=x(w,o("","w",""));if(v!==null){let R=Number.parseInt(v,10);Number.isFinite(R)&&(g=R)}let C=m(w,o("a","solidFill",d.dml));if(C){for(let R of C.children)if(!(R.kind!=="element"||R.name.namespaceURI!==d.dml)){y=ye(R,n);break}}}}let S=pr(l,a.kind),E=ur(l,a.kind)??{horizontal:!1,vertical:!1};r.push({kind:a.kind,bounds:c,preset:u,fillHex:f,strokeHex:y,strokeWidthEmu:g,rotation:S,flip:E})}return r},tv=(e,t,n)=>{let r=e.getPart(t);if(r===null)return[];let a=$(V(r.data)),{shapes:l}=Ge(a.root,n),i={[L]:e,[O]:t,[te]:a,[Qt]:{shapes:l,root:a.root},[ne]:[]};return i[ne]=l.filter(s=>s.placeholderType===null&&s.placeholderIdx===null).map(s=>({[X]:i,[F]:s.element,[U]:s})),i[ne]},nv=(e,t)=>tv(e[L],t[de],"sldLayout"),rv=(e,t)=>{let n=e[L],r=t[de],l=n.getRels(r)?.items.find(s=>s.type===D.slideMaster);if(!l)return[];let i=l.target.startsWith("/")?G(l.target):H(r,l.target);return tv(n,i,"sldMaster")},av=(e,t,n={})=>{let r=m(t[ue].root,Le);if(!r)return null;let a=m(r,o("p","bg",d.pml));if(!a)return null;let l=m(a,o("p","bgPr",d.pml));if(!l)return null;let i=m(l,o("a","pattFill",d.dml));if(!i)return null;let s=x(i,o("","prst",""))??"pct50",c=Fe(e),p=(u,f)=>{let y=m(i,o("a",u,d.dml));if(!y)return f;for(let g of y.children){if(g.kind!=="element"||g.name.namespaceURI!==d.dml)continue;if(n.preserveTheme&&g.name.localName==="schemeClr"&&!g.children.some(E=>E.kind==="element")){let E=x(g,o("","val",""));if(E)return E}let S=ye(g,c);if(S)return S}return f};return{preset:s,foreground:p("fgClr","#000000"),background:p("bgClr","#FFFFFF")}},lv=(e,t,n={})=>{let r=e[L],a=G(t[de]),l=r.getRels(a);if(!l)return null;let i=l.items.find(A=>A.type===D.slideMaster);if(!i)return null;let s=r.getPart(H(a,i.target));if(!s)return null;let c=$(V(s.data)).root,p=m(c,Le);if(!p)return null;let u=m(p,o("p","bg",d.pml));if(!u)return null;let f=m(u,o("p","bgPr",d.pml));if(!f)return null;let y=m(f,o("a","pattFill",d.dml));if(!y)return null;let g=x(y,o("","prst",""))??"pct50",S=Fe(e),E=(A,T)=>{let w=m(y,o("a",A,d.dml));if(!w)return T;for(let v of w.children){if(v.kind!=="element"||v.name.namespaceURI!==d.dml)continue;if(n.preserveTheme&&v.name.localName==="schemeClr"&&!v.children.some(R=>R.kind==="element")){let R=x(v,o("","val",""));if(R)return R}let C=ye(v,S);if(C)return C}return T};return{preset:g,foreground:E("fgClr","#000000"),background:E("bgClr","#FFFFFF")}},ov=e=>{let t=zr(e[L],e[de],e[ot].root),n=t.properties?m(t.properties,Zs):null;return n?an(n,t):null},iv=(e,t)=>{let n=e[L],r=G(t[de]),a=n.getRels(r);if(!a)return null;let l=a.items.find(u=>u.type===D.slideMaster);if(!l)return null;let i=n.getPart(H(r,l.target));if(!i)return null;let s=$(V(i.data)).root,c=zr(n,i.name,s),p=c.properties?m(c.properties,Zs):null;return p?an(p,c):null},sv=(e,t)=>{let n=e[L],r=G(t[de]),a=n.getRels(r);if(!a)return{kind:"inherit"};let l=a.items.find(p=>p.type===D.slideMaster);if(!l)return{kind:"inherit"};let i=n.getPart(H(r,l.target));if(!i)return{kind:"inherit"};let s=$(V(i.data)).root,c=zr(n,i.name,s);return Ks(m(s,Le),c.properties,c.theme,c.colorMap)},dv=e=>{let t=zr(e[L],e[de],e[ot].root);return Ks(m(e[ot].root,Le),t.properties,t.theme,t.colorMap)},cv=e=>{let t=zr(e[L],e[O],e[te].root),n=t.properties?m(t.properties,Zs):null;return n?an(n,t):null},mv=(e,t,n={})=>{let r=m(t[te].root,Le);if(!r)return null;let a=m(r,o("p","bg",d.pml));if(!a)return null;let l=m(a,o("p","bgPr",d.pml));if(!l)return null;let i=m(l,o("a","pattFill",d.dml));if(!i)return null;let s=x(i,o("","prst",""))??"pct50",c=Fe(e),p=(u,f)=>{let y=m(i,o("a",u,d.dml));if(!y)return f;for(let g of y.children){if(g.kind!=="element"||g.name.namespaceURI!==d.dml)continue;if(n.preserveTheme&&g.name.localName==="schemeClr"&&!g.children.some(E=>E.kind==="element")){let E=x(g,o("","val",""));if(E)return E}let S=ye(g,c);if(S)return S}return f};return{preset:s,foreground:p("fgClr","#000000"),background:p("bgClr","#FFFFFF")}},pv=e=>{let t=m(e[te].root,Le);if(!t)return null;let n=m(t,o("p","bg",d.pml));if(!n)return null;let r=m(n,o("p","bgPr",d.pml));if(!r)return null;let a=m(r,o("a","blipFill",d.dml));if(!a)return null;let l=m(a,o("a","blip",d.dml));if(!l)return null;let i=x(l,o("r","embed",d.officeDocRels));if(i===null)return null;let s=e[L],c=s.getRels(e[O]);if(!c)return null;let p=c.items.find(y=>y.id===i);if(!p||p.targetMode==="External")return null;let u=p.target.startsWith("/")?G(p.target):H(e[O],p.target);return s.getPart(u)?.data??null},uv=(e,t)=>{let n=m(t[ue].root,Le);if(!n)return null;let r=m(n,o("p","bg",d.pml));if(!r)return null;let a=m(r,o("p","bgPr",d.pml));if(!a)return null;let l=m(a,o("a","blipFill",d.dml));if(!l)return null;let i=m(l,o("a","blip",d.dml));if(!i)return null;let s=x(i,o("r","embed",d.officeDocRels));if(s===null)return null;let c=e[L],p=G(t[de]),u=c.getRels(p);if(!u)return null;let f=u.items.find(S=>S.id===s);if(!f||f.targetMode==="External")return null;let y=f.target.startsWith("/")?G(f.target):H(p,f.target);return c.getPart(y)?.data??null},fv=(e,t)=>{let n=e[L],r=G(t[de]),a=n.getRels(r);if(!a)return null;let l=a.items.find(v=>v.type===D.slideMaster);if(!l)return null;let i=H(r,l.target),s=n.getPart(i);if(!s)return null;let c=$(V(s.data)).root,p=m(c,Le);if(!p)return null;let u=m(p,o("p","bg",d.pml));if(!u)return null;let f=m(u,o("p","bgPr",d.pml));if(!f)return null;let y=m(f,o("a","blipFill",d.dml));if(!y)return null;let g=m(y,o("a","blip",d.dml));if(!g)return null;let S=x(g,o("r","embed",d.officeDocRels));if(S===null)return null;let E=n.getRels(i);if(!E)return null;let A=E.items.find(v=>v.id===S);if(!A||A.targetMode==="External")return null;let T=A.target.startsWith("/")?G(A.target):H(i,A.target);return n.getPart(T)?.data??null},Ly=(e,t,n)=>{Om(e,r=>dr(r,{color:t,...n===void 0?{}:{opacity:n}}))},hv=(e,t)=>{Om(e,n=>Oa(n,t))},jm=e=>{let t=u=>{let f=m(u,Le);return f?m(f,o("p","bg",d.pml)):null},n=t(e[te].root);if(n)return{element:n,part:e[O]};let r=Te(e);if(!r)return null;let a=t(r[ot].root);if(a)return{element:a,part:G(r[de])};let l=e[L],i=G(r[de]),s=l.getRels(i)?.items.find(u=>u.type===D.slideMaster);if(!s)return null;let c=l.getPart(H(i,s.target)),p=c&&t($(V(c.data)).root);return p&&c?{element:p,part:c.name}:null},Js=e=>{let t=jm(e),n=t&&m(t.element,o("p","bgPr",d.pml)),r=n&&m(n,o("a","blipFill",d.dml));return r&&t?{fill:r,part:t.part}:null},gv=e=>{let t=Js(e);if(!t)return null;let n=m(t.fill,o("a","blip",d.dml)),r=n&&x(n,o("r","embed",d.officeDocRels)),a=e[L],l=a.getRels(t.part)?.items.find(s=>s.id===r);if(!l||l.targetMode==="External")return null;let i=a.getPart(H(t.part,l.target))?.data;return i?Dm(t.fill,i):null},yv=e=>{let t=Js(e);return t?vm(t.fill):null},xv=e=>{let t=Js(e);return t?Rm(t.fill):null},Sv=(e,t)=>{Av(e,n=>Nm(n,t))},bv=e=>{let t=Js(e),n=t&&m(t.fill,o("a","blip",d.dml));return n?Pm(n):null},Ev=(e,t)=>{Av(e,n=>{let r=m(n,o("a","blip",d.dml));if(!r)throw new Error("Image background has no blip");Lm(r,t)})},Av=(e,t)=>{let n=Js(e);if(!n)throw new Error("This operation requires an image background");let r=he(n.fill);t(r);let a=e[L],l=e[O],i={items:[...a.getRels(l)?.items??[]]};if(n.part!==l){let c=new Map(a.getRels(n.part)?.items.map(y=>[y.id,y])),p=new Map,u=se(i.items.map(y=>y.id)),f=y=>{y.attrs=y.attrs.map(g=>{if(g.name.namespaceURI!==d.officeDocRels||!g.value)return g;let S=p.get(g.value);if(!S){let E=c.get(g.value);if(!E)throw new Error(`Image background has a missing relationship: ${g.value}`);S=u,u=se([S]),i.items.push({...E,id:S,target:E.targetMode==="External"?E.target:H(n.part,E.target)}),p.set(g.value,S)}return{...g,value:S}});for(let g of y.children)g.kind==="element"&&f(g)};f(r)}let s=m(e[te].root,Le);if(!s)throw new Error("slide has no <p:cSld>");Fm(s,c=>{c.children.push(r)}),a.setRels(l,i),ce(e),ge(e)},Tv=(e,t)=>{let n=jm(e),r=n&&m(n.element,o("p","bgPr",d.pml)),a=r&&m(r,o("a","pattFill",d.dml));Om(e,l=>{a&&l.children.push(he(a)),Ba(l,t)})},wv=(e,t)=>{let n=jm(t);if(!n){Ly(e,"#FFFFFF");return}let r=m(e[te].root,Le);if(!r)throw new Error("copySlideBackground: target slide has no cSld");let a=t[L],l=e[L],i=e[O],s=he(n.element),c=[],p=new Set,u=v=>{c.push(v);for(let C of v.attrs)C.name.namespaceURI===d.officeDocRels&&C.value&&p.add(C.value);for(let C of v.children)C.kind==="element"&&u(C)};u(s);let f=new Map(a.getRels(n.part)?.items.map(v=>[v.id,v])),y=new Map;for(let v of p){let C=f.get(v);if(!C)throw new Error(`copySlideBackground: missing relationship ${v}`);if(C.targetMode!=="External"){let R=H(n.part,C.target);if(!a.getPart(R))throw new Error(`copySlideBackground: missing dependency ${R}`);y.set(R,null)}}let g=a===l?null:hl(a,l,y),S={items:[...l.getRels(i)?.items??[]]},E=(v,C,R)=>JSON.stringify([v,C,R??"Internal"]),A=new Map(S.items.map(v=>[E(v.type,v.targetMode==="External"?v.target:H(i,v.target),v.targetMode),v.id])),T=new Map,w=se(S.items.map(v=>v.id));for(let v of p){let C=f.get(v),R=C.targetMode==="External"?C.target:H(n.part,C.target),N=g?.get(R.toLowerCase())??R,_=E(C.type,N,C.targetMode),k=A.get(_);k||(k=w,w=se([k]),S.items.push({...C,id:k,target:N}),A.set(_,k)),T.set(v,k)}for(let v of c)v.attrs=v.attrs.map(C=>C.name.namespaceURI===d.officeDocRels&&C.value?{...C,value:T.get(C.value)}:C);r.children=r.children.filter(v=>!(v.kind==="element"&&v.name.namespaceURI===d.pml&&v.name.localName==="bg")),r.children.unshift(s),l.setRels(i,S),ce(e),ge(e)},vv=(e,t)=>{let n=e[L];if(t[L]!==n||!z(e).includes(t))throw new Error("applySlideBackgroundToAll: source must belong to the presentation");let r=jm(t),a=new Map(r?n.getRels(r.part)?.items.map(p=>[p.id,p]):[]),l=n.getRels(Y)?.items.filter(p=>p.type===D.slideMaster)??[];if(l.length===0)throw new Error("applySlideBackgroundToAll: presentation has no slide master");let i=l.map(p=>{let u=H(Y,p.target),f=n.getPart(u);if(!f)throw new Error(`applySlideBackgroundToAll: missing master ${u}`);let y=$(V(f.data)),g=m(y.root,Le);if(!g)throw new Error(`applySlideBackgroundToAll: master ${u} has no cSld`);let S=r?he(r.element):h(o("p","bg",d.pml));if(!r){let C=h(o("p","bgPr",d.pml));dr(C,"#FFFFFF"),S.children.push(C)}let E={items:[...n.getRels(u)?.items??[]]},A=se(E.items.map(C=>C.id)),T=new Map,w=new Map(E.items.map(C=>[JSON.stringify([C.type,C.targetMode==="External"?C.target:H(u,C.target),C.targetMode??"Internal"]),C.id])),v=C=>{C.attrs=C.attrs.map(R=>{if(R.name.namespaceURI!==d.officeDocRels||R.value==="")return R;let N=T.get(R.value);if(!N){let _=a.get(R.value);if(!_)throw new Error(`applySlideBackgroundToAll: missing relationship ${R.value}`);let k=_.targetMode==="External"?_.target:H(r.part,_.target),M=JSON.stringify([_.type,k,_.targetMode??"Internal"]);N=w.get(M),N||(N=A,A=se([N]),E.items.push({..._,id:N,target:k}),w.set(M,N)),T.set(R.value,N)}return{...R,value:N}});for(let R of C.children)R.kind==="element"&&v(R)};return v(S),g.children=g.children.filter(C=>!(C.kind==="element"&&C.name.namespaceURI===d.pml&&C.name.localName==="bg")),g.children.unshift(S),{part:f,rels:E,data:le(ae(y))}}),s=Ct(e);for(let p of s)if(!m(p[ot].root,Le))throw new Error("applySlideBackgroundToAll: layout has no cSld");for(let p of i)p.part.data=p.data,n.setRels(p.part.name,p.rels);let c=$m(t);for(let p of s){let u=p[ot].root;u.attrs=u.attrs.filter(f=>!(f.name.namespaceURI===""&&f.name.localName==="showMasterSp")),c&&u.attrs.push(b(o("","showMasterSp",""),"0")),Mm(p)}for(let p of z(e))Um(p,c),Ry(p)},Cv=(e,t,n={})=>{let r=n.format??ut(t);if(r===null)throw new Error("setSlideBackgroundImage: could not detect image format. Pass options.format explicitly.");let a=yn(r),l=gn(r),i=e[L],s=1,c=/^\/ppt\/media\/image(\d+)\./;for(let y of i.parts){let g=y.name.match(c);if(g?.[1]!==void 0){let S=Number.parseInt(g[1],10);Number.isFinite(S)&&S>=s&&(s=S+1)}}let p=G(`/ppt/media/image${s}.${l}`);xn(i,l,a),i.addPart(p,a,t);let u=i.getRels(e[O])??pe(),f=se(u.items.map(y=>y.id));u.items.push({id:f,type:D.image,target:`../media/image${s}.${l}`,targetMode:"Internal"}),i.setRels(e[O],u),Om(e,y=>{let g=h(o("a","blip",d.dml),{attrs:[b(o("r","embed",d.officeDocRels),f)]}),S=h(o("a","stretch",d.dml),{children:[h(o("a","fillRect",d.dml))]});y.children.push(h(o("a","blipFill",d.dml),{children:[g,S]}))})},Ry=e=>{let t=m(e[te].root,Le);t&&(t.children=t.children.filter(n=>!(n.kind==="element"&&n.name.namespaceURI===d.pml&&n.name.localName==="bg")),ce(e),ge(e))};var Pv={bg1:"lt1",tx1:"dk1",bg2:"lt2",tx2:"dk2",accent1:"accent1",accent2:"accent2",accent3:"accent3",accent4:"accent4",accent5:"accent5",accent6:"accent6",hlink:"hlink",folHlink:"folHlink"},vV=o("p","clrMap",d.pml),CV=o("p","txStyles",d.pml),PV=o("p","bodyStyle",d.pml),LV=o("a","lvl1pPr",d.dml),RV=o("a","defRPr",d.dml),NV=o("a","solidFill",d.dml),Lv=e=>{if(de in e)return e[de];let t=e,r=t[L].getRels(t[O]);if(r===null)return null;let a=r.items.find(l=>l.type===D.slideLayout&&l.targetMode!=="External");return a?a.target.startsWith("/")?G(a.target):H(t[O],a.target):null},Rv=e=>{let t=e[L],n=Lv(e);if(!n)return null;let r=t.getRels(n);if(r===null)return null;let a=r.items.find(s=>s.type===D.slideMaster&&s.targetMode!=="External");if(!a)return null;let l=a.target.startsWith("/")?G(a.target):H(n,a.target),i=t.getPart(l);return i===null?null:$(V(i.data)).root},DV=e=>{let t=m(e,vV);if(!t)return null;let n={};for(let r of t.attrs)r.name.namespaceURI===""&&(n[r.name.localName]=r.value);return Object.keys(n).length>0?n:null},Ye=e=>{let t=!(de in e),n=t?Xm(e):null;if(n)return{...Pv,...n};let r=Rv(e),a=r?DV(r):null,l={...Pv,...a},i=t?m(e[te].root,o("p","clrMapOvr",d.pml)):null;if(i&&m(i,o("a","masterClrMapping",d.dml)))return l;let s=Lv(e),c=s?e[L].getPart(s):null,p=c?m($(V(c.data)).root,o("p","clrMapOvr",d.pml)):null,u=p?m(p,o("a","overrideClrMapping",d.dml)):null;for(let f of u?.attrs??[])f.name.namespaceURI===""&&(l[f.name.localName]=f.value);return l},_V=e=>{for(let t of e.children)if(t.kind==="element"&&t.name.namespaceURI===d.dml)return t;return null},xl=e=>{let t=Vr(e[L]);if(!t)return null;let n=Ye(e),r=Rv(e);if(r){let a=m(r,CV),l=a?m(a,PV):null,i=l?m(l,LV):null,s=i?m(i,RV):null,c=s?m(s,NV):null,p=c?_V(c):null;if(p){let u=ye(p,t,n);if(u)return u}}return Ny("tx1",t,n)};var kV="application/vnd.openxmlformats-officedocument.drawingml.chart+xml",MV="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",FV=e=>{let t=1,n=/^\/ppt\/charts\/chart(\d+)\.xml$/;for(let r of e.parts){let a=r.name.match(n);if(a?.[1]!==void 0){let l=Number.parseInt(a[1],10);Number.isFinite(l)&&l>=t&&(t=l+1)}}return t},IV=o("p","graphicFrame",d.pml),BV=o("p","nvGraphicFramePr",d.pml),OV=o("p","cNvPr",d.pml),XV=o("p","cNvGraphicFramePr",d.pml),jV=o("p","nvPr",d.pml),$V=o("p","xfrm",d.pml),UV=o("a","off",d.dml),GV=o("a","ext",d.dml),qV=o("a","graphic",d.dml),HV=o("a","graphicData",d.dml),Mv=o("c","chart",d.chart),VV=e=>{let t=h(OV,{attrs:[b(o("","id",""),String(e.id)),b(o("","name",""),e.name)]}),n=h(BV,{children:[t,h(XV),h(jV)]}),r=h(UV,{attrs:[b(o("","x",""),String(Ue(e.x,"addSlideChart: x"))),b(o("","y",""),String(Ue(e.y,"addSlideChart: y")))]}),a=h(GV,{attrs:[b(o("","cx",""),String(xe(e.w,"addSlideChart: w"))),b(o("","cy",""),String(xe(e.h,"addSlideChart: h")))]}),l=h($V,{children:[r,a]}),i=h(Mv,{prefixDecls:new Map([["c",d.chart],["r",d.officeDocRels]]),attrs:[b(o("r","id",d.officeDocRels),e.rEmbed)]}),s=h(HV,{attrs:[b(o("","uri",""),d.chart)],children:[i]}),c=h(qV,{children:[s]});return h(IV,{children:[n,l,c]})},Ze=(e,t)=>{if(e!=null&&Oi(e)===null)throw new Error(`${t}: invalid chart color ${JSON.stringify(e)} \u2014 expected an sRGB hex like "#4472C4" or "4472C4"`)},Fv=e=>{Ze(e.plotAreaFill,"addSlideChart: plotAreaFill"),Ze(e.plotAreaStrokeColor,"addSlideChart: plotAreaStrokeColor"),Ze(e.chartAreaFill,"addSlideChart: chartAreaFill"),Ze(e.chartAreaStrokeColor,"addSlideChart: chartAreaStrokeColor"),Ze(e.valueAxisMajorGridlineColor,"addSlideChart: valueAxisMajorGridlineColor"),Ze(e.valueAxisMinorGridlineColor,"addSlideChart: valueAxisMinorGridlineColor"),Ze(e.categoryAxisMajorGridlineColor,"addSlideChart: categoryAxisMajorGridlineColor"),Ze(e.categoryAxisMinorGridlineColor,"addSlideChart: categoryAxisMinorGridlineColor"),Ze(e.valueAxisLineColor,"addSlideChart: valueAxisLineColor"),Ze(e.categoryAxisLineColor,"addSlideChart: categoryAxisLineColor"),Ze(e.secondaryValueAxis?.majorGridlineColor,"addSlideChart: secondaryValueAxis.majorGridlineColor"),Ze(e.secondaryValueAxis?.lineColor,"addSlideChart: secondaryValueAxis.lineColor"),Ze(e.dataLabels?.fillColor,"addSlideChart: dataLabels.fillColor"),Ze(e.upDownBars?.upColor,"addSlideChart: upDownBars.upColor"),Ze(e.upDownBars?.downColor,"addSlideChart: upDownBars.downColor"),Ze(e.seriesAxis?.lineColor,"addSlideChart: seriesAxis.lineColor"),e.series.forEach((t,n)=>{Ze(t.color,`addSlideChart: series[${n}].color`),Ze(t.lineColor,`addSlideChart: series[${n}].lineColor`),Ze(t.markerColor,`addSlideChart: series[${n}].markerColor`),Ze(t.markerLineColor,`addSlideChart: series[${n}].markerLineColor`),Ze(t.trendline?.color,`addSlideChart: series[${n}].trendline.color`),Ze(t.errorBars?.color,`addSlideChart: series[${n}].errorBars.color`),Ze(t.xErrorBars?.color,`addSlideChart: series[${n}].xErrorBars.color`),Ze(t.dataLabels?.fillColor,`addSlideChart: series[${n}].dataLabels.fillColor`),t.pointDataLabels?.forEach((r,a)=>{Ze(r?.fillColor,`addSlideChart: series[${n}].pointDataLabels[${a}].fillColor`)}),t.pointColors?.forEach((r,a)=>{Ze(r,`addSlideChart: series[${n}].pointColors[${a}]`)})})},Iv=e=>{if(e.series.length>0&&e.series.every(t=>t.secondaryAxis===!0))throw new Error("chart: at least one series must plot on the primary axis")},Bv=(e,t)=>{if(t===null)return e;let n=c=>c===void 0?{color:t}:c.color===void 0?{...c,color:t}:c,r={...e.title!==void 0?{titleStyle:n(e.titleStyle)}:{},...e.legend!==void 0?{legend:{...e.legend,textStyle:n(e.legend.textStyle)}}:{},...e.dataLabels!==void 0?{dataLabels:{...e.dataLabels,textStyle:n(e.dataLabels.textStyle)}}:{}};if(e.kind==="pie"||e.kind==="doughnut")return{...e,...r};let a={categoryAxisLabelStyle:n(e.categoryAxisLabelStyle),valueAxisLabelStyle:n(e.valueAxisLabelStyle)};if(!(e.view3D===void 0&&(e.kind==="bar"||e.kind==="column"||e.kind==="line"||e.kind==="area")))return{...e,...r,...a};let i=e.series.some(c=>c.secondaryAxis===!0),s=e.secondaryValueAxis??{};return{...e,...r,...a,...i?{secondaryValueAxis:{...s,labelStyle:n(s.labelStyle),...s.title!==void 0?{titleStyle:n(s.titleStyle)}:{}}}:{}}},Ov=(e,t)=>{ty(t.spec,"addSlideChart"),Fv(t.spec),Iv(t.spec);let n=Bv(t.spec,xl(e)),r=e[L],a=FV(r),l=G(`/ppt/charts/chart${a}.xml`),i=G(`/ppt/embeddings/Microsoft_Excel_Worksheet${a}.xlsx`),s=Fs(ul(n).grid),c=Em(n),p=le(ae(c));r.addPart(l,kV,p),r.addPart(i,MV,s),xn(r,"rels","application/vnd.openxmlformats-package.relationships+xml");let u=pe();u.items.push({id:"rId1",type:D.package,target:`../embeddings/Microsoft_Excel_Worksheet${a}.xlsx`,targetMode:"Internal"}),r.setRels(l,u);let f=r.getRels(e[O])??pe(),y=se(f.items.map(S=>S.id));f.items.push({id:y,type:D.chart,target:`../charts/chart${a}.xml`,targetMode:"Internal"}),r.setRels(e[O],f);let g=VV({id:wt(e),name:t.name??`Chart ${a}`,x:t.x,y:t.y,w:t.w,h:t.h,rEmbed:y});return kn(e,g)},zV=o("a","graphic",d.dml),WV=o("a","graphicData",d.dml),YV=o("c","chart",d.chart),Zo=(e,t)=>{if(t[U].kind!=="graphicFrame")return null;let n=m(t[F],zV);if(!n)return null;let r=m(n,WV);if(!r)return null;let a=m(r,YV);if(!a)return null;let l=x(a,o("r","id",d.officeDocRels));if(l===null)return null;let i=e[L].getRels(e[O]);if(!i)return null;let s=i.items.find(p=>p.id===l);return s?{partName:s.target.startsWith("/")?G(s.target):H(e[O],s.target),rId:l}:null},ky=(e,t)=>{ty(t,"setChartSpec"),Fv(t),Iv(t);let n=e.shape[X],r=n[L],a=Zo(n,e.shape);if(!a)throw new Error("setChartSpec: shape is not a chart graphic frame");let l=Em(Bv(t,xl(n))),i=le(ae(l)),s=r.getPart(a.partName);if(!s)throw new Error(`setChartSpec: chart part ${a.partName} not found`);s.data=i;let c=Xv(r,a.partName);c&&(c.data=Fs(ul(t).grid))},Xv=(e,t)=>{let n=e.getRels(t)?.items.find(a=>a.type===D.package);if(!n||n.targetMode==="External")return null;let r=n.target.startsWith("/")?G(n.target):H(t,n.target);return e.getPart(r)??null},ZV=new Set(["bar","column","line","area","pie","doughnut"]),KV=e=>ZV.has(e),JV=o("c","plotArea",d.chart),QV=o("c","ser",d.chart),ez=o("c","tx",d.chart),Nv=o("c","cat",d.chart),tz=o("c","val",d.chart),nz=o("c","f",d.chart),rz=o("c","strRef",d.chart),az=o("c","strLit",d.chart),lz=o("c","strCache",d.chart),jv=o("c","numRef",d.chart),$v=o("c","numLit",d.chart),oz=o("c","numCache",d.chart),iz=o("c","multiLvlStrRef",d.chart),sz=o("c","multiLvlStrCache",d.chart),dz=o("c","lvl",d.chart),cz=o("c","formatCode",d.chart),Uv=o("c","ptCount",d.chart),_y=o("c","extLst",d.chart),Gv=o("","val",""),mz=o("","idx",""),In=(e,t,n={})=>h(o(e.name.prefix,t,d.chart),n),Dv=(e,t)=>{let n=m(e,nz);n&&(n.children=[be(t)])},_v=(e,t)=>{let n=Q(e,cz),r=Q(e,_y),a=m(e,Uv)??In(e,"ptCount");a.attrs=[b(Gv,String(t.length))],e.children=[...n,a,...qv(e,t),...r]},qv=(e,t)=>t.flatMap((n,r)=>n===null?[]:[In(e,"pt",{attrs:[b(mz,String(r))],children:[In(e,"v",{children:[be(n)]})]})]),Dy=(e,t,n)=>{for(let[l,i]of[[rz,lz],[jv,oz]]){let s=m(e,l);if(s){if(t!==null&&Dv(s,t),n!==null){let c=m(s,i);c||(c=In(s,i.localName),s.children.push(c)),_v(c,n)}return}}let r=m(e,az)??m(e,$v);r&&n!==null&&_v(r,n);let a=m(e,iz);a&&(t!==null&&Dv(a,t),n!==null&&pz(a,n))},pz=(e,t)=>{let n=m(e,sz)??In(e,"multiLvlStrCache");e.children.includes(n)||e.children.push(n);let r=m(n,dz)??In(n,"lvl"),a=m(n,Uv)??In(n,"ptCount");a.attrs=[b(Gv,String(t.length))],r.children=[...qv(n,t),...Q(r,_y)],n.children=[a,r,...Q(n,_y)]},kv=e=>m(e,jv)!==null||m(e,$v)!==null,Hv=(e,t)=>{let n=e.shape[X],r=n[L],a=Zo(n,e.shape);if(!a)throw new Error("setChartData: shape is not a chart graphic frame");let l=r.getPart(a.partName);if(!l)throw new Error(`setChartData: chart part ${a.partName} not found`);let i=$(V(l.data)),s=qs(i.root);if(s===null||!KV(s.kind))throw new Error(`setChartData: the data of ${s===null?"this chart":`a ${s.kind} chart`} cannot be replaced; build the chart again instead`);if(t.categories?.length===0||t.series?.length===0)throw new Error("setChartData: categories and series must not be empty");let c=t.kind??s.kind,p=t.categories??s.categories,u=t.series??s.series;for(let w of u){if(w.values.length!==p.length)throw new Error(`setChartData: series "${w.name}" has ${w.values.length} values for ${p.length} categories`);if(w.values.some(v=>v!==null&&!Number.isFinite(v)))throw new Error(`setChartData: series "${w.name}" has a value that is not a finite number`)}let f=new Map(u.map(w=>[w.name,w]));if(t.series!==void 0&&f.size!==u.length)throw new Error("setChartData: series names must be distinct");let y=t.series===void 0||new Set(s.series.map(w=>w.name)).size===u.length&&s.series.every(w=>f.has(w.name));if(c!==s.kind||!y){ky(e,uz(s,c,p,u));return}if(t.categories!==void 0&&s.categoryGroupLevels!==void 0)throw new Error("setChartData: the categories of a chart with several category levels cannot be replaced");let g=Mi(m(m(i.root,Mv),JV)).flatMap(w=>Q(w,QV)),S=s.series.map(w=>t.series===void 0?w.values:f.get(w.name).values),E=g.some(w=>{let v=m(w,Nv);return v!==null&&kv(v)});if(t.categories!==void 0&&E&&p.some(w=>!Number.isFinite(Number(w))||w.trim()===""))throw new Error("setChartData: this chart has numeric (date) categories; pass numbers");let A=Xv(r,a.partName),T=A?ul({...s,categories:p,series:s.series.map((w,v)=>({...w,values:S[v]}))}):null;g.forEach((w,v)=>{let C=T?.series[v],R=m(w,ez);R&&C&&Dy(R,C.name,null);let N=m(w,Nv),_=m(w,tz);if(!_)throw new Error("setChartData: a series of this chart has no values");!N&&t.categories!==void 0&&(N=In(w,"cat",{children:[T?In(w,"strRef",{children:[In(w,"f"),In(w,"strCache")]}):In(w,"strLit")]}),w.children.splice(w.children.indexOf(_),0,N)),N&&Dy(N,T?.categories??null,t.categories===void 0?null:kv(N)?p.map(k=>String(Number(k))):p),Dy(_,C?.values??null,t.series===void 0?null:S[v].map(k=>k===null?null:String(k)))}),l.data=le(ae(i)),A&&T&&(A.data=Fs(T.grid))},uz=(e,t,n,r)=>{let a=new Map(e.series.map(c=>[c.name,c.color])),l=r.map(({name:c,values:p})=>{let u=a.get(c);return{name:c,values:p,...u!==void 0?{color:u}:{}}}),i=e.legend&&{position:e.legend.position,...e.legend.overlay!==void 0?{overlay:e.legend.overlay}:{},...e.legend.textStyle!==void 0?{textStyle:e.legend.textStyle}:{}},s={categories:n,...e.title!==void 0?{title:e.title}:{},...i!==void 0?{legend:i}:{}};if(t==="pie"||t==="doughnut"){let[c,...p]=l;if(c===void 0||p.length>0)throw new Error(`setChartData: a ${t} chart takes exactly one series`);return t==="pie"?{kind:t,...s,series:[c]}:{kind:t,...s,series:[c]}}return{kind:t,...s,series:l,...e.categoryAxisTitle!==void 0?{categoryAxisTitle:e.categoryAxisTitle}:{},...e.valueAxisTitle!==void 0?{valueAxisTitle:e.valueAxisTitle}:{}}},Vv=e=>{let t=Ko(e);return t===null?null:t.kind},zv=e=>{let t=Ko(e);return t===null?null:t.categories},Wv=e=>{let t=Ko(e);return t===null?null:t.series.map(n=>n.name)},Yv=(e,t)=>{let n=Ko(e);if(n===null)return null;let r=n.series.find(a=>a.name===t);return r?r.values:null},Ko=e=>{let t=e[X],n=Zo(t,e);if(!n)return null;let r=t[L].getPart(n.partName);if(!r)return null;try{let a=$(V(r.data)).root;return qs(a)}catch{return null}},Zv=(e,t)=>{let n=[];for(let r of Bn(e))r.spec!==null&&r.spec.series.some(a=>a.name===t)&&n.push(r);return n},Kv=e=>{let t=[];for(let n of Bn(e))n.spec!==null&&n.spec.series.some(r=>r.trendline!==void 0)&&t.push(n);return t},Jv=e=>{let t=[],n=r=>r!==void 0&&!!(r.showValue||r.showCategory||r.showSeriesName||r.showPercent);for(let r of Bn(e))if(r.spec!==null){if(n(r.spec.dataLabels)){t.push(r);continue}r.spec.series.some(a=>n(a.dataLabels))&&t.push(r)}return t},Qv=(e,t)=>{for(let n of Bn(e))if(n.spec!==null&&n.spec.kind===t)return n;return null},eC=e=>{let t={bar:0,column:0,line:0,pie:0,doughnut:0,area:0,scatter:0,radar:0,bubble:0,stock:0,surface:0};for(let n of z(e))for(let r of Bn(n))r.spec!==null&&t[r.spec.kind]++;return t},tC=e=>z(e).map(t=>Bn(t).length),Bn=e=>{let t=e[L],n=[];for(let r of e[ne]){let a=Zo(e,r);if(!a)continue;let l=t.getPart(a.partName);if(!l)continue;let i;try{let s=$(V(l.data)).root;i=qs(s)}catch{i=null}n.push({shape:r,spec:i})}return n};var fz="application/vnd.openxmlformats-officedocument.presentationml.tableStyles+xml",hz=o("a","tblStyle",d.dml),Gm=(e,t)=>{let n=vc(t);if(n===null)return;let r=t.trim().toUpperCase(),a=e.getRels(Y)??pe(),l=a.items.find(f=>f.type===D.tableStyles&&f.targetMode==="Internal"),i=l?H(Y,l.target):G("/ppt/tableStyles.xml"),s=e.getPart(i);if(s===null){let f=`<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
|
26
|
-
<a:tblStyleLst xmlns:a="${d.dml}" def="${oo}">${n}</a:tblStyleLst>`;e.addPart(i,fz,le(f)),l||(a.items.push({id:se(a.items.map(y=>y.id)),type:D.tableStyles,target:i,targetMode:"Internal"}),e.setRels(Y,a));return}let c=$(V(s.data));if(Q(c.root,hz).some(f=>x(f,o("","styleId",""))?.trim().toUpperCase()===r))return;let u=$(`<a:tblStyleLst xmlns:a="${d.dml}">${n}</a:tblStyleLst>`).root.children[0];if(u?.kind!=="element")throw new Error("builtin table style markup is not an element");c.root.prefixDecls.get("a")!==d.dml&&u.prefixDecls.set("a",d.dml),c.root.children.push(u),s.data=le(ae(c))};var gz=/^\/ppt\/media\/image(\d+)\./,My=(e,t,n,r)=>{let a=1;for(let p of e.parts){let u=p.name.match(gz);u?.[1]!==void 0&&(a=Math.max(a,Number.parseInt(u[1],10)+1))}let l=gn(r),i=yn(r);xn(e,l,i),e.addPart(G(`/ppt/media/image${a}.${l}`),i,n);let s=e.getRels(t)??pe(),c=se(s.items.map(p=>p.id));return s.items.push({id:c,type:D.image,target:`../media/image${a}.${l}`,targetMode:"Internal"}),e.setRels(t,s),c},Jo=(e,t)=>n=>{let r=e.getRels(t)?.items.find(l=>l.id===n);if(!r||r.targetMode==="External")return null;let a=r.target.startsWith("/")?G(r.target):H(t,r.target);return e.getPart(a)?.data??null},Yr=(e,t,n)=>{let r=new Map,a=l=>{let i=ut(l);if(i===null||i==="svg")throw new Error(`${n}: picture fill bytes must be PNG, JPEG, GIF, BMP, TIFF or WebP`);return i};return{check:l=>{a(l)},embed:l=>{let i=r.get(l);return i===void 0&&(i=My(e,t,l,a(l)),r.set(l,i)),i}}};var yz=o("p","style",d.pml),xz=o("a","fontRef",d.dml),nC=(e,t)=>{let n=m(t[F],yz),r=n?m(n,xz):null;if(!r)return{};let a={},l=x(r,o("","idx",""));if(l==="major"||l==="minor"){let s=l==="major"?"+mj":"+mn";a.font=`${s}-lt`,a.fontEastAsian=`${s}-ea`,a.fontComplexScript=`${s}-cs`}let i=r.children.find(s=>s.kind==="element"&&s.name.namespaceURI===d.dml);if(i){let{theme:s}=Ft(e,t),c=ye(i,s,Ye(t[X]));c!==null&&(a.color=c)}return a};var Fy=o("a","defRPr",d.dml),Sz=o("a","endParaRPr",d.dml),Ym=o("a","lstStyle",d.dml),rC=o("p","txBody",d.pml),bz=o("p","txStyles",d.pml),Ez=o("p","titleStyle",d.pml),Az=o("p","bodyStyle",d.pml),Tz=o("p","otherStyle",d.pml),Sa=(e,t)=>{e.font===void 0&&t.font!==void 0&&(e.font=t.font),e.fontEastAsian===void 0&&t.fontEastAsian!==void 0&&(e.fontEastAsian=t.fontEastAsian),e.fontComplexScript===void 0&&t.fontComplexScript!==void 0&&(e.fontComplexScript=t.fontComplexScript),e.size===void 0&&t.size!==void 0&&(e.size=t.size),e.color===void 0&&e.textFill===void 0&&t.color!==void 0&&(e.color=t.color),e.color===void 0&&e.textFill===void 0&&t.textFill!==void 0&&(e.textFill=t.textFill),e.bold===void 0&&t.bold!==void 0&&(e.bold=t.bold),e.italic===void 0&&t.italic!==void 0&&(e.italic=t.italic),e.underline===void 0&&t.underline!==void 0&&(e.underline=t.underline),e.underlineColor===void 0&&t.underlineColor!==void 0&&(e.underlineColor=t.underlineColor),e.strike===void 0&&t.strike!==void 0&&(e.strike=t.strike),e.spc===void 0&&t.spc!==void 0&&(e.spc=t.spc),e.kern===void 0&&t.kern!==void 0&&(e.kern=t.kern),e.normalizeHeight===void 0&&t.normalizeHeight!==void 0&&(e.normalizeHeight=t.normalizeHeight),e.baseline===void 0&&t.baseline!==void 0&&(e.baseline=t.baseline),e.cap===void 0&&t.cap!==void 0&&(e.cap=t.cap),e.highlight===void 0&&t.highlight!==void 0&&(e.highlight=t.highlight),e.outline===void 0&&t.outline!==void 0&&(e.outline=t.outline),e.shadow===void 0&&t.shadow!==void 0&&(e.shadow=t.shadow),e.innerShadow===void 0&&t.innerShadow!==void 0&&(e.innerShadow=t.innerShadow),e.glow===void 0&&t.glow!==void 0&&(e.glow=t.glow),e.reflection===void 0&&t.reflection!==void 0&&(e.reflection=t.reflection)},Hm=(e,t)=>{if(!e)return null;let n=`lvl${Math.max(0,Math.min(8,t))+1}pPr`,r=m(e,o("a",n,d.dml));if(!r){if(t!==0)return null;let a=m(e,o("a","defPPr",d.dml));return a?m(a,Fy):null}return m(r,Fy)},Iy=(e,t,n,r)=>{let a=t.children.filter(w=>w.kind==="element"&&w.name.namespaceURI===d.dml&&w.name.localName==="p"),l=a[n];if(!l)throw new RangeError(`paragraph index ${n} out of range (have ${a.length})`);let i=typeof r=="object"&&r!==null,s=i&&"breakIndex"in r?"br":"fld",c=i?l.children.filter(w=>w.kind==="element"&&w.name.namespaceURI===d.dml&&w.name.localName===s):Zm(l),p=i?"fieldIndex"in r?r.fieldIndex:r.breakIndex:r,u=p===null?null:c[p];if(r!==null&&!u)throw new RangeError(`run index ${p} out of range in paragraph ${n} (have ${c.length})`);let f={},y=e,g=m(l,qt),S=0;if(g){let w=x(g,ei);if(w!==null){let v=Number.parseInt(w,10);Number.isFinite(v)&&(S=v)}}let E=u?m(u,Sl):null;if(E&&Sa(f,Gt(E,y,e.images)),r===null){let w=m(l,Sz);w&&Sa(f,Gt(w,y,e.images))}if(g){let w=m(g,Fy);w&&Sa(f,Gt(w,y,e.images))}let A=m(t,Ym),T=Hm(A,S);return T&&Sa(f,Gt(T,y,e.images)),f},qm=(e,t)=>{if(!e)return null;let n=`lvl${Math.max(0,Math.min(8,t))+1}pPr`,r=m(e,o("a",n,d.dml));return r||(t!==0?null:m(e,o("a","defPPr",d.dml)))},wz=e=>{let t=m(e[F],rC);return t?m(t,Ym):null},Vm=(e,t,n)=>Qs(e,t,n),zm=e=>{let t=m(e,rC);return t?m(t,Ym):null},vz=o("p","nvSpPr",d.pml),Cz=o("p","nvPr",d.pml),Pz=o("p","ph",d.pml),aC=e=>{let t=m(e[F],vz);if(!t)return!1;let n=m(t,Cz);return n!==null&&m(n,Pz)!==null},lC=(e,t)=>{let n=m(e,bz);return n?t==="title"||t==="ctrTitle"?m(n,Ez):t==="body"||t==="subTitle"||t===null?m(n,Az):m(n,Tz):null},oC=o("p","txBody",d.pml),iC=(e,t,n,r,a={})=>{let l=Qe(t,n),i=m(t[F],oC);if(!i)throw new Error("shape has no <p:txBody>");let s=a.inheritanceSource??t,c=Fe(e),p=Ye(s[X]),u={...Iy({theme:c,colorMap:p,images:Jo(s[X][L],s[X][O])},i,n,r)};Sa(u,nC(e,t));let f={theme:c,colorMap:p},y=m(l,qt),g=0;if(y){let C=x(y,ei);if(C!==null){let R=Number.parseInt(C,10);Number.isFinite(R)&&(g=R)}}let S=Ut(s),E=$t(s),A=aC(s),T=s[X],w=Te(T);if(w&&A){let C=Vm(w[ue].shapes,S,E);if(C){let k=zm(C.element),M=Hm(k,g);M&&Sa(u,Gt(M,f))}let R=e[L],N=G(w[de]),_=R.getRels(N);if(_){let k=_.items.find(M=>M.type===D.slideMaster);if(k){let M=R.getPart(H(N,k.target));if(M){let I=$(V(M.data)).root,{shapes:K}=Ge(I,"sldMaster"),re=Vm(K,S,E);if(re){let me=zm(re.element),we=Hm(me,g);we&&Sa(u,Gt(we,f))}let Se=lC(I,E),Ce=Hm(Se,g);Ce&&Sa(u,Gt(Ce,f))}}}}let v=zg(Ft(e,t).root)??Mo(e);if(v){let C=R=>{switch(R){case"+mj-lt":return v.majorLatin??void 0;case"+mn-lt":return v.minorLatin??void 0;case"+mj-ea":return v.majorEastAsian??void 0;case"+mn-ea":return v.minorEastAsian??void 0;case"+mj-cs":return v.majorComplexScript??void 0;case"+mn-cs":return v.minorComplexScript??void 0;default:return}};if(typeof u.font=="string"&&u.font.startsWith("+")){let R=C(u.font);R&&(u.font=R)}if(u.font===void 0){let N=E==="title"||E==="ctrTitle"?v.majorLatin:v.minorLatin;N&&(u.font=N)}if(typeof u.fontEastAsian=="string"&&u.fontEastAsian.startsWith("+")){let R=C(u.fontEastAsian);R&&(u.fontEastAsian=R)}if(u.fontEastAsian===void 0){let N=E==="title"||E==="ctrTitle"?v.majorEastAsian:v.minorEastAsian;N&&(u.fontEastAsian=N)}if(typeof u.fontComplexScript=="string"&&u.fontComplexScript.startsWith("+")){let R=C(u.fontComplexScript);R&&(u.fontComplexScript=R)}if(u.fontComplexScript===void 0){let N=E==="title"||E==="ctrTitle"?v.majorComplexScript:v.minorComplexScript;N&&(u.fontComplexScript=N)}}return u},Wm={l:"left",ctr:"center",r:"right",just:"justify",justLow:"justify",dist:"distribute",thaiDist:"distribute"},Lz=e=>{let t={},n=x(e,o("","defTabSz",""));n!==null&&Number.isFinite(Number(n))&&(t.defaultTabSizeEmu=Number(n));let r=m(e,o("a","tabLst",d.dml));if(r){t.tabStops=[];for(let S of r.children){if(S.kind!=="element"||S.name.namespaceURI!==d.dml||S.name.localName!=="tab")continue;let E=x(S,o("","pos",""));if(E===null||!Number.isFinite(Number(E)))continue;let A=x(S,o("","algn",""));t.tabStops.push({positionEmu:Number(E),alignment:A==="ctr"?"center":A==="r"?"right":A==="dec"?"decimal":"left"})}}let a=x(e,o("","algn",""));a!==null&&Wm[a]!==void 0&&(t.align=Wm[a]);let l=x(e,o("","marL",""));if(l!==null){let S=Number.parseInt(l,10);Number.isFinite(S)&&(t.marL=S)}let i=x(e,o("","marR",""));if(i!==null){let S=Number.parseInt(i,10);Number.isFinite(S)&&(t.marR=S)}let s=x(e,o("","indent",""));if(s!==null){let S=Number.parseInt(s,10);Number.isFinite(S)&&(t.indent=S)}for(let[S,E]of[["asianLineBreak","eaLnBrk"],["latinLineBreak","latinLnBrk"],["hangingPunctuation","hangingPunct"]]){let A=x(e,o("",E,""));(A==="1"||A==="true")&&(t[S]=!0),(A==="0"||A==="false")&&(t[S]=!1)}let c=x(e,o("","fontAlgn",""));c==="auto"&&(t.fontAlignment="auto"),c==="t"&&(t.fontAlignment="top"),c==="ctr"&&(t.fontAlignment="center"),c==="base"&&(t.fontAlignment="baseline"),c==="b"&&(t.fontAlignment="bottom");let p=x(e,o("","rtl",""));p!==null&&(t.rtl=p==="1"||p==="true");let u=m(e,o("a","lnSpc",d.dml));if(u){let S=m(u,o("a","spcPct",d.dml));if(S){let E=x(S,o("","val",""));if(E!==null){let A=St(E,Number.NaN);Number.isFinite(A)&&(t.lineSpacing={kind:"pct",value:A})}}else{let E=m(u,o("a","spcPts",d.dml));if(E){let A=x(E,o("","val",""));if(A!==null){let T=Number.parseInt(A,10);Number.isFinite(T)&&(t.lineSpacing={kind:"pts",value:T/100})}}}}let f=S=>{let E=m(e,o("a",S,d.dml));if(!E)return null;let A=m(E,o("a","spcPts",d.dml));if(!A)return null;let T=x(A,o("","val",""));if(T===null)return null;let w=Number.parseInt(T,10);return Number.isFinite(w)?w/100:null},y=f("spcBef");y!==null&&(t.spcBefPts=y);let g=f("spcAft");g!==null&&(t.spcAftPts=g);for(let S of e.children)if(!(S.kind!=="element"||S.name.namespaceURI!==d.dml)){if(S.name.localName==="buNone")t.bullet="none";else if(S.name.localName==="buChar"){let E=x(S,o("","char",""));E==="\u2022"?t.bullet="bullet":E!==null&&(t.bullet={char:E})}else if(S.name.localName==="buAutoNum"){let E=x(S,o("","type",""));E==="arabicPeriod"?t.bullet="number":E!==null&&(t.bullet={autoNum:E})}}return t},Rz=(e,t)=>{e.tabStops===void 0&&t.tabStops!==void 0&&(e.tabStops=t.tabStops),e.defaultTabSizeEmu===void 0&&t.defaultTabSizeEmu!==void 0&&(e.defaultTabSizeEmu=t.defaultTabSizeEmu);for(let n of["asianLineBreak","latinLineBreak","hangingPunctuation"])e[n]===void 0&&t[n]!==void 0&&(e[n]=t[n]);e.fontAlignment===void 0&&t.fontAlignment!==void 0&&(e.fontAlignment=t.fontAlignment),e.align===void 0&&t.align!==void 0&&(e.align=t.align),e.marL===void 0&&t.marL!==void 0&&(e.marL=t.marL),e.marR===void 0&&t.marR!==void 0&&(e.marR=t.marR),e.indent===void 0&&t.indent!==void 0&&(e.indent=t.indent),e.rtl===void 0&&t.rtl!==void 0&&(e.rtl=t.rtl),e.lineSpacing===void 0&&t.lineSpacing!==void 0&&(e.lineSpacing=t.lineSpacing),e.spcBefPts===void 0&&t.spcBefPts!==void 0&&(e.spcBefPts=t.spcBefPts),e.spcAftPts===void 0&&t.spcAftPts!==void 0&&(e.spcAftPts=t.spcAftPts),e.bullet===void 0&&t.bullet!==void 0&&(e.bullet=t.bullet)},Nz=(e,t)=>{e.color===void 0&&t.color!==void 0&&(e.color=t.color),e.colorFollowText===void 0&&t.colorFollowText!==void 0&&(e.colorFollowText=t.colorFollowText),e.sizePct===void 0&&t.sizePct!==void 0&&(e.sizePct=t.sizePct),e.sizePts===void 0&&t.sizePts!==void 0&&(e.sizePts=t.sizePts),e.sizeFollowText===void 0&&t.sizeFollowText!==void 0&&(e.sizeFollowText=t.sizeFollowText),e.font===void 0&&t.font!==void 0&&(e.font=t.font),e.fontFollowText===void 0&&t.fontFollowText!==void 0&&(e.fontFollowText=t.fontFollowText)},sC=(e,t,n,r={})=>{let a=Qe(t,n),l=m(a,qt),i=0;if(l){let A=x(l,ei);if(A!==null){let T=Number.parseInt(A,10);Number.isFinite(T)&&(i=T)}}let s={},c={},p=qe in t?t[Pe]:t,u=r.inheritanceSource??p,f=Fe(e),y=Ye(u[X]),g=A=>{A&&(Rz(s,Lz(A)),Nz(c,om(A,T=>ye(T,f,y))))};g(l);let S=qe in t?m(Km(t),Ym):wz(t),E=qm(S,i);if(g(E),!(qe in t)){let A=r.inheritanceSource??t,T=Ut(A),w=$t(A),v=aC(A),C=A[X],R=Te(C);if(R&&v){let N=Vm(R[ue].shapes,T,w);if(N){let I=zm(N.element),K=qm(I,i);g(K)}let _=e[L],k=G(R[de]),M=_.getRels(k);if(M){let I=M.items.find(K=>K.type===D.slideMaster);if(I){let K=_.getPart(H(k,I.target));if(K){let re=$(V(K.data)).root,{shapes:Se}=Ge(re,"sldMaster"),Ce=Vm(Se,T,w);if(Ce){let Ne=zm(Ce.element),Xe=qm(Ne,i);g(Xe)}let me=lC(re,w),we=qm(me,i);g(we)}}}}}return{align:s.align??null,level:i,marL:s.marL??null,marR:s.marR??null,indent:s.indent??null,lineSpacing:s.lineSpacing??null,spcBefPts:s.spcBefPts??null,spcAftPts:s.spcAftPts??null,rtl:s.rtl??null,bullet:s.bullet??null,bulletDetail:{color:c.color??null,colorFollowText:c.colorFollowText??!1,sizePct:c.sizePct??null,sizePts:c.sizePts??null,sizeFollowText:c.sizeFollowText??!1,font:c.font??null,fontFollowText:c.fontFollowText??!1},...s.tabStops===void 0?{}:{tabStops:s.tabStops},...s.defaultTabSizeEmu===void 0?{}:{defaultTabSizeEmu:s.defaultTabSizeEmu},...s.asianLineBreak===void 0?{}:{asianLineBreak:s.asianLineBreak},...s.latinLineBreak===void 0?{}:{latinLineBreak:s.latinLineBreak},...s.hangingPunctuation===void 0?{}:{hangingPunctuation:s.hangingPunctuation},...s.fontAlignment===void 0?{}:{fontAlignment:s.fontAlignment}}},dC=(e,t,n,r)=>{let a=Er(e,t,n),l=cC(a),i=e[X];mr(l,r,"setShapeRunFormat",Yr(i[L],i[O],"setShapeRunFormat")),J(e)},ln=e=>{if(e[U].kind!=="shape")return null;let t=m(e[F],oC);if(!t)return null;for(let n of t.children)if(!(n.kind!=="element"||n.name.namespaceURI!==d.dml||n.name.localName!=="p"))for(let r of n.children){if(r.kind!=="element"||r.name.namespaceURI!==d.dml||r.name.localName!=="r")continue;let a=m(r,o("a","rPr",d.dml));if(!a)continue;let l=m(a,o("a","hlinkClick",d.dml));if(!l)continue;let i=x(l,o("r","id",d.officeDocRels));if(!i)continue;let s=e[X],c=s[L].getRels(s[O]);if(!c)continue;let p=c.items.find(u=>u.id===i);if(p?.type===D.hyperlink&&p.targetMode==="External")return p.target}return null},Qo=(e,t,n,r)=>{let a=e[X],l=ht(e),i=r?.range;if(i&&(nn(Je(l),i,"setShapeHyperlink"),i.start===i.end))return;let s=c=>{i?sl(l,i,p=>Ql(p,c,n)):xf(l,c,n)};if(t===null)s(null);else{let c=a[L],p=c.getRels(a[O])??pe(),f=p.items.find(y=>y.type===D.hyperlink&&y.target===t&&y.targetMode==="External")?.id??(()=>{let y=se(p.items.map(g=>g.id));return p.items.push({id:y,type:D.hyperlink,target:t,targetMode:"External"}),c.setRels(a[O],p),y})();s(f)}J(e),vo(a)};var Dz=new TextDecoder,_z=new TextEncoder,fC=e=>Dz.decode(e),By=e=>_z.encode(e),mC=new WeakMap,pC=e=>{let t=mC.get(e);return t||(t=za(fC(e)),mC.set(e,t)),{items:t.items.map(n=>({...n}))}},uC="[Content_Types].xml",bl=class e{get parts(){return this.partList}partList;contentTypes;partsByName=new Map;constructor(t,n){this.partList=t,this.contentTypes=n,this.indexParts()}indexParts(){this.partsByName.clear();for(let t of this.parts){let n=t.name.toLowerCase();this.partsByName.has(n)||this.partsByName.set(n,t)}}static empty(){return new e([],Vf())}static load(t){let n=Xf(t),r=null,a=[];for(let i of n.entries){if(i.name===uC){r=Uf(fC(i.data));continue}if(i.name.endsWith("/"))continue;let s=$f(i.name);a.push({name:s,contentType:"",data:i.data})}if(r===null)throw new Error("package is missing [Content_Types].xml");let l=qf(r);for(let i of a){let s=l(i.name);if(s===null)throw new Error(`part "${i.name}" has no content type registered in [Content_Types].xml`);i.contentType=s}return new e(a,r)}save(){let t=[];t.push({name:uC,data:By(Gf(this.contentTypes))});for(let n of this.parts)t.push({name:jf(n.name),data:n.data});return os(t)}getPart(t){return this.partsByName.get(t.toLowerCase())??null}addPart(t,n,r){if(this.getPart(t)!==null)throw new Error(`part "${t}" already exists`);let a={name:t,contentType:n,data:r};return this.partList.push(a),this.partsByName.set(t.toLowerCase(),a),Hf(this.contentTypes,t)!==n&&this.contentTypes.overrides.push({partName:t,contentType:n}),a}removePart(t){let n=!1;for(let r=this.partList.length-1;r>=0;r--){let a=this.partList[r];a&&Rn(a.name,t)&&(this.partList.splice(r,1),n=!0)}return n&&(this.partsByName.delete(t.toLowerCase()),this.contentTypes.overrides=this.contentTypes.overrides.filter(r=>!Rn(r.partName,t))),n}retainParts(t){let n=[],r=0;for(let a of this.partList)t(a)?this.partList[r++]=a:n.push(a.name);if(this.partList.length=r,n.length>0){this.indexParts();let a=new Set(n.map(l=>l.toLowerCase()));this.contentTypes.overrides=this.contentTypes.overrides.filter(l=>!a.has(l.partName.toLowerCase()))}return n}getRels(t){let n=Dt(t),r=this.getPart(n);return r===null?null:pC(r.data)}setRels(t,n){let r=Dt(t),a=By(Sc(n)),l=this.getPart(r);if(l!==null){l.data=a;return}this.addPart(r,"application/vnd.openxmlformats-package.relationships+xml",a)}rootRels(){let t=this.getPart(G("/_rels/.rels"));return t===null?null:pC(t.data)}setRootRels(t){let n=G("/_rels/.rels"),r=By(Sc(t)),a=this.getPart(n);if(a!==null){a.data=r;return}this.addPart(n,"application/vnd.openxmlformats-package.relationships+xml",r)}};var kz={"16:9":{cx:12192e3,cy:6858e3,type:"screen16x9"},"4:3":{cx:9144e3,cy:6858e3,type:"screen4x3"}},Mz="application/vnd.openxmlformats-package.relationships+xml",Fz="application/vnd.openxmlformats-officedocument.presentationml.presentation.main+xml",Iz="application/vnd.openxmlformats-officedocument.presentationml.presProps+xml",Bz="application/vnd.openxmlformats-officedocument.presentationml.viewProps+xml",Oz="application/vnd.openxmlformats-officedocument.presentationml.slideMaster+xml",Oy="application/vnd.openxmlformats-officedocument.presentationml.slideLayout+xml",Xz="application/vnd.openxmlformats-officedocument.theme+xml",jz="application/vnd.openxmlformats-officedocument.presentationml.tableStyles+xml",$z="application/vnd.openxmlformats-package.core-properties+xml",Uz="application/vnd.openxmlformats-officedocument.extended-properties+xml",Ht=`<?xml version="1.0" encoding="UTF-8" standalone="yes"?>\r
|
|
27
|
-
`,On="http://schemas.openxmlformats.org/officeDocument/2006/relationships",ed="http://schemas.openxmlformats.org/package/2006/relationships",Jm=`${Ht}<a:theme xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" name="Default Theme"><a:themeElements><a:clrScheme name="Default"><a:dk1><a:sysClr val="windowText" lastClr="000000"/></a:dk1><a:lt1><a:sysClr val="window" lastClr="FFFFFF"/></a:lt1><a:dk2><a:srgbClr val="1F497D"/></a:dk2><a:lt2><a:srgbClr val="EEECE1"/></a:lt2><a:accent1><a:srgbClr val="4F81BD"/></a:accent1><a:accent2><a:srgbClr val="C0504D"/></a:accent2><a:accent3><a:srgbClr val="9BBB59"/></a:accent3><a:accent4><a:srgbClr val="8064A2"/></a:accent4><a:accent5><a:srgbClr val="4BACC6"/></a:accent5><a:accent6><a:srgbClr val="F79646"/></a:accent6><a:hlink><a:srgbClr val="0000FF"/></a:hlink><a:folHlink><a:srgbClr val="800080"/></a:folHlink></a:clrScheme><a:fontScheme name="Default"><a:majorFont><a:latin typeface="Calibri"/><a:ea typeface=""/><a:cs typeface=""/><a:font script="Jpan" typeface="\u6E38\u30B4\u30B7\u30C3\u30AF Light"/><a:font script="Hang" typeface="\uB9D1\uC740 \uACE0\uB515"/><a:font script="Hans" typeface="\u7B49\u7EBF Light"/><a:font script="Hant" typeface="\u65B0\u7D30\u660E\u9AD4"/><a:font script="Arab" typeface="Times New Roman"/><a:font script="Hebr" typeface="Times New Roman"/><a:font script="Thai" typeface="Angsana New"/><a:font script="Ethi" typeface="Nyala"/><a:font script="Beng" typeface="Vrinda"/><a:font script="Gujr" typeface="Shruti"/><a:font script="Khmr" typeface="MoolBoran"/><a:font script="Knda" typeface="Tunga"/><a:font script="Guru" typeface="Raavi"/><a:font script="Cans" typeface="Euphemia"/><a:font script="Cher" typeface="Plantagenet Cherokee"/><a:font script="Yiii" typeface="Microsoft Yi Baiti"/><a:font script="Tibt" typeface="Microsoft Himalaya"/><a:font script="Thaa" typeface="MV Boli"/><a:font script="Deva" typeface="Mangal"/><a:font script="Telu" typeface="Gautami"/><a:font script="Taml" typeface="Latha"/><a:font script="Syrc" typeface="Estrangelo Edessa"/><a:font script="Orya" typeface="Kalinga"/><a:font script="Mlym" typeface="Kartika"/><a:font script="Laoo" typeface="DokChampa"/><a:font script="Sinh" typeface="Iskoola Pota"/><a:font script="Mong" typeface="Mongolian Baiti"/><a:font script="Viet" typeface="Times New Roman"/><a:font script="Uigh" typeface="Microsoft Uighur"/><a:font script="Geor" typeface="Sylfaen"/><a:font script="Armn" typeface="Arial"/><a:font script="Bugi" typeface="Leelawadee UI"/><a:font script="Bopo" typeface="Microsoft JhengHei"/><a:font script="Java" typeface="Javanese Text"/><a:font script="Lisu" typeface="Segoe UI"/><a:font script="Mymr" typeface="Myanmar Text"/><a:font script="Nkoo" typeface="Ebrima"/><a:font script="Olck" typeface="Nirmala UI"/><a:font script="Osma" typeface="Ebrima"/><a:font script="Phag" typeface="Phagspa"/><a:font script="Syrn" typeface="Estrangelo Edessa"/><a:font script="Syrj" typeface="Estrangelo Edessa"/><a:font script="Syre" typeface="Estrangelo Edessa"/><a:font script="Sora" typeface="Nirmala UI"/><a:font script="Tale" typeface="Microsoft Tai Le"/><a:font script="Talu" typeface="Microsoft New Tai Lue"/><a:font script="Tfng" typeface="Ebrima"/></a:majorFont><a:minorFont><a:latin typeface="Calibri"/><a:ea typeface=""/><a:cs typeface=""/><a:font script="Jpan" typeface="\u6E38\u30B4\u30B7\u30C3\u30AF"/><a:font script="Hang" typeface="\uB9D1\uC740 \uACE0\uB515"/><a:font script="Hans" typeface="\u7B49\u7EBF"/><a:font script="Hant" typeface="\u65B0\u7D30\u660E\u9AD4"/><a:font script="Arab" typeface="Arial"/><a:font script="Hebr" typeface="Arial"/><a:font script="Thai" typeface="Cordia New"/><a:font script="Ethi" typeface="Nyala"/><a:font script="Beng" typeface="Vrinda"/><a:font script="Gujr" typeface="Shruti"/><a:font script="Khmr" typeface="DaunPenh"/><a:font script="Knda" typeface="Tunga"/><a:font script="Guru" typeface="Raavi"/><a:font script="Cans" typeface="Euphemia"/><a:font script="Cher" typeface="Plantagenet Cherokee"/><a:font script="Yiii" typeface="Microsoft Yi Baiti"/><a:font script="Tibt" typeface="Microsoft Himalaya"/><a:font script="Thaa" typeface="MV Boli"/><a:font script="Deva" typeface="Mangal"/><a:font script="Telu" typeface="Gautami"/><a:font script="Taml" typeface="Latha"/><a:font script="Syrc" typeface="Estrangelo Edessa"/><a:font script="Orya" typeface="Kalinga"/><a:font script="Mlym" typeface="Kartika"/><a:font script="Laoo" typeface="DokChampa"/><a:font script="Sinh" typeface="Iskoola Pota"/><a:font script="Mong" typeface="Mongolian Baiti"/><a:font script="Viet" typeface="Arial"/><a:font script="Uigh" typeface="Microsoft Uighur"/><a:font script="Geor" typeface="Sylfaen"/><a:font script="Armn" typeface="Arial"/><a:font script="Bugi" typeface="Leelawadee UI"/><a:font script="Bopo" typeface="Microsoft JhengHei"/><a:font script="Java" typeface="Javanese Text"/><a:font script="Lisu" typeface="Segoe UI"/><a:font script="Mymr" typeface="Myanmar Text"/><a:font script="Nkoo" typeface="Ebrima"/><a:font script="Olck" typeface="Nirmala UI"/><a:font script="Osma" typeface="Ebrima"/><a:font script="Phag" typeface="Phagspa"/><a:font script="Syrn" typeface="Estrangelo Edessa"/><a:font script="Syrj" typeface="Estrangelo Edessa"/><a:font script="Syre" typeface="Estrangelo Edessa"/><a:font script="Sora" typeface="Nirmala UI"/><a:font script="Tale" typeface="Microsoft Tai Le"/><a:font script="Talu" typeface="Microsoft New Tai Lue"/><a:font script="Tfng" typeface="Ebrima"/></a:minorFont></a:fontScheme><a:fmtScheme name="Default"><a:fillStyleLst><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:gradFill rotWithShape="1"><a:gsLst><a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="50000"/><a:satMod val="300000"/></a:schemeClr></a:gs><a:gs pos="35000"><a:schemeClr val="phClr"><a:tint val="37000"/><a:satMod val="300000"/></a:schemeClr></a:gs><a:gs pos="100000"><a:schemeClr val="phClr"><a:tint val="15000"/><a:satMod val="350000"/></a:schemeClr></a:gs></a:gsLst><a:lin ang="16200000" scaled="1"/></a:gradFill><a:gradFill rotWithShape="1"><a:gsLst><a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="100000"/><a:shade val="100000"/><a:satMod val="130000"/></a:schemeClr></a:gs><a:gs pos="100000"><a:schemeClr val="phClr"><a:tint val="50000"/><a:shade val="100000"/><a:satMod val="350000"/></a:schemeClr></a:gs></a:gsLst><a:lin ang="16200000" scaled="0"/></a:gradFill></a:fillStyleLst><a:lnStyleLst><a:ln w="9525" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"><a:shade val="95000"/><a:satMod val="105000"/></a:schemeClr></a:solidFill><a:prstDash val="solid"/></a:ln><a:ln w="25400" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:prstDash val="solid"/></a:ln><a:ln w="38100" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:prstDash val="solid"/></a:ln></a:lnStyleLst><a:effectStyleLst><a:effectStyle><a:effectLst><a:outerShdw blurRad="40000" dist="20000" dir="5400000" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="38000"/></a:srgbClr></a:outerShdw></a:effectLst></a:effectStyle><a:effectStyle><a:effectLst><a:outerShdw blurRad="40000" dist="23000" dir="5400000" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="35000"/></a:srgbClr></a:outerShdw></a:effectLst></a:effectStyle><a:effectStyle><a:effectLst><a:outerShdw blurRad="40000" dist="23000" dir="5400000" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="35000"/></a:srgbClr></a:outerShdw></a:effectLst><a:scene3d><a:camera prst="orthographicFront"><a:rot lat="0" lon="0" rev="0"/></a:camera><a:lightRig rig="threePt" dir="t"><a:rot lat="0" lon="0" rev="1200000"/></a:lightRig></a:scene3d><a:sp3d><a:bevelT w="63500" h="25400"/></a:sp3d></a:effectStyle></a:effectStyleLst><a:bgFillStyleLst><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:gradFill rotWithShape="1"><a:gsLst><a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="40000"/><a:satMod val="350000"/></a:schemeClr></a:gs><a:gs pos="40000"><a:schemeClr val="phClr"><a:tint val="45000"/><a:shade val="99000"/><a:satMod val="350000"/></a:schemeClr></a:gs><a:gs pos="100000"><a:schemeClr val="phClr"><a:shade val="20000"/><a:satMod val="255000"/></a:schemeClr></a:gs></a:gsLst><a:path path="circle"><a:fillToRect l="50000" t="-80000" r="50000" b="180000"/></a:path></a:gradFill><a:gradFill rotWithShape="1"><a:gsLst><a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="80000"/><a:satMod val="300000"/></a:schemeClr></a:gs><a:gs pos="100000"><a:schemeClr val="phClr"><a:shade val="30000"/><a:satMod val="200000"/></a:schemeClr></a:gs></a:gsLst><a:path path="circle"><a:fillToRect l="50000" t="50000" r="50000" b="50000"/></a:path></a:gradFill></a:bgFillStyleLst></a:fmtScheme></a:themeElements><a:objectDefaults/><a:extraClrSchemeLst/></a:theme>`,Gz=`${Ht}<p:sldMaster xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:p="http://schemas.openxmlformats.org/presentationml/2006/main"><p:cSld><p:bg><p:bgRef idx="1001"><a:schemeClr val="bg1"/></p:bgRef></p:bg><p:spTree><p:nvGrpSpPr><p:cNvPr id="1" name=""/><p:cNvGrpSpPr/><p:nvPr/></p:nvGrpSpPr><p:grpSpPr><a:xfrm><a:off x="0" y="0"/><a:ext cx="0" cy="0"/><a:chOff x="0" y="0"/><a:chExt cx="0" cy="0"/></a:xfrm></p:grpSpPr><p:sp><p:nvSpPr><p:cNvPr id="2" name="Title Placeholder 1"/><p:cNvSpPr><a:spLocks noGrp="1"/></p:cNvSpPr><p:nvPr><p:ph type="title"/></p:nvPr></p:nvSpPr><p:spPr><a:xfrm><a:off x="457200" y="274638"/><a:ext cx="8229600" cy="1143000"/></a:xfrm><a:prstGeom prst="rect"><a:avLst/></a:prstGeom></p:spPr><p:txBody><a:bodyPr vert="horz" lIns="91440" tIns="45720" rIns="91440" bIns="45720" rtlCol="0" anchor="ctr"><a:normAutofit/></a:bodyPr><a:lstStyle/><a:p><a:r><a:rPr lang="en-US" smtClean="0"/><a:t>Click to edit Master title style</a:t></a:r><a:endParaRPr lang="en-US"/></a:p></p:txBody></p:sp><p:sp><p:nvSpPr><p:cNvPr id="3" name="Text Placeholder 2"/><p:cNvSpPr><a:spLocks noGrp="1"/></p:cNvSpPr><p:nvPr><p:ph type="body" idx="1"/></p:nvPr></p:nvSpPr><p:spPr><a:xfrm><a:off x="457200" y="1600200"/><a:ext cx="8229600" cy="4525963"/></a:xfrm><a:prstGeom prst="rect"><a:avLst/></a:prstGeom></p:spPr><p:txBody><a:bodyPr vert="horz" lIns="91440" tIns="45720" rIns="91440" bIns="45720" rtlCol="0"><a:normAutofit/></a:bodyPr><a:lstStyle/><a:p><a:pPr lvl="0"/><a:r><a:rPr lang="en-US" smtClean="0"/><a:t>Click to edit Master text styles</a:t></a:r></a:p></p:txBody></p:sp></p:spTree></p:cSld><p:clrMap bg1="lt1" tx1="dk1" bg2="lt2" tx2="dk2" accent1="accent1" accent2="accent2" accent3="accent3" accent4="accent4" accent5="accent5" accent6="accent6" hlink="hlink" folHlink="folHlink"/><p:sldLayoutIdLst><p:sldLayoutId id="2147483649" r:id="rId1"/><p:sldLayoutId id="2147483650" r:id="rId2"/><p:sldLayoutId id="2147483651" r:id="rId3"/></p:sldLayoutIdLst><p:txStyles><p:titleStyle><a:lvl1pPr algn="ctr" defTabSz="457200" rtl="0" eaLnBrk="1" latinLnBrk="0" hangingPunct="1"><a:spcBef><a:spcPct val="0"/></a:spcBef><a:buNone/><a:defRPr sz="4400" kern="1200"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill><a:latin typeface="+mj-lt"/><a:ea typeface="+mj-ea"/><a:cs typeface="+mj-cs"/></a:defRPr></a:lvl1pPr></p:titleStyle><p:bodyStyle><a:lvl1pPr marL="342900" indent="-342900" algn="l" defTabSz="457200" rtl="0" eaLnBrk="1" latinLnBrk="0" hangingPunct="1"><a:spcBef><a:spcPct val="20000"/></a:spcBef><a:buFont typeface="Arial"/><a:buChar char="\u2022"/><a:defRPr sz="3200" kern="1200"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill><a:latin typeface="+mn-lt"/><a:ea typeface="+mn-ea"/><a:cs typeface="+mn-cs"/></a:defRPr></a:lvl1pPr><a:lvl2pPr marL="742950" indent="-285750" algn="l" defTabSz="457200" rtl="0" eaLnBrk="1" latinLnBrk="0" hangingPunct="1"><a:spcBef><a:spcPct val="20000"/></a:spcBef><a:buFont typeface="Arial"/><a:buChar char="\u2013"/><a:defRPr sz="2800" kern="1200"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill><a:latin typeface="+mn-lt"/><a:ea typeface="+mn-ea"/><a:cs typeface="+mn-cs"/></a:defRPr></a:lvl2pPr><a:lvl3pPr marL="1143000" indent="-228600" algn="l" defTabSz="457200" rtl="0" eaLnBrk="1" latinLnBrk="0" hangingPunct="1"><a:spcBef><a:spcPct val="20000"/></a:spcBef><a:buFont typeface="Arial"/><a:buChar char="\u2022"/><a:defRPr sz="2400" kern="1200"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill><a:latin typeface="+mn-lt"/><a:ea typeface="+mn-ea"/><a:cs typeface="+mn-cs"/></a:defRPr></a:lvl3pPr><a:lvl4pPr marL="1600200" indent="-228600" algn="l" defTabSz="457200" rtl="0" eaLnBrk="1" latinLnBrk="0" hangingPunct="1"><a:spcBef><a:spcPct val="20000"/></a:spcBef><a:buFont typeface="Arial"/><a:buChar char="\u2013"/><a:defRPr sz="2000" kern="1200"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill><a:latin typeface="+mn-lt"/><a:ea typeface="+mn-ea"/><a:cs typeface="+mn-cs"/></a:defRPr></a:lvl4pPr><a:lvl5pPr marL="2057400" indent="-228600" algn="l" defTabSz="457200" rtl="0" eaLnBrk="1" latinLnBrk="0" hangingPunct="1"><a:spcBef><a:spcPct val="20000"/></a:spcBef><a:buFont typeface="Arial"/><a:buChar char="\xBB"/><a:defRPr sz="2000" kern="1200"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill><a:latin typeface="+mn-lt"/><a:ea typeface="+mn-ea"/><a:cs typeface="+mn-cs"/></a:defRPr></a:lvl5pPr></p:bodyStyle><p:otherStyle><a:defPPr><a:defRPr lang="en-US"/></a:defPPr><a:lvl1pPr marL="0" algn="l" defTabSz="457200" rtl="0" eaLnBrk="1" latinLnBrk="0" hangingPunct="1"><a:defRPr sz="1800" kern="1200"><a:solidFill><a:schemeClr val="tx1"/></a:solidFill><a:latin typeface="+mn-lt"/><a:ea typeface="+mn-ea"/><a:cs typeface="+mn-cs"/></a:defRPr></a:lvl1pPr></p:otherStyle></p:txStyles></p:sldMaster>`,qz=`${Ht}<p:sldLayout xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:p="http://schemas.openxmlformats.org/presentationml/2006/main" type="blank" preserve="1"><p:cSld name="Blank"><p:spTree><p:nvGrpSpPr><p:cNvPr id="1" name=""/><p:cNvGrpSpPr/><p:nvPr/></p:nvGrpSpPr><p:grpSpPr><a:xfrm><a:off x="0" y="0"/><a:ext cx="0" cy="0"/><a:chOff x="0" y="0"/><a:chExt cx="0" cy="0"/></a:xfrm></p:grpSpPr></p:spTree></p:cSld><p:clrMapOvr><a:masterClrMapping/></p:clrMapOvr></p:sldLayout>`,Hz=`${Ht}<p:sldLayout xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:p="http://schemas.openxmlformats.org/presentationml/2006/main" type="title" preserve="1"><p:cSld name="Title Slide"><p:spTree><p:nvGrpSpPr><p:cNvPr id="1" name=""/><p:cNvGrpSpPr/><p:nvPr/></p:nvGrpSpPr><p:grpSpPr><a:xfrm><a:off x="0" y="0"/><a:ext cx="0" cy="0"/><a:chOff x="0" y="0"/><a:chExt cx="0" cy="0"/></a:xfrm></p:grpSpPr><p:sp><p:nvSpPr><p:cNvPr id="2" name="Title 1"/><p:cNvSpPr><a:spLocks noGrp="1"/></p:cNvSpPr><p:nvPr><p:ph type="ctrTitle"/></p:nvPr></p:nvSpPr><p:spPr><a:xfrm><a:off x="685800" y="2130425"/><a:ext cx="7772400" cy="1470025"/></a:xfrm></p:spPr><p:txBody><a:bodyPr/><a:lstStyle/><a:p><a:r><a:rPr lang="en-US" smtClean="0"/><a:t>Click to edit Master title style</a:t></a:r><a:endParaRPr lang="en-US"/></a:p></p:txBody></p:sp><p:sp><p:nvSpPr><p:cNvPr id="3" name="Subtitle 2"/><p:cNvSpPr><a:spLocks noGrp="1"/></p:cNvSpPr><p:nvPr><p:ph type="subTitle" idx="1"/></p:nvPr></p:nvSpPr><p:spPr><a:xfrm><a:off x="1371600" y="3886200"/><a:ext cx="6400800" cy="1752600"/></a:xfrm></p:spPr><p:txBody><a:bodyPr/><a:lstStyle/><a:p><a:r><a:rPr lang="en-US" smtClean="0"/><a:t>Click to edit Master subtitle style</a:t></a:r><a:endParaRPr lang="en-US"/></a:p></p:txBody></p:sp></p:spTree></p:cSld><p:clrMapOvr><a:masterClrMapping/></p:clrMapOvr></p:sldLayout>`,Vz=`${Ht}<p:sldLayout xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:p="http://schemas.openxmlformats.org/presentationml/2006/main" type="obj" preserve="1"><p:cSld name="Title and Content"><p:spTree><p:nvGrpSpPr><p:cNvPr id="1" name=""/><p:cNvGrpSpPr/><p:nvPr/></p:nvGrpSpPr><p:grpSpPr><a:xfrm><a:off x="0" y="0"/><a:ext cx="0" cy="0"/><a:chOff x="0" y="0"/><a:chExt cx="0" cy="0"/></a:xfrm></p:grpSpPr><p:sp><p:nvSpPr><p:cNvPr id="2" name="Title 1"/><p:cNvSpPr><a:spLocks noGrp="1"/></p:cNvSpPr><p:nvPr><p:ph type="title"/></p:nvPr></p:nvSpPr><p:spPr/><p:txBody><a:bodyPr/><a:lstStyle/><a:p><a:r><a:rPr lang="en-US" smtClean="0"/><a:t>Click to edit Master title style</a:t></a:r><a:endParaRPr lang="en-US"/></a:p></p:txBody></p:sp><p:sp><p:nvSpPr><p:cNvPr id="3" name="Content Placeholder 2"/><p:cNvSpPr><a:spLocks noGrp="1"/></p:cNvSpPr><p:nvPr><p:ph idx="1"/></p:nvPr></p:nvSpPr><p:spPr/><p:txBody><a:bodyPr/><a:lstStyle/><a:p><a:pPr lvl="0"/><a:r><a:rPr lang="en-US" smtClean="0"/><a:t>Click to edit Master text styles</a:t></a:r></a:p></p:txBody></p:sp></p:spTree></p:cSld><p:clrMapOvr><a:masterClrMapping/></p:clrMapOvr></p:sldLayout>`,zz=e=>`${Ht}<p:presentation xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:p="http://schemas.openxmlformats.org/presentationml/2006/main" saveSubsetFonts="1"><p:sldMasterIdLst><p:sldMasterId id="2147483648" r:id="rId1"/></p:sldMasterIdLst><p:sldSz cx="${e.cx}" cy="${e.cy}" type="${e.type}"/><p:notesSz cx="6858000" cy="9144000"/></p:presentation>`,Wz=`${Ht}<p:presentationPr xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:p="http://schemas.openxmlformats.org/presentationml/2006/main"/>`,Yz=`${Ht}<p:viewPr xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:p="http://schemas.openxmlformats.org/presentationml/2006/main"/>`,Zz=`${Ht}<a:tblStyleLst xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" def="{5C22544A-7EE6-4342-B048-85BDC9FD1C3A}"/>`,Kz=`${Ht}<cp:coreProperties xmlns:cp="http://schemas.openxmlformats.org/package/2006/metadata/core-properties" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:dcterms="http://purl.org/dc/terms/" xmlns:dcmitype="http://purl.org/dc/dcmitype/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><dc:title></dc:title><dc:creator>@office-kit/pptx</dc:creator><cp:lastModifiedBy>@office-kit/pptx</cp:lastModifiedBy></cp:coreProperties>`,Jz=`${Ht}<Properties xmlns="http://schemas.openxmlformats.org/officeDocument/2006/extended-properties" xmlns:vt="http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes"><Application>@office-kit/pptx</Application></Properties>`,Qz=`${Ht}<Relationships xmlns="${ed}"><Relationship Id="rId1" Type="${On}/officeDocument" Target="ppt/presentation.xml"/><Relationship Id="rId2" Type="${ed}/metadata/core-properties" Target="docProps/core.xml"/><Relationship Id="rId3" Type="${On}/extended-properties" Target="docProps/app.xml"/></Relationships>`,eW=`${Ht}<Relationships xmlns="${ed}"><Relationship Id="rId1" Type="${On}/slideMaster" Target="slideMasters/slideMaster1.xml"/><Relationship Id="rId2" Type="${On}/theme" Target="theme/theme1.xml"/><Relationship Id="rId3" Type="${On}/presProps" Target="presProps.xml"/><Relationship Id="rId4" Type="${On}/viewProps" Target="viewProps.xml"/><Relationship Id="rId5" Type="${On}/tableStyles" Target="tableStyles.xml"/></Relationships>`,tW=`${Ht}<Relationships xmlns="${ed}"><Relationship Id="rId1" Type="${On}/slideLayout" Target="../slideLayouts/slideLayout1.xml"/><Relationship Id="rId2" Type="${On}/slideLayout" Target="../slideLayouts/slideLayout2.xml"/><Relationship Id="rId3" Type="${On}/slideLayout" Target="../slideLayouts/slideLayout3.xml"/><Relationship Id="rId4" Type="${On}/theme" Target="../theme/theme1.xml"/></Relationships>`,Xy=`${Ht}<Relationships xmlns="${ed}"><Relationship Id="rId1" Type="${On}/slideMaster" Target="../slideMasters/slideMaster1.xml"/></Relationships>`,nW=new TextEncoder,hC=e=>nW.encode(e),jy=e=>{let t=bl.empty(),n=kz[e],r=(l,i,s)=>{t.addPart(G(l),i,hC(s))},a=(l,i)=>{t.addPart(G(l),Mz,hC(i))};return r("/ppt/presentation.xml",Fz,zz(n)),r("/ppt/presProps.xml",Iz,Wz),r("/ppt/viewProps.xml",Bz,Yz),r("/ppt/theme/theme1.xml",Xz,Jm),r("/ppt/tableStyles.xml",jz,Zz),r("/ppt/slideMasters/slideMaster1.xml",Oz,Gz),r("/ppt/slideLayouts/slideLayout1.xml",Oy,qz),r("/ppt/slideLayouts/slideLayout2.xml",Oy,Hz),r("/ppt/slideLayouts/slideLayout3.xml",Oy,Vz),r("/docProps/core.xml",$z,Kz),r("/docProps/app.xml",Uz,Jz),a("/_rels/.rels",Qz),a("/ppt/_rels/presentation.xml.rels",eW),a("/ppt/slideMasters/_rels/slideMaster1.xml.rels",tW),a("/ppt/slideLayouts/_rels/slideLayout1.xml.rels",Xy),a("/ppt/slideLayouts/_rels/slideLayout2.xml.rels",Xy),a("/ppt/slideLayouts/_rels/slideLayout3.xml.rels",Xy),t};var rW=async e=>{if(e instanceof Uint8Array)return e;if(e instanceof ArrayBuffer)return new Uint8Array(e);if(typeof Blob<"u"&&e instanceof Blob)return new Uint8Array(await e.arrayBuffer());throw new TypeError("loadPresentation: expected Uint8Array | ArrayBuffer | Blob")},gC=async e=>{let t=await rW(e),n=bl.load(t);return{[L]:n,_slidesCache:null}},yC=(e={})=>{let t=e.size??"16:9",n=jy(t);return{[L]:n,_slidesCache:null}},xC=e=>Promise.resolve(e[L].save());var td="http://schemas.microsoft.com/office/powerpoint/2010/main",ep="{521415D9-36F7-43E2-AB2F-B90AF26B5E84}",tp=o("p","extLst",d.pml),$y=o("p","ext",d.pml),Qm=o("p14","sectionLst",td),SC=o("p14","section",td),bC=o("p14","sldIdLst",td),EC=o("p14","sldId",td),np=o("","uri",""),AC=o("","name",""),aW=o("","id",""),TC=o("","id",""),lW=e=>{let t=m(e,tp);if(!t)return null;for(let n of Q(t,$y))if(x(n,np)===ep)return m(n,Qm);return null},oW=e=>{let t=m(e,tp);t||(t=h(tp),e.children.push(t));for(let a of Q(t,$y))if(x(a,np)===ep){let l=m(a,Qm);return l||(l=h(Qm),a.children.push(l)),l}let n=h(Qm,{prefixDecls:new Map([["p14",td]])}),r=h($y,{attrs:[b(np,ep)],children:[n]});return t.children.push(r),n},rp=e=>{let t=e[L],n=t.getPart(Y);if(!n)return[];let r=$(V(n.data)),a=lW(r.root);if(!a)return[];let l=new Map;if(t.getRels(Y)){let c=Jt(r.root),p=z(e);for(let u=0;u<c.slides.length&&u<p.length;u++)l.set(String(c.slides[u].id),p[u])}let s=[];for(let c of Q(a,SC)){let p=x(c,AC)??"",u=m(c,bC),f=[];if(u)for(let y of Q(u,EC)){let g=x(y,TC);if(g!==null){let S=l.get(g);S&&f.push(S)}}s.push({name:p,slides:f})}return s},wC=(e,t)=>{let n=e[L],r=n.getPart(Y);if(!r)throw new Error("presentation.xml is missing");let a=$(V(r.data)),l=new Map,i=Jt(a.root),s=z(e);for(let f=0;f<i.slides.length&&f<s.length;f++)l.set(s[f],String(i.slides[f].id));let c=new Map;if(i.slides.length>0){let f=n.getRels(Y);if(f)for(let y of i.slides){let g=f.items.find(E=>E.id===y.rId);if(!g)continue;let S=g.target.startsWith("/")?g.target:`/ppt/${g.target}`;c.set(S,String(y.id))}}let p=f=>{let y=l.get(f);return y||(c.get(f[O])??null)};if(t.length===0){let f=m(a.root,tp);f&&(f.children=f.children.filter(y=>!(y.kind==="element"&&y.name.namespaceURI===d.pml&&y.name.localName==="ext"&&x(y,np)===ep)),f.children.length===0&&(a.root.children=a.root.children.filter(y=>y!==f))),r.data=le(ae(a));return}let u=oW(a.root);u.children=t.map((f,y)=>{let S=`{${Date.now().toString(16).padStart(8,"0").slice(-8).toUpperCase().slice(0,8)}-${String(y).padStart(4,"0")}-4000-8000-000000000000}`,E=[];for(let A of f.slides){let T=p(A);T!==null&&E.push(h(EC,{attrs:[b(TC,T)]}))}return h(SC,{attrs:[b(AC,f.name),b(aW,S)],children:[h(bC,{children:E})]})}),r.data=le(ae(a))};var lp=(e,t)=>{for(let n of e.rootRels()?.items??[]){if(n.type!==t||n.targetMode!=="Internal")continue;let r=e.getPart(H("/",n.target));if(r)return r}return null},Ar="http://schemas.openxmlformats.org/package/2006/metadata/core-properties",Zr="http://purl.org/dc/elements/1.1/",nd="http://purl.org/dc/terms/",ap=G("/docProps/core.xml"),CC=e=>{let t=rd(e),n=t?.revision===null||t?.revision===void 0?0:Number.parseInt(t.revision,10),r=(Number.isFinite(n)?n:0)+1;return op(e,{revision:String(r)}),r},PC=(e,t=new Date)=>{op(e,{modified:t.toISOString()})},LC=e=>{let t=rd(e);if(!t||t.created===null)return null;let n=new Date(t.created);return Number.isFinite(n.getTime())?n:null},RC=e=>{let t=rd(e);if(!t||t.modified===null)return null;let n=new Date(t.modified);return Number.isFinite(n.getTime())?n:null},rd=e=>{let t=lp(e[L],D.coreProperties);if(!t)return null;let n=$(V(t.data)).root,r=(a,l)=>{let i=m(n,o("",l,a));if(!i)return null;let s="";for(let c of i.children)c.kind==="text"&&(s+=c.data);return s.length===0?null:s};return{title:r(Zr,"title"),subject:r(Zr,"subject"),creator:r(Zr,"creator"),keywords:r(Ar,"keywords"),description:r(Zr,"description"),lastModifiedBy:r(Ar,"lastModifiedBy"),revision:r(Ar,"revision"),created:r(nd,"created"),modified:r(nd,"modified"),category:r(Ar,"category")}},vC="application/vnd.openxmlformats-package.core-properties+xml",iW=[{key:"title",uri:Zr,prefix:"dc",local:"title"},{key:"subject",uri:Zr,prefix:"dc",local:"subject"},{key:"creator",uri:Zr,prefix:"dc",local:"creator"},{key:"keywords",uri:Ar,prefix:"cp",local:"keywords"},{key:"description",uri:Zr,prefix:"dc",local:"description"},{key:"lastModifiedBy",uri:Ar,prefix:"cp",local:"lastModifiedBy"},{key:"revision",uri:Ar,prefix:"cp",local:"revision"},{key:"created",uri:nd,prefix:"dcterms",local:"created"},{key:"modified",uri:nd,prefix:"dcterms",local:"modified"},{key:"category",uri:Ar,prefix:"cp",local:"category"}],sW=()=>{let e=new Map([["cp",Ar],["dc",Zr],["dcterms",nd]]);return{kind:"element",name:o("cp","coreProperties",Ar),attrs:[],prefixDecls:e,children:[]}},op=(e,t)=>{let n=e[L],r=lp(n,D.coreProperties),a,l;r?(l=$(V(r.data)),a=l.root):(a=sW(),l={kind:"document",decl:null,prolog:[],root:a,epilog:[]});for(let p of iW){if(!(p.key in t))continue;let u=t[p.key]??null,f=o(p.prefix,p.local,p.uri),y=m(a,f);if(u===null){y&&(y.children=[]);continue}y?y.children=[be(u)]:a.children.push(h(f,{children:[be(u)]}))}let i=le(ae(l));if(r){r.data=i;return}n.removePart(ap),n.contentTypes.overrides=n.contentTypes.overrides.filter(p=>!Rn(p.partName,ap)),n.contentTypes.overrides.push({partName:ap,contentType:vC}),n.addPart(ap,vC,i);let s=n.rootRels()??pe();s.items=s.items.filter(p=>p.type!==D.coreProperties);let c=se(s.items.map(p=>p.id));s.items.push({id:c,type:D.coreProperties,target:"docProps/core.xml",targetMode:"Internal"}),n.setRootRels(s)},NC="http://schemas.openxmlformats.org/officeDocument/2006/extended-properties",DC=e=>{let t=lp(e[L],D.extendedProperties);if(!t)return null;let n=$(V(t.data)).root,r=a=>{let l=m(n,o("",a,NC));if(!l)return null;let i="";for(let s of l.children)s.kind==="text"&&(i+=s.data);return i.length===0?null:i};return{application:r("Application"),appVersion:r("AppVersion"),company:r("Company"),manager:r("Manager"),presentationFormat:r("PresentationFormat"),hyperlinkBase:r("HyperlinkBase")}},dW=[{key:"application",local:"Application"},{key:"appVersion",local:"AppVersion"},{key:"company",local:"Company"},{key:"manager",local:"Manager"},{key:"presentationFormat",local:"PresentationFormat"},{key:"hyperlinkBase",local:"HyperlinkBase"}],_C=(e,t)=>{let n=lp(e[L],D.extendedProperties);if(!n)throw new Error("setExtendedProperties: the package has no extended-properties part; cannot bootstrap");let r=$(V(n.data));for(let a of dW){if(!(a.key in t))continue;let l=t[a.key]??null,i=o("",a.local,NC),s=m(r.root,i);if(l===null){s&&(s.children=[]);continue}s?s.children=[be(l)]:r.root.children.push(h(i,{children:[be(l)]}))}n.data=le(ae(r))};var Uy=e=>{let t=e.rootRels();if(!t)return null;let n=t.items.find(l=>l.type===D.thumbnail);if(!n)return null;let r=n.target;return{partName:r.startsWith("/")?G(r):G(`/${r}`),rId:n.id}},kC=e=>{let t=e[L],n=Uy(t);if(!n)return null;let r=t.getPart(n.partName);if(!r)return null;let a=ut(r.data);return a===null?null:{format:a,bytes:r.data}},MC=(e,t,n={})=>{let r=n.format??ut(t);if(r===null)throw new Error("setThumbnail: could not detect image format. Pass options.format explicitly.");let a=e[L],l=yn(r),i=gn(r),s=G(`/docProps/thumbnail.${i}`),c=Uy(a);if(c){if(c.partName===s){let g=a.getPart(c.partName);if(!g)throw new Error(`thumbnail rel points at missing part ${c.partName}`);g.data=t,g.contentType=l,xn(a,i,l);return}a.removePart(c.partName),a.addPart(s,l,t),xn(a,i,l);let f=a.rootRels()??pe(),y=f.items.find(g=>g.id===c.rId);y&&(y.target=`docProps/thumbnail.${i}`),a.setRootRels(f);return}xn(a,i,l),a.addPart(s,l,t);let p=a.rootRels()??pe(),u=se(p.items.map(f=>f.id));p.items.push({id:u,type:D.thumbnail,target:`docProps/thumbnail.${i}`,targetMode:"Internal"}),a.setRootRels(p)},FC=e=>{let t=e[L],n=Uy(t);if(!n)return;t.removePart(n.partName);let r=t.rootRels();r&&(r.items=r.items.filter(a=>a.id!==n.rId),t.setRootRels(r))};var cW=o("a","graphic",d.dml),mW=o("a","graphicData",d.dml),pW=o("a","tbl",d.dml),ba=o("a","tcPr",d.dml),Kr=o("a","txBody",d.dml),uW=o("a","bodyPr",d.dml),fW=o("a","tblStyle",d.dml),hW=o("a","tcTxStyle",d.dml),gW=o("a","tcStyle",d.dml),yW=o("a","tcBdr",d.dml),xW=o("a","font",d.dml),SW=o("a","fontRef",d.dml),bW=o("a","latin",d.dml),EW=o("a","ea",d.dml),AW=o("a","cs",d.dml),IC=G("/ppt/presentation.xml"),BC=new WeakMap,TW=e=>{let t=e[L],n=t.getRels(IC)?.items.find(u=>u.type===D.tableStyles&&u.targetMode==="Internal");if(!n)return null;let r=n.target.startsWith("/")?G(n.target):H(IC,n.target),a=t.getPart(r);if(!a)return null;let l=BC.get(t);if(l?.data===a.data)return l;let i=$(V(a.data)).root;if(i.name.namespaceURI!==d.dml||i.name.localName!=="tblStyleLst")return null;let s=new Map;for(let u of Q(i,fW)){let f=x(u,o("","styleId",""))?.trim().toUpperCase();f&&s.set(f,u)}let c=x(i,o("","def",""))?.trim().toUpperCase()??null,p={data:a.data,styles:s,defaultId:c};return BC.set(t,p),p},An=e=>{if(e[U].kind!=="graphicFrame")return null;let t=m(e[F],cW);if(!t)return null;let n=m(t,mW);return n?m(n,pW):null},ri=e=>An(e)!==null,Gy=e=>{let t=[];for(let n of e[ne])ri(n)&&t.push(n);return t},UC=e=>z(e).map(t=>Gy(t).length),dp=e=>Zo(e[X],e)!==null,Al=o("a","gridCol",d.dml),sp=o("","w",""),qy=o("","h",""),Tr=e=>e.children.filter(t=>t.kind==="element"&&t.name.namespaceURI===d.dml&&t.name.localName==="tr"),ad=e=>e.children.filter(t=>t.kind==="element"&&t.name.namespaceURI===d.dml&&t.name.localName==="tc"),ti=new WeakMap,GC=e=>{let t=ti.get(e);if(t)return t;let n=Tr(e),r=m(e,o("a","tblGrid",d.dml)),a=r?Q(r,Al).length:0,l={rows:n.length,cols:a||(n[0]?ad(n[0]).length:0)};return ti.set(e,l),l},wW=(e,t,n,r)=>({[Pe]:e,[qe]:t,[Eo]:n,[Ao]:r}),ld=e=>{let t=An(e);if(!t)throw new Error("getTableCells: shape is not a table graphic frame");return Tr(t).map((r,a)=>ad(r).map((l,i)=>wW(e,l,a,i)))},Hy=e=>{let t=An(e);if(!t)return null;let n=m(t,o("a","tblPr",d.dml));if(!n)return null;let r=m(n,o("a","tableStyleId",d.dml));if(!r)return null;let a="";for(let l of r.children)(l.kind==="text"||l.kind==="cdata")&&(a+=l.data);return a.trim()||null},qC=(e,t)=>{let n=An(e);if(!n)throw new Error("setTableStyleId: shape is not a table graphic frame");let r=t===null?null:ih(t)??jd(t,"setTableStyleId: styleId"),a=HC(n);a.children=a.children.filter(l=>!(l.kind==="element"&&l.name.namespaceURI===d.dml&&l.name.localName==="tableStyleId")),r!==null&&(a.children.push(h(o("a","tableStyleId",d.dml),{children:[be(r)]})),Gm(e[X][L],r)),ce(e[X]),ge(e[X])},Vy=e=>{let t={firstRow:!1,lastRow:!1,firstCol:!1,lastCol:!1,bandRow:!1,bandCol:!1},n=An(e);if(!n)return t;let r=m(n,o("a","tblPr",d.dml));if(!r)return t;let a=l=>{let i=x(r,o("",l,""));return i==="1"||i==="true"};return{firstRow:a("firstRow"),lastRow:a("lastRow"),firstCol:a("firstCol"),lastCol:a("lastCol"),bandRow:a("bandRow"),bandCol:a("bandCol")}},HC=e=>{let t=m(e,o("a","tblPr",d.dml));return t===null&&(t=h(o("a","tblPr",d.dml)),e.children.unshift(t)),t},vW=["firstRow","lastRow","firstCol","lastCol","bandRow","bandCol"],VC=(e,t)=>m(e,o("a",t,d.dml)),OC=(e,t,n)=>{let r=e.children.find(a=>a.kind==="element"&&a.name.namespaceURI===d.dml&&["srgbClr","schemeClr","sysClr","prstClr"].includes(a.name.localName));return r?ye(r,t,n):null},CW=(e,t,n)=>{let r={},a=p=>{let u=x(e,o("",p,""));return u==="on"?!0:u==="off"?!1:void 0},l=a("b"),i=a("i");l!==void 0&&(r.bold=l),i!==void 0&&(r.italic=i);let s=m(e,xW);if(s){let p=m(s,bW),u=m(s,EW),f=m(s,AW),y=A=>A?x(A,o("","typeface",""))??void 0:void 0,g=y(p),S=y(u),E=y(f);g!==void 0&&(r.font=g),S!==void 0&&(r.fontEastAsian=S),E!==void 0&&(r.fontComplexScript=E)}else{let p=m(e,SW);if(p){let u=x(p,o("","idx",""));(u==="major"||u==="minor")&&(r.font=u==="major"?"+mj-lt":"+mn-lt",r.fontEastAsian=u==="major"?"+mj-ea":"+mn-ea",r.fontComplexScript=u==="major"?"+mj-cs":"+mn-cs");let f=OC(p,t,n);f!==null&&(r.color=f)}}let c=OC(e,t,n);return c!==null&&(r.color=c),r},zC=(e,t)=>{let n=TW(e),r=(Hy(t)??n?.defaultId)?.trim().toUpperCase();return r?n?.styles.get(r)??sh(r):null},WC=(e,t)=>{let n=t[Pe],r=zC(e,n),a=An(n);if(!r||!a)return[];let{rows:l,cols:i}=GC(a);if(l===0||i===0)return[];let s=Vy(n),c=t[Eo],p=t[Ao],u=El(t),f=c+u.rowSpan-1,y=p+u.gridSpan-1,g=[],S=(v,C=!0)=>{if(!C)return;let R=VC(r,v);R&&g.push(R)};S("wholeTbl");let E=c-(s.firstRow?1:0),A=p-(s.firstCol?1:0),T=l-(s.firstRow?1:0)-(s.lastRow?1:0),w=i-(s.firstCol?1:0)-(s.lastCol?1:0);return S("band1H",s.bandRow&&T>0&&E>=0&&E<T&&E%2===0),S("band2H",s.bandRow&&T>0&&E>=0&&E<T&&E%2===1),S("band1V",s.bandCol&&w>0&&A>=0&&A<w&&A%2===0),S("band2V",s.bandCol&&w>0&&A>=0&&A<w&&A%2===1),S("lastCol",s.lastCol&&y===i-1),S("firstCol",s.firstCol&&p===0),S("lastRow",s.lastRow&&f===l-1),S("seCell",s.lastRow&&s.lastCol&&f===l-1&&y===i-1),S("swCell",s.lastRow&&s.firstCol&&f===l-1&&p===0),S("firstRow",s.firstRow&&c===0),S("neCell",s.firstRow&&s.lastCol&&c===0&&y===i-1),S("nwCell",s.firstRow&&s.firstCol&&c===0&&p===0),g},PW=(e,t)=>{let n=Fe(e),r=Ye(t[Pe][X]);return WC(e,t).reduce((a,l)=>{let i=m(l,hW);return i?{...a,...CW(i,n,r)}:a},{})},YC=(e,t)=>{let n=An(e);if(!n)throw new Error("setTableStyleFlags: shape is not a table graphic frame");let r=HC(n);for(let a of vW){let l=t[a];l!==void 0&&(r.attrs=r.attrs.filter(i=>!(i.name.namespaceURI===""&&i.name.localName===a)),l&&r.attrs.push(b(o("",a,""),"1")))}ce(e[X]),ge(e[X])},ZC=e=>{let t=An(e);if(!t)throw new Error("getTableDimensions: shape is not a table graphic frame");let n=Tr(t),r=n[0]!==void 0?ad(n[0]).length:0;return{rows:n.length,cols:r}},zy=e=>{let t=An(e);if(!t)throw new Error("getTableColumnWidths: shape is not a table graphic frame");let n=m(t,o("a","tblGrid",d.dml));if(!n)return[];let r=[];for(let a of Q(n,Al)){let l=x(a,sp),i=l!==null?Number.parseInt(l,10):0;r.push(Number.isFinite(i)?i:0)}return r},KC=e=>{let t=zy(e),n=Wy(e),r=t.reduce((l,i)=>l+i,0),a=n.reduce((l,i)=>l+i,0);return{width:r,height:a}},Wy=e=>{let t=An(e);if(!t)throw new Error("getTableRowHeights: shape is not a table graphic frame");let n=[];for(let r of Tr(t)){let a=x(r,qy),l=a!==null?Number.parseInt(a,10):0;n.push(Number.isFinite(l)?l:0)}return n},JC=(e,t,n)=>{let r=oi(e),a=m(r,o("a","tblGrid",d.dml));if(!a)throw new Error("table has no <a:tblGrid>");let l=Q(a,Al),i=l[t];if(!i)throw new RangeError(`table column ${t} out of range (have ${l.length})`);i.attrs=i.attrs.filter(s=>!(s.name.namespaceURI===""&&s.name.localName==="w")),i.attrs.push(b(sp,String(xe(n,"setTableColumnWidth: width")))),ce(e[X]),ge(e[X])},QC=(e,t,n)=>{let r=oi(e),a=Tr(r),l=a[t];if(!l)throw new RangeError(`table row ${t} out of range (have ${a.length})`);l.attrs=l.attrs.filter(i=>!(i.name.namespaceURI===""&&i.name.localName==="h")),l.attrs.push(b(qy,String(xe(n,"setTableRowHeight: height")))),ce(e[X]),ge(e[X])},eP=(e,t,n)=>{let r=ld(e),a=r[t];if(!a)throw new RangeError(`table row ${t} out of range (have ${r.length})`);let l=a[n];if(!l)throw new RangeError(`table column ${n} out of range in row ${t} (have ${a.length})`);return l},tr=e=>{let t=e[Pe];ce(t[X]),ge(t[X])},tP=(e,t)=>{let n=e[Pe][X];return Yr(n[L],n[O],t)},ai=e=>{let t=e[qe],n=m(t,Kr);return n===null&&(n=h(Kr),n.children.push(h(o("a","bodyPr",d.dml))),n.children.push(h(o("a","lstStyle",d.dml))),n.children.push(h(o("a","p",d.dml))),t.children.unshift(n)),n},li=e=>{let t=e[qe],n=m(t,ba);return n===null&&(n=h(ba),t.children.push(n)),n},nP=(e,t,n)=>{let r=ai(e);typeof t=="object"?Lo(r,t.case,n?.range):n?.preserveFormatting||n?.range?Ro(r,t,n.range,n.newlines):Pn(r,t,void 0,n?.newlines),tr(e)},rP=(e,t)=>{let n=nc(t,"setTableCellParagraphs",tP(e,"setTableCellParagraphs"));rc(ai(e),n),tr(e)},El=e=>{let t=e[qe],n=x(t,o("","gridSpan","")),r=x(t,o("","rowSpan","")),a=x(t,o("","hMerge","")),l=x(t,o("","vMerge","")),i=s=>{if(s===null)return 1;let c=Number.parseInt(s,10);return Number.isFinite(c)&&c>0?c:1};return{gridSpan:i(n),rowSpan:i(r),hMerge:a==="1"||a==="true",vMerge:l==="1"||l==="true"}},aP=o("","gridSpan",""),lP=o("","rowSpan",""),oP=o("","hMerge",""),iP=o("","vMerge",""),ip=(e,t,n)=>{e.attrs=e.attrs.filter(r=>!(r.name.namespaceURI===""&&r.name.localName===t.localName)),e.attrs.push(b(t,n))},LW=e=>{let t=x(e,aP),n=x(e,lP),r=x(e,oP),a=x(e,iP);return t!==null&&Number.parseInt(t,10)>1||n!==null&&Number.parseInt(n,10)>1||r==="1"||r==="true"||a==="1"||a==="true"},sP=(e,t,n)=>{let{row:r,col:a,rowSpan:l,colSpan:i}=t,s=n?.coveredText??"keep";if(s!=="keep"&&s!=="drop"&&s!=="append")throw new TypeError(`mergeTableCells: coveredText must be 'keep', 'drop' or 'append' (got ${String(s)})`);if(!Number.isInteger(l)||!Number.isInteger(i)||l<1||i<1)throw new RangeError(`mergeTableCells: rowSpan / colSpan must be integers \u2265 1 (got ${l} \xD7 ${i})`);if(l===1&&i===1)throw new RangeError("mergeTableCells: a 1\xD71 block is not a merge");if(!Number.isInteger(r)||!Number.isInteger(a)||r<0||a<0)throw new RangeError(`mergeTableCells: row / col must be non-negative integers (got ${r}, ${a})`);let c=ld(e),p=r+l-1,u=a+i-1;if(p>=c.length)throw new RangeError(`mergeTableCells: block rows ${r}..${p} exceed table height ${c.length}`);for(let f=r;f<=p;f++){let y=c[f];if(u>=y.length)throw new RangeError(`mergeTableCells: block cols ${a}..${u} exceed row ${f} width ${y.length}`)}for(let f=r;f<=p;f++)for(let y=a;y<=u;y++)if(LW(c[f][y][qe]))throw new Error(`mergeTableCells: cell (${f}, ${y}) is already part of a merge; split it before re-merging`);if(s==="append"){let f=ai(c[r][a]),y=!Je(f);for(let g=r;g<=p;g++)for(let S=a;S<=u;S++){if(g===r&&S===a)continue;let E=c[g][S],A=m(E[qe],Kr);!A||!Je(A)||(y&&(f.children=f.children.filter(T=>!(T.kind==="element"&&or(T.name,o("a","p",d.dml)))),y=!1),f.children.push(...structuredClone(Q(A,o("a","p",d.dml)))),Pn(A,""))}}for(let f=r;f<=p;f++)for(let y=a;y<=u;y++){let g=c[f][y][qe];if(f===r&&y===a){i>1&&ip(g,aP,String(i)),l>1&&ip(g,lP,String(l));continue}y>a&&ip(g,oP,"1"),f>r&&ip(g,iP,"1"),s==="drop"&&(g.children=g.children.filter(S=>!(S.kind==="element"&&or(S.name,Kr))))}ce(e[X]),ge(e[X])},dP=e=>{let t=e[Pe],n=ld(t),r=e[Eo],a=e[Ao],l;for(let s=0;s<=r;s++)for(let c=0;c<=a;c++){let p=n[s]?.[c];if(!p)continue;let u=El(p);if(!(u.hMerge||u.vMerge||u.rowSpan===1&&u.gridSpan===1)&&s+u.rowSpan>r&&c+u.gridSpan>a){if(l)throw new Error("splitTableCell: overlapping merged regions");l={row:s,col:c,rows:u.rowSpan,cols:u.gridSpan}}}if(!l){let s=El(e);if(s.hMerge||s.vMerge)throw new Error("splitTableCell: covered cell has no anchor");return}let i=[];for(let s=l.row;s<l.row+l.rows;s++)for(let c=l.col;c<l.col+l.cols;c++){let p=n[s]?.[c];if(!p)throw new Error("splitTableCell: merged region exceeds the table");let u=El(p);if(u.hMerge!==c>l.col||u.vMerge!==s>l.row)throw new Error("splitTableCell: inconsistent merged region");i.push(p[qe])}for(let s of i)s.attrs=s.attrs.filter(c=>c.name.namespaceURI!==""||!["gridSpan","rowSpan","hMerge","vMerge"].includes(c.name.localName));ce(t[X]),ge(t[X])},cP=(e,t)=>{let n=m(t[qe],ba),r=Fe(e),a={left:null,right:null,top:null,bottom:null,tlToBr:null,blToTr:null};if(!n)return a;let l=i=>{let s=m(n,o("a",i,d.dml));if(!s)return null;let c=x(s,o("","w","")),p=c!==null?Number.parseInt(c,10):null,u=null,f=m(s,o("a","solidFill",d.dml));if(f){for(let S of f.children)if(!(S.kind!=="element"||S.name.namespaceURI!==d.dml)){u=ye(S,r);break}}let y=m(s,o("a","prstDash",d.dml)),g=y?x(y,o("","val","")):null;return{color:u,widthEmu:p,dash:g}};return{left:l("lnL"),right:l("lnR"),top:l("lnT"),bottom:l("lnB"),tlToBr:l("lnTlToBr"),blToTr:l("lnBlToTr")}},XC={left:"lnL",right:"lnR",top:"lnT",bottom:"lnB",tlToBr:"lnTlToBr",blToTr:"lnBlToTr"},RW={lnL:0,lnR:1,lnT:2,lnB:3,lnTlToBr:4,lnBlToTr:5,cell3D:6,noFill:7,solidFill:7,gradFill:7,blipFill:7,pattFill:7,grpFill:7,headers:8,extLst:9},NW=e=>e.name.namespaceURI===d.dml?RW[e.name.localName]??99:99,jC=(e,t,n)=>{if(e.children=e.children.filter(l=>!(l.kind==="element"&&l.name.namespaceURI===d.dml&&l.name.localName===t)),n===null)return;let r=[];if(n.widthEmu!==null&&n.widthEmu!==void 0){let l=Mr(n.widthEmu,"setTableCellBorders: widthEmu");r.push(b(o("","w",""),String(l)))}let a=[];n.color!==null&&n.color!==void 0&&a.push(h(o("a","solidFill",d.dml),{children:[tt(n.color)]})),n.dash!==null&&n.dash!==void 0&&a.push(h(o("a","prstDash",d.dml),{attrs:[b(o("","val",""),n.dash)]})),je(e,h(o("a",t,d.dml),{attrs:r,children:a}),NW)},mP=(e,t)=>{if(t!==null)for(let[r,a]of Object.entries(t))a?.dash!=null&&Z(a.dash,Gl,`setTableCellBorders: ${r}.dash`);let n=li(e);if(t===null)for(let r of Object.values(XC))jC(n,r,null);else for(let[r,a]of Object.entries(XC)){let l=t[r];l!==void 0&&jC(n,a,l)}tr(e)},pP=e=>{let t=m(e[qe],ba);if(!t)return null;let n=x(t,o("","vert",""));return n==="vert"||n==="vert270"||n==="wordArtVert"||n==="eaVert"||n==="mongolianVert"||n==="wordArtVertRtl"?n:null},uP=e=>{let t=m(e[qe],Kr),n=t&&m(t,uW);return n?ja(n):null},fP=(e,t)=>{t!==null&&Z(t,$d,"setTableCellTextDirection: direction");let n=li(e);n.attrs=n.attrs.filter(r=>!(r.name.namespaceURI===""&&r.name.localName==="vert")),t!==null&&t!=="horz"&&n.attrs.push(b(o("","vert",""),t)),tr(e)},hP=e=>{let t=m(e[qe],ba);if(!t)return null;let n=x(t,o("","anchor",""));return n==="t"?"top":n==="ctr"?"center":n==="b"?"bottom":null},gP=(e,t)=>{t!==null&&Z(t,["top","center","bottom"],"setTableCellAnchor: anchor");let n=li(e);if(n.attrs=n.attrs.filter(r=>!(r.name.namespaceURI===""&&r.name.localName==="anchor")),t!==null){let r=Ud[t];n.attrs.push(b(o("","anchor",""),r))}tr(e)},yP=e=>{let t=m(e[qe],ba),n={left:null,right:null,top:null,bottom:null};if(!t)return n;let r=a=>{let l=x(t,o("",a,""));if(l===null)return null;let i=Number.parseInt(l,10);return Number.isFinite(i)?i:null};return{left:r("marL"),right:r("marR"),top:r("marT"),bottom:r("marB")}},xP=(e,t)=>{let n=li(e),r=new Set(["marL","marR","marT","marB"]);if(n.attrs=n.attrs.filter(a=>!(a.name.namespaceURI===""&&r.has(a.name.localName))),t!==null){let a=[["marL",t.left],["marR",t.right],["marT",t.top],["marB",t.bottom]];for(let[l,i]of a)if(i!=null){let s=Xd(i,`setTableCellMargins: ${l}`);n.attrs.push(b(o("",l,""),String(s)))}}tr(e)},Yy=e=>{let t=m(e[qe],Kr);return t?Je(t):""},SP=e=>{let t=m(e[qe],Kr);if(!t)return[];let n=[];for(let r of t.children){if(r.kind!=="element"||r.name.namespaceURI!==d.dml||r.name.localName!=="p")continue;let a=m(r,o("a","pPr",d.dml)),l=a?x(a,o("","algn","")):null,i=l!==null?Wm[l]??null:null,s=r.children.filter(p=>p.kind==="element"&&p.name.namespaceURI===d.dml&&["r","fld","br"].includes(p.name.localName)),c=cp(r).map((p,u)=>{let f=m(s[u],o("a","rPr",d.dml)),y=f?m(f,o("a","hlinkClick",d.dml)):null;if(!y)return p;let g=_s(e[Pe][X],y),S=x(y,o("","tooltip",""));return{...p,...g?{clickAction:g}:{},...S!==null?{tooltip:S}:{}}});n.push({align:i,elements:c,endFormat:Zy(r)})}return n},bP=(e,t,n,r)=>{let a=m(t[qe],Kr);if(!a)throw new Error("table cell has no <a:txBody>");let l=Iy({theme:Fe(e),colorMap:Ye(t[Pe][X]),images:Jo(t[Pe][X][L],t[Pe][X][O])},a,n,r),i={...PW(e,t),...l},s=Mo(e);if(s){let c=(g,S)=>{if(g===void 0)return S??void 0;switch(g){case"+mn-lt":return s.minorLatin??S??void 0;case"+mj-lt":return s.majorLatin??S??void 0;case"+mn-ea":return s.minorEastAsian??S??void 0;case"+mj-ea":return s.majorEastAsian??S??void 0;case"+mn-cs":return s.minorComplexScript??S??void 0;case"+mj-cs":return s.majorComplexScript??S??void 0;default:return g}},p={},u=c(i.font,s.minorLatin),f=c(i.fontEastAsian,s.minorEastAsian),y=c(i.fontComplexScript,s.minorComplexScript);return u!==void 0&&(p.font=u),f!==void 0&&(p.fontEastAsian=f),y!==void 0&&(p.fontComplexScript=y),{...i,...p}}return i},EP=(e,t)=>{let n=li(e);dr(n,t),tr(e)},AP=e=>{let t=li(e);Vl(t),tr(e)},TP=e=>{let t=m(e[qe],ba);if(!t)return null;let n=m(t,o("a","solidFill",d.dml));if(!n)return null;let r=m(n,o("a","srgbClr",d.dml));if(r){let l=x(r,o("","val",""));if(l)return`#${l.toUpperCase()}`}let a=m(n,o("a","schemeClr",d.dml));if(a){let l=x(a,o("","val",""));if(l)return`scheme:${l}`}return null},DW={left:"left",right:"right",top:"top",bottom:"bottom",tlToBr:"tl2br",blToTr:"tr2bl"},_W={insideH:"insideH",insideV:"insideV"},kW={left:"lnL",right:"lnR",top:"lnT",bottom:"lnB",tlToBr:"lnTlToBr",blToTr:"lnBlToTr"},wP=(e,t,n)=>{let r=x(t,o("","idx","")),a=r===null?NaN:Number.parseInt(r,10);if(!Number.isInteger(a)||a<1)return null;let l=Wn(e[L]),i=l?m(l,o("a","themeElements",d.dml)):null,s=i?m(i,o("a","fmtScheme",d.dml)):null,c=s?m(s,o("a",a>=1001&&n==="fillStyleLst"?"bgFillStyleLst":n,d.dml)):null,p=a>=1001&&n==="fillStyleLst"?a-1001:a-1,f=c?.children.filter(E=>E.kind==="element"&&E.name.namespaceURI===d.dml)?.[p];if(!f)return null;let y=t.children.find(E=>E.kind==="element"&&E.name.namespaceURI===d.dml),g=E=>{E.children=E.children.map(A=>{if(A.kind!=="element")return A;if(A.name.localName==="schemeClr"&&x(A,o("","val",""))==="phClr"&&y){let T=he(y);return T.children.push(...A.children.map(w=>w.kind==="element"?he(w):{...w})),T}return g(A),A})},S=he(f);return g(S),S},ni=(e,t,n,r)=>{for(let a of e.children)if(!(a.kind!=="element"||a.name.namespaceURI!==d.dml))switch(a.name.localName){case"fill":return ni(a,t,n,r);case"fillRef":{if(Number.parseInt(x(a,o("","idx",""))??"",10)===0)return{fill:{kind:"none"}};let i=wP(t,a,"fillStyleLst");return i?ni(h(o("a","fill",d.dml),{children:[i]}),t,n,r):null}case"noFill":return{fill:{kind:"none"}};case"solidFill":{let l=a.children.find(c=>c.kind==="element"&&c.name.namespaceURI===d.dml),i=l?ye(l,n,r):null;if(i===null)return null;let s=l?gt(l):null;return{fill:{kind:"solid",color:i},...s!==null?{opacity:s}:{}}}case"gradFill":{let l=an(a,{theme:n,colorMap:r??{}});return{fill:{kind:"gradient"},...l?{gradient:l}:{}}}case"pattFill":return{fill:{kind:"pattern"}};case"blipFill":return{fill:{kind:"image"}}}return null},$C=(e,t,n,r)=>{let a=m(e,o("a","lnRef",d.dml)),l=a?wP(t,a,"lnStyleLst"):m(e,o("a","ln",d.dml))??e;if(!l||(e=l,m(e,o("a","noFill",d.dml))))return null;let s=m(e,o("a","solidFill",d.dml))?.children.find(c=>c.kind==="element"&&c.name.namespaceURI===d.dml);return{color:s?ye(s,n,r):null,widthEmu:x(e,o("","w",""))?Number.parseInt(x(e,o("","w","")),10):null,dash:x(m(e,o("a","prstDash",d.dml))??e,o("","val",""))}},vP=(e,t)=>{let n=Fe(e),r=Ye(t[Pe][X]),a={fill:{kind:"inherit"}},l={left:null,right:null,top:null,bottom:null,tlToBr:null,blToTr:null},i=An(t[Pe]),{rows:s,cols:c}=i?GC(i):{rows:0,cols:0},p=El(t),u=t[Eo],f=t[Ao],y=u+p.rowSpan-1,g=f+p.gridSpan-1,S=(A,T)=>{if(A==="wholeTbl"){if(T==="left")return f===0?"left":"insideV";if(T==="right")return g===c-1?"right":"insideV";if(T==="top")return u===0?"top":"insideH";if(T==="bottom")return y===s-1?"bottom":"insideH"}return A==="firstRow"&&u===0||A==="lastRow"&&y===s-1?T==="left"||T==="right"?S("wholeTbl",T)===T?T:"insideV":T:A==="firstCol"&&f===0||A==="lastCol"&&g===c-1?T==="top"||T==="bottom"?S("wholeTbl",T)===T?T:"insideH":T:A==="nwCell"&&u===0&&f===0||A==="neCell"&&u===0&&g===c-1||A==="swCell"&&y===s-1&&f===0||A==="seCell"&&y===s-1&&g===c-1||A.startsWith("band")||T==="tlToBr"||T==="blToTr"?T:null};for(let A of WC(e,t)){let T=m(A,gW);if(!T)continue;let w=ni(T,e,n,r);w&&(a=w);let v=m(T,yW);if(v)for(let C of["left","right","top","bottom","tlToBr","blToTr"]){let R=S(A.name.localName,C);if(!R)continue;let N=R in _W?R:DW[R],_=m(v,o("a",N,d.dml));if(!_&&A.name.localName.startsWith("band")){let k=S("wholeTbl",C);(k==="insideH"||k==="insideV")&&(_=m(v,o("a",k,d.dml)))}_&&(l[C]=$C(_,e,n,r))}}let E=m(t[qe],ba);if(E){let A=ni(E,e,n,r);A&&(a=A);for(let T of["left","right","top","bottom","tlToBr","blToTr"]){let w=m(E,o("a",kW[T],d.dml));w&&(l[T]=$C(w,e,n,r))}}return{fill:a.fill,...a.opacity!==void 0?{fillOpacity:a.opacity}:{},borders:l}},CP=(e,t)=>{let n=An(t);if(!n)throw new Error("getTableBackgroundEffective: shape is not a table graphic frame");let r=Fe(e),a=Ye(t[X]),l=m(n,o("a","tblPr",d.dml)),i=zC(e,t),s=i?VC(i,"tblBg"):null,c=(l?ni(l,e,r,a):null)??(s?ni(s,e,r,a):null);return c?{fill:c.fill,...c.opacity!==void 0?{fillOpacity:c.opacity}:{},...c.gradient?{gradient:c.gradient}:{}}:null},PP=(e,t,n)=>{let r=tP(e,"setTableCellTextFormat");Wi(t,"setTableCellTextFormat",r);let a=ai(e);n?.paragraphEnd!==void 0?Do(a,n.paragraphEnd,t,n.reset,r):n?.range?No(a,t,n.range,n.reset,r):Kd(a,t,n?.reset,r),tr(e)},LP=(e,t,n)=>{let r=Yy(e),a=n?.range??{start:0,end:r.length};if(nn(r,a,"setTableCellClickAction"),a.start===a.end)return;let l=t?Zg(e[Pe][X],t):null;l&&n?.tooltip!==void 0&&l.attrs.push(b(o("","tooltip",""),n.tooltip)),sl(ai(e),a,i=>{ts(i,l?structuredClone(l):null)}),tr(e)},RP=(e,t)=>{let n=ia(t,"setTableCellAlignment"),r=ai(e);Ki(r,n),tr(e)},NP=e=>({row:e[Eo],col:e[Ao]}),DP=e=>{let t=m(e[qe],Kr);if(!t)return null;for(let n of t.children){if(n.kind!=="element"||n.name.namespaceURI!==d.dml||n.name.localName!=="p")continue;let r=m(n,o("a","pPr",d.dml));return r?Zi(x(r,o("","algn",""))):null}return null},oi=e=>{let t=An(e);if(!t)throw new Error("table shape is not a table graphic frame");return t},MW=e=>{let t=m(e,o("a","tblGrid",d.dml));return t?Q(t,Al).length:0},FW=e=>{let t=Tr(e);if(t.length===0)return 37e4;let n=0,r=0;for(let a of t){let l=x(a,qy);if(l!==null){let i=Number.parseInt(l,10);Number.isFinite(i)&&(n+=i,r++)}}return r>0?Math.round(n/r):37e4},_P=(e,t,n=[])=>{let r=oi(e);ti.delete(r);let a=MW(r),l=[];for(let p=0;p<a;p++)l.push(n[p]??"");let i=wc(l,FW(r)),s=Tr(r),c=t!==void 0?Math.max(0,Math.min(t,s.length)):s.length;if(c===s.length)r.children.push(i);else{let p=s[c],u=r.children.indexOf(p);r.children.splice(u,0,i)}ce(e[X]),ge(e[X])},kP=(e,t)=>{let n=oi(e);ti.delete(n);let r=Tr(n);if(t<0||t>=r.length)throw new RangeError(`removeTableRow: index ${t} out of range (have ${r.length})`);let a=r[t];n.children=n.children.filter(l=>l!==a),ce(e[X]),ge(e[X])},MP=(e,t,n)=>{let r=oi(e);ti.delete(r);let a=m(r,o("a","tblGrid",d.dml));if(!a)throw new Error("table is missing <a:tblGrid>");let l=Q(a,Al),i=t!==void 0?Math.max(0,Math.min(t,l.length)):l.length,s=n;if(s===void 0){let p=0,u=0;for(let f of l){let y=x(f,sp);if(y!==null){let g=Number.parseInt(y,10);Number.isFinite(g)&&(p+=g,u++)}}s=u>0?Math.round(p/u):914400}let c=h(Al,{attrs:[b(sp,String(s))]});if(i===l.length)a.children.push(c);else{let p=l[i],u=a.children.indexOf(p);a.children.splice(u,0,c)}for(let p of Tr(r)){let u=ad(p),f=Tc("");if(i>=u.length)p.children.push(f);else{let y=u[i],g=p.children.indexOf(y);p.children.splice(g,0,f)}}ce(e[X]),ge(e[X])},FP=(e,t)=>{let n=oi(e);ti.delete(n);let r=m(n,o("a","tblGrid",d.dml));if(!r)throw new Error("table is missing <a:tblGrid>");let a=Q(r,Al);if(t<0||t>=a.length)throw new RangeError(`removeTableColumn: index ${t} out of range (have ${a.length})`);let l=a[t];r.children=r.children.filter(i=>i!==l);for(let i of Tr(n)){let s=ad(i);t<s.length&&(i.children=i.children.filter(c=>c!==s[t]))}ce(e[X]),ge(e[X])};var wr=G("/ppt/presentation.xml"),IW=G("/ppt/_rels/presentation.xml.rels"),BW=o("p","sldIdLst",d.pml),OW=o("p","sldId",d.pml),IP=o("","id",""),XW=o("r","id",d.officeDocRels),jW=new TextDecoder,BP=e=>jW.decode(e),od=(e,t)=>t.target.startsWith("/")?G(t.target):H(e,t.target),Ky=e=>{let t=[],n=e.getPart(wr);if(!n)return t.push({severity:"error",message:"/ppt/presentation.xml is missing",partName:wr}),t;let r=e.getRels(wr);if(!r)return t.push({severity:"error",message:"/ppt/presentation.xml has no .rels part",partName:IW}),t;let a;try{a=$(BP(n.data)).root}catch(p){return t.push({severity:"error",message:`presentation.xml failed to parse: ${p.message}`,partName:wr}),t}let l=m(a,BW),i=new Set,s=new Set,c=[];if(l!==null)for(let p of Q(l,OW)){let u=x(p,IP),f=x(p,XW);if(u===null){t.push({severity:"error",message:"<p:sldId> missing id attribute",partName:wr});continue}if(f===null){t.push({severity:"error",message:`<p:sldId id="${u}"> missing r:id`,partName:wr});continue}i.has(u)?t.push({severity:"error",message:`duplicate <p:sldId id="${u}">`,partName:wr}):i.add(u),s.has(f)?t.push({severity:"error",message:`duplicate r:id="${f}" in <p:sldIdLst>`,partName:wr}):s.add(f);let y=r.items.find(S=>S.id===f);if(!y){t.push({severity:"error",message:`<p:sldId r:id="${f}"> has no matching rel`,partName:wr});continue}let g=od(wr,y);if(e.getPart(g)===null){t.push({severity:"error",message:`slide rel target ${g} not in package`,partName:g});continue}c.push(g)}for(let p of c){let u=e.getRels(p);if(!u){t.push({severity:"warning",message:`slide ${p} has no .rels part`,partName:p});continue}let f=u.items.find(A=>A.type===D.slideLayout);if(!f){t.push({severity:"error",message:`slide ${p} is missing a slideLayout rel`,partName:p});continue}let y=od(p,f);if(e.getPart(y)===null){t.push({severity:"error",message:`slide ${p} references missing layout ${y}`,partName:p});continue}let g=e.getRels(y);if(!g){t.push({severity:"warning",message:`slide layout ${y} has no .rels part`,partName:y});continue}let S=g.items.find(A=>A.type===D.slideMaster);if(!S){t.push({severity:"error",message:`slide layout ${y} is missing a slideMaster rel`,partName:y});continue}let E=od(y,S);e.getPart(E)===null&&t.push({severity:"error",message:`slide layout ${y} references missing master ${E}`,partName:y});for(let A of u.items){if(A.targetMode==="External"||A.type!==D.image&&A.type!==D.media&&A.type!==D.video&&A.type!==D.audio&&A.type!==D.chart&&A.type!==D.notesSlide&&A.type!==D.comments&&A.type!==D.oleObject&&A.type!==D.package)continue;let T=od(p,A);e.getPart(T)===null&&t.push({severity:"error",message:`slide ${p} has dangling ${A.type.split("/").pop()} rel \u2192 ${T}`,partName:p})}}for(let p of c){let u=e.getPart(p);if(!u)continue;let f;try{f=$(BP(u.data)).root}catch{continue}let y=m(f,o("p","cSld",d.pml));if(!y)continue;let g=m(y,o("p","spTree",d.pml));if(!g)continue;let S=new Map,E=w=>{for(let v of w.children){if(v.kind!=="element")continue;if(v.name.namespaceURI===d.pml&&v.name.localName==="grpSp"){E(v);continue}let C=m(v,o("p","nvSpPr",d.pml))??m(v,o("p","nvPicPr",d.pml))??m(v,o("p","nvCxnSpPr",d.pml))??m(v,o("p","nvGrpSpPr",d.pml))??m(v,o("p","nvGraphicFramePr",d.pml));if(!C)continue;let R=m(C,o("p","cNvPr",d.pml));if(!R)continue;let N=x(R,IP);N!==null&&S.set(N,(S.get(N)??0)+1)}};E(g);for(let[w,v]of S)v>1&&t.push({severity:"error",message:`duplicate shape id="${w}" appears ${v}\xD7 in slide ${p}`,partName:p});let A=m(f,o("p","timing",d.pml)),T=w=>{for(let v of w.children){if(v.kind!=="element")continue;if(!hr(v)){T(v);continue}let C=lo(v);C!==null&&!S.has(String(C))&&t.push({severity:"error",message:`media time node in slide ${p} targets missing shape id="${C}"`,partName:p})}};A&&T(A)}for(let p of e.parts){if(p.contentType!=="application/vnd.openxmlformats-officedocument.drawingml.chart+xml")continue;let u=e.getRels(p.name);if(!u){t.push({severity:"warning",message:`chart part ${p.name} has no .rels`,partName:p.name});continue}let f=u.items.find(y=>y.type===D.package);if(f){let y=od(p.name,f);e.getPart(y)===null&&t.push({severity:"error",message:`chart ${p.name} references missing embedded workbook ${y}`,partName:p.name})}}return t};var OP=e=>Ky(e[L]);var $W=new TextDecoder,XP=e=>e[L],jP=e=>e[L].parts.map(t=>({name:t.name,contentType:t.contentType,byteLength:t.data.byteLength})),$P=(e,t)=>{let n=t.toLowerCase();return e[L].parts.find(a=>a.name.toLowerCase()===n)?.data??null},UP=e=>{let t=0;for(let n of e[L].parts)t+=n.data.byteLength;return t},GP=e=>{let t=[];for(let n of e[L].parts)n.name.startsWith("/ppt/media/")&&t.push({name:n.name,contentType:n.contentType,data:n.data});return t},qP="/_rels/.rels",UW=/^(.*)\/_rels\/([^/]+)\.rels$/,Jy=(e,t)=>{if(t.startsWith("/"))return t;let n=e.split("/").slice(1,-1);for(let r of t.split("/"))r===".."?n.pop():r!=="."&&r.length>0&&n.push(r);return`/${n.join("/")}`},GW=e=>{let t=UW.exec(e);return t?`${t[1]}/${t[2]}`:null},qW=(e,t)=>{let n=t.toLowerCase();if(e.has(n))return n;try{let r=decodeURIComponent(t).toLowerCase();return e.has(r)?r:null}catch{return null}},HP=e=>{let t=new Map(e.parts.map(a=>[a.name.toLowerCase(),a])),n=new Set,r=["/"];for(;r.length>0;){let a=r.pop(),l=a==="/"?qP:Dt(a).toLowerCase(),i=t.get(l);if(i)for(let s of za($W.decode(i.data)).items){if(s.targetMode==="External"||s.target==="")continue;let c=qW(t,Jy(a,s.target));c===null||n.has(c)||(n.add(c),r.push(G(c)))}}return n.has(Y)?n:null},VP=e=>{let t=e[L],n=HP(t);return n===null?[]:t.parts.filter(r=>r.name.startsWith("/ppt/media/")&&!n.has(r.name.toLowerCase())).map(r=>r.name)},zP=e=>{let n=e[L].getRels(e[O]);if(!n)return[];let r=[],a=new Set;for(let l of n.items){if(l.targetMode==="External")continue;let i=Jy(e[O],l.target);i.startsWith("/ppt/media/")&&(a.has(i)||(a.add(i),r.push(i)))}return r},WP=(e,t)=>{let n=e[L],r=[];for(let a of z(e)){let l=n.getRels(a[O]);if(!l)continue;l.items.some(s=>s.targetMode!=="External"&&Jy(a[O],s.target)===t)&&r.push(a)}return r},YP=e=>{let t=e[L],n=HP(t);return n===null?{removed:[]}:{removed:t.retainParts(a=>{let l=a.name.toLowerCase();return l===qP?!0:n.has(GW(l)??l)})}},ZP=(e,t,n)=>{let r=t.toLowerCase(),a=e[L].parts.find(l=>l.name.toLowerCase()===r);return a?(a.data=n,!0):!1},HW="application/vnd.openxmlformats-officedocument.drawingml.chart+xml",VW="application/vnd.openxmlformats-officedocument.presentationml.comments+xml",KP=e=>{let t=e[L],n=z(e),r=0,a=0,l={shape:0,picture:0,group:0,graphicFrame:0,connector:0},i=!1;for(let u of n){Ea(u)&&r++;for(let f of u[ne])a++,l[f[U].kind]++;!i&&u[te].root.children.some(f=>f.kind==="element"&&f.name.namespaceURI===d.pml&&f.name.localName==="timing")&&(i=!0)}let s=t.parts.some(u=>u.contentType===HW),c=t.parts.some(u=>u.contentType===VW),p=Fe(e);return{slideCount:n.length,hiddenSlideCount:r,totalShapes:a,shapesByKind:l,layoutCount:Ct(e).length,sectionCount:rp(e).length,partCount:t.parts.length,hasCharts:s,hasComments:c,hasAnimations:i,themeName:p?.name??null}};var zW="iVBORw0KGgoAAAANSUhEUgAAAUAAAAC0AQMAAADfKmdSAAAABlBMVEUmJib///+/9FOwAAAAvUlEQVR42u3XMQ7DIBAEQOfnfhpP4QmUFAgiJUqdKa6xtFtPA8J36+tKkiRJkiR5RF4Mm8KucCrcCg/DpnAoXAq3wnMr7AqnwqXwMGwKu8KpcCukK//ApnAoXAq3QjnNF3aFU+FSeBg2hUPhVLgV/r/yH2wKRzls1YfZ5Rc+yh9F+cOd5R/XXT0AVvmQatWDlEczD3teH7yQypcmr2Fe7FoVuHxwneGCxJWrvBZy0eTqymU4fxhJkiRJkjwqbzMmJGbQfp8bAAAAAElFTkSuQmCC",WW=()=>Uint8Array.from(atob(zW),e=>e.charCodeAt(0)),YW=new Set(["youtube.com","www.youtube.com","m.youtube.com"]),ZW="youtu.be",KW=/^[A-Za-z0-9_-]+$/,JW=e=>{let t=e.pathname.split("/").filter(n=>n!=="");return e.hostname===ZW?t[0]??null:YW.has(e.hostname)?t[0]==="watch"?e.searchParams.get("v"):t[0]==="shorts"||t[0]==="live"?t[1]??null:null:null},QW=e=>{let t;try{t=new URL(e)}catch{throw new Error(`addSlideMedia: url is not an absolute URL: ${JSON.stringify(e)}`)}if(t.protocol!=="http:"&&t.protocol!=="https:")throw new Error(`addSlideMedia: url must be http(s), got ${JSON.stringify(e)}`);let n=JW(t);return n===null||!KW.test(n)?t.href:`https://www.youtube.com/embed/${n}?feature=oembed`},ix="/ppt/media/",lL=(e,t,n)=>{let r=1,a=new RegExp(`^/ppt/media/${t}(\\d+)\\.`);for(let l of e.parts){let i=l.name.match(a);if(i?.[1]!==void 0){let s=Number.parseInt(i[1],10);s>=r&&(r=s+1)}}return G(`${ix}${t}${r}.${n}`)},eY=(e,t)=>{if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0},sx=(e,t,n,r)=>{for(let l of e.parts)if(l.name.startsWith(ix)&&l.contentType===n&&eY(l.data,r))return l.name;let a=lL(e,"media",t);return xn(e,t,n),e.addPart(a,n,r),a},tY=e=>{switch(e.kind){case"online":return{url:QW(e.url)};case"video":{let t=e.format??Yf(e.data);if(t===null)throw new Error("addSlideMedia: could not detect the video format. Pass options.format explicitly.");let n=Wf(t);return{data:e.data,extension:t,contentType:n}}case"audio":{let t=e.format??cs(e.data);if(t===null)throw new Error("addSlideMedia: could not detect the audio format. Pass options.format explicitly.");let n=ds(t);return{data:e.data,extension:t,contentType:n}}}},nY={video:"Video",audio:"Audio",online:"Online Media"},oL=(e,t)=>{let n=Ue(t.x,"addSlideMedia: x"),r=Ue(t.y,"addSlideMedia: y"),a=xe(t.w,"addSlideMedia: w"),l=xe(t.h,"addSlideMedia: h"),i=tY(t),s=t.poster??WW(),c=t.posterFormat??ut(s);if(c===null)throw new Error("addSlideMedia: could not detect the poster image format. Pass options.posterFormat explicitly.");let p=e[L],u=e[O],f=p.getRels(u)??pe(),y=f.items.map(M=>M.id),g=(M,I,K)=>{let re=f.items.find(Ce=>Ce.type===M&&Ce.target===I&&Ce.targetMode===K);if(re)return re.id;let Se=se(y);return y.push(Se),f.items.push({id:Se,type:M,target:I,targetMode:K}),Se},S=M=>`../media/${M.slice(ix.length)}`,E=t.kind==="audio"?"audio":"video",A=E==="audio"?D.audio:D.video,T,w;if("url"in i)T=g(A,i.url,"External");else{let M=sx(p,i.extension,i.contentType,i.data);w=g(D.media,S(M),"Internal"),T=g(A,S(M),"Internal")}let v=gn(c),C=yn(c),R=lL(p,"image",v);xn(p,v,C),p.addPart(R,C,s);let N=g(D.image,S(R),"Internal");p.setRels(u,f);let _=wt(e),k=lh({id:_,name:t.name??`${nY[t.kind]} ${_}`,kind:E,rLink:T,...w!==void 0?{rMedia:w}:{},rEmbed:N,x:n,y:r,w:a,h:l});return rm(e,E,_),kn(e,k)},sd=e=>{if(e[U].kind!=="picture")return null;let t=fs(e[F]);if(t===null)return null;let n=e[X],r=n[L],a=r.getRels(n[O]);if(a===null)return null;let l=new Map(a.items.map(i=>[i.id,i]));for(let i of[t.mediaRId,t.fileRId]){let s=i===null?void 0:l.get(i);if(s===void 0)continue;if(s.targetMode==="External")return{kind:"online",url:s.target};let c=s.target.startsWith("/")?G(s.target):H(n[O],s.target),p=r.getPart(c);if(p)return{kind:t.kind,partName:p.name,contentType:p.contentType,bytes:p.data}}return null},iL=e=>e[ne].filter(t=>sd(t)!==null),rY=o("p","cMediaNode",d.pml),mp=o("p","cTn",d.pml),Cl=o("p","stCondLst",d.pml),JP=o("p","cond",d.pml),sL=o("","vol",""),dL=o("","mute",""),cL=o("","fullScrn",""),mL=o("","fill",""),pL=o("","showWhenStopped",""),uL=o("","numSld",""),fL=4294967295,hL=o("","repeatCount",""),Jr=o("","delay",""),di=o("","evt",""),gL=o("","masterRel",""),QP=o("","cmd",""),wl=o("","nodeType",""),nx=o("","id",""),yL=o("","val",""),aY=o("p","cBhvr",d.pml),Qy=o("p","tgtEl",d.pml),ex=o("p","spTgt",d.pml),lY=o("p","tn",d.pml),xL=o("p","childTnLst",d.pml),oY=o("p","nvPicPr",d.pml),iY=o("p","nvPr",d.pml),SL=o("p","extLst",d.pml),sY=o("p","ext",d.pml),dY=o("p14","media",d.p14),pp=o("p14","trim",d.p14),up=o("p14","fade",d.p14),ci=o("p14","bmkLst",d.p14),id=o("p14","bmk",d.p14),cY=o("p14","bmkTgt",d.p14),mY=o("","uri",""),rx=o("","st",""),ax=o("","end",""),lx=o("","in",""),ox=o("","out",""),ii=o("","name",""),si=o("","time",""),pY=o("","spid",""),uY=o("","bmkName",""),fY="{DAA4B4D4-6D71-4841-9C94-3DE7FCFB9230}",hY=(e,t)=>{if(e===null)return t;let n=Number.parseFloat(e.endsWith("%")?e.slice(0,-1):e);return Number.isFinite(n)?e.endsWith("%")?n/100:n/1e5:t},tx=(e,t)=>e===null?t:e==="1"||e==="true",vr=(e,t,n)=>{e.attrs=e.attrs.filter(r=>r.name.localName!==t.localName||r.name.namespaceURI!==t.namespaceURI),n!==null&&e.attrs.push(b(t,n))},eL=(e,t,n)=>{let r=e.attrs.findIndex(a=>a.name.localName===t.localName&&a.name.namespaceURI===t.namespaceURI);n===null?r>=0&&e.attrs.splice(r,1):r>=0?e.attrs[r]=b(t,n):e.attrs.push(b(t,n))},bL=e=>{let t=m(e[F],oY),n=t===null?null:m(t,iY),r=n===null?null:m(n,SL);if(r===null)return null;for(let a of r.children){if(a.kind!=="element"||!Cr(a.name,sY)||x(a,mY)!==fY)continue;let l=m(a,dY);if(l!==null)return l}return null},Cr=(e,t)=>e.namespaceURI===t.namespaceURI&&e.localName===t.localName,Tl=e=>{if(e===null)return null;let t=/^([+]?(?:\d+(?:\.\d*)?|\.\d+))(ms|s|min|h|µs|ns)?$/.exec(e);if(t===null)return null;let n=Number(t[1]);if(!Number.isFinite(n))return null;let r=t[2]==="s"?1e3:t[2]==="min"?6e4:t[2]==="h"?36e5:t[2]==="\xB5s"?.001:t[2]==="ns"?1e-6:1,a=n*r;return Number.isFinite(a)?a:null},gY=e=>{let t=bL(e);if(t===null)return{};let n=m(t,pp),r=m(t,up),a=n===null?null:Tl(x(n,rx)),l=n===null?null:Tl(x(n,ax)),i=r===null?null:Tl(x(r,lx)),s=r===null?null:Tl(x(r,ox)),c=m(t,ci),p=c===null?void 0:c.children.filter(u=>u.kind==="element"&&Cr(u.name,id)).map(u=>{let f=x(u,ii),y=Tl(x(u,si));if(f===null||y===null||y<0)throw new Error("getShapeMediaPlayback: malformed media bookmark");return{name:f,timeMs:y}});return{...n===null||a===null&&l===null?{}:{trim:{startMs:a??0,endMs:l??0}},...r===null||i===null&&s===null?{}:{fade:{inMs:i??0,outMs:s??0}},...p===void 0?{}:{bookmarks:p}}},tL=(e,t)=>{if(typeof e!="object"||e===null)throw new Error(`setShapeMediaPlayback: ${t} durations must be finite and nonnegative`);if(t==="trim"&&!("startMs"in e))throw new Error(`setShapeMediaPlayback: ${t} durations must be finite and nonnegative`);if(t==="fade"&&!("inMs"in e))throw new Error(`setShapeMediaPlayback: ${t} durations must be finite and nonnegative`);if((t==="trim"?"startMs"in e?[e.startMs,e.endMs]:[]:"inMs"in e?[e.inMs,e.outMs]:[]).some(r=>!Number.isFinite(r)||r<0))throw new Error(`setShapeMediaPlayback: ${t} durations must be finite and nonnegative`)},vl=e=>{let t=String(e);if(!/[eE]/.test(t))return t;let n=/^([+-]?)(\d+)(?:\.(\d+))?[eE]([+-]?\d+)$/.exec(t);if(n===null)return t;let r=`${n[2]}${n[3]??""}`,a=n[2].length+Number(n[4]);return a<=0?`${n[1]}0.${"0".repeat(-a)}${r}`:a>=r.length?`${n[1]}${r}${"0".repeat(a-r.length)}`:`${n[1]}${r.slice(0,a)}.${r.slice(a)}`},EL=(e,t)=>{e.children=e.children.filter(n=>n.kind!=="element"||!Cr(n.name,t))},nL=(e,t,n)=>{let r=m(e,t);if(r!==null){for(let a of n)vr(r,a,null);r.attrs.length===0&&r.children.length===0&&r.prefixDecls.size===0&&EL(e,t)}},fp=e=>Cr(e,pp)?0:Cr(e,up)?1:Cr(e,ci)?2:Cr(e,SL)?3:4,rL=(e,t,n)=>{let r=m(e,t);if(r===null){r=h(t);let a=fp(t),l=e.children.findIndex(i=>i.kind==="element"&&fp(i.name)>a);l<0?e.children.push(r):e.children.splice(l,0,r)}for(let[a,l]of n)vr(r,a,l)},yY=(e,t,n)=>{t!==void 0&&(t.startMs===0&&t.endMs===0?nL(e,pp,[rx,ax]):rL(e,pp,[[rx,vl(t.startMs)],[ax,vl(t.endMs)]])),n!==void 0&&(n.inMs===0&&n.outMs===0?nL(e,up,[lx,ox]):rL(e,up,[[lx,vl(n.inMs)],[ox,vl(n.outMs)]]))},xY=e=>{if(!Array.isArray(e))throw new Error("setShapeMediaPlayback: bookmarks must be an array");let t=new Set,n=new Set;for(let r of e){if(typeof r!="object"||r===null||typeof r.name!="string"||!Number.isFinite(r.timeMs)||r.timeMs<0)throw new Error("setShapeMediaPlayback: bookmarks require a string name and finite nonnegative timeMs");if(t.has(r.name))throw new Error("setShapeMediaPlayback: bookmark names must be unique");if(n.has(r.timeMs))throw new Error("setShapeMediaPlayback: bookmark times must be unique");t.add(r.name),n.add(r.timeMs)}},SY=(e,t)=>{let n=e[X][te].root,r=String(e[U].id),a=new Set(t.map(i=>i.name)),l=null;if(_t(n,i=>{if(!Cr(i.name,cY)||x(i,pY)!==r)return;let s=x(i,uY);s!==null&&!a.has(s)&&(l=s)}),l!==null)throw new Error(`setShapeMediaPlayback: cannot remove or rename referenced bookmark ${JSON.stringify(l)}`)},bY=(e,t)=>{let n=m(e,ci);if(n===null&&t.length===0)return;if(n===null){let g=h(ci,{children:t.map(A=>h(id,{attrs:[b(ii,A.name),b(si,vl(A.timeMs))]}))}),S=fp(ci),E=e.children.findIndex(A=>A.kind==="element"&&fp(A.name)>S);E<0?e.children.push(g):e.children.splice(E,0,g);return}let r=n.children.filter(g=>g.kind==="element"&&Cr(g.name,id)),a=new Map,l=new Map,i=new Map;for(let g of r){let S=x(g,ii)??"";l.has(S)||l.set(S,g);let E=x(g,si),A=Tl(E);if(A===null)continue;let T=`${S}\0${A}`;a.has(T)||a.set(T,g),i.has(A)||i.set(A,g)}let s=new Set(r),c=t.map(()=>{});t.forEach((g,S)=>{let E=a.get(`${g.name}\0${g.timeMs}`);E!==void 0&&s.has(E)&&(c[S]=E,s.delete(E))}),t.forEach((g,S)=>{if(c[S]!==void 0)return;let E=l.get(g.name);E!==void 0&&s.has(E)&&(c[S]=E,s.delete(E))}),t.forEach((g,S)=>{if(c[S]!==void 0)return;let E=i.get(g.timeMs);E!==void 0&&s.has(E)&&(c[S]=E,s.delete(E))});let p=0;t.forEach((g,S)=>{if(c[S]===void 0)for(;p<r.length;){let E=r[p++];if(E!==void 0&&s.has(E)){c[S]=E,s.delete(E);return}}});let u=t.map((g,S)=>{let E=c[S];if(E!==void 0){x(E,ii)!==g.name&&eL(E,ii,g.name);let A=x(E,si);return Tl(A)!==g.timeMs&&eL(E,si,vl(g.timeMs)),E}return h(id,{attrs:[b(ii,g.name),b(si,vl(g.timeMs))]})}),f=n.children.filter(g=>g.kind!=="element"||!Cr(g.name,id)),y=f.findIndex(g=>g.kind==="element");y<0?n.children=[...f,...u]:n.children=[...f.slice(0,y),...u,...f.slice(y)],u.length===0&&n.attrs.length===0&&n.children.length===0&&n.prefixDecls.size===0&&EL(e,ci)},AL=e=>{let t=rT(e[X],e[U].id),n=t?.node??null,r=n===null?null:m(n,rY);return t!==null&&r!==null?{...t,media:r}:null},TL=e=>{let t=e[X][te].root,n=String(e[U].id),r=[],a=(k,M)=>{let I=k.name.namespaceURI===d.pml&&k.name.localName==="cTn"?[...M,k]:M;if(k.name.namespaceURI===d.pml&&k.name.localName==="cmd"&&x(k,QP)?.startsWith("playFrom(")){let K=m(k,aY),re=K===null?null:m(K,Qy),Se=re===null?null:m(re,ex);Se!==null&&x(Se,o("","spid",""))===n&&r.push({element:k,ancestors:I})}for(let K of k.children)K.kind==="element"&&a(K,I)};if(a(t,[]),r.length===0)return null;if(r.length!==1)return"other";let{element:l,ancestors:i}=r[0],s=i.findIndex(k=>x(k,wl)==="mainSeq"),c=i.findIndex(k=>x(k,wl)==="interactiveSeq"),p=i.findIndex(k=>x(k,wl)===(s>=0?"afterEffect":"clickEffect")),u=s>=0?s:c;if(u<0||p<=u)return"other";let f=i[u],y=i[u+1];if(y===void 0)return"other";let g=k=>{if(k.name.namespaceURI===d.pml&&k.name.localName==="cTn")return k;for(let M of k.children){if(M.kind!=="element")continue;let I=g(M);if(I!==null)return I}return null},S=m(f,xL);if(S===null||g(S)!==y)return"other";let E=m(y,Cl);if(E===null)return"other";let A=E.children.filter(k=>k.kind==="element"&&k.name.namespaceURI===d.pml&&k.name.localName==="cond"),w=m(f,Cl)?.children.filter(k=>k.kind==="element"&&k.name.namespaceURI===d.pml&&k.name.localName==="cond")??[],v=A.some(k=>{if(x(k,di)!=="onBegin"||x(k,Jr)!=="0")return!1;let M=m(k,lY);return M!==null&&x(M,yL)===x(f,nx)}),C=A.some(k=>x(k,di)===null&&x(k,Jr)==="indefinite"),R=w.length===1?m(m(w[0],Qy)??h(Qy),ex):null,N=w.length===1&&x(w[0],di)==="onClick"&&x(w[0],Jr)==="0"&&x(R??h(ex),o("","spid",""))===n;if(s>=0&&(A.length!==2||!v||!C)||c>=0&&(!N||x(i[p],wl)!=="clickEffect"))return"other";let _=k=>{let M=m(k,Cl);if(M===null)return!1;let I=M.children.filter(K=>K.kind==="element"&&K.name.namespaceURI===d.pml&&K.name.localName==="cond");return I.length===1&&x(I[0],di)===null&&x(I[0],Jr)==="0"&&I[0].children.every(K=>K.kind!=="element")};return c>=0&&!_(y)||!i.slice(u+2,p+1).every(k=>_(k))||x(l,QP)!=="playFrom(0.0)"?"other":s>=0?"background":"interactive"},aL=(e,t,n)=>{let r=(y,g={},S=[])=>h(o("p",y,d.pml),{attrs:Object.entries(g).map(([E,A])=>b(o("",E,""),A)),children:S}),a=()=>r("cond",{evt:"onClick",delay:"0"},[r("tgtEl",{},[r("spTgt",{spid:n})])]),l=()=>r("stCondLst",{},[r("cond",{delay:"0"})]),i=y=>r("childTnLst",{},[y]),s=e==="background",c=r("par",{},[r("cTn",{id:t[3],presetID:"1",presetClass:"mediacall",presetSubtype:"0",fill:"hold",nodeType:s?"afterEffect":"clickEffect"},[l(),i(r("cmd",{type:"call",cmd:"playFrom(0.0)"},[r("cBhvr",{},[r("cTn",{id:t[4],dur:"1",fill:"hold"}),r("tgtEl",{},[r("spTgt",{spid:n})])])]))])]),p=r("par",{},[r("cTn",{id:t[1],fill:"hold"},[s?r("stCondLst",{},[r("cond",{delay:"indefinite"}),r("cond",{evt:"onBegin",delay:"0"},[r("tn",{val:t[0]})])]):l(),i(r("par",{},[r("cTn",{id:t[2],fill:"hold"},[l(),i(c)])]))])]),u=s?r("cTn",{id:t[0],dur:"indefinite",nodeType:"mainSeq"},[i(p)]):r("cTn",{id:t[0],restart:"whenNotActive",fill:"hold",evtFilter:"cancelBubble",nodeType:"interactiveSeq"},[r("stCondLst",{},[a()]),r("endSync",{evt:"end",delay:"0"},[r("rtn",{val:"all"})]),i(p)]),f=(y,g)=>r(y,{},[r("cond",{evt:g,delay:"0"},[r("tgtEl",{},[r("sldTgt")])])]);return r("seq",{concurrent:"1",nextAc:"seek"},[u,...s?[f("prevCondLst","onPrev"),f("nextCondLst","onNext")]:[r("nextCondLst",{},[a()])]])},wL=(e,t)=>{if(!((i,s)=>i.namespaceURI===s.namespaceURI&&i.localName===s.localName)(e.name,t.name)||e.attrs.length!==t.attrs.length)return!1;let r=new Map(e.attrs.map(({name:i,value:s})=>[`${i.namespaceURI}:${i.localName}`,s]));if(!t.attrs.every(({name:i,value:s})=>r.get(`${i.namespaceURI}:${i.localName}`)===s)||e.children.some(i=>i.kind!=="element"&&(i.kind!=="text"||i.data.trim()!=="")))return!1;let a=e.children.filter(i=>i.kind==="element"),l=t.children.filter(i=>i.kind==="element");return a.length===l.length&&a.every((i,s)=>wL(i,l[s]))},EY=(e,t)=>{let n=e[X][te].root,r=[],a=(f,y)=>{for(let g of f.children)g.kind==="element"&&(y(g,f),a(g,y))},l=String(e[U].id);a(n,(f,y)=>{if(f.name.namespaceURI!==d.pml||f.name.localName!=="seq")return;let g=m(f,mp);g!==null&&x(g,wl)===(t==="background"?"mainSeq":"interactiveSeq")&&r.push({node:f,parent:y})});let i=m(n,o("p","timing",d.pml)),s=i&&m(i,o("p","tnLst",d.pml)),c=s&&m(s,o("p","par",d.pml)),p=c&&m(c,mp),u=p&&m(p,xL);for(let{node:f,parent:y}of r){if(y!==u||p===null||x(p,wl)!=="tmRoot")continue;let g=[];if(a(f,w=>{if(w.name.namespaceURI===d.pml&&w.name.localName==="cTn"){let v=x(w,nx);v!==null&&g.push(v)}}),g.length!==5||new Set(g).size!==5||!wL(f,aL(t,g,l)))continue;let S=new Set(g),E=!1,A=w=>{if(w!==f){w.name.namespaceURI===d.pml&&(w.name.localName==="tn"&&S.has(x(w,yL)??"")&&(E=!0),w.name.localName==="cTn"&&(S.has(x(w,nx)??"")||t==="interactive"&&x(w,wl)==="mainSeq")&&(E=!0));for(let v of w.children)v.kind==="element"&&A(v)}};if(A(n),E)break;let T=aL(t==="background"?"interactive":"background",g,l);return T.prefixDecls=new Map([["p",d.pml]]),()=>{y.children[y.children.indexOf(f)]=T}}throw new Error("setShapeMediaPlayback: dedicated media command timing is unsupported or shared")},hp=(e,t=!1)=>{let n=0;for(let[r,a]of e.entries()){if(x(a,gL)!==null)return null;let l=m(a,Cl);if(l===null){if(t&&r===e.length-1)return null;continue}let i=l.children.filter(u=>u.kind==="element"&&u.name.namespaceURI===d.pml&&u.name.localName==="cond");if(i.length!==1)return null;let s=i[0];if(s.children.some(u=>u.kind==="element"&&u.name.namespaceURI===d.pml&&["tn","rtn","tgtEl"].includes(u.name.localName)))return null;if(x(s,di)!==null)return{automatic:!1,delayMs:0};let c=x(s,Jr);if(c==="indefinite")return{automatic:!1,delayMs:0};let p=c===null?0:Number(c);if(!Number.isSafeInteger(p)||p<0||(n+=p,!Number.isSafeInteger(n)))return null}return{automatic:!0,delayMs:n}},vL=e=>{let t=AL(e);if(t===null)return null;let{node:n,media:r}=t,a=m(r,mp),l=TL(e),i=a===null?null:hp([a],!0),s=hp(t.ancestors),c=(s?.delayMs??0)+(i?.delayMs??0),p=l==="background"||a!==null&&!t.duplicateTarget&&!t.hasDependentTimingAncestor&&s?.automatic===!0&&i?.automatic===!0&&Number.isSafeInteger(c),u={autoplay:p,loop:a!==null&&x(a,hL)==="indefinite",volume:hY(x(r,sL),.5),muted:tx(x(r,dL),!1),fullScreen:tx(x(n,cL),!1),hideWhenStopped:!tx(x(r,pL),!0)},f=x(r,uL),y=f===null?null:Number(f),g=y!==null&&Number.isSafeInteger(y)&&y>=0&&y<=fL?y:void 0,S=a!==null&&x(a,mL)==="remove",E={...g===void 0?{}:{slideCount:g},...S?{rewindAfterPlaying:!0}:{},...gY(e)};return p&&c>0?{...u,delayMs:c,...E}:{...u,...E}},CL=(e,t)=>{let n=AL(e);if(n===null)throw new Error("setShapeMediaPlayback: the shape has no media time node");let{node:r,media:a}=n,l=TL(e),i=l==="background"&&t.autoplay===!1||l==="interactive"&&t.autoplay===!0,s=t.delayMs;if(s!==void 0&&(!Number.isSafeInteger(s)||s<0))throw new Error("setShapeMediaPlayback: delayMs must be a nonnegative safe integer");if(s!==void 0&&t.autoplay===!1)throw new Error("setShapeMediaPlayback: delayMs cannot be used with autoplay:false");let c=m(a,mp),p=c&&m(c,Cl),u=p&&m(p,JP),f=u!==null&&x(u,di)===null&&x(u,Jr)!=="indefinite";if(n.ancestors.length>1&&c!==null&&p!==null&&(t.autoplay!==void 0||s!==void 0)&&hp([c],!0)===null)throw new Error("setShapeMediaPlayback: media start conditions are unsupported");if(n.duplicateTarget)throw new Error("setShapeMediaPlayback: multiple media nodes target this shape");if(c===null&&(t.autoplay!==void 0||t.delayMs!==void 0||t.loop!==void 0||t.rewindAfterPlaying!==void 0))throw new Error("setShapeMediaPlayback: media timing node has no cTn");if(l==="other"&&(t.autoplay!==void 0||t.delayMs!==void 0))throw new Error("setShapeMediaPlayback: media command timing is unsupported");if((l==="background"||l==="interactive")&&s!==void 0)throw new Error("setShapeMediaPlayback: background media timing cannot be changed");if((t.autoplay!==void 0||s!==void 0)&&c!==null&&(x(c,gL)!==null||u!==null&&u.children.some(E=>E.kind==="element"&&E.name.namespaceURI===d.pml&&["tn","rtn","tgtEl"].includes(E.name.localName))))throw new Error("setShapeMediaPlayback: media start depends on another timing node");let y=s;if(t.autoplay!==void 0||s!==void 0){if(n.hasDependentTimingAncestor)throw new Error("setShapeMediaPlayback: media dependent timing is unsupported");let E=hp(n.ancestors);if(E===null)throw new Error("setShapeMediaPlayback: nested media has unsupported start conditions");if(!E.automatic&&t.autoplay!==!1)throw new Error("setShapeMediaPlayback: media is event-triggered");if(s!==void 0){if(!E.automatic||s<E.delayMs)throw new Error("setShapeMediaPlayback: delayMs cannot be represented with nested start conditions");y=s-E.delayMs}}if(s!==void 0&&t.autoplay===void 0&&!f)throw new Error("setShapeMediaPlayback: delayMs requires autoplay");if(t.volume!==void 0&&(!Number.isFinite(t.volume)||t.volume<0||t.volume>1))throw new Error("setShapeMediaPlayback: volume must be between 0 and 1");if(t.fullScreen!==void 0&&r.name.localName!=="video")throw new Error("setShapeMediaPlayback: fullScreen applies to video only");if(t.slideCount!==void 0&&(!Number.isSafeInteger(t.slideCount)||t.slideCount<0||t.slideCount>fL))throw new Error("setShapeMediaPlayback: slideCount must be an unsigned 32-bit integer");t.trim!==void 0&&tL(t.trim,"trim"),t.fade!==void 0&&tL(t.fade,"fade"),t.bookmarks!==void 0&&xY(t.bookmarks);let g=t.trim!==void 0||t.fade!==void 0||t.bookmarks!==void 0?bL(e):null;if((t.trim!==void 0||t.fade!==void 0||t.bookmarks!==void 0)&&g===null)throw new Error("setShapeMediaPlayback: trim, fade, and bookmarks require embedded media");if(t.bookmarks!==void 0&&SY(e,t.bookmarks),(i?EY(e,l==="background"?"background":"interactive"):null)?.(),t.volume!==void 0&&vr(a,sL,String(Math.round(t.volume*1e5))),t.muted!==void 0&&vr(a,dL,t.muted?"1":"0"),t.hideWhenStopped!==void 0&&vr(a,pL,t.hideWhenStopped?"0":"1"),t.slideCount!==void 0&&vr(a,uL,t.slideCount===1?null:String(t.slideCount)),t.fullScreen!==void 0&&vr(r,cL,t.fullScreen?"1":"0"),g!==null&&yY(g,t.trim,t.fade),g!==null&&t.bookmarks!==void 0&&bY(g,t.bookmarks),c!==null&&(t.rewindAfterPlaying!==void 0&&vr(c,mL,t.rewindAfterPlaying?"remove":"hold"),t.loop!==void 0&&vr(c,hL,t.loop?"indefinite":null),!i&&l!=="background"&&l!=="interactive"&&(t.autoplay!==void 0||s!==void 0))){let E=m(c,Cl);E===null&&(E=h(Cl),c.children.unshift(E));let A=t.autoplay===!1?"indefinite":y!==void 0?String(y):f?x(u,Jr)??"0":"0";f&&u!==null&&t.autoplay!==!1?vr(u,Jr,A):E.children=[h(JP,{attrs:[b(Jr,A)]})]}ce(e[X]),ge(e[X])};var Pl=(e,t)=>e.kind==="element"&&e.name.namespaceURI===d.pml&&e.name.localName===t,AY=e=>e.kind!=="element"?[]:Pl(e,"transition")?[e]:e.name.namespaceURI!==d.mc||e.name.localName!=="AlternateContent"?[]:e.children.flatMap(t=>t.kind==="element"&&t.name.namespaceURI===d.mc?t.children.filter(n=>n.kind==="element"&&Pl(n,"transition")):[]),dx=e=>AY(e)[0]??null,yp=e=>{for(let t of e[te].root.children){let n=dx(t);if(n)return n}return null},PL=e=>{e[te].root.children=e[te].root.children.filter(t=>dx(t)===null)},LL=(e,t)=>{let n=e[te].root.children,r=n.length;for(let a=0;a<n.length;a++){let l=n[a];l?.kind!=="element"||l.name.namespaceURI!==d.pml||(l.name.localName==="clrMapOvr"||l.name.localName==="cSld"&&r===n.length)&&(r=a+1)}n.splice(r,0,t)},mi=(e,t)=>{let n=x(e,o("",t,""))?.trim();return n===void 0?void 0:n==="1"||n==="true"},TY=e=>{let t=e.children.find(A=>A.kind==="element"&&!Pl(A,"sndAc")&&!Pl(A,"extLst"));if(t===void 0)return{effect:"none"};let n=t.name.localName;if(Bh(n)!==t.name.namespaceURI)return{effect:t.name.prefix===""?n:`${t.name.prefix}:${n}`};let r=A=>x(t,o("",A,"")),a=r("dir"),l=r("orient"),i=r("spokes"),s=r("pattern"),c=r("prst"),p=r("option"),u=mi(t,"thruBlk"),f=mi(t,"isContent"),y=mi(t,"isInverted"),g=mi(t,"hasBounce"),S=mi(t,"invX"),E=mi(t,"invY");return{effect:n,...a!==null?{direction:a}:{},...l==="horz"||l==="vert"?{orientation:l}:{},...(n==="wheel"||n==="wheelReverse")&&i!==null?{spokes:Number(i)}:{},...u!==void 0?{thruBlack:u}:{},...s==="diamond"||s==="hexagon"||s==="strip"||s==="rectangle"?{pattern:s}:{},...f!==void 0?{isContent:f}:{},...y!==void 0?{isInverted:y}:{},...g!==void 0?{hasBounce:g}:{},...c!==null?{preset:c}:{},...S!==void 0?{invertX:S}:{},...E!==void 0?{invertY:E}:{},...p==="byObject"||p==="byWord"||p==="byChar"?{morphOption:p}:{}}},RL=e=>{let t=yp(e);if(!t)return null;let n=x(t,o("p14","dur",d.p14)),r=x(t,o("","spd","")),a=x(t,o("","advClick",""))?.trim()??null,l=x(t,o("","advTm",""));return{...TY(t),...r!==null?{speed:r}:{},...a!==null?{advanceOnClick:a!=="0"&&a!=="false"}:{},...l!==null?{advanceAfterMs:Number.parseInt(l,10)}:{},...n!==null?{durationMs:Number.parseInt(n,10)}:{}}},NL=(e,t)=>{let n=yp(e),r=n?m(n,gp):null,a=Mc(t,r);PL(e),LL(e,a),ce(e),ge(e)},DL=e=>{PL(e),OL(e),ce(e),ge(e)},gp=o("p","sndAc",d.pml),_L=o("p","stSnd",d.pml),kL=o("p","endSnd",d.pml),ML=o("p","snd",d.pml),wY=o("r","embed",d.officeDocRels),FL=o("","name",""),IL=o("","loop",""),BL=e=>{let t=yp(e),n=t?m(t,gp):null;if(!n)return null;if(m(n,kL))return{kind:"stop"};let r=m(n,_L),a=r?m(r,ML):null;if(!r||!a)return null;let l=x(r,IL);return{kind:"play",name:x(a,FL)??"",loop:l==="1"||l==="true"}},OL=e=>{let t=e[L],n=t.getRels(e[O]);if(n===null)return;let r=new Set;_t(e[te].root,l=>{for(let i of l.attrs)i.name.namespaceURI===d.officeDocRels&&r.add(i.value)});let a=n.items.filter(l=>l.type!==D.audio||r.has(l.id));a.length!==n.items.length&&t.setRels(e[O],{items:a})},XL=(e,t)=>{if(t?.kind==="play"&&cs(t.data)!=="wav")throw new Error("setSlideTransitionSound: a transition sound must be a WAV file");let n=yp(e);if(!n){if(t===null)return;n=Mc({effect:"none"}),LL(e,n)}let r=e[te].root.children.flatMap(l=>{let i=dx(l);return i?i===l?[i]:l.children.flatMap(s=>s.kind==="element"?s.children.filter(c=>Pl(c,"transition")):[]):[]}),a=null;if(t?.kind==="stop")a=h(gp,{children:[h(kL)]});else if(t?.kind==="play"){let l=e[L],i=sx(l,"wav",ds("wav"),t.data),s=l.getRels(e[O])??pe(),c=`../media/${i.slice(i.lastIndexOf("/")+1)}`,p=s.items.find(u=>u.type===D.audio&&u.target===c)?.id;p===void 0&&(p=se(s.items.map(u=>u.id)),s.items.push({id:p,type:D.audio,target:c,targetMode:"Internal"}),l.setRels(e[O],s)),a=h(gp,{children:[h(_L,{attrs:t.loop?[b(IL,"1")]:[],children:[h(ML,{attrs:[b(wY,p),b(FL,t.name)]})]})]})}for(let l of r){if(l.children=l.children.filter(s=>!Pl(s,"sndAc")),a===null)continue;let i=l.children.findIndex(s=>Pl(s,"extLst"));l.children.splice(i===-1?l.children.length:i,0,he(a))}OL(e),ce(e),ge(e)};var nr=e=>{let t=e[L].getRels(e[O]);if(!t)return null;let n=t.items.find(r=>r.type===D.notesSlide);return n?n.target.startsWith("/")?G(n.target):H(e[O],n.target):null},vY={bg1:"lt1",tx1:"dk1",bg2:"lt2",tx2:"dk2",accent1:"accent1",accent2:"accent2",accent3:"accent3",accent4:"accent4",accent5:"accent5",accent6:"accent6",hlink:"hlink",folHlink:"folHlink"},CY=(e,t)=>{let r=e[L].getRels(t)?.items.find(a=>a.type===D.notesMaster&&a.targetMode!=="External");return r?r.target.startsWith("/")?G(r.target):H(t,r.target):null},cx=(e,t)=>{let n=e[L],r=CY(e,t),a=r?n.getPart(r):null,l=a?$(V(a.data)).root:null,i={...vY},s=l?m(l,o("p","clrMap",d.pml)):null;for(let y of s?.attrs??[])y.name.namespaceURI===""&&(i[y.name.localName]=y.value);let c=n.getPart(t),p=c?$(V(c.data)).root:null,u=p?m(p,o("p","clrMapOvr",d.pml)):null,f=u?m(u,o("a","overrideClrMapping",d.dml)):null;for(let y of f?.attrs??[])y.name.namespaceURI===""&&(i[y.name.localName]=y.value);return{theme:Vr(n,r??t),colorMap:i}},jL=(e,t)=>{let n=nr(e);if(n===null)return null;let r=t.startsWith("scheme:")?t.slice(7):t;if(!/^(?:bg[12]|tx[12]|lt[12]|dk[12]|accent[1-6]|hlink|folHlink)$/.test(r))return null;let a=cx(e,n),l=h(o("a","schemeClr",d.dml),{attrs:[b(o("","val",""),r)]});return ye(l,a.theme,a.colorMap)},Xn=e=>{let t=nr(e);if(t===null)return null;let n=e[L].getPart(t);if(n===null)return null;let r=$(V(n.data)).root,a=m(r,Le);if(!a)return null;let l=m(a,_n);if(!l)return null;for(let i of l.children){if(i.kind!=="element"||i.name.namespaceURI!==d.pml||i.name.localName!=="sp")continue;let s=m(i,o("p","nvSpPr",d.pml));if(!s)continue;let c=m(s,o("p","nvPr",d.pml));if(!c)continue;let p=m(c,o("p","ph",d.pml));if(!p||x(p,o("","type",""))!=="body")continue;let u=m(i,o("p","txBody",d.pml));if(u)return Je(u)}return null},$L=e=>{let t=nr(e);if(t===null)return[];let n=e[L].getPart(t);if(n===null)return[];let r=$(V(n.data)).root,a=m(r,Le),l=a&&m(a,_n);if(!l)return[];let i=[],s=0;for(let c of l.children){if(c.kind!=="element"||c.name.namespaceURI!==d.pml||c.name.localName!=="sp")continue;let p=m(c,o("p","nvSpPr",d.pml)),u=p&&m(p,o("p","nvPr",d.pml)),f=u&&m(u,o("p","ph",d.pml));if(!f||x(f,o("","type",""))!=="body")continue;let y=m(c,o("p","txBody",d.pml));if(!y)return[];let g=y.children.filter(S=>S.kind==="element"&&S.name.namespaceURI===d.dml&&S.name.localName==="p");return g.forEach((S,E)=>{for(let A of S.children){if(A.kind!=="element"||A.name.namespaceURI!==d.dml)continue;if(A.name.localName==="br"){i.push({position:s,kind:"break"}),s++;continue}if(A.name.localName!=="r"&&A.name.localName!=="fld")continue;let T=A.children.filter(w=>w.kind==="element"&&w.name.namespaceURI===d.dml&&w.name.localName==="t").map(w=>cn(w)).join("");s+=T.length}E<g.length-1&&(i.push({position:s,kind:"paragraph"}),s++)}),i}return i},UL=(e,t)=>{let n=nr(e);if(n===null)return[];let r=e[L].getPart(n);if(r===null)return[];let a=$(V(r.data)).root,l=m(a,Le),i=l&&m(l,_n);if(!i)return[];let s=o("a","p",d.dml),c=o("a","r",d.dml),p=o("a","fld",d.dml),u=o("a","br",d.dml),f=o("a","t",d.dml),y=o("a","rPr",d.dml),g=w=>w?w.children.filter(v=>v.kind==="text"||v.kind==="cdata").map(v=>v.data).join(""):"",S=[],E=t?.resolveColors?cx(e,n):null,A=0,T=[];for(let w of i.children){if(w.kind!=="element"||w.name.namespaceURI!==d.pml||w.name.localName!=="sp")continue;let v=m(w,o("p","nvSpPr",d.pml)),C=v&&m(v,o("p","nvPr",d.pml)),R=C&&m(C,o("p","ph",d.pml));if(!R||x(R,o("","type",""))!=="body")continue;let N=m(w,o("p","txBody",d.pml));if(!N)return[];for(let _ of N.children)_.kind==="element"&&_.name.namespaceURI===s.namespaceURI&&_.name.localName===s.localName&&T.push(_);break}return T.forEach((w,v)=>{for(let C of w.children)if(!(C.kind!=="element"||C.name.namespaceURI!==d.dml))if(C.name.localName===c.localName||C.name.localName===p.localName){let R=g(m(C,f)),N=m(C,y);R&&N&&S.push({start:A,end:A+R.length,format:Gt(N,E??void 0)}),A+=R.length}else C.name.localName===u.localName&&A++;v+1<T.length&&A++}),S},GL=(e,t,n)=>{let r=nr(e);if(r===null)return{};let a=e[L].getPart(r);if(a===null)return{};let l=$(V(a.data)).root,i=m(l,Le),s=i&&m(i,_n);if(!s)return{};for(let c of s.children){if(c.kind!=="element"||c.name.namespaceURI!==d.pml||c.name.localName!=="sp")continue;let p=m(c,o("p","nvSpPr",d.pml)),u=p&&m(p,o("p","nvPr",d.pml)),f=u&&m(u,o("p","ph",d.pml));if(!f||x(f,o("","type",""))!=="body")continue;let y=m(c,o("p","txBody",d.pml));if(!y)return{};let S=y.children.filter(A=>A.kind==="element"&&A.name.namespaceURI===d.dml&&A.name.localName==="p")[t];if(!S||S.kind!=="element")return{};let E=m(S,o("a","endParaRPr",d.dml));return E?Gt(E,n?.resolveColors?cx(e,r):void 0):{}}return{}},qL=e=>{let t=[];for(let n of z(e))Ea(n)&&t.push(n);return t},HL=e=>{let t=[];for(let n of z(e))Ea(n)||t.push(n);return t},VL=e=>{let t=[];for(let n of z(e))n[ne].some(r=>dp(r))&&t.push(n);return t},zL=(e,t)=>{let n=[];for(let r of z(e))for(let a of Bn(r))if(a.spec?.kind===t){n.push(r);break}return n},WL=e=>{let t=[];for(let n of z(e))for(let r of Bn(n))if(r.spec!==null&&r.spec.series.some(a=>a.trendline!==void 0)){t.push(n);break}return t},YL=e=>{let t=[];for(let n of z(e))Sp(n).length>0&&t.push(n);return t},ZL=e=>{let t=[];for(let n of z(e))n[ne].some(r=>ri(r))&&t.push(n);return t},KL=e=>{let t=[];for(let n of z(e))n[ne].some(r=>pi(r))&&t.push(n);return t},JL=e=>{let t=[];for(let n of z(e))Vt(n).length>0&&t.push(n);return t},QL=e=>{let t=[],n=z(e);for(let r=0;r<n.length;r++)for(let a of n[r][ne])pi(a)&&t.push({slideIndex:r,shape:a});return t},eR=e=>{let t=[],n=z(e);for(let r=0;r<n.length;r++)for(let a of n[r][ne])ri(a)&&t.push({slideIndex:r,table:a});return t},tR=e=>{let t=[],n=z(e);for(let r=0;r<n.length;r++)for(let a of Bn(n[r]))t.push({slideIndex:r,chart:a});return t},nR=e=>{let t=[],n=z(e);for(let r=0;r<n.length;r++)for(let a of n[r][ne]){let l=ln(a);l!==null&&t.push({slideIndex:r,shape:a,url:l})}return t},rR=e=>z(e).map(t=>t[ne].filter(n=>ln(n)!==null).length),aR=e=>{let t=new Set,n=[];for(let r of z(e))for(let a of r[ne]){let l=ln(a);l!==null&&!t.has(l)&&(t.add(l),n.push(l))}return n},lR=e=>{let t=[];for(let n of z(e))n[ne].some(r=>ln(r)!==null)&&t.push(n);return t},oR=(e,t)=>{let n=[];for(let r of z(e))for(let a of r[ne]){let l=ln(a);if(l===null)continue;if(typeof t=="string"?l.includes(t):t.test(l)){n.push(r);break}}return n},iR=(e,t,n)=>{let r=0;for(let a of z(e))for(let l of a[ne])ln(l)===t&&(Qo(l,n),r++);return r},sR=e=>{let t=0;for(let n of z(e))for(let r of n[ne])ln(r)!==null&&(Qo(r,null),t++);return t},dR=e=>{let t=0;for(let n of e[ne])ln(n)!==null&&(Qo(n,null),t++);return t},cR=e=>{let t=[],n=z(e);for(let r=0;r<n.length;r++)for(let a of Vt(n[r]))t.push({slideIndex:r,comment:a});return t},mR=e=>{let t=[],n=z(e);for(let r=0;r<n.length;r++){let a=Xn(n[r]);a!==null&&a.length>0&&t.push({slideIndex:r,notes:a})}return t},pR=e=>{let t=[];for(let n of z(e)){let r=Xn(n);r!==null&&r.length>0&&t.push(n)}return t},uR=e=>{let t=Xn(e);return t!==null&&t.length>0},xp=e=>{let t=Xn(e);return t===null?0:Array.from(t).length},fR=(e,t="\f")=>{let n=[];for(let r of z(e))n.push(Xn(r)??"");return n.join(t)},hR=e=>{let t=0;for(let n of z(e))t+=xp(n);return t},gR=e=>z(e).map(t=>xp(t)),yR=e=>{let t=[];for(let n of z(e))n[ne].length===0&&t.push(n);return t},xR=(e,t)=>{let n=Xn(e),r=n===null||n.length===0?t:`${n}
|
|
28
|
-
${t}`;Ll(e,r)},Ll=(e,t,n={})=>{let r=e[L],a=nr(e);if(a!==null){let E=r.getPart(a);if(E===null)throw new Error(`notes rel points at missing part ${a}`);let A=$(V(E.data)),T=m(A.root,Le);if(!T)throw new Error("notesSlide has no <p:cSld>");let w=m(T,_n);if(!w)throw new Error("notesSlide has no <p:spTree>");for(let v of w.children){if(v.kind!=="element"||v.name.namespaceURI!==d.pml||v.name.localName!=="sp")continue;let C=m(v,o("p","nvSpPr",d.pml));if(!C)continue;let R=m(C,o("p","nvPr",d.pml));if(!R)continue;let N=m(R,o("p","ph",d.pml));if(!N||x(N,o("","type",""))!=="body")continue;let _=m(v,o("p","txBody",d.pml));if(_){n.preserveFormatting||n.range||n.newlines?Ro(_,t,n.range,n.newlines??"paragraph"):Pn(_,t),E.data=le(ae(A));return}}throw new Error("notesSlide has no body placeholder to fill")}n.range&&nn("",n.range,"setSlideNotes");let l=r.parts.find(E=>E.contentType.endsWith("notesMaster+xml")),i=1,s=/^\/ppt\/notesSlides\/notesSlide(\d+)\.xml$/;for(let E of r.parts){let A=E.name.match(s);if(A?.[1]!==void 0){let T=Number.parseInt(A[1],10);Number.isFinite(T)&&T>=i&&(i=T+1)}}let c=G(`/ppt/notesSlides/notesSlide${i}.xml`),p=uh(n.newlines==="break"?"":t);r.addPart(c,"application/vnd.openxmlformats-officedocument.presentationml.notesSlide+xml",le(ae(p)));let u=pe(),f=e[O].split("/").pop()??"slide.xml";if(u.items.push({id:"rId1",type:D.slide,target:`../slides/${f}`,targetMode:"Internal"}),l){let E=l.name.split("/").pop()??"notesMaster1.xml";u.items.push({id:"rId2",type:D.notesMaster,target:`../notesMasters/${E}`,targetMode:"Internal"})}r.setRels(c,u);let y=r.getRels(e[O])??pe(),g=y.items.map(E=>E.id),S=1;for(;g.includes(`rId${S}`);)S++;y.items.push({id:`rId${S}`,type:D.notesSlide,target:`../notesSlides/notesSlide${i}.xml`,targetMode:"Internal"}),r.setRels(e[O],y),n.newlines==="break"&&Ll(e,t,n)},SR=(e,t,n={})=>{ER(e,r=>Lo(r,t,n.range))},bR=(e,t,n)=>{if(n.paragraphEnd!==void 0){if(!Number.isInteger(n.paragraphEnd)||n.paragraphEnd<0)throw new RangeError(`paragraph index out of range: ${n.paragraphEnd}`);if(nr(e)===null){if(n.paragraphEnd!==0)throw new RangeError(`paragraph index out of range: ${n.paragraphEnd}`);Ll(e,"")}}let r=nr(e),a=r===null?void 0:Yr(e[L],r,"setSlideNotesFormat");ER(e,l=>n.paragraphEnd===void 0?No(l,t,n.range,n.reset,a):Do(l,n.paragraphEnd,t,n.reset,a))},ER=(e,t)=>{let n=nr(e);if(n===null)return;let r=e[L].getPart(n);if(r===null)throw new Error(`notes rel points at missing part ${n}`);let a=$(V(r.data)),l=m(a.root,Le),i=l&&m(l,_n);if(!i)throw new Error("notesSlide has no <p:spTree>");for(let s of i.children){if(s.kind!=="element"||s.name.namespaceURI!==d.pml||s.name.localName!=="sp")continue;let c=m(s,o("p","nvSpPr",d.pml)),p=c&&m(c,o("p","nvPr",d.pml)),u=p&&m(p,o("p","ph",d.pml));if(!u||x(u,o("","type",""))!=="body")continue;let f=m(s,o("p","txBody",d.pml));if(!f)throw new Error("notesSlide body has no text body");t(f),r.data=le(ae(a));return}throw new Error("notesSlide has no body placeholder to format")},mx=e=>{let t=nr(e);if(t===null)return;let n=e[L];n.removePart(t),n.removePart(Dt(t));let r=n.getRels(e[O]);r!==null&&(r.items=r.items.filter(a=>a.type!==D.notesSlide),n.setRels(e[O],r))},AR=e=>{let t=0;for(let n of z(e))nr(n)!==null&&(mx(n),t++);return t};var TR=new Set(["sp","pic","cxnSp","graphicFrame","grpSp"]),PY=new Set(["rPr","defRPr","endParaRPr"]),LY=new Set(["pPr","defPPr",...Array.from({length:9},(e,t)=>`lvl${t+1}pPr`)]),RY=e=>{let t=(l,i)=>l&&m(l,o("a",i,d.dml)),n=l=>l&&x(l,o("","sz","")),r=(l,i)=>{let s=t(l,i);s||(s=h(o("a",i,d.dml)),i==="rPr"?l.children.unshift(s):l.children.push(s)),n(s)===null&&s.attrs.push(b(o("","sz",""),"1800"))},a=t(e,"lstStyle");for(let l of e.children){if(l.kind!=="element"||l.name.namespaceURI!==d.dml||l.name.localName!=="p")continue;let i=t(l,"pPr"),s=Number(i&&x(i,o("","lvl","")))||0,c=t(a,`lvl${s+1}pPr`)??(s===0?t(a,"defPPr"):null);if(n(t(i,"defRPr"))!==null||n(t(c,"defRPr"))!==null)continue;let p=l.children.filter(f=>f.kind==="element"&&f.name.namespaceURI===d.dml&&["r","fld","br"].includes(f.name.localName)),u=n(t(l,"endParaRPr"));for(let f of p)f===p.at(-1)&&u!==null||r(f,"rPr");r(l,"endParaRPr")}},px=(e,t,n,r)=>{let a=(l,i,s,c=!1)=>{let{localName:p,namespaceURI:u}=l.name,f=i+(u===d.pml&&TR.has(p)?1:0),y=u===d.dml;if(y&&p==="txBody"&&s==="tc"&&RY(l),u===d.pml&&TR.has(p)){let S=m(l,o("p","nvSpPr",d.pml)),E=S&&m(S,o("p","nvPr",d.pml));c=e.name.localName!=="sldMaster"&&!!E&&m(E,o("p","ph",d.pml))!==null}let g=S=>{for(let[E,A]of Object.entries(S))l.attrs.some(T=>T.name.namespaceURI===""&&T.name.localName===E)||l.attrs.push(b(o("",E,""),String(A)))};y&&p==="bodyPr"&&!c&&g({lIns:91440,rIns:91440,tIns:45720,bIns:45720}),y&&p==="tcPr"&&g({marL:91440,marR:91440,marT:45720,marB:45720});for(let S=0;S<l.attrs.length;S++){let E=l.attrs[S];if(E.name.namespaceURI!=="")continue;let A=E.name.localName,T,w=0;y&&s==="xfrm"&&((p==="off"||p==="chOff")&&(A==="x"||A==="y")&&(T="coordinate",p==="off"&&f===1&&(w=A==="x"?n:r)),(p==="ext"||p==="chExt")&&(A==="cx"||A==="cy")&&(T="positiveCoordinate")),y&&PY.has(p)&&(A==="sz"&&(T="fontSize"),A==="spc"&&(T="textPoint"),A==="kern"&&(T="textNonNegativePoint")),y&&LY.has(p)&&["marL","marR","indent","defTabSz"].includes(A)&&(T=A==="indent"?"textIndent":A==="defTabSz"?"coordinate32":"textMargin"),y&&p==="tab"&&A==="pos"&&(T="coordinate32"),y&&p==="spcPts"&&A==="val"&&(T="textSpacingPoint"),y&&p==="buSzPts"&&A==="val"&&(T="fontSize"),y&&p==="bodyPr"&&["lIns","rIns","tIns","bIns","spcCol"].includes(A)&&(T=A==="spcCol"?"positiveCoordinate32":"coordinate32"),y&&p==="tcPr"&&["marL","marR","marT","marB"].includes(A)&&(T="coordinate32"),y&&(p==="gridCol"&&A==="w"||p==="tr"&&A==="h")&&(T="positiveCoordinate"),y&&(p==="ln"||p.startsWith("ln")&&["lnL","lnR","lnT","lnB","lnTlToBr","lnBlToTr"].includes(p))&&A==="w"&&(T="lineWidth"),y&&["outerShdw","innerShdw","reflection"].includes(p)&&["blurRad","dist"].includes(A)&&(T="positiveCoordinate"),y&&["glow","softEdge","blur"].includes(p)&&["rad","blurRad"].includes(A)&&(T="positiveCoordinate"),T&&(l.attrs[S]=b(E.name,String(Ae(Number(E.value)*t+w,T,`setSlideSize: ${p}@${A}`))))}for(let S of l.children)S.kind==="element"&&a(S,f,p,c)};a(e,0,"")};var Aa=e=>{let n=e[L].getPart(Y);if(n===null)return null;let r=$(V(n.data)).root,a=Jt(r);return a.slideSize===null?null:{width:a.slideSize.cx,height:a.slideSize.cy,...a.slideSize.type!==void 0?{type:a.slideSize.type}:{}}},vR=e=>{let t=e[L].getPart(Y);if(t===null)return 1;let r=$(V(t.data)).root.attrs.find(l=>l.name.namespaceURI===""&&l.name.localName==="firstSlideNum")?.value;if(r===void 0)return 1;let a=Number.parseInt(r,10);return Number.isSafeInteger(a)?a:1},wR=o("p","sldSz",d.pml),NY=o("","cx",""),DY=o("","cy",""),_Y=o("","type",""),kY=o("p","sldIdLst",d.pml),CR=(e,t,n={})=>{n.content!==void 0&&Z(n.content,["keep","fit"],"setSlideSize: content");let r=Ae(t.width,"slideSize","setSlideSize: width"),a=Ae(t.height,"slideSize","setSlideSize: height");t.type!==void 0&&Z(t.type,rb,"setSlideSize: type");let l=e[L],i=l.getPart(Y);if(!i)throw new Error("presentation.xml is missing");let s=$(V(i.data)),c=[];if(n.content==="fit"){let g=Jt(s.root).slideSize;if(!g||g.cx<=0||g.cy<=0)throw new Error("setSlideSize: the current slide size is unavailable");let S=Math.min(r/g.cx,a/g.cy),E=(r-g.cx*S)/2,A=(a-g.cy*S)/2;if(S!==1||E!==0||A!==0){px(s.root,S,0,0);for(let T of l.parts){if(!/^application\/vnd\.openxmlformats-officedocument\.(presentationml\.(slide|slideLayout|slideMaster)|drawingml\.(theme|chart))\+xml$/.test(T.contentType))continue;let w=$(V(T.data));px(w.root,S,E,A),c.push({part:T,doc:w,data:le(ae(w))})}}}let p=m(s.root,wR);if(p===null){p=h(wR);let g=m(s.root,kY);if(g!==null){let S=s.root.children.indexOf(g);s.root.children.splice(S+1,0,p)}else s.root.children.push(p)}p.attrs=[b(NY,String(r)),b(DY,String(a))],t.type!==void 0&&p.attrs.push(b(_Y,t.type));let u=le(ae(s)),f=c.length?z(e):[];for(let g of c)g.part.data=g.data;let y=new Map(c.map(g=>[g.part.name,g.doc]));for(let g of f){let S=y.get(g[O]);S&&(g[te]=S,ge(g))}i.data=u},PR={width:Qn(9144e3),height:Qn(6858e3),type:"screen4x3"},LR={width:Qn(12192e3),height:Qn(6858e3),type:"screen16x9"},RR={width:Qn(12192e3),height:Qn(762e4),type:"screen16x10"};var dd=e=>{if(e[U].kind!=="picture")return null;let t=Ua(e[F]);if(t===null)return null;let n=e[X],r=n[L],a=r.getRels(n[O]);if(!a)return null;let l=a.items.find(c=>c.id===t);if(!l||l.targetMode==="External")return null;let i=l.target.startsWith("/")?G(l.target):H(n[O],l.target);return r.getPart(i)?.data??null},Ep=e=>{let t=e[U].text;return typeof t=="string"&&t.length>0},pi=e=>{if(e[U].kind==="picture")return Ua(e[F])!==null;let t=m(e[F],o("p","spPr",d.pml));return t?m(t,o("a","blipFill",d.dml))!==null:!1},NR=e=>z(e).map(t=>t[ne].filter(n=>pi(n)).length),DR=e=>e[ne].filter(t=>{let n=Tp(t);return n!==null&&(n.horizontal||n.vertical)}),Sp=e=>{let t=e[ne],n=[];for(let r=0;r<t.length;r++)for(let a=r+1;a<t.length;a++)wp(t[r],t[a])&&n.push([t[r],t[a]]);return n},_R=(e,t)=>{let n=Aa(t),r=[];for(let a of e[ne]){let l=on(a);if(l!==null){if(n===null){r.push(a);continue}(l.x<0||l.y<0||l.x+l.w>n.width||l.y+l.h>n.height)&&r.push(a)}}return r},kR=(e,t)=>{let n=typeof t=="string"?a=>a===t:a=>t.test(a),r=[];for(let a of z(e)){let l=Te(a);l!==null&&n(xa(l))&&r.push(a)}return r},MR=(e,t)=>{let n=[];for(let r of z(e)){let a=Te(r);a!==null&&km(a)===t&&n.push(r)}return n},FR=(e,t)=>{let n=[];for(let r of z(e)){let a=Te(r);a!==null&&zo(a)===t&&n.push(r)}return n},IR=e=>{let t=null;if(e[U].kind==="picture"){let n=m(e[F],o("p","blipFill",d.pml));n&&(t=m(n,o("a","blip",d.dml)))}else{let n=m(e[F],o("p","spPr",d.pml));if(n){let r=m(n,o("a","blipFill",d.dml));r&&(t=m(r,o("a","blip",d.dml)))}}return t!==null&&m(t,o("a","grayscl",d.dml))!==null},BR=e=>{let t=null;if(e[U].kind==="picture"){let l=m(e[F],o("p","blipFill",d.pml));l&&(t=m(l,o("a","blip",d.dml)))}else{let l=m(e[F],o("p","spPr",d.pml));if(l){let i=m(l,o("a","blipFill",d.dml));i&&(t=m(i,o("a","blip",d.dml)))}}if(!t)return null;let n=m(t,o("a","biLevel",d.dml));if(!n)return null;let r=x(n,o("","thresh",""));if(r===null)return null;let a=St(r,Number.NaN);return Number.isFinite(a)?a*100:null};function OR(e,t,n){let r=null;if(t[U].kind==="picture"){let p=m(t[F],o("p","blipFill",d.pml));p&&(r=m(p,o("a","blip",d.dml)))}else{let p=m(t[F],o("p","spPr",d.pml));if(p){let u=m(p,o("a","blipFill",d.dml));u&&(r=m(u,o("a","blip",d.dml)))}}if(!r)return null;let a=m(r,o("a","duotone",d.dml));if(!a)return null;let l=Fe(e),i=[],s=[];for(let p of a.children)if(!(p.kind!=="element"||p.name.namespaceURI!==d.dml)&&(p.name.localName==="srgbClr"||p.name.localName==="scrgbClr"||p.name.localName==="hslClr"||p.name.localName==="schemeClr"||p.name.localName==="sysClr"||p.name.localName==="prstClr")){if(n?.resolveColors===!1){let u=x(p,o("","val","")),y=(p.name.localName==="schemeClr"&&u?dt(`scheme:${u}`):p.name.localName==="srgbClr"&&u?dt(`#${u}`):null)??dt(ye({...p,children:[]},null)??"");if(y){let g=Cn(p);s.push(g.length===0?y:{color:y,colorTransforms:g})}}else i.push(ye(p,l));if(i.length===2||s.length===2)break}return n?.resolveColors===!1?s.length===2?{kind:"duotone",colors:[s[0],s[1]]}:null:{firstColor:i[0]??null,secondColor:i[1]??null}}var XR=e=>{let t=e[X],n=t[L].getRels(t[O]);if(!n)return null;let r=null;if(e[U].kind==="picture"){let i=m(e[F],o("p","blipFill",d.pml));i&&(r=m(i,o("a","blip",d.dml)))}else{let i=m(e[F],o("p","spPr",d.pml));if(i){let s=m(i,o("a","blipFill",d.dml));s&&(r=m(s,o("a","blip",d.dml)))}}if(!r)return null;let a=x(r,o("r","link",d.officeDocRels));if(!a)return null;let l=n.items.find(i=>i.id===a);return!l||l.targetMode!=="External"?null:l.target},jR=e=>{let t=e[X],n=t[L].getRels(t[O]);if(!n)return null;let r=s=>{if(s===null)return null;let c=n.items.find(u=>u.id===s);return!c||c.targetMode==="External"?null:c.target.startsWith("/")?G(c.target):H(t[O],c.target)};if(e[U].kind==="picture"){let s=Ua(e[F]);return r(s)}let a=m(e[F],o("p","spPr",d.pml));if(!a)return null;let l=m(a,o("a","blipFill",d.dml));if(!l)return null;let i=m(l,o("a","blip",d.dml));return i?r(x(i,o("r","embed",d.officeDocRels))):null},cd=e=>{let t=m(e[F],o("p","spPr",d.pml));if(!t)return null;let n=m(t,o("a","blipFill",d.dml));if(!n)return null;let r=m(n,o("a","blip",d.dml));if(!r)return null;let a=x(r,o("r","embed",d.officeDocRels));if(a===null)return null;let l=e[X],i=l[L],s=i.getRels(l[O]);if(!s)return null;let c=s.items.find(f=>f.id===a);if(!c||c.targetMode==="External")return null;let p=c.target.startsWith("/")?G(c.target):H(l[O],c.target);return i.getPart(p)?.data??null},$R=e=>{let t=dd(e)??cd(e);return t===null?null:ut(t)},Rl=e=>{let t=e[F],n=m(t,o("p","spPr",d.pml)),r=e[U].kind==="picture"?m(t,o("p","blipFill",d.pml)):n&&m(n,o("a","blipFill",d.dml));return r?m(r,o("a","blip",d.dml)):null},MY=new Map(["marker","pencilGrayscale","pencilSketch","lineDrawing","chalkSketch","paintStrokes","paintBrush","glowDiffused","blur","lightScreen","watercolorSponge","filmGrain","glass","cement","texturizer","crisscrossEtching","pastelsSmooth","plasticWrap","cutout","photocopy","glowEdges"].map(e=>[`artistic${e[0].toUpperCase()}${e.slice(1)}`,e]).concat([["artisticMosiaicBubbles","mosaicBubbles"]])),FY="{BEBA8EAE-BF5A-486C-A8C5-ECC9F3942E4B}",UR=e=>{let t=Rl(e),n=t&&m(t,o("a","extLst",d.dml));if(!n)return null;for(let r of n.children){if(r.kind!=="element"||r.name.namespaceURI!==d.dml||r.name.localName!=="ext"||x(r,o("","uri",""))?.toUpperCase()!==FY)continue;let a=m(r,o("a14","imgProps",d.a14)),l=a&&m(a,o("a14","imgLayer",d.a14));for(let i of l?.children??[])if(!(i.kind!=="element"||i.name.namespaceURI!==d.a14||i.name.localName!=="imgEffect"))for(let s of i.children){if(s.kind!=="element"||s.name.namespaceURI!==d.a14)continue;let c=MY.get(s.name.localName);if(c)return c}}return null},GR=e=>{let t=Rl(e);return t?Pm(t):null},qR=e=>{let t=e[F];if(e[U].kind==="picture")return m(t,o("p","blipFill",d.pml));let n=m(t,o("p","spPr",d.pml));return n?m(n,o("a","blipFill",d.dml)):null},HR=e=>{let t=qR(e);return t?vm(t):null},ux=o("a","lum",d.dml),VR=(e,t)=>{let n=Rl(e);if(n)return n;throw new Error(`${t} requires a picture or a shape with an image fill`)},zR=(e,t,n)=>{let r=m(e,ux);r&&(r.attrs=r.attrs.filter(a=>!(a.name.namespaceURI===""&&a.name.localName===t))),n!==null&&n!==0&&(r||(r=h(ux),Cm(e,r)),r.attrs.push(b(o("",t,""),String(Math.round(n*1e5))))),r&&r.attrs.length===0&&(e.children=e.children.filter(a=>a!==r))},WR=(e,t)=>{let n=Rl(e);if(!n)return null;let r=m(n,ux);if(!r)return null;let a=x(r,o("",t,""));if(a===null)return null;let l=St(a,Number.NaN);return Number.isFinite(l)?l:null},YR=(e,t)=>{let n=VR(e,"setShapeImageBrightness");if(t!==null&&t!==0&&(!Number.isFinite(t)||t<-1||t>1))throw new RangeError(`brightness must be in [-1, 1], got ${t}`);zR(n,"bright",t),J(e)},ZR=(e,t)=>{let n=VR(e,"setShapeImageContrast");if(t!==null&&t!==0&&(!Number.isFinite(t)||t<-1||t>1))throw new RangeError(`contrast must be in [-1, 1], got ${t}`);zR(n,"contrast",t),J(e)},KR=e=>WR(e,"contrast"),JR=e=>WR(e,"bright"),IY=new Set(["grayscl","duotone","biLevel","lum"]),QR=e=>{e.children=e.children.filter(t=>t.kind!=="element"||t.name.namespaceURI!==d.dml||!IY.has(t.name.localName))},Ap=e=>{let t=Rl(e);if(!t)throw new Error("resetShapeImageColorEffects requires a picture or a shape with an image fill");QR(t),J(e)},BY=e=>{let t=typeof e=="string"?tt(e):tt(e.color);return typeof e!="string"&&e.colorTransforms!==void 0&&(t.children=lt(e.colorTransforms)),t},eN=(e,t)=>{let n=Rl(e);if(!n)throw new Error("setShapeImageRecolor requires a picture or a shape with an image fill");if(t.kind==="threshold"&&(!Number.isFinite(t.threshold)||t.threshold<0||t.threshold>100))throw new RangeError(`image recolor threshold must be in [0, 100], got ${t.threshold}`);let r=null;t.kind==="grayscale"?r=h(o("a","grayscl",d.dml)):t.kind==="threshold"?r=h(o("a","biLevel",d.dml),{attrs:[b(o("","thresh",""),String(Math.round(t.threshold*1e3)))]}):t.kind==="duotone"?r=h(o("a","duotone",d.dml),{children:t.colors.map(BY)}):t.kind==="washout"&&(r=h(o("a","lum",d.dml),{attrs:[b(o("","bright",""),"70000"),b(o("","contrast",""),"-70000")]})),QR(n),r!==null&&Cm(n,r),J(e)},tN=(e,t)=>{let n=Rl(e);if(!n)throw new Error("setShapeImageOpacity requires a picture or a shape with an image fill");Lm(n,t),J(e)},OY=o("a","srcRect",d.dml),Ase=o("a","blip",d.dml),XY=o("","l",""),jY=o("","t",""),$Y=o("","r",""),UY=o("","b",""),GY=-2147483648,qY=2147483647,bp=e=>{if(e===void 0||e===0)return null;let t=Math.round(e*1e5);if(!Number.isFinite(e)||t<GY||t>qY)throw new RangeError(`crop fraction exceeds signed ST_Percentage bounds, got ${e}`);return String(t)},nN=(e,t)=>{let n=qR(e);if(!n)throw new Error("setShapeImageCrop requires a picture or image-filled shape");let r=[];if(t!==null){let i=bp(t.left),s=bp(t.top),c=bp(t.right),p=bp(t.bottom);i!==null&&r.push(b(XY,i)),s!==null&&r.push(b(jY,s)),c!==null&&r.push(b($Y,c)),p!==null&&r.push(b(UY,p))}if(n.children=n.children.filter(i=>!(i.kind==="element"&&i.name.namespaceURI===d.dml&&i.name.localName==="srcRect")),t===null){J(e);return}let a=h(OY,{attrs:r}),l=n.children.findIndex(i=>i.kind==="element"&&i.name.namespaceURI===d.dml&&i.name.localName==="blip");l===-1?n.children.unshift(a):n.children.splice(l+1,0,a),J(e)};var HY=o("p","par",d.pml),rr=o("p","cTn",d.pml),_l=o("p","childTnLst",d.pml),gx=o("p","stCondLst",d.pml),lN=o("p","cond",d.pml),md=o("p","bldLst",d.pml),VY=o("p","tn",d.pml),ud=o("","id",""),oN=o("","fill",""),iN=o("","delay",""),vp=o("","nodeType",""),Nl=o("","grpId",""),Ta=o("","spid",""),zY=o("","val",""),Ve=(e,t)=>e.name.namespaceURI===d.pml&&e.name.localName===t,sN={clickEffect:"click",withEffect:"withPrevious",afterEffect:"afterPrevious"},WY={click:"clickEffect",withPrevious:"withEffect",afterPrevious:"afterEffect"},It=e=>e===null?[]:e.children.filter(t=>t.kind==="element"),YY=new Set(["id","fill"]),Cp=e=>{if(e.attrs.length>0||It(e).length!==1)return!1;let t=m(e,rr);if(t===null||!t.attrs.every(l=>l.name.namespaceURI===""&&YY.has(l.name.localName))||x(t,oN)!=="hold"||!It(t).every(l=>Ve(l,"stCondLst")||Ve(l,"childTnLst")||Ve(l,"iterate")))return!1;let n=m(t,gx);if(n===null)return!1;let r=It(n),a=r[0];return r.length!==1||a===void 0||!Ve(a,"cond")||It(a).length>0?!1:a.attrs.every(l=>l.name.namespaceURI===""&&l.name.localName==="delay")},Pp=e=>{let t=new Set,n=r=>{if(r.name.namespaceURI===VY.namespaceURI&&r.name.localName==="tn"){let a=x(r,zY);a!==null&&t.add(a)}for(let a of r.children)a.kind==="element"&&n(a)};return n(e),t},Qr=e=>{let t=new Set,n=r=>{if(Ve(r,"cTn")){let a=x(r,ud);a!==null&&t.add(a)}for(let a of r.children)a.kind==="element"&&n(a)};return n(e),t},rN=e=>{let t=m(e,rr),n=t===null?null:m(t,_l),r=It(n);return r.every(a=>Ve(a,"par"))?r:null},dN=e=>{let t=null,n=r=>{if(t===null){if(Ve(r,"cTn")&&x(r,vp)==="mainSeq"){t=r;return}for(let a of r.children)a.kind==="element"&&n(a)}};return n(e),t},Lp=e=>{let t=dN(e);if(t===null)return null;let n=m(t,_l);if(n===null)return{childTnLst:KY(t),steps:[]};let r=It(n);if(!r.every(s=>Ve(s,"par")))return null;let a=Pp(e),l=s=>Cp(s)&&!a.has(x(m(s,rr),ud)??""),i=[];for(let[s,c]of r.entries()){if(!l(c))return null;let p=rN(c);if(p===null||p.length===0)return null;let u=[];for(let y of p){if(!l(y))return null;let g=rN(y);if(g===null||g.length===0)return null;let S=[];for(let E of g){let A=m(E,rr);if(A===null)return null;let T=sN[x(A,vp)??""];if(T===void 0)return null;S.push({par:E,cTn:A,start:T})}u.push(S)}let f=u[0][0].start;if(s>0&&f!=="click"||pd(c)!==(f==="click"?"indefinite":"0"))return null;for(let[y,g]of p.entries()){let S=y===0?"0":ZY(Po(p[y-1]));if(S===null||pd(g)!==S||y>0&&u[y][0].start!=="afterPrevious")return null;i.push(...u[y])}}return{childTnLst:n,steps:i}},pd=e=>{let t=m(e,rr),n=t===null?null:m(t,gx),r=n===null?null:m(n,lN);return r===null?null:x(r,iN)},ZY=e=>e===null?null:String(e),KY=e=>{let t=h(_l);return e.children.push(t),t},yx=e=>{let t=0,n=r=>{if(Ve(r,"cTn")){let a=x(r,ud);a!==null&&/^\d+$/.test(a)&&(t=Math.max(t,Number(a)))}for(let a of r.children)a.kind==="element"&&n(a)};return n(e),t},fd=e=>({next:yx(e)+1}),fx=(e,t)=>h(HY,{children:[h(rr,{attrs:[b(ud,String(e)),b(oN,"hold")],children:[h(gx,{children:[h(lN,{attrs:[b(iN,t)]})]}),h(_l)]})]}),hx=(e,t)=>{let n=m(e,rr);m(n,_l).children.push(t)},JY=(e,t)=>{let n=WY[t],r=e.attrs.some(a=>a.name.namespaceURI===""&&a.name.localName==="nodeType");e.attrs=r?e.attrs.map(a=>a.name.namespaceURI===""&&a.name.localName==="nodeType"?{...a,value:n}:a):[...e.attrs,b(vp,n)]},hd=(e,t,n,r)=>{let a=[],l=null,i=null;for(let s of n){if(l===null||s.start==="click")l=fx(r.next++,s.start==="click"?"indefinite":"0"),i=fx(r.next++,"0"),hx(l,i),a.push(l);else if(s.start==="afterPrevious"){let c=Po(i);if(c===null)return!1;i=fx(r.next++,String(c)),hx(l,i)}JY(s.cTn,s.start),hx(i,s.par)}if(t.childTnLst.children=a,a.length===0){let s=dN(e);s.children=s.children.filter(p=>p!==t.childTnLst);let c=tn(e);c!==null&&(c.children=c.children.filter(p=>p.kind!=="element"||m(p,rr)!==s))}return!0},cN=(e,t)=>{let n=r=>{if(Ve(r,"cTn")){let a=x(r,ud);a!==null&&/^\d+$/.test(a)&&(r.attrs=r.attrs.map(l=>l.name.namespaceURI===""&&l.name.localName==="id"?{...l,value:String(Number(a)+t)}:l))}for(let a of r.children)a.kind==="element"&&n(a)};n(e)},Dl=(e,t)=>`${e??""}|${t??""}`,QY=e=>{let t=new Set,n=(r,a)=>{let i=(Ve(r,"cTn")?x(r,Nl):null)??a;Ve(r,"spTgt")&&t.add(Dl(x(r,Ta),i));for(let s of r.children)s.kind==="element"&&n(s,i)};return n(e,null),t},xx=(e,t)=>{let n=m(e,md);if(n===null||t.size===0)return;let r=QY(e);n.children=n.children.filter(a=>{if(a.kind!=="element"||!Ve(a,"bldP"))return!0;let l=Dl(x(a,Ta),x(a,Nl));return!t.has(l)||r.has(l)}),It(n).length===0&&(e.children=e.children.filter(a=>a!==n))},gd=(e,t)=>Dl(String(t),x(e,Nl)),mN=(e,t,n,r,a)=>{let l=m(e,md);if(l===null){l=h(md);let p=m(e,o("p","extLst",d.pml));p===null?e.children.push(l):e.children.splice(e.children.indexOf(p),0,l)}let i=Dl(String(t),n),s=It(l).find(p=>Ve(p,"bldP")&&Dl(x(p,Ta),x(p,Nl))===i);s===void 0&&(s=h(o("p","bldP",d.pml),{attrs:[b(Ta,String(t)),b(Nl,n)]}),l.children.push(s));let c=s.attrs.filter(p=>!(p.name.namespaceURI===""&&(p.name.localName==="build"||p.name.localName==="animBg")));r==="byParagraph"?c.push(b(o("","build",""),"p")):r==="allAtOnce"?c.push(b(o("","build",""),"allAtOnce")):a&&c.push(b(o("","animBg",""),"1")),s.attrs=c},pN=e=>{let t=-1,n=r=>{let a=x(r,Nl),l=a===null?Number.NaN:Number.parseInt(a,10);Number.isFinite(l)&&l>t&&(t=l);for(let i of r.children)i.kind==="element"&&n(i)};return n(e),t},eZ=new Set(["noFill","solidFill","gradFill","blipFill","pattFill","grpFill"]),aN=e=>e?.children.find(t=>t.kind==="element"&&t.name.namespaceURI===d.dml&&eZ.has(t.name.localName)),Rp=e=>{if(!Ve(e,"sp"))return!1;let t=m(e,o("p","spPr",d.pml)),n=m(e,o("p","style",d.pml)),r=i=>{let s=n===null?null:m(n,o("a",i,d.dml)),c=s===null?null:x(s,o("","idx",""));return c!==null&&c!=="0"},a=aN(t);if(a===void 0?r("fillRef"):a.name.localName!=="noFill")return!0;let l=aN(t===null?null:m(t,o("a","ln",d.dml)));return l===void 0?r("lnRef"):l.name.localName!=="noFill"},tZ=new Set(["id","presetID","presetClass","presetSubtype","accel","decel","fill","grpId","nodeType"]),nZ=new Set(["set","anim"]),Sx=(e,t)=>{if(e.attrs.length>0||It(e).length!==1)return!1;let n=m(e,rr);if(n===null||!n.attrs.every(l=>l.name.namespaceURI===""&&tZ.has(l.name.localName))||!It(n).every(l=>Ve(l,"stCondLst")||Ve(l,"childTnLst")||Ve(l,"iterate")))return!1;let r=t===null?nZ:ag(t),a=m(n,_l);return It(a).every(l=>l.name.namespaceURI===d.pml&&r.has(l.name.localName))},uN=(e,t)=>{e.children=e.children.filter(n=>{if(n.kind!=="element"||!Ve(n,"par"))return!0;let r=m(n,rr);return r===null||!t.has(r)});for(let n of e.children)n.kind==="element"&&uN(n,t)},fN=e=>{for(let t of e.children)t.kind==="element"&&fN(t);e.children=e.children.filter(t=>{if(t.kind!=="element")return!0;if(Ve(t,"childTnLst"))return It(t).length>0;if(!Ve(t,"par")&&!Ve(t,"seq"))return!0;let n=m(t,rr);return n!==null&&m(n,_l)!==null})},hN=(e,t,n,r)=>{let a=m(e,md),l=a!==null&&It(a).some(s=>Ve(s,"bldP")&&t.has(Number(x(s,Ta))));if(n.size===0&&!l)return!1;let i=Lp(e);if(i!==null){let s=i.steps.filter(c=>!n.has(c.cTn));if(!hd(e,i,s,fd(e)))throw new Error(`${r}: an animation that is staying starts when one being removed ends, and this library cannot work out when the effect before it now finishes. Remove that animation first.`)}return uN(e,n),fN(e),a!==null&&(a.children=a.children.filter(s=>!(s.kind==="element"&&Ve(s,"bldP")&&t.has(Number(x(s,Ta))))),It(a).length===0&&(e.children=e.children.filter(s=>s!==a))),!0},bx=e=>{let t=tn(e);return t===null||It(t).length===0},Ex=e=>sN[x(e,vp)??""]??null,gN=e=>{let t=new Set,n=r=>{if(Ve(r,"spTgt")){let a=x(r,Ta);a!==null&&t.add(a)}for(let a of r.children)a.kind==="element"&&n(a)};return n(e),t},yN=(e,t)=>{let n=r=>{Ve(r,"spTgt")&&(r.attrs=r.attrs.map(a=>a.name.namespaceURI===""&&a.name.localName==="spid"?{...a,value:t.get(a.value)??a.value}:a));for(let a of r.children)a.kind==="element"&&n(a)};n(e)},xN=e=>{let t=new Map,n=m(e,md);if(n===null)return t;for(let r of It(n))Ve(r,"bldP")&&t.set(Dl(x(r,Ta),x(r,Nl)),r);return t},SN=(e,t)=>Dl(e,t);var Np=o("","id",""),Tx=o("","grpId",""),rZ=e=>{e[te].root.children=e[te].root.children.filter(t=>!(t.kind==="element"&&t.name.namespaceURI===d.pml&&t.name.localName==="timing"))},wx=e=>e[te].root.children.find(t=>t.kind==="element"&&t.name.namespaceURI===d.pml&&t.name.localName==="timing")??null,vN=e=>{let t=!1,n=[];for(let r of e.children){if(r.kind!=="element")continue;let a=r.name.localName,l=r.name.namespaceURI===d.pml&&(a==="video"||a==="audio"),i=r.name.namespaceURI===d.pml&&["tnLst","childTnLst","subTnLst","par","seq","excl","cTn"].includes(a),s=r.name.namespaceURI===d.pml&&(a==="bldLst"||a==="set"||a==="anim"||a==="animClr"||a==="animEffect"||a==="animMotion"||a==="animRot"||a==="animScale"||a==="cmd");if(l){t=!0,n.push(he(r));continue}if(!s){if(i){let c=vN(r);c!==null&&(t=!0,n.push(c));continue}n.push(he(r))}}return t?h(e.name,{attrs:e.attrs.map(r=>b(r.name,r.value)),prefixDecls:new Map(e.prefixDecls),children:n}):null},aZ=e=>{let t=Qr(e),n=new Set;Px(e,n);let r=[...n].find(a=>!t.has(a));if(r!==void 0)throw new Error(`clearSlideAnimations: retained media timing references removed time node ${r}`)},CN=(e,t)=>{e[te].root.children.push(t)},va=(e,t)=>{if(t(e))return e;for(let n of e.children)if(n.kind==="element"){let r=va(n,t);if(r)return r}return null},zt=(e,t)=>e.name.namespaceURI===d.pml&&e.name.localName===t,PN=(e,t)=>{let n=r=>{if(zt(r,"cTn")){let a=x(r,Np),l=a===null?Number.NaN:Number.parseInt(a,10);Number.isFinite(l)&&(r.attrs=r.attrs.map(i=>i.name.namespaceURI===""&&i.name.localName==="id"?{...i,value:String(l+t)}:i))}for(let a of r.children)a.kind==="element"&&n(a)};n(e)},Ax=(e,t)=>{let n=r=>{if(zt(r,"cTn")){let a=x(r,Np),l=String(++t.maxCTnId);r.attrs=a===null?[b(Np,l),...r.attrs]:r.attrs.map(i=>i.name.namespaceURI===""&&i.name.localName==="id"?{...i,value:l}:i)}for(let a of r.children)a.kind==="element"&&n(a)};n(e)},LN=e=>{let t=-1,n=r=>{let a=x(r,o("","grpId",""));if(a!==null){let l=Number.parseInt(a,10);Number.isFinite(l)&&l>t&&(t=l)}for(let l of r.children)l.kind==="element"&&n(l)};return n(e),t},yd=(e,t)=>{e.attrs=e.attrs.map(n=>n.name.namespaceURI===""&&n.name.localName==="grpId"?{...n,value:t}:n)},vx=e=>zt(e,"cTn")&&x(e,o("","nodeType",""))==="mainSeq",fi=o("p","childTnLst",d.pml),ui=o("p","cTn",d.pml),RN=e=>{let t=m(e,fi);return t===null?[]:t.children.filter(n=>n.kind==="element"&&zt(n,"par"))},wa=e=>{let t=m(e,ui);return t===null?[]:RN(t)},bN=(e,t)=>{let n=m(e,ui),r=n===null?null:m(n,fi);return r===null?!1:(r.children.push(t),!0)},xd=e=>{let t=va(e,vx),n=t===null?null:m(t,fi);if(t===null||n===null)return null;let r=RN(t).at(-1);return{timing:e,mainSeqChildTnLst:n,maxCTnId:Rs(e),lastStop:r,lastGroup:r===void 0?void 0:wa(r).at(-1),bldLst:va(e,a=>zt(a,"bldLst"))}},lZ=(e,t)=>{let n=m(e,o("p","extLst",d.pml));n===null?e.children.push(t):e.children.splice(e.children.indexOf(n),0,t)},Cx=(e,t,n)=>{if(n!==null)return n.children.push(t),n;let r=h(o("p","bldLst",d.pml),{children:[t]});return lZ(e,r),r},NN=e=>{let t=va(e,vx),r=(t===null?null:m(t,fi))?.children.find(l=>l.kind==="element"&&zt(l,"par")),a=va(e,l=>zt(l,"bldP"));return r===void 0?null:{par:r,bldP:a,cTn:va(r,l=>x(l,o("","presetID",""))!==null)}},oZ=(e,t,n,r)=>{let a=tn(e),l=tn(t)?.children.find(i=>i.kind==="element"&&zt(i,"seq"));return!a||!l?null:(PN(l,Rs(e)-1),a.children.unshift(l),n.cTn&&yd(n.cTn,r.grpId),r.addBuild&&n.bldP!==null&&(yd(n.bldP,r.grpId),Cx(e,n.bldP,va(e,i=>zt(i,"bldLst")))),xd(e))},DN=(e,t,n,r)=>{if(n==="click"||e.lastStop===void 0)Ax(t.par,e),e.mainSeqChildTnLst.children.push(t.par),e.lastStop=t.par,e.lastGroup=wa(t.par).at(-1);else if(n==="afterPrevious"){let a=wa(t.par)[0];if(a===void 0||e.lastGroup===void 0)return!1;let l=Po(e.lastGroup);if(l===null)throw new Error('setShapeAnimation: cannot start an effect after one whose length this library cannot measure. The effect before it runs indefinitely, states no duration, repeats, runs letter by letter, or starts from another node rather than at a fixed offset. Use start: "click" or "withPrevious".');if(Ax(a,e),!yT(a,l)||!bN(e.lastStop,a))return!1;e.lastGroup=a}else{let a=wa(wa(t.par)[0]??t.par)[0];if(a===void 0||e.lastGroup===void 0||(Ax(a,e),!bN(e.lastGroup,a)))return!1}return t.cTn&&yd(t.cTn,r.grpId),r.addBuild&&t.bldP!==null&&(yd(t.bldP,r.grpId),e.bldLst=Cx(e.timing,t.bldP,e.bldLst)),!0},iZ=(e,t,n,r,a)=>{let l=e===null?null:he(e),i=l===null?null:xd(l),s=null;for(let[c,p]of r.entries()){let u=n.build==="allAtOnce"&&c>0?"withPrevious":n.start??"click",f=nl(t,n,{paragraph:p,build:n.build??"asOneObject",background:a,start:u});if(l===null){if(l=f,i=xd(l),i===null)return null;s="0";continue}let y=NN(f);if(y===null)return null;let g={grpId:s??String(LN(l)+1),addBuild:s===null};if(i===null){if(i=oZ(l,f,y,g),i===null)return null}else if(!DN(i,y,u,g))return null;s=g.grpId}return l},EN=["asOneObject","allAtOnce","byParagraph"],sZ=(e,t)=>{let n=t.build??"asOneObject";if(!EN.includes(n))throw new RangeError(`setShapeAnimation: build ${JSON.stringify(n)} is not one of ${EN.join(", ")}.`);if(n==="asOneObject")return[null];if(xo(t.effect)==="none")throw new RangeError(`setShapeAnimation: ${JSON.stringify(t.effect)} animates the shape itself, so it has no text build. Leave build out.`);let r=Dp(e);if(r===0)throw new Error(`setShapeAnimation: build ${JSON.stringify(n)} needs a shape with text. This shape has no paragraphs to build, so animate it as one object instead.`);return Array.from({length:r},(a,l)=>l)},_N=(e,t)=>{let n=e[X],r=e[U].id,a=wx(n),l=iZ(a,r,t,sZ(e,t),Rp(e[F]));if(l===null)throw new Error("setShapeAnimation: the slide already has an animation timing tree this single-effect API cannot safely extend. Call clearSlideAnimations(slide) first to reset it.");let i=n[te].root.children;a===null?CN(n,l):i[i.indexOf(a)]=l,ce(n),ge(n)},kN=e=>MN(e[X]).get(e[U].id)??null,dZ=e=>{let t=x(e,o("","presetID","")),n=x(e,o("","presetClass",""));return t!==null&&t!==""&&n!==null&&n!==""},MN=e=>{let t=new Map,n=ol(e);if(n===null)return t;let r=m(n,o("p","bldLst",d.pml)),a=new Set(r===null?[]:Q(r,o("p","bldP",d.pml)).map(l=>x(l,o("","spid",""))));for(let{step:l,cTn:i}of Ns(e)){if(!dZ(i))continue;let s=x(i,Tx)!==null;for(let c of l.targetShapeIds)!t.has(c)&&(!s||a.has(String(c)))&&t.set(c,l.effect)}return t},FN=e=>Ns(e).map(t=>t.step),IN=e=>{let t=MN(e);return e[ne].filter(n=>t.get(n[U].id)!=null)},BN=e=>{let t=wx(e),n=t===null?null:vN(t);if(t!==null&&n!==null){aZ(n);let r=e[te].root;r.children[r.children.indexOf(t)]=n}else rZ(e);ce(e),ge(e)},Ca="copyShape: ",cZ=o("","val",""),mZ=o("","spid",""),pZ=e=>{let t=new Map,n=new Map,r=(a,l)=>{let i=l;if(zt(a,"par")){let s=m(a,ui);s!==null&&t.set(s,a),l!==null&&n.set(a,l),i=a}for(let s of a.children)s.kind==="element"&&r(s,i)};return r(e,null),{parOf:t,parentOf:n}},uZ=(e,t)=>{let{parOf:n,parentOf:r}=pZ(e),a=new Map,l=[];for(let i of il(e)){let s=i.step.targetShapeIds.map(String);if(!s.some(u=>t.has(u)))continue;if(!s.every(u=>t.has(u)))throw new Error(`${Ca}this shape shares an animation with a shape that is not being copied, so the copy cannot be given one of its own. Copy the shapes together, or split the effect first.`);if(i.step.sequence!=="mainSeq")throw new Error(`${Ca}this shape is animated by an interactive sequence, which is bound to the click that triggers it and cannot be reproduced for the copy. Remove that animation first.`);let c=n.get(i.cTn),p=Ex(i.cTn);if(c===void 0||p===null)throw new Error(`${Ca}this shape has an animation whose start condition is not one this library models, so the copy could not be given the same one. Remove it from the original first.`);hZ(c,r,a),l.push({par:c,start:p,spids:s,grpId:x(i.cTn,Tx)})}return l},fZ=e=>{if(!Cp(e))return null;let t=wa(e),n=t[0],r=n===void 0?void 0:wa(n)[0],a=r===void 0?null:m(r,ui),l=a===null?null:Ex(a);if(l===null||pd(e)!==(l==="click"?"indefinite":"0"))return null;let i=new Set,s=0;for(let c of t)s!==null&&Cp(c)&&pd(c)===String(s)&&i.add(c),s=Po(c);return i},hZ=(e,t,n)=>{let r=t.get(e),a=r===void 0?void 0:t.get(r);if(r===void 0||a===void 0)throw AN();let l=n.get(a);if(l===void 0&&(l=fZ(a),n.set(a,l)),l===null||!l.has(r))throw AN()},AN=()=>new Error(`${Ca}this shape's animation is held in a click stop or group that does more than say when it starts, and the copy would lose that. Remove it from the original first, or give the copy an animation of its own with setShapeAnimation.`),TN=e=>{let t=[],n=r=>{zt(r,"cTn")&&t.push(x(r,Np));for(let a of r.children)a.kind==="element"&&n(a)};return n(e),t},Px=(e,t)=>{if(zt(e,"tn")){let n=x(e,cZ);n!==null&&t.add(n)}for(let n of e.children)n.kind==="element"&&Px(n,t)},ON=(e,t)=>{zt(e,"tn")&&(e.attrs=e.attrs.map(n=>n.name.namespaceURI===""&&n.name.localName==="val"?{...n,value:t.get(n.value)??n.value}:n));for(let n of e.children)n.kind==="element"&&ON(n,t)},gZ=e=>{let t=new Set;for(let a of e)for(let l of Qr(a.par))t.add(l);let n=new Set;for(let a of e)Px(a.par,n);let r=[...n].find(a=>!t.has(a));if(r!==void 0)throw new Error(`${Ca}this shape has an animation timed against another element of the slide (<p:tn val="${r}">), and the copy would either still wait on the original or wait on nothing. Remove it from the original first.`)},XN=()=>{let e=nl(1,{effect:"appear"}),t=va(e,vx),n=t===null?null:m(t,fi);if(n===null)throw new Error(`${Ca}post-condition failed: no main sequence`);return n.children=[],e.children=e.children.filter(r=>!(r.kind==="element"&&zt(r,"bldLst"))),e},yZ=e=>{let t=tn(e),n=tn(XN())?.children.find(r=>r.kind==="element"&&zt(r,"seq"));return!t||!n?null:(PN(n,Rs(e)-1),t.children.unshift(n),xd(e))},xZ=(e,t,n,r)=>{let a=NN(nl(Number(e),{effect:"appear",start:t})),l=a===null?void 0:wa(a.par)[0],i=l===void 0?null:m(l,ui),s=i===null?null:m(i,fi),c=m(n,ui);return a===null||s===null||c===null?null:(s.children=[n],{par:a.par,bldP:r,cTn:c})},jN=e=>h(o("p","bldP",d.pml),{attrs:[b(mZ,e),b(Tx,"0")]}),SZ=(e,t,n)=>e.spids.map(r=>{let a=t.get(r),l=n.get(SN(r,e.grpId));if(l===void 0)return jN(a);let i=he(l);return i.attrs=i.attrs.map(s=>s.name.namespaceURI===""&&s.name.localName==="spid"?{...s,value:a}:s),i}),wN=()=>{},$N=(e,t,n)=>{let r=ol(e);if(r===null||n.size===0)return wN;let a=uZ(r,new Set(n.keys()));if(a.length===0)return wN;gZ(a);let l=xN(r),i=wx(t),s=i===null?XN():he(i),c=xd(s)??yZ(s);if(c===null)throw new Error(`${Ca}the target slide has an animation timing tree this library cannot safely extend, so the copy's animations have nowhere to go. Call clearSlideAnimations on it first.`);let p=LN(s)+1,u=new Map,f=new Map,y=[];for(let g of a){let S=he(g.par);yN(S,n),y.push(S);let E=TN(S),A=`${g.spids.join(",")}|${g.grpId??""}`,T=u.get(A),w=T??String(p++),v=T===void 0?SZ(g,n,l):[],C=n.get(g.spids[0]),R=xZ(C,g.start,S,v[0]??jN(C));if(!(R!==null&&DN(c,R,g.start,{grpId:w,addBuild:T===void 0})))throw new Error(`${Ca}the target slide has an animation timing tree this library cannot safely extend, so the copy's animations have nowhere to go. Call clearSlideAnimations on it first.`);let _=TN(S);for(let[k,M]of E.entries()){let I=_[k];M!==null&&I!=null&&f.set(M,I)}for(let k of v.slice(1))yd(k,w),c.bldLst=Cx(c.timing,k,c.bldLst);u.set(A,w)}for(let g of y)ON(g,f);return()=>{let g=t[te].root.children;i===null?CN(t,s):g[g.indexOf(i)]=s}};var hi=e=>{let t=Pt(e,"title")??Pt(e,"ctrTitle");return t===null?null:t[U].text??null},UN=e=>{let t=Pt(e,"body");return t===null?null:t[U].text??null},gi=(e,t)=>{let n=Pt(e,"title")??Pt(e,"ctrTitle");if(n===null)throw new Error("setSlideTitle: slide has no title / ctrTitle placeholder");yi(n,t)},GN=(e,t)=>{for(let[n,r]of Object.entries(t)){let a=n==="title"?Pt(e,"title")??Pt(e,"ctrTitle"):Pt(e,n);a!==null&&yi(a,r)}},_p=(e,t)=>{let n=Pt(e,"body");if(n===null)throw new Error("setSlideBody: slide has no body placeholder");yi(n,t)};var bZ=o("p","txBody",d.pml),EZ=o("a","p",d.dml),AZ=o("a","r",d.dml),Sl=o("a","rPr",d.dml),kp=o("a","t",d.dml),TZ=o("a","endParaRPr",d.dml),Mp=e=>e.children.filter(t=>t.kind==="element"&&t.name.namespaceURI===EZ.namespaceURI&&t.name.localName==="p"),Zm=e=>e.children.filter(t=>t.kind==="element"&&t.name.namespaceURI===AZ.namespaceURI&&t.name.localName==="r"),Km=e=>{if(!(qe in e))return ht(e);let t=m(e[qe],o("a","txBody",d.dml));if(!t)throw new Error("table cell has no <a:txBody>");return t},Qe=(e,t)=>{let n=Km(e),r=Mp(n),a=r[t];if(!a)throw new RangeError(`paragraph index ${t} out of range (have ${r.length})`);return a},Er=(e,t,n)=>{let r=Qe(e,t),a=Zm(r),l=a[n];if(!l)throw new RangeError(`run index ${n} out of range in paragraph ${t} (have ${a.length})`);return l},cC=e=>{let t=m(e,Sl);if(t!==null)return t;let n=h(Sl);return e.children.unshift(n),n},wZ=e=>{let t=m(e,kp);if(t===null)return"";let n="";for(let r of t.children)(r.kind==="text"||r.kind==="cdata")&&(n+=r.data);return n},vZ=(e,t)=>{let n=m(e,kp);n===null&&(n=h(kp),e.children.push(n)),n.children=[{kind:"text",data:t}]},Dp=e=>{e[U].kind!=="shape"&&ht(e);let t=m(e[F],o("p","txBody",d.pml));return t?Mp(t).length:0};function qN(e,t){return t===void 0?Mp(ht(e)).map(cp):cp(Qe(e,t))}var HN=(e,t)=>Zy(Qe(e,t)),Zy=e=>{let t=m(e,TZ);return t===null?null:Gt(t)},cp=e=>{let t=[],n=a=>{let l=m(a,kp);if(!l)return"";let i="";for(let s of l.children)(s.kind==="text"||s.kind==="cdata")&&(i+=s.data);return i},r=a=>{let l=m(a,Sl);return l?Gt(l):null};for(let a of e.children)if(!(a.kind!=="element"||a.name.namespaceURI!==d.dml))if(a.name.localName==="r")t.push({kind:"r",text:n(a),format:r(a)});else if(a.name.localName==="fld"){let l=x(a,o("","type",""));t.push({kind:"fld",text:n(a),format:r(a),type:l})}else a.name.localName==="br"&&t.push({kind:"br",format:r(a)});return t},VN=(e,t)=>Zm(Qe(e,t)).length,zN=(e,t,n)=>wZ(Er(e,t,n)),WN=(e,t,n,r,a)=>{let l=Er(e,t,n),i=m(l,o("a","rPr",d.dml));if(i===null&&(i=h(o("a","rPr",d.dml)),l.children.unshift(i)),r!==null){let s=e[X],c=s[L],p=c.getRels(s[O])??pe(),u=p.items.find(y=>y.type===D.hyperlink&&y.target===r&&y.targetMode==="External"),f;u?f=u.id:(f=se(p.items.map(y=>y.id)),p.items.push({id:f,type:D.hyperlink,target:r,targetMode:"External"}),c.setRels(s[O],p)),Ql(i,f,a)}else Ql(i,null);J(e),vo(e[X])},YN=(e,t,n)=>{let r=Er(e,t,n),a=m(r,o("a","rPr",d.dml));if(!a)return null;let l=m(a,o("a","hlinkClick",d.dml));if(!l)return null;let i=x(l,o("r","id",d.officeDocRels));if(!i)return null;let s=e[X],c=s[L].getRels(s[O]);if(!c)return null;let p=c.items.find(u=>u.id===i);return p?.type===D.hyperlink&&p.targetMode==="External"?p.target:null},ZN=e=>{if(e[U].kind==="shape"){let a=m(e[F],bZ);if(a){for(let l of a.children)if(!(l.kind!=="element"||l.name.namespaceURI!==d.dml||l.name.localName!=="p"))for(let i of l.children){if(i.kind!=="element"||i.name.namespaceURI!==d.dml||i.name.localName!=="r")continue;let s=m(i,o("a","rPr",d.dml));if(!s)continue;let c=m(s,o("a","hlinkClick",d.dml));if(!c)continue;let p=x(c,o("","tooltip",""));if(p!==null)return p}}}let t=Fn(e);if(!t)return null;let n=m(t,mm);return n?x(n,o("","tooltip",""))??null:null},KN=(e,t,n)=>{let r=Er(e,t,n),a=m(r,o("a","rPr",d.dml));if(!a)return null;let l=m(a,o("a","hlinkClick",d.dml));return l?x(l,o("","tooltip",""))??null:null},JN=(e,t,n)=>{let r=Er(e,t,n),a=m(r,o("a","rPr",d.dml));if(!a)return null;let l=m(a,o("a","hlinkClick",d.dml));return l?_s(e[X],l):null},qt=o("a","pPr",d.dml),ei=o("","lvl",""),QN=o("","algn",""),kl=e=>{let t=m(e,qt);if(t!==null)return t;let n=h(qt);return e.children.unshift(n),n},eD=(e,t,n)=>{let r=ia(n,"setParagraphAlignment"),a=Qe(e,t),l=kl(a);l.attrs=l.attrs.filter(i=>i.name.localName!=="algn"),l.attrs.push(b(QN,r)),J(Pe in e?e[Pe]:e)},tD=(e,t,n)=>{if(typeof n=="number"){if(!Number.isInteger(n)||n<0||n>8)throw new RangeError(`paragraph level must be an integer in [0, 8], got ${n}`)}else if(!Number.isSafeInteger(n.offset))throw new RangeError("paragraph level offset must be a safe integer");let r=nD(e,t),a=!1;for(let l of r){let i=Lx(l),s=typeof n=="number"?n:Math.max(0,Math.min(8,i+n.offset));if(i===s)continue;let c=kl(l);c.attrs=c.attrs.filter(p=>p.name.localName!=="lvl"),s>0&&c.attrs.push(b(ei,String(s))),nf(c,i,s),a=!0}a&&J(Pe in e?e[Pe]:e)};function nD(e,t){if(typeof t=="number")return[Qe(e,t)];let n=Km(e);nn(Je(n),t,"paragraph level");let r=0;return Mp(n).filter(a=>{let l=r+aa(a).length,i=t.start===t.end?t.start>=r&&t.start<=l:t.start<l+1&&t.end>r;return r=l+1,i})}var rD=(e,t)=>{let n=Qe(e,t),r=m(n,qt);return r===null?null:Zi(x(r,QN))};function aD(e,t){let n=nD(e,t);return typeof t=="number"?Lx(n[0]):n.map(Lx)}function Lx(e){let t=m(e,qt);if(t===null)return 0;let n=x(t,ei);if(n===null)return 0;let r=Number.parseInt(n,10);return Number.isFinite(r)?r:0}var CZ={lnSpc:0,spcBef:1,spcAft:2,buClrTx:3,buClr:3,buSzTx:4,buSzPct:4,buSzPts:4,buFontTx:5,buFont:5,buNone:6,buAutoNum:6,buChar:6,tabLst:7,defRPr:8,extLst:9},Rx=e=>e.name.namespaceURI===d.dml?CZ[e.name.localName]??99:99,lD=(e,t,n)=>{let r=Qe(e,t),a=kl(r),l=(i,s)=>{if(s===void 0||(a.children=a.children.filter(p=>!(p.kind==="element"&&p.name.namespaceURI===d.dml&&p.name.localName===i)),s===null))return;if(!Number.isFinite(s)||s<0)throw new RangeError(`paragraph ${i} must be a non-negative number, got ${s}`);let c=h(o("a",i,d.dml),{children:[h(o("a","spcPts",d.dml),{attrs:[b(o("","val",""),String(Math.round(s*100)))]})]});je(a,c,Rx)};l("spcBef",n.beforePts),l("spcAft",n.afterPts),J(Pe in e?e[Pe]:e)},oD=(e,t)=>{let n=Qe(e,t),r=m(n,qt);if(!r)return{beforePts:null,afterPts:null};let a=l=>{let i=m(r,o("a",l,d.dml));if(!i)return null;let s=m(i,o("a","spcPts",d.dml));if(!s)return null;let c=x(s,o("","val",""));if(c===null)return null;let p=Number.parseInt(c,10);return Number.isFinite(p)?p/100:null};return{beforePts:a("spcBef"),afterPts:a("spcAft")}},iD=(e,t)=>{let n=Qe(e,t),r=m(n,qt);if(!r)return{leftEmu:null,rightEmu:null,firstLineEmu:null};let a=l=>{let i=x(r,o("",l,""));if(i===null)return null;let s=Number.parseInt(i,10);return Number.isFinite(s)?s:null};return{leftEmu:a("marL"),rightEmu:a("marR"),firstLineEmu:a("indent")}},sD=(e,t,n)=>{let r=Qe(e,t),l=[["marL",n.leftEmu,"textMargin"],["marR",n.rightEmu,"textMargin"],["indent",n.firstLineEmu,"textIndent"]].map(([s,c,p])=>({name:s,value:c==null?c:Ae(c,p,`paragraph ${s}`)}));if(l.every(({value:s})=>s===void 0))return;let i=kl(r);for(let{name:s,value:c}of l)c!==void 0&&(i.attrs=i.attrs.filter(p=>!(p.name.namespaceURI===""&&p.name.localName===s)),c!==null&&i.attrs.push(b(o("",s,""),String(c))));J(Pe in e?e[Pe]:e)},dD=(e,t)=>{let n=Qe(e,t),r=m(n,qt);if(!r)return null;let a=m(r,o("a","lnSpc",d.dml));if(!a)return null;let l=m(a,o("a","spcPct",d.dml));if(l){let s=x(l,o("","val",""));if(s!==null){let c=St(s,Number.NaN);if(Number.isFinite(c))return{kind:"pct",value:c}}}let i=m(a,o("a","spcPts",d.dml));if(i){let s=x(i,o("","val",""));if(s!==null){let c=Number.parseInt(s,10);if(Number.isFinite(c))return{kind:"pts",value:c/100}}}return null},cD=(e,t,n)=>{let r=Qe(e,t),a=kl(r);if(a.children=a.children.filter(l=>!(l.kind==="element"&&l.name.namespaceURI===d.dml&&l.name.localName==="lnSpc")),n!==null){if(!Number.isFinite(n.value)||n.value<0)throw new RangeError(`line spacing value must be a non-negative number, got ${n.value}`);let l=n.kind==="pct"?h(o("a","spcPct",d.dml),{attrs:[b(o("","val",""),String(Math.round(n.value*1e5)))]}):h(o("a","spcPts",d.dml),{attrs:[b(o("","val",""),String(Math.round(n.value*100)))]});je(a,h(o("a","lnSpc",d.dml),{children:[l]}),Rx)}J(Pe in e?e[Pe]:e)},mD=(e,t)=>{let n=Qe(e,t),r=m(n,qt);if(r===null)return null;for(let a of r.children)if(!(a.kind!=="element"||a.name.namespaceURI!==d.dml)){if(a.name.localName==="buNone")return"none";if(a.name.localName==="buChar"){let l=x(a,o("","char",""));if(l==="\u2022")return"bullet";if(l!==null)return{char:l}}if(a.name.localName==="buAutoNum"){let l=x(a,o("","type",""));if(l==="arabicPeriod")return"number";if(l!==null)return{autoNum:l}}}return null},pD=(e,t)=>{let n=Qe(e,t),r=m(n,qt);return r?m(r,o("a","buBlip",d.dml))!==null:!1},uD=(e,t)=>{let n=Qe(e,t),r=m(n,qt);if(!r)return null;let a=m(r,o("a","buBlip",d.dml));if(!a)return null;let l=m(a,o("a","blip",d.dml));if(!l)return null;let i=x(l,o("r","embed",d.officeDocRels));if(i===null)return null;let s=(Pe in e?e[Pe]:e)[X],c=s[L],p=c.getRels(s[O]);if(!p)return null;let u=p.items.find(g=>g.id===i);if(!u||u.targetMode==="External")return null;let f=u.target.startsWith("/")?G(u.target):H(s[O],u.target);return c.getPart(f)?.data??null},fD=(e,t,n)=>{let r=Qe(t,n),a=m(r,qt);if(!a)return{color:null,sizePct:null,sizePts:null,font:null};let l=Fe(e),i=om(a,s=>ye(s,l));return{color:i.color??null,sizePct:i.sizePct??null,sizePts:i.sizePts??null,font:i.font??null}},hD=(e,t,n)=>{let r=Qe(e,t);af(r,n),J(Pe in e?e[Pe]:e)},gD=(e,t,n,r)=>{let a=Er(e,t,n);vZ(a,r),J(e)},yD=(e,t,n)=>{let r={auto:"auto",top:"t",center:"ctr",baseline:"base",bottom:"b"};if(n.fontAlignment!=null&&!Object.hasOwn(r,n.fontAlignment))throw new RangeError("setParagraphTypography: invalid font alignment");let a=Qe(e,t),l=kl(a);for(let[i,s]of[["asianLineBreak","eaLnBrk"],["latinLineBreak","latinLnBrk"],["hangingPunctuation","hangingPunct"],["fontAlignment","fontAlgn"]]){let c=n[i];c!==void 0&&(l.attrs=l.attrs.filter(p=>p.name.localName!==s),c!==null&&l.attrs.push(b(o("",s,""),typeof c=="boolean"?c?"1":"0":r[c])))}J(Pe in e?e[Pe]:e)},xD=(e,t,n)=>{let r=Qe(e,t),a={left:"l",center:"ctr",right:"r",decimal:"dec"},l=n.defaultTabSizeEmu==null?n.defaultTabSizeEmu:Ae(n.defaultTabSizeEmu,"coordinate32","default tab size"),i=n.tabStops?.map(c=>{if(!Object.hasOwn(a,c.alignment))throw new RangeError("Invalid tab alignment");return{positionEmu:Ae(c.positionEmu,"coordinate32","tab position"),alignment:c.alignment}}).sort((c,p)=>c.positionEmu-p.positionEmu);if(i&&new Set(i.map(c=>c.positionEmu)).size!==i.length)throw new RangeError("Tab positions must be unique");if(n.tabStops===void 0&&l===void 0)return;let s=kl(r);l!==void 0&&(s.attrs=s.attrs.filter(c=>!(c.name.namespaceURI===""&&c.name.localName==="defTabSz")),l!==null&&s.attrs.push(b(o("","defTabSz",""),String(l)))),n.tabStops!==void 0&&(s.children=s.children.filter(c=>!(c.kind==="element"&&c.name.namespaceURI===d.dml&&c.name.localName==="tabLst")),i&&je(s,h(o("a","tabLst",d.dml),{children:i.map(c=>h(o("a","tab",d.dml),{attrs:[b(o("","pos",""),String(c.positionEmu)),b(o("","algn",""),a[c.alignment])]}))}),Rx)),J(Pe in e?e[Pe]:e)};var PZ=new Set(["gray","inv","comp","gamma","invGamma"]),LZ=new Set(["lum","lumMod","lumOff","shade","tint","sat","satMod","satOff","hue","hueMod","hueOff","red","redMod","redOff","green","greenMod","greenOff","blue","blueMod","blueOff","alpha","alphaMod","alphaOff"]),La=e=>{let t=e.trim();if(!t.endsWith("%")&&/[.eE]/.test(t)){let n=Number(t);if(Number.isFinite(n)&&Math.abs(n)<=1)return n}return St(t,Number.NaN)},xi=e=>{let t=e.trim();if(!t)return Number.NaN;let n=Number(t);return Number.isFinite(n)?n/6e4:Number.NaN},AD=e=>{let t=[];for(let n of e.children){if(n.kind!=="element"||n.name.namespaceURI!==d.dml)continue;let r=n.name.localName;if(PZ.has(r)){t.push({kind:r});continue}if(!LZ.has(r))continue;let a=x(n,o("","val",""));if(a===null)continue;let l=r==="hue"||r==="hueOff"?xi(a):La(a);Number.isFinite(l)&&t.push({kind:r,val:l})}return t},RZ=e=>{let t=e.startsWith("#")?e.slice(1):e;return[Number.parseInt(t.slice(0,2),16)/255,Number.parseInt(t.slice(2,4),16)/255,Number.parseInt(t.slice(4,6),16)/255]},Dx=(e,t,n)=>{let r=l=>Math.max(0,Math.min(255,Math.round(l*255))),a=l=>l.toString(16).padStart(2,"0").toUpperCase();return`#${a(r(e))}${a(r(t))}${a(r(n))}`},NZ=(e,t,n)=>{let r=Math.max(e,t,n),a=Math.min(e,t,n),l=(r+a)/2;if(r===a)return[0,0,l];let i=r-a,s=l>.5?i/(2-r-a):i/(r+a),c;return r===e?c=(t-n)/i+(t<n?6:0):r===t?c=(n-e)/i+2:c=(e-t)/i+4,[c/6,s,l]},Nx=(e,t,n)=>(n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e),TD=(e,t,n)=>{if(t===0)return[n,n,n];let r=n<.5?n*(1+t):n+t-n*t,a=2*n-r;return[Nx(a,r,e+1/3),Nx(a,r,e),Nx(a,r,e-1/3)]},kx=e=>e<=.04045?e/12.92:((e+.055)/1.055)**2.4,bi=e=>e<=.0031308?e*12.92:1.055*e**(1/2.4)-.055,Ei=e=>Math.max(0,Math.min(1,e)),Sd=(e,t)=>[Ei(t(e[0])),Ei(t(e[1])),Ei(t(e[2]))],SD=(e,t)=>Sd(e,n=>bi(Ei(t(kx(n))))),DZ={red:0,green:1,blue:2},Ml=(e,t,n)=>{let r=[e[0],e[1],e[2]],a=DZ[t];return r[a]=bi(Ei(n(kx(e[a])))),r},Pa=(e,t)=>{let[n,r,a]=t(NZ(e[0],e[1],e[2]));return Sd(TD((n%1+1)%1,Math.max(0,r),Ei(a)),l=>l)},_Z=(e,t)=>{if(t.length===0)return e;let n=RZ(e);for(let r of t)switch(r.kind){case"tint":n=SD(n,a=>a*r.val+(1-r.val));break;case"shade":n=SD(n,a=>a*r.val);break;case"sat":n=Pa(n,([a,,l])=>[a,r.val,l]);break;case"satMod":case"satOff":n=Pa(n,([a,l,i])=>[a,r.kind==="satMod"?l*r.val:l+r.val,i]);break;case"lum":n=Pa(n,([a,l])=>[a,l,r.val]);break;case"lumMod":case"lumOff":n=Pa(n,([a,l,i])=>[a,l,r.kind==="lumMod"?i*r.val:i+r.val]);break;case"hue":n=Pa(n,([,a,l])=>[r.val/360,a,l]);break;case"hueMod":n=Pa(n,([a,l,i])=>[a*r.val,l,i]);break;case"hueOff":n=Pa(n,([a,l,i])=>[a+r.val/360,l,i]);break;case"comp":n=Pa(n,([a,l,i])=>[a+.5,l,i]);break;case"red":case"green":case"blue":n=Ml(n,r.kind,()=>r.val);break;case"redMod":n=Ml(n,"red",a=>a*r.val);break;case"greenMod":n=Ml(n,"green",a=>a*r.val);break;case"blueMod":n=Ml(n,"blue",a=>a*r.val);break;case"redOff":n=Ml(n,"red",a=>a+r.val);break;case"greenOff":n=Ml(n,"green",a=>a+r.val);break;case"blueOff":n=Ml(n,"blue",a=>a+r.val);break;case"inv":n=Sd(n,a=>1-a);break;case"gray":{let a=.3*n[0]+.59*n[1]+.11*n[2];n=[a,a,a];break}case"gamma":n=Sd(n,bi);break;case"invGamma":n=Sd(n,kx);break;case"alpha":case"alphaMod":case"alphaOff":break;default:{let a=r;throw new TypeError(`unhandled color transform: ${JSON.stringify(a)}`)}}return Dx(n[0],n[1],n[2])},bD={tx1:"dark1",dk1:"dark1",bg1:"light1",lt1:"light1",tx2:"dark2",dk2:"dark2",bg2:"light2",lt2:"light2",accent1:"accent1",accent2:"accent2",accent3:"accent3",accent4:"accent4",accent5:"accent5",accent6:"accent6",hlink:"hyperlink",folHlink:"followedHyperlink"},Ny=(e,t,n)=>{if(!t)return null;let r=n?.[e]??e,a=bD[r]??bD[e];if(!a)return null;let l=t[a];if(typeof l!="string")return null;let i=l.startsWith("#")?l:`#${l}`;return/^#[0-9A-Fa-f]{6}$/.test(i)?i.toUpperCase():null},ye=(e,t,n)=>{if(e.name.namespaceURI!==d.dml)return null;let r=e.name.localName,a=null;if(r==="srgbClr"){let l=x(e,o("","val",""));l&&(a=`#${l.toUpperCase()}`)}else if(r==="scrgbClr"){let l=La(x(e,o("","r",""))??""),i=La(x(e,o("","g",""))??""),s=La(x(e,o("","b",""))??"");[l,i,s].every(Number.isFinite)&&(a=Dx(bi(l),bi(i),bi(s)))}else if(r==="hslClr"){let l=xi(x(e,o("","hue",""))??""),i=La(x(e,o("","sat",""))??""),s=La(x(e,o("","lum",""))??"");if([l,i,s].every(Number.isFinite)){let[c,p,u]=TD((l/360%1+1)%1,i,s);a=Dx(c,p,u)}}else if(r==="schemeClr"){let l=x(e,o("","val",""));l&&(a=Ny(l,t,n))}else if(r==="sysClr"){let l=x(e,o("","lastClr",""));l&&(a=`#${l.toUpperCase()}`)}else if(r==="prstClr"){let l=x(e,o("","val",""));l&&(a=Im(l))}return a?_Z(a,AD(e)):null},gt=e=>{if(e.name.namespaceURI!==d.dml)return null;let t=null;for(let n of AD(e))n.kind==="alpha"?t=n.val:n.kind==="alphaMod"?t=(t??1)*n.val:n.kind==="alphaOff"&&(t=(t??1)+n.val);return t===null?null:Math.max(0,Math.min(1,t))},Fp=(e,t,n)=>{let r=l=>{let i=null;for(let p of l.children)if(!(p.kind!=="element"||p.name.namespaceURI!==d.dml)&&(p.name.localName==="srgbClr"||p.name.localName==="scrgbClr"||p.name.localName==="hslClr"||p.name.localName==="schemeClr"||p.name.localName==="sysClr"||p.name.localName==="prstClr")){i=p;break}if(!i)return{color:""};let s=gt(i);return{color:ye(i,t,n)??"",...s!==null?{opacity:s}:{}}},a=[];for(let l of e.children){if(l.kind!=="element"||l.name.namespaceURI!==d.dml)continue;let i=l.name.localName;if(i==="outerShdw"||i==="innerShdw"){let s=Number.parseInt(x(l,o("","blurRad",""))??"0",10)||0,c=Number.parseInt(x(l,o("","dist",""))??"0",10)||0,p=Number.parseInt(x(l,o("","dir",""))??"0",10)||0,u=r(l),f=x(l,o("","algn",""))??"b",y=["tl","t","tr","l","ctr","r","bl","b","br"].includes(f)?f:void 0,g=x(l,o("","rotWithShape",""))??"true",S={color:u.color,blurEmu:s,distEmu:c,angleDeg:p/6e4,...u.opacity!==void 0?{opacity:u.opacity}:{}},E=R=>{let N=x(l,o("",R,"")),_=N===null?Number.NaN:La(N);return Number.isFinite(_)?_:void 0},A=R=>{let N=x(l,o("",R,""));return N===null?void 0:xi(N)},T=E("sx"),w=E("sy"),v=A("kx"),C=A("ky");a.push(i==="outerShdw"?{kind:"outerShdw",...S,...T!==void 0?{scaleX:T}:{},...w!==void 0?{scaleY:w}:{},...v!==void 0?{skewX:v}:{},...C!==void 0?{skewY:C}:{},...y!==void 0?{alignment:y}:{},rotateWithShape:g!=="0"&&g!=="false"}:{kind:"innerShdw",...S})}else if(i==="glow"){let s=Number.parseInt(x(l,o("","rad",""))??"0",10)||0,c=r(l);a.push({kind:"glow",color:c.color,radiusEmu:s,...c.opacity!==void 0?{opacity:c.opacity}:{}})}else if(i==="reflection"){let s=Number.parseInt(x(l,o("","blurRad",""))??"0",10)||0,c=Number.parseInt(x(l,o("","dist",""))??"0",10)||0,p=Number.parseInt(x(l,o("","dir",""))??"0",10)||0,u=I=>{let K=x(l,o("",I,""));if(K===null)return;let re=La(K);if(Number.isFinite(re))return re},f=u("endA"),y=u("stA"),g=u("stPos"),S=u("endPos"),E=x(l,o("","fadeDir","")),A=E===null?void 0:xi(E),T=u("sx"),w=u("sy"),v=x(l,o("","kx","")),C=x(l,o("","ky","")),R=v===null?void 0:xi(v),N=C===null?void 0:xi(C),_=x(l,o("","algn","")),k=_!==null&&["tl","t","tr","l","ctr","r","bl","b","br"].includes(_)?_:void 0,M=x(l,o("","rotWithShape",""));a.push({kind:"reflection",blurEmu:s,distEmu:c,angleDeg:p/6e4,...f!==void 0?{opacity:f}:{},...y!==void 0?{startOpacity:y}:{},...g!==void 0?{startPosition:g}:{},...S!==void 0?{endPosition:S}:{},...A!==void 0?{fadeDirection:A}:{},...T!==void 0?{scaleX:T}:{},...w!==void 0?{scaleY:w}:{},...R!==void 0?{skewX:R}:{},...N!==void 0?{skewY:N}:{},...k!==void 0?{alignment:k}:{},...M!==null?{rotateWithShape:M!=="0"&&M!=="false"}:{}})}else if(i==="softEdge"){let s=Number.parseInt(x(l,o("","rad",""))??"0",10)||0;a.push({kind:"softEdge",radiusEmu:s})}else if(i==="blur"){let s=Number.parseInt(x(l,o("","rad",""))??"0",10)||0;a.push({kind:"blur",radiusEmu:s})}}return a},Si=(e,t)=>{let n=null;for(let a of e.children)if(!(a.kind!=="element"||a.name.namespaceURI!==d.dml)){n=a;break}if(n===null)return null;let r=x(n,o("","val",""));if(t){let a=ye(n,t.theme,t.colorMap);return a!==null?a:n.name.localName==="schemeClr"?r:null}return n.name.localName==="srgbClr"?r===null?null:`#${r.toUpperCase()}`:n.name.localName==="schemeClr"?r:null},kZ=e=>{for(let t of e.children)if(t.kind==="element"&&t.name.namespaceURI===d.dml)return t;return null},_x=(e,t)=>{let n=kZ(e);if(n===null||t&&ye(n,t.theme,t.colorMap)!==null)return;let r=Cn(n);return r.length?r:void 0},MZ=(e,t)=>{let n=_x(e,t);return n?.some(r=>!["alpha","alphaMod","alphaOff"].includes(r.kind))?{colorTransforms:n}:{}},ED=(e,t)=>{let n=m(e,o("a","gsLst",d.dml));if(n===null)return;let r=[];for(let f of n.children){if(f.kind!=="element"||f.name.localName!=="gs")continue;let y=St(x(f,o("","pos",""))??"",Number.NaN),g=f.children.find(v=>v.kind==="element"&&v.name.namespaceURI===d.dml);if(!Number.isFinite(y)||g?.kind!=="element")continue;let S=Si({...f,children:[g]},t);if(S===null)continue;let E=Cn(g),A=gt(g)??void 0,T=ql(E),w=t?ye(g,t.theme,t.colorMap):null;r.push({offset:y,color:S,...E.length?{colorTransforms:E}:{},...A===void 0?{}:{opacity:A},...T===void 0?{}:{brightness:T},...w===null?{}:{resolvedColor:w}})}if(r.length===0)return;let a=m(e,o("a","lin",d.dml)),l=m(e,o("a","path",d.dml)),i=f=>{if(f===null)return;let y=g=>{let S=x(f,o("",g,""));return S===null?0:Number.parseFloat(S)/(S.endsWith("%")?100:1e5)};return{left:y("l"),top:y("t"),right:y("r"),bottom:y("b")}},s=a===null?void 0:Number.parseInt(x(a,o("","ang",""))??"",10),c=x(l??e,o("","path","")),p=c==="circle"||c==="rect"||c==="shape"?c:void 0,u=m(e,o("a","tileRect",d.dml));return{kind:"gradient",stops:r,...s!==void 0&&Number.isFinite(s)?{angleDeg:s/6e4}:{},...a!==null?{scaled:["1","true"].includes(x(a,o("","scaled",""))??"")}:{},...x(e,o("","rotWithShape",""))!==null?{rotateWithShape:!["0","false"].includes(x(e,o("","rotWithShape",""))??"")}:{},...p?{path:p}:{},...l?(()=>{let f=i(m(l,o("a","fillToRect",d.dml)));return f?{focus:f}:{}})():{},...u?(()=>{let f=i(u);return f?{tileRect:f}:{}})():{}}},FZ=(e,t)=>{let n=x(e,o("","prst",""));if(n===null)return;let r=u=>{let f=m(e,o("a",u,d.dml));return f===null?null:Si(f,t)},a=r("fgClr"),l=r("bgClr");if(a===null||l===null||!Ia.includes(n))return;let i=u=>{let y=m(e,o("a",u,d.dml))?.children.find(g=>g.kind==="element"&&g.name.namespaceURI===d.dml);return y?.kind==="element"?Cn(y):[]},s=i("fgClr"),c=i("bgClr");return{kind:"pattern",preset:n,foreground:a,background:l,...s.length?{foregroundTransforms:s}:{},...c.length?{backgroundTransforms:c}:{}}},Gt=(e,t,n)=>{let r={},a=x(e,o("","sz",""));if(a!==null){let M=Number.parseInt(a,10);Number.isFinite(M)&&(r.size=M/100)}let l=x(e,o("","b",""));l!==null&&(r.bold=l==="1"||l==="true");let i=x(e,o("","i",""));i!==null&&(r.italic=i==="1"||i==="true");let s=x(e,o("","u",""));s!==null&&(s==="none"?r.underline=!1:s==="sng"?r.underline=!0:r.underline=s);let c=x(e,o("","strike",""));c!==null&&(c==="noStrike"?r.strike=!1:c==="sngStrike"?r.strike=!0:r.strike=c);let p=x(e,o("","spc",""));if(p!==null){let M=Number.parseInt(p,10);Number.isFinite(M)&&(r.spc=M)}let u=x(e,o("","kern",""));if(u!==null){let M=Number.parseInt(u,10);Number.isFinite(M)&&(r.kern=M)}let f=x(e,o("","baseline","")),y=x(e,o("","normalizeH",""));if(y!==null&&(r.normalizeHeight=y==="1"||y==="true"),f!==null){let M=St(f,Number.NaN);Number.isFinite(M)&&(r.baseline=M)}let g=x(e,o("","cap",""));(g==="none"||g==="small"||g==="all")&&(r.cap=g);let S=m(e,o("a","highlight",d.dml));if(S!==null){let M=null;for(let I of S.children)if(!(I.kind!=="element"||I.name.namespaceURI!==d.dml)){M=I;break}if(M){if(t){let I=ye(M,t.theme,t.colorMap);I!==null&&(r.highlight=I)}else if(M.name.localName==="srgbClr"){let I=x(M,o("","val",""));I!==null&&(r.highlight=`#${I.toUpperCase()}`)}else if(M.name.localName==="schemeClr"){let I=x(M,o("","val",""));I!==null&&(r.highlight=I)}}}let E=m(e,o("a","solidFill",d.dml));if(E!==null){let M=Si(E,t);if(M!==null){r.color=M;let I=_x(E,t);I&&(r.colorTransforms=I)}}let A=m(e,o("a","gradFill",d.dml));if(A!==null){let M=ED(A,t);M&&(r.textFill=M)}let T=m(e,o("a","pattFill",d.dml));if(T!==null){let M=FZ(T,t);M&&(r.textFill=M)}m(e,o("a","noFill",d.dml))!==null&&(r.textFill={kind:"none"});let w=m(e,o("a","blipFill",d.dml));if(w!==null){let M=m(w,o("a","blip",d.dml)),I=M&&x(M,o("r","embed",d.officeDocRels)),K=I?n?.(I):null;r.textFill=K?{kind:"image",bytes:K}:{kind:"image"}}if(m(e,o("a","uFillTx",d.dml))!==null)r.underlineColor=null;else{let M=m(e,o("a","uFill",d.dml)),I=M===null?null:m(M,o("a","solidFill",d.dml));if(I!==null){let K=Si(I,t);K!==null&&(r.underlineColor=K)}}let C=m(e,o("a","latin",d.dml));if(C!==null){let M=x(C,o("","typeface",""));M!==null&&(r.font=M)}let R=m(e,o("a","ea",d.dml));if(R!==null){let M=x(R,o("","typeface",""));M!==null&&(r.fontEastAsian=M)}let N=m(e,o("a","cs",d.dml));if(N!==null){let M=x(N,o("","typeface",""));M!==null&&(r.fontComplexScript=M)}let _=m(e,o("a","ln",d.dml));if(_!==null){let M={},I=x(_,o("","w",""));if(I!==null){let me=Number.parseInt(I,10);Number.isFinite(me)&&(M.widthEmu=me)}let K=m(_,o("a","solidFill",d.dml)),re=K===null?null:Si(K,t);if(re!==null){M.color=re;let me=_x(K,t);me&&(M.colorTransforms=me)}let Se=m(_,o("a","gradFill",d.dml)),Ce=Se&&ED(Se,t);Ce&&(M.fill=Ce),r.outline=M}let k=m(e,o("a","effectLst",d.dml));if(k!==null){let M=(I,K)=>{let re=m(k,o("a",I,d.dml)),Se=re===null?null:Si(re,t);return Se===null?{color:K}:{color:Se,...MZ(re,t)}};for(let I of Fp(k,t?.theme??null,t?.colorMap))I.kind==="outerShdw"?r.shadow={...M("outerShdw",I.color),...I.alignment!==void 0?{alignment:I.alignment}:{},...I.rotateWithShape!==void 0?{rotateWithShape:I.rotateWithShape}:{},blurEmu:I.blurEmu,offsetEmu:I.distEmu,angleDeg:I.angleDeg,...I.opacity!==void 0?{opacity:I.opacity}:{},...I.scaleX!==void 0?{scaleX:I.scaleX}:{},...I.scaleY!==void 0?{scaleY:I.scaleY}:{},...I.skewX!==void 0?{skewX:I.skewX}:{},...I.skewY!==void 0?{skewY:I.skewY}:{}}:I.kind==="innerShdw"?r.innerShadow={...M("innerShdw",I.color),blurEmu:I.blurEmu,offsetEmu:I.distEmu,angleDeg:I.angleDeg,...I.opacity!==void 0?{opacity:I.opacity}:{}}:I.kind==="glow"?r.glow={...M("glow",I.color),radiusEmu:I.radiusEmu,...I.opacity!==void 0?{opacity:I.opacity}:{}}:I.kind==="reflection"&&(r.reflection={blurEmu:I.blurEmu,offsetEmu:I.distEmu,angleDeg:I.angleDeg,...I.opacity!==void 0?{opacity:I.opacity}:{},...I.startOpacity!==void 0?{startOpacity:I.startOpacity}:{},...I.startPosition!==void 0?{startPosition:I.startPosition}:{},...I.endPosition!==void 0?{endPosition:I.endPosition}:{},...I.fadeDirection!==void 0?{fadeDirection:I.fadeDirection}:{},...I.scaleX!==void 0?{scaleX:I.scaleX}:{},...I.scaleY!==void 0?{scaleY:I.scaleY}:{},...I.skewX!==void 0?{skewX:I.skewX}:{},...I.skewY!==void 0?{skewY:I.skewY}:{},...I.alignment!==void 0?{alignment:I.alignment}:{},...I.rotateWithShape!==void 0?{rotateWithShape:I.rotateWithShape}:{}})}return r},wD=(e,t,n)=>{let r=Er(e,t,n),a=m(r,Sl);if(a===null)return null;let l=e[X];return Gt(a,void 0,Jo(l[L],l[O]))};var IZ=e=>{let t=m(e,o("p","spPr",d.pml))??m(e,o("p","grpSpPr",d.pml)),n=t?t.children:e.name.namespaceURI===d.dml?[e]:[];for(let r of n)if(!(r.kind!=="element"||r.name.namespaceURI!==d.dml))switch(r.name.localName){case"noFill":return{kind:"none"};case"solidFill":return{kind:"solid",color:Yo(r)??""};case"gradFill":return{kind:"gradient"};case"pattFill":return{kind:"pattern"};case"blipFill":return{kind:"image"}}return null},Mx=e=>!!m(e[F],o("p","spPr",d.pml))?.children.some(n=>n.kind==="element"&&n.name.namespaceURI===d.dml&&n.name.localName==="grpFill"),CD=e=>{let t=m(e,o("a","solidFill",d.dml));if(!t)return null;for(let n of t.children)if(n.kind==="element"&&n.name.namespaceURI===d.dml)return n;return null},PD=e=>{let t=m(e[F],o("p","spPr",d.pml));return t?CD(t):null},LD=(e,t)=>{let n=t?Ai(t,e):Bp(e);return n?CD(n):null},Bp=e=>{let t=m(e[F],o("p","spPr",d.pml));return t?m(t,o("a","ln",d.dml)):null},vD=e=>e.name.localName==="noFill"||e.name.localName==="solidFill"||e.name.localName==="gradFill"||e.name.localName==="pattFill"||e.name.localName==="blipFill"?"fill":e.name.localName==="round"||e.name.localName==="bevel"||e.name.localName==="miter"?"join":e.name.localName,Ai=(e,t)=>{let n=Bp(t),r=zw(e,t);if(!n)return r;let a=r?.name.localName==="noFill"?h(o("a","ln",d.dml),{children:[he(r)]}):r;if(!a)return n;let l=he(a),i=new Map(n.attrs.map(u=>[`${u.name.namespaceURI}\0${u.name.localName}`,u])),s=new Set;l.attrs=l.attrs.map(u=>{let f=`${u.name.namespaceURI}\0${u.name.localName}`;return s.add(f),i.get(f)??u});for(let[u,f]of i)s.has(u)||l.attrs.push(f);let c=new Map;for(let u of n.children)u.kind!=="element"||u.name.namespaceURI!==d.dml||c.set(vD(u),u);let p=new Set;l.children=l.children.map(u=>{if(u.kind!=="element"||u.name.namespaceURI!==d.dml)return u;let f=vD(u);p.add(f);let y=c.get(f);return y?he(y):u});for(let[u,f]of c)p.has(u)||l.children.push(he(f));return l},Fx=(e,t)=>t?Ai(t,e):Bp(e),RD=e=>{let t=bd(e);return t.kind==="solid"?t.color:null},ND=e=>{let t=bd(e);return t.kind==="solid"&&t.widthEmu!==void 0?t.widthEmu:null},DD=(e,t)=>{let n=LD(t,e);return n?ye(n,Ft(e,t).theme,Ye(t[X])):null},_D=(e,t)=>{let n=LD(e,t);return n?gt(n):null},kD=(e,t)=>{let n=Fx(e,t);if(!n)return null;let r=x(n,o("","cap",""));return r==="rnd"||r==="sq"||r==="flat"?r:null},MD=(e,t)=>{let n=Fx(e,t);if(!n)return null;for(let r of n.children)if(!(r.kind!=="element"||r.name.namespaceURI!==d.dml)){if(r.name.localName==="round")return"round";if(r.name.localName==="bevel")return"bevel";if(r.name.localName==="miter")return"miter"}return null},FD=(e,t)=>{let n=Fx(e,t);if(!n)return null;let r=x(n,o("","cmpd",""));return r==="sng"||r==="dbl"||r==="thickThin"||r==="thinThick"||r==="tri"?r:null},ID=(e,t)=>{let n=BD(e,t);return(n&&Ip(n))??bd(t)},BD=(e,t)=>{let n=Ai(e,t);if(n&&Ip(n))return n;let r=Ut(t),a=$t(t);if(r===null&&a===null)return null;let l=Te(t[X]);if(!l)return null;let i=w=>{let v=m(w,o("p","spPr",d.pml)),C=v&&m(v,o("a","ln",d.dml)),R=C&&Ip(C);return R&&!(R.kind==="solid"&&R.color==="")?C:null},s=w=>{let v=r!==null?w.find(C=>C.placeholderIdx===r):void 0;return!v&&a!==null&&(v=w.find(C=>C.placeholderType===a)),v?.element??null},c=s(l[ue].shapes),p=c&&i(c);if(p)return p;let u=e[L],f=G(l[de]),y=u.getRels(f);if(!y)return null;let g=y.items.find(w=>w.type===D.slideMaster);if(!g)return null;let S=u.getPart(H(f,g.target));if(!S)return null;let E=$(V(S.data)).root,{shapes:A}=Ge(E,"sldMaster"),T=s(A);return T&&i(T)},Ip=e=>{if(e.name.localName==="noFill")return{kind:"none"};if(e.name.localName!=="ln")return null;let t=x(e,o("","w","")),n=t!==null?Number.parseInt(t,10):void 0,r=n!==void 0?{widthEmu:n}:{};for(let a of e.children)if(!(a.kind!=="element"||a.name.namespaceURI!==d.dml)){if(a.name.localName==="noFill")return{kind:"none"};if(a.name.localName==="solidFill")return{kind:"solid",color:Yo(a)??"",...r};if(a.name.localName==="gradFill")return{kind:"gradient",...r}}return null},OD=(e,t)=>{let n=t?BD(t,e):Bp(e),r=n&&m(n,o("a","gradFill",d.dml));return r?an(r,t&&{theme:Ft(t,e).theme,colorMap:Ye(e[X])}):null},bd=e=>{let t=m(e[F],o("p","spPr",d.pml));if(!t)return{kind:"inherit"};let n=m(t,o("a","ln",d.dml));return n?Ip(n)??{kind:"inherit"}:{kind:"inherit"}},XD=e=>{let t=Ti(e);return t.kind==="solid"?t.color:null},jD=(e,t)=>{let n=PD(t);if(n)return ye(n,Fe(e));if(Mx(t)){let a=Wo(t),l=a?.name.localName==="solidFill"?a.children.find(s=>s.kind==="element"&&s.name.namespaceURI===d.dml):null;if(!l)return null;let{theme:i}=Ft(e,t);return ye(l,i,Ye(t[X]))}if(Ti(t).kind!=="inherit")return null;let r=Bm(e,t);return r?.kind==="solid"&&r.color||null},$D=(e,t)=>{let n=PD(e);if(n)return gt(n);if(Mx(e)){let a=Wo(e),l=a?.name.localName==="solidFill"?a.children.find(i=>i.kind==="element"&&i.name.namespaceURI===d.dml):null;return l?gt(l):null}if(!t||Ti(e).kind!=="inherit")return null;let r=Bm(t,e);return r?.kind==="solid"?gt(r.colorElement):null},UD=(e,t)=>{let n=Ti(t);if(n.kind!=="inherit")return n;if(Mx(t))return IZ(Wo(t)??t[F])??n;let r=Bm(e,t);if(r)return r.kind==="solid"?{kind:"solid",color:r.color}:r;let a=Ut(t),l=$t(t);if(a===null&&l===null)return n;let i=Te(t[X]);if(!i)return n;let s=w=>{let v=x(w,o("","useBgFill",""))?.trim();if(v==="1"||v==="true")return{kind:"background"};let C=m(w,o("p","spPr",d.pml));if(!C)return null;for(let R of C.children)if(!(R.kind!=="element"||R.name.namespaceURI!==d.dml))switch(R.name.localName){case"noFill":return{kind:"none"};case"solidFill":{let N=Yo(R);return N!==null?{kind:"solid",color:N}:{kind:"solid",color:""}}case"gradFill":return{kind:"gradient"};case"pattFill":return{kind:"pattern"};case"blipFill":return{kind:"image"}}return null},c=w=>{let v=a!==null?w.find(C=>C.placeholderIdx===a):void 0;return!v&&l!==null&&(v=w.find(C=>C.placeholderType===l)),v?.element??null},p=c(i[ue].shapes);if(p){let w=s(p);if(w)return w}let u=e[L],f=G(i[de]),y=u.getRels(f);if(!y)return n;let g=y.items.find(w=>w.type===D.slideMaster);if(!g)return n;let S=u.getPart(H(f,g.target));if(!S)return n;let E=$(V(S.data)).root,{shapes:A}=Ge(E,"sldMaster"),T=c(A);if(T){let w=s(T);if(w)return w}return n},Ti=e=>{let t=x(e[F],o("","useBgFill",""))?.trim();if(t==="1"||t==="true")return{kind:"background"};let n=o("p","spPr",d.pml),r=m(e[F],n);if(!r)return{kind:"inherit"};for(let a of r.children)if(!(a.kind!=="element"||a.name.namespaceURI!==d.dml))switch(a.name.localName){case"noFill":return{kind:"none"};case"solidFill":{let l=Yo(a);return l!==null?{kind:"solid",color:l}:{kind:"solid",color:""}}case"gradFill":return{kind:"gradient"};case"pattFill":return{kind:"pattern"};case"blipFill":return{kind:"image"};case"grpFill":return{kind:"inherit"}}return{kind:"inherit"}};var Op=(e,t)=>{let n=Re(e);n.children=n.children.filter(a=>!(a.kind==="element"&&a.name.namespaceURI===d.dml&&["prstGeom","custGeom"].includes(a.name.localName)));let r=n.children.findIndex(a=>a.kind==="element"&&a.name.namespaceURI===d.dml&&a.name.localName==="xfrm");n.children.splice(r+1,0,h(o("a","prstGeom",d.dml),{attrs:[b(o("","prst",""),t)],children:[h(o("a","avLst",d.dml))]})),J(e)},wi=(e,t,n)=>{pn(e[F],e[U].kind,t,n),J(e)},GD=(e,t,n)=>{un(e[F],e[U].kind,t,n),J(e)},qD=(e,t)=>{Ga(e[F],e[U].kind,t),J(e)},HD=(e,t)=>{if(!Tf(e[F],t))throw new Error("setShapeAdjustValues: shape has no preset geometry (<a:prstGeom>)");J(e)},VD=(e,t)=>{qa(e[F],e[U].kind,t),J(e)},Fl=e=>{let t=e[F];t.attrs=t.attrs.filter(n=>n.name.localName!=="useBgFill"||n.name.namespaceURI!=="")},zD=e=>{let t=e[F];if(t.name.namespaceURI!==d.pml||t.name.localName!=="sp")throw new Error("setShapeSlideBackgroundFill: only ordinary shapes support slide background fill");Vl(Re(e)),Fl(e),t.attrs.push(b(o("","useBgFill",""),"1")),J(e)},WD=(e,t)=>{dr(Re(e),t),Fl(e),J(e)},YD=(e,t)=>{Oa(Re(e),t),Fl(e),J(e)},ZD=(e,t)=>{Ba(Re(e),t),Fl(e),J(e)},BZ=e=>e!==null&&Ia.includes(e),KD=(e,t,n={})=>{let r=m(t[F],o("p","spPr",d.pml));if(!r)return null;let a=m(r,o("a","pattFill",d.dml));if(!a)return null;let l=x(a,o("","prst","")),i=BZ(l)?l:"pct50",s=Fe(e),c=(p,u)=>{let f=m(a,o("a",p,d.dml));if(!f)return u;for(let y of f.children){if(y.kind!=="element"||y.name.namespaceURI!==d.dml)continue;if(n.preserveTheme&&y.name.localName==="schemeClr"&&!y.children.some(S=>S.kind==="element")){let S=x(y,o("","val",""));if(S)return S}let g=ye(y,s);if(g)return g}return u};return{preset:i,foreground:c("fgClr","#000000"),background:c("bgClr","#FFFFFF")}},JD=(e,t,n={})=>{let r=n.format??ut(t);if(r===null)throw new Error("setShapeImageFill: could not detect image format. Pass options.format explicitly.");let a=e[X],l=My(a[L],a[O],t,r),i=Re(e),s=new Set(["noFill","solidFill","gradFill","blipFill","pattFill","grpFill"]);i.children=i.children.filter(A=>!(A.kind==="element"&&A.name.namespaceURI===d.dml&&s.has(A.name.localName)));let c=o("a","blip",d.dml),p=o("a","stretch",d.dml),u=o("a","fillRect",d.dml),f=o("a","blipFill",d.dml),y=h(c,{attrs:[b(o("r","embed",d.officeDocRels),l)]}),g=h(p,{children:[h(u)]}),S=h(f,{children:[y,g]}),E=i.children.length;for(let A=0;A<i.children.length;A++){let T=i.children[A];if(!(T?.kind!=="element"||T.name.namespaceURI!==d.dml)&&(T.name.localName==="ln"||T.name.localName==="effectLst"||T.name.localName==="effectDag"||T.name.localName==="scene3d"||T.name.localName==="sp3d"||T.name.localName==="extLst")){E=A;break}}i.children.splice(E,0,S),Fl(e),J(e)},QD=e=>{C0(Re(e)),Fl(e),J(e)},e_=e=>{Vl(Re(e)),Fl(e),J(e)},t_=(e,t)=>{D0(Re(e),t),J(e)},n_=(e,t)=>{U0(Re(e),t,OZ(e)),J(e)},OZ=e=>{let t=2166136261;for(let n of`${e[X][O]}#${e[U].id}`)t^=n.charCodeAt(0),t=Math.imul(t,16777619);return t>>>0},r_=e=>{let t=m(e[F],o("p","spPr",d.pml)),n=t&&m(t,o("a","ln",d.dml));return n?$0(n):null},a_=e=>{M0(Re(e)),J(e)},l_=(e,t)=>{let n=t?Ai(t,e):(()=>{let l=m(e[F],o("p","spPr",d.pml));return l?m(l,o("a","ln",d.dml)):null})();if(!n)return null;let r=m(n,o("a","prstDash",d.dml));return r?x(r,o("","val",""))??null:null},o_=(e,t,n)=>{let r=n?Ai(n,e):(()=>{let p=m(e[F],o("p","spPr",d.pml));return p?m(p,o("a","ln",d.dml)):null})();if(!r)return null;let a=m(r,o("a",t==="head"?"headEnd":"tailEnd",d.dml));if(!a)return null;let l=x(a,o("","type",""));if(!l)return null;let i=x(a,o("","w","")),s=x(a,o("","len","")),c={type:l};return(i==="sm"||i==="med"||i==="lg")&&(c.width=i),(s==="sm"||s==="med"||s==="lg")&&(c.length=s),c},i_=(e,t)=>{I0(Re(e),t),J(e)},s_=(e,t,n)=>{B0(Re(e),t,n),J(e)},d_=e=>{F0(Re(e)),J(e)},c_=(e,t)=>{O0(Re(e),t),J(e)},m_=(e,t)=>{X0(Re(e),t),J(e)},p_=(e,t)=>{j0(Re(e),t),J(e)};var u_=e=>e[U].kind,Il=e=>e[U].id,Xp=e=>{if(!["shape","picture","connector"].includes(e[U].kind))return null;let t=m(e[F],o("p","spPr",d.pml));if(!t)return null;let n=m(t,o("a","prstGeom",d.dml));if(!n)return null;for(let r of n.attrs)if(r.name.localName==="prst")return r.value;return null},f_=e=>{let t={},n=m(e[F],o("p","spPr",d.pml));if(!n)return t;let r=m(n,o("a","prstGeom",d.dml));if(!r)return t;let a=m(r,o("a","avLst",d.dml));if(!a)return t;for(let l of a.children){if(l.kind!=="element"||l.name.namespaceURI!==d.dml||l.name.localName!=="gd")continue;let i=x(l,o("","name","")),s=x(l,o("","fmla",""));if(!i||!s)continue;let c=/^val\s+(-?\d+(?:\.\d+)?)$/.exec(s);if(!c)continue;let p=Number.parseFloat(c[1]);Number.isFinite(p)&&(t[i]=p)}return t},h_=e=>{let t=e[U].kind;if(t!=="shape"&&t!=="connector")return null;let n=m(e[F],o("p","spPr",d.pml));if(!n)return null;let r=m(n,o("a","custGeom",d.dml));if(!r)return null;let a=At(e[F],t);return a===null?null:hf(r,a.w,a.h)},g_=(e,t,n={})=>yf(e,t.w,t.h,n),y_=e=>{let t=0;for(let n of e[ne]){let r=n[U].id;r>t&&(t=r)}return t},x_=e=>{let t=0;for(let n of z(e))for(let r of n[ne]){let a=r[U].id;a>t&&(t=a)}return t},S_=e=>{let n=e[L].getPart(Y);if(n===null)return 0;let r=$(V(n.data)).root;return Jt(r).slideMasters.length},vi=e=>{let t=de in e?e:Te(e);if(!t)return null;let n=e[L],r=G(t[de]),a=n.getRels(r);if(!a)return null;let l=a.items.find(i=>i.type===D.slideMaster);return l?H(r,l.target):null},Ra=e=>{let t=e[L],n=t.getPart(Y);if(n===null)return[];let r=$(V(n.data)).root,a=Jt(r),l=t.getRels(Y);if(l===null)return[];let i=[];for(let s of a.slideMasters){let c=l.items.find(u=>u.id===s.rId);if(c===void 0)continue;let p=c.target.startsWith("/")?G(c.target):H(Y,c.target);i.push(p)}return i},Ix=e=>{let t={};for(let n of Ra(e))t[n]=0;for(let n of z(e)){let r=vi(n);r!==null&&(t[r]=(t[r]??0)+1)}return t},b_=e=>{let t=Ix(e);return Ra(e).filter(n=>(t[n]??0)===0)},Ed=e=>e[U].name,E_=e=>{let t=Fn(e);return t?x(t,o("","descr","")):null},A_=(e,t)=>{let n=Fn(e);if(!n)throw new Error(`setShapeDescription: ${e[U].kind} shape has no cNvPr`);n.attrs=n.attrs.filter(r=>!(r.name.namespaceURI===""&&r.name.localName==="descr")),t!==null&&t!==""&&n.attrs.push(b(o("","descr",""),t)),J(e)},T_=e=>{let t=Fn(e);return t?x(t,o("","title","")):null},w_=(e,t)=>{let n=Fn(e);if(!n)throw new Error(`setShapeAltTitle: ${e[U].kind} shape has no cNvPr`);n.attrs=n.attrs.filter(r=>!(r.name.namespaceURI===""&&r.name.localName==="title")),t!==null&&t!==""&&n.attrs.push(b(o("","title",""),t)),J(e)},v_=e=>{let t=Fn(e);if(!t)return!1;let n=x(t,o("","hidden",""));return n==="1"||n==="true"};function C_(e,t){let r=(Array.isArray(e)?e:[e]).map(l=>{let i=Fn(l);if(!i)throw new Error(`setShapeHidden: ${l[U].kind} shape has no cNvPr`);return{shape:l,cNvPr:i}});for(let{cNvPr:l}of r)l.attrs=l.attrs.filter(i=>!(i.name.namespaceURI===""&&i.name.localName==="hidden")),t&&l.attrs.push(b(o("","hidden",""),"1"));let a=new Set(r.map(({shape:l})=>l[X]));for(let l of a)ce(l),ge(l)}var P_=(e,t)=>{let n=Fn(e);if(!n)throw new Error(`renameShape: ${e[U].kind} shape has no cNvPr to rename`);n.attrs=n.attrs.filter(r=>!(r.name.namespaceURI===""&&r.name.localName==="name")),n.attrs.push(b(o("","name",""),t)),J(e)},$t=e=>e[U].placeholderType,Ut=e=>e[U].placeholderIdx,jp=e=>{let t=e[U];return t.placeholderType!==null||t.placeholderIdx!==null},XZ=o("p","nvSpPr",d.pml),jZ=o("p","cNvSpPr",d.pml),$Z=o("","txBox",""),L_=e=>{let t=m(e[F],XZ);if(!t)return!1;let n=m(t,jZ);if(!n)return!1;let r=x(n,$Z);return r==="1"||r==="true"},R_=e=>e[U].text,N_=e=>Rt(e[F],e[U].kind),D_=e=>At(e[F],e[U].kind),__=e=>pr(e[F],e[U].kind),Tp=e=>ur(e[F],e[U].kind),$p=e=>e[U].kind!=="group"?[]:Za(e[F]).map(n=>({[X]:e[X],[F]:n.element,[U]:n})),Up=e=>{if(e[U].kind!=="group")return null;let t=m(e[F],o("p","grpSpPr",d.pml));if(!t)return null;let n=m(t,o("a","xfrm",d.dml));if(!n)return null;let r=m(n,o("a","off",d.dml)),a=m(n,o("a","ext",d.dml)),l=m(n,o("a","chOff",d.dml)),i=m(n,o("a","chExt",d.dml));if(!r||!a)return null;let s=(A,T)=>{let w=x(A,o("",T,""));if(w===null)return null;let v=Number.parseInt(w,10);return Number.isFinite(v)?v:null},c=s(r,"x"),p=s(r,"y"),u=s(a,"cx"),f=s(a,"cy");if(c===null||p===null||u===null||f===null)return null;let y=l?s(l,"x")??c:c,g=l?s(l,"y")??p:p,S=i?s(i,"cx")??u:u,E=i?s(i,"cy")??f:f;return{outer:{x:c,y:p,w:u,h:f},inner:{x:y,y:g,w:S,h:E}}},on=e=>{let t=Rt(e[F],e[U].kind),n=At(e[F],e[U].kind);return t===null||n===null?null:{x:t.x,y:t.y,w:n.w,h:n.h}},UZ=e=>e===null?[]:e==="ctrTitle"?["ctrTitle","title"]:e==="title"?["title","ctrTitle"]:e==="subTitle"?["subTitle","body"]:[e],Qs=(e,t,n)=>{if(t!==null){let r=e.find(a=>a.placeholderIdx===t);if(r)return r}for(let r of UZ(n)){let a=e.find(l=>l.placeholderType===r);if(a)return a}},k_=(e,t)=>{let n=on(t);if(n)return n;let r=t[X],a=Te(r);if(!a)return null;let l=Ut(t),i=$t(t),s=A=>{let T=Qs(A,l,i);if(!T)return null;let w=Rt(T.element,T.kind),v=At(T.element,T.kind);return w===null||v===null?null:{x:w.x,y:w.y,w:v.w,h:v.h}},c=s(a[ue].shapes);if(c)return c;let p=e[L],u=G(a[de]),f=p.getRels(u);if(!f)return null;let y=f.items.find(A=>A.type===D.slideMaster);if(!y)return null;let g=p.getPart(H(u,y.target));if(!g)return null;let S=$(V(g.data)).root,{shapes:E}=Ge(S,"sldMaster");return s(E)},M_=e=>{let t=on(e);return t===null?null:{x:t.x+Math.round(t.w/2),y:t.y+Math.round(t.h/2)}},Bx=(e,t,n)=>{let r=on(e);return r===null?!1:t>=r.x&&t<r.x+r.w&&n>=r.y&&n<r.y+r.h},F_=(e,t,n)=>e[ne].filter(r=>Bx(r,t,n)),I_=(e,t,n,r,a)=>{let l=t+r,i=n+a,s=[];for(let c of e[ne]){let p=on(c);if(p===null)continue;let u=p.x+p.w,f=p.y+p.h;p.x<=l&&u>=t&&p.y<=i&&f>=n&&s.push(c)}return s},B_=e=>{let t=on(e);if(t===null)return;let a=e[X][L].getPart(Y);if(!a)return;let l=$(V(a.data)).root,i=Jt(l);if(i.slideSize===null)return;let s=Math.round(i.slideSize.cx/2-t.w/2),c=Math.round(i.slideSize.cy/2-t.h/2);wi(e,s,c)},wp=(e,t)=>{let n=on(e),r=on(t);return n===null||r===null?!1:n.x<r.x+r.w&&n.x+n.w>r.x&&n.y<r.y+r.h&&n.y+n.h>r.y},O_=(e,t)=>{pn(e[F],e[U].kind,t.x,t.y),un(e[F],e[U].kind,t.w,t.h),J(e)};var sn=e=>e[ne],X_=(e,t)=>{let n=e[L],r=t[de];if(n.getPart(r)===null)throw new Error(`setSlideLayout: layout ${r} not in package`);let a=n.getRels(e[O])??pe(),l=r,i=a.items.find(s=>s.type===D.slideLayout);i?i.target=l:a.items.push({id:se(a.items.map(s=>s.id)),type:D.slideLayout,target:l,targetMode:"Internal"}),n.setRels(e[O],a)},Te=e=>{let t=e[L],n=t.getRels(e[O]);if(n===null)return null;let r=n.items.find(s=>s.type===D.slideLayout);if(!r)return null;let a=r.target.startsWith("/")?G(r.target):H(e[O],r.target),l=t.getPart(a);if(l===null)return null;let i=$(V(l.data));return{[L]:t,[de]:a,[ot]:i,[ue]:$r(i.root)}},Pt=(e,t)=>{for(let n of e[ne]){let r=n[U];if(r.placeholderType===t||t==="body"&&r.placeholderType===null&&r.placeholderIdx!==null)return n}return null},Ox=e=>{let t=[];for(let n of e[ne])jp(n)&&(Ep(n)||t.push(n));return t},j_=e=>{let t=Number.POSITIVE_INFINITY,n=Number.POSITIVE_INFINITY,r=Number.NEGATIVE_INFINITY,a=Number.NEGATIVE_INFINITY,l=!1;for(let i of e){let s=on(i);s&&(l=!0,s.x<t&&(t=s.x),s.y<n&&(n=s.y),s.x+s.w>r&&(r=s.x+s.w),s.y+s.h>a&&(a=s.y+s.h))}return l?{x:t,y:n,w:r-t,h:a-n}:null},$_=(e,t,n)=>{for(let r of e){let a=on(r);a!==null&&wi(r,a.x+t,a.y+n)}},U_=e=>{let t=[];for(let n of z(e))Ox(n).length>0&&t.push(n);return t},G_=(e,t)=>{for(let n of e[ne])if(n[U].placeholderIdx===t)return n;return null},q_=(e,t)=>{let n=[];for(let r of e[ne]){let a=r[U];if(a.placeholderType===t){n.push(r);continue}t==="body"&&a.placeholderType===null&&a.placeholderIdx!==null&&n.push(r)}return n},Xx=(e,t)=>{if(typeof t=="string"){for(let n of e[ne])if(n[U].name===t)return n;return null}for(let n of e[ne])if(t.test(n[U].name))return n;return null},Gp=(e,t)=>{for(let n of e[ne])if(n[U].id===t)return n;return null},H_=(e,t)=>typeof t=="string"?e[ne].filter(n=>n[U].name===t):e[ne].filter(n=>t.test(n[U].name)),V_=(e,t)=>{for(let n of e[ne]){let r=n[U].text;if(typeof t=="string"?r.includes(t):t.test(r))return n}return null},z_=(e,t)=>{let n=[];for(let r of e[ne]){let a=r[U].text;(typeof t=="string"?a.includes(t):t.test(a))&&n.push(r)}return n},W_=(e,t)=>e[ne].filter(n=>n[U].kind===t),Y_=(e,t)=>{let n=[];for(let r of e[ne]){let a=ln(r);a!==null&&(typeof t=="string"?a.includes(t):t.test(a))&&n.push(r)}return n},Z_=e=>{let t=[];for(let n of e[ne])ln(n)!==null&&t.push(n);return t},K_=(e,t)=>e[ne].filter(n=>Xp(n)===t),qp=e=>e[X],J_=e=>Od+Fi(e[F]),Q_=e=>e[X][ne].indexOf(e),e3=(e,t)=>{for(let n of z(e)){let r=Xx(n,t);if(r!==null)return r}return null},t3=(e,t)=>{let n=Yi(e[te].root,t);return n>0&&(ce(e),ge(e)),n};var n3=e=>{let t=m(e,o("p","spPr",d.pml));if(!t)return!1;if(m(t,o("a","effectLst",d.dml))!==null||m(t,o("a","effectDag",d.dml))!==null)return!0;let n=m(e,o("p","style",d.pml));return n!==null&&m(n,o("a","effectRef",d.dml))!==null},r3=e=>{let t=m(e[F],o("p","spPr",d.pml));if(!t)return null;let n=m(t,o("a","effectLst",d.dml));if(!n)return null;let r=i=>{let s=i.children.find(u=>u.kind==="element"&&u.name.namespaceURI===d.dml&&["srgbClr","scrgbClr","hslClr","schemeClr","sysClr","prstClr"].includes(u.name.localName));if(!s)return{color:""};let c=ye(s,null)??"",p=gt(s);return{color:c,...p!==null?{opacity:p}:{}}},a=m(n,o("a","outerShdw",d.dml));if(a){let i=Number.parseInt(x(a,o("","blurRad",""))??"0",10),s=Number.parseInt(x(a,o("","dist",""))??"0",10),c=Number.parseInt(x(a,o("","dir",""))??"0",10),p=r(a);return{kind:"shadow",color:p.color,blurEmu:i,offsetEmu:s,angleDeg:c/6e4,...p.opacity!==void 0?{opacity:p.opacity}:{}}}let l=m(n,o("a","glow",d.dml));if(l){let i=Number.parseInt(x(l,o("","rad",""))??"0",10);return{kind:"glow",color:r(l).color,radiusEmu:i}}return null},Hp=(e,t)=>{let n=m(t[F],o("p","spPr",d.pml));if(!n)return[];let r=m(n,o("a","effectLst",d.dml));if(m(n,o("a","effectDag",d.dml))!==null)return[];let a=r??Py(e,t);return a?Fp(a,Ft(e,t).theme,Ye(t[X])):[]},a3=(e,t,n)=>{let r=[];for(let a of t[ne])Hp(e,a).some(l=>l.kind===n)&&r.push(a);return r},l3=(e,t)=>{let n=Hp(e,t);if(n3(t[F]))return n;let a=Ut(t),l=$t(t);if(a===null&&l===null)return n;let i=Ft(e,t).theme,s=Te(t[X]);if(!s)return n;let c=v=>{let C=a!==null?v.find(R=>R.placeholderIdx===a):void 0;return!C&&l!==null&&(C=v.find(R=>R.placeholderType===l)),C?.element??null},p=v=>{let C=m(v,o("p","spPr",d.pml));if(!C||!n3(v))return null;if(m(C,o("a","effectDag",d.dml))!==null)return[];let R=m(C,o("a","effectLst",d.dml))??Py(e,t,v);return R?Fp(R,i,Ye(t[X])):[]},u=c(s[ue].shapes);if(u){let v=p(u);if(v!==null)return v}let f=e[L],y=G(s[de]),g=f.getRels(y);if(!g)return n;let S=g.items.find(v=>v.type===D.slideMaster);if(!S)return n;let E=f.getPart(H(y,S.target));if(!E)return n;let A=$(V(E.data)).root,{shapes:T}=Ge(A,"sldMaster"),w=c(T);if(w){let v=p(w);if(v!==null)return v}return n},Ad=(e,t)=>{let n=Re(e);oa(n,t);let r=m(e[F],o("p","style",d.pml)),a=r&&m(r,o("a","effectRef",d.dml));if(a!==null&&x(a,o("","idx",""))!=="0"&&m(n,o("a","effectLst",d.dml))===null){let i=n.children.findIndex(c=>c.kind==="element"&&c.name.namespaceURI===d.dml&&["scene3d","sp3d","extLst"].includes(c.name.localName)),s=h(o("a","effectLst",d.dml),{children:[]});i===-1?n.children.push(s):n.children.splice(i,0,s)}J(e)},o3=(e,t={})=>{if(t===null){Ad(e,"outerShdw");return}$i(Re(e),t),J(e)},i3=(e,t)=>{if(t===null){Ad(e,"innerShdw");return}Ui(Re(e),t),J(e)},s3=(e,t)=>{if(t===null){Ad(e,"glow");return}Gi(Re(e),t),J(e)},d3=(e,t)=>{if(t===null){Ad(e,"reflection");return}qi(Re(e),t),J(e)},c3=(e,t)=>{if(t===null){Ad(e,"softEdge");return}w0(Re(e),t),J(e)},m3=e=>{v0(Re(e)),J(e)},p3=(e,t)=>{pf(Re(e),t,"setShape3D"),J(e)},u3=e=>{let t=m(e[F],o("p","spPr",d.pml));return t?ja(t):null};function Ci(e,t,n,r){jx(e)(t,n,r)}function jx(e){let t=e[L],n=t.getRels(e[O]),r=new Map(n?.items.map(a=>[a.id,a]));return(a,l,i)=>{let s=a[L],c=new Set;f3(l,w=>(c.add(w),w));let p=new Map;for(let w of c){let v=r.get(w);if(!v)throw new Error(`${i}: missing relationship ${w}`);v.targetMode!=="External"&&p.set(H(e[O],v.target),null)}let u=t===s?null:hl(t,s,p,new Set,new Map([[e[O],a[O]]])),f=s.getRels(a[O])??pe(),y=new Map,g=f.items.map(w=>w.id),S=(w,v,C)=>JSON.stringify([w,v,C]),E=new Map(f.items.map(w=>[S(w.type,w.targetMode==="External"?w.target:H(a[O],w.target),w.targetMode),w.id])),A=se(g,c.size),T=0;for(let w of c){let v=r.get(w),C=v.targetMode==="External"?v.target:H(e[O],v.target),R=u?.get(C.toLowerCase())??C,N=S(v.type,R,v.targetMode),_=E.get(N),k=_??A[T++];_||(f.items.push({...v,target:R,id:k}),E.set(N,k)),y.set(w,k)}f3(l,w=>y.get(w)),s.setRels(a[O],f)}}var f3=(e,t)=>{let n=r=>{r.attrs=r.attrs.map(a=>a.value!==""&&a.name.namespaceURI===d.officeDocRels&&(a.name.localName==="id"||a.name.localName==="embed"||a.name.localName==="link")?{name:a.name,value:t(a.value)}:a);for(let a of r.children)a.kind==="element"&&n(a)};n(e)};var yt=o("p","txBody",d.pml),yi=(e,t,n={})=>{let r=ma(e);typeof t=="object"?(Lo(r,t.case,n.range),n.bullets!==void 0&&Ji(r,n.bullets)):n.preserveFormatting||n.range?(Ro(r,t,n.range,n.newlines),n.bullets!==void 0&&Ji(r,n.bullets)):Pn(r,t,n.bullets,n.newlines),J(e)},h3=(e,t,n={})=>{if(t.length===0)throw new Error("setShapeTextField: type must not be empty");let r=ma(e),a=GZ(r),l=h(o("a","fld",d.dml),{attrs:[b(o("","id",""),Bi()),b(o("","type",""),t)],children:[...a?[he(a)]:[],h(o("a","t",d.dml),{children:[be(n.text??"")]})]}),i=h(o("a","p",d.dml),{children:[l]}),s=r.children.filter(c=>c.kind==="element"&&c.name.namespaceURI===d.dml&&(c.name.localName==="bodyPr"||c.name.localName==="lstStyle"));r.children=[...s,i],J(e)},GZ=e=>{for(let t of e.children)if(!(t.kind!=="element"||t.name.namespaceURI!==d.dml||t.name.localName!=="p"))for(let n of t.children){if(n.kind!=="element"||n.name.namespaceURI!==d.dml||n.name.localName!=="r"&&n.name.localName!=="fld")continue;let r=m(n,o("a","rPr",d.dml));if(r)return r}return null},g3=(e,t)=>{let n=ma(e),r=e[U].text,a=r.length===0?t:`${r}
|
|
29
|
-
${t}`;Pn(n,a),J(e)},bt=o("a","bodyPr",d.dml),qZ=new Set(["noAutofit","normAutofit","spAutoFit"]),Bl=e=>{let t=ht(e),n=m(t,bt);return n===null&&(n=h(bt),t.children.unshift(n)),n},y3=(e,t)=>{Z(t,["none","square"],"setShapeTextWrap: wrap");let n=Bl(e),r=o("","wrap","");n.attrs=n.attrs.filter(a=>!(a.name.namespaceURI===""&&a.name.localName==="wrap")),n.attrs.push(b(r,t)),J(e)},x3=e=>{let t=m(e[F],yt);if(!t)return null;let n=m(t,bt);if(!n)return null;let r=x(n,o("","wrap",""));return r==="none"||r==="square"?r:null},S3=(e,t)=>{Z(t,["none","normal","shape"],"setShapeTextAutoFit: mode");let n=Bl(e);n.children=n.children.filter(a=>!(a.kind==="element"&&a.name.namespaceURI===d.dml&&qZ.has(a.name.localName)));let r={none:"noAutofit",normal:"normAutofit",shape:"spAutoFit"}[t];je(n,h(o("a",r,d.dml)),Kl),J(e)},b3=(e,t)=>{mf(Bl(e),t,"setShapeText3D"),J(e)},E3=(e,t)=>{let n=Bl(e);n.children=n.children.filter(r=>!(r.kind==="element"&&r.name.namespaceURI===d.dml&&(r.name.localName==="flatTx"||t&&r.name.localName==="sp3d"))),t&&je(n,h(o("a","flatTx",d.dml)),Kl),J(e)},A3=e=>{let t=m(e[F],yt),n=t&&m(t,bt);return!!(n&&m(n,o("a","flatTx",d.dml)))},T3=e=>{let t=m(e[F],yt),n=t&&m(t,bt);return n?ja(n):null},w3=e=>{let t=m(e[F],yt);if(!t)return null;let n=m(t,bt);if(!n)return null;for(let r of n.children)if(!(r.kind!=="element"||r.name.namespaceURI!==d.dml)){if(r.name.localName==="noAutofit")return"none";if(r.name.localName==="normAutofit")return"normal";if(r.name.localName==="spAutoFit")return"shape"}return null},v3=e=>{let t=m(e[F],yt);if(!t)return null;let n=m(t,bt);if(!n)return null;for(let r of n.children)if(r.kind==="element"&&r.name.namespaceURI===d.dml&&r.name.localName==="normAutofit")return C3(r);return null},C3=e=>{let t=(n,r)=>{let a=x(e,o("",n,"")),l=a===null?NaN:Number.parseInt(a,10);return Number.isFinite(l)?l/1e5:r};return{fontScale:t("fontScale",1),lnSpcReduction:t("lnSpcReduction",0)}},P3=e=>{let t=m(e[F],yt);if(!t)return null;let n=m(t,bt);if(!n)return null;let r=x(n,o("","anchor",""));return r==="t"?"top":r==="ctr"?"center":r==="b"?"bottom":null},L3=e=>{let t=m(e[F],yt);if(!t)return null;let n=m(t,bt);if(!n)return null;let r=x(n,o("","numCol",""));if(r===null)return null;let a=Number.parseInt(r,10);if(!Number.isFinite(a)||a<1)return null;let l=x(n,o("","spcCol",""));if(l!==null){let i=Number.parseInt(l,10);if(Number.isFinite(i))return{count:a,gapEmu:i}}return{count:a}},R3=(e,t)=>{let n=t===null?null:YS(t.count,"setShapeTextColumns: count"),r=t?.gapEmu===void 0?null:HS(t.gapEmu,"setShapeTextColumns: gapEmu"),a=Bl(e);a.attrs=a.attrs.filter(l=>!(l.name.namespaceURI===""&&(l.name.localName==="numCol"||l.name.localName==="spcCol"))),t!==null&&(a.attrs.push(b(o("","numCol",""),String(n))),r!==null&&a.attrs.push(b(o("","spcCol",""),String(r)))),J(e)},N3=e=>{let t=m(e[F],yt);if(!t)return null;let n=m(t,bt);if(!n)return null;let r=x(n,o("","rot",""));if(r===null)return null;let a=Number.parseInt(r,10);return Number.isFinite(a)?a/6e4:null},D3=(e,t)=>{let n=Bl(e);if(n.attrs=n.attrs.filter(r=>!(r.name.namespaceURI===""&&r.name.localName==="rot")),t!==null&&t!==0){let r=VS(t*6e4,"setShapeTextBodyRotationDeg: rotationDeg");n.attrs.push(b(o("","rot",""),String(r)))}J(e)},_3=e=>{let t=m(e[F],yt);if(!t)return null;let n=m(t,bt);if(!n)return null;let r=x(n,o("","vert",""));return r==="vert"||r==="vert270"||r==="wordArtVert"||r==="eaVert"||r==="mongolianVert"||r==="wordArtVertRtl"?r:null},k3=(e,t)=>{t!==null&&Z(t,$d,"setShapeTextDirection: direction");let n=Bl(e);n.attrs=n.attrs.filter(r=>!(r.name.namespaceURI===""&&r.name.localName==="vert")),t!==null&&n.attrs.push(b(o("","vert",""),t)),J(e)},M3=e=>{let t=m(e[F],yt);if(!t)return null;let n=m(t,bt);if(!n)return null;let r=a=>{let l=x(n,o("",a,""));if(l===null)return null;let i=Number.parseInt(l,10);return Number.isFinite(i)?i:null};return{left:r("lIns"),top:r("tIns"),right:r("rIns"),bottom:r("bIns")}},F3=(e,t)=>{let n={anchor:null,anchorCentered:null,autoFit:null,autoFitParams:null,columns:null,wrap:null,vert:null,margins:{left:null,top:null,right:null,bottom:null}},r=!1,a=!1,l=!1,i=N=>{if(n.autoFit===null)for(let _ of N.children){if(_.kind!=="element"||_.name.namespaceURI!==d.dml)continue;let k=_.name.localName;if(k==="noAutofit"?n.autoFit="none":k==="spAutoFit"?n.autoFit="shape":k==="normAutofit"&&(n.autoFit="normal",n.autoFitParams=C3(_)),n.autoFit!==null)break}if(!a){let _=x(N,o("","numCol","")),k=_===null?NaN:Number.parseInt(_,10);Number.isFinite(k)&&k>=1&&k<=16&&(n.columns={...n.columns,count:k},a=!0)}if(!l){let _=x(N,o("","spcCol","")),k=_===null?NaN:Number.parseInt(_,10);Number.isFinite(k)&&k>=0&&(n.columns={count:n.columns?.count??1,gapEmu:k},l=!0)}if(n.anchorCentered===null){let _=x(N,o("","anchorCtr",""));_==="1"||_==="true"?n.anchorCentered=!0:(_==="0"||_==="false")&&(n.anchorCentered=!1)}if(n.anchor===null){let _=x(N,o("","anchor",""));_==="t"?n.anchor="top":_==="ctr"?n.anchor="center":_==="b"&&(n.anchor="bottom")}if(n.wrap===null){let _=x(N,o("","wrap",""));_==="square"?n.wrap="square":_==="none"&&(n.wrap="none")}if(!r){let _=x(N,o("","vert",""));_==="horz"&&(r=!0),(_==="vert"||_==="vert270"||_==="wordArtVert"||_==="eaVert"||_==="mongolianVert"||_==="wordArtVertRtl")&&(n.vert=_,r=!0)}for(let _ of["l","t","r","b"]){let k=_==="l"?"left":_==="t"?"top":_==="r"?"right":"bottom";if(n.margins[k]!==null)continue;let M=x(N,o("",`${_}Ins`,""));if(M===null)continue;let I=Number.parseInt(M,10);Number.isFinite(I)&&(n.margins[k]=I)}},s=m(t[F],yt);if(s){let N=m(s,bt);N&&i(N)}let c=Ut(t),p=$t(t),u=t[X],f=Te(u);if(!f)return n;let y=N=>Qs(N,c,p)?.element??null,g=y(f[ue].shapes);if(g){let N=m(g,yt);if(N){let _=m(N,bt);_&&i(_)}}let S=e[L],E=G(f[de]),A=S.getRels(E);if(!A)return n;let T=A.items.find(N=>N.type===D.slideMaster);if(!T)return n;let w=S.getPart(H(E,T.target));if(!w)return n;let v=$(V(w.data)).root,{shapes:C}=Ge(v,"sldMaster"),R=y(C);if(R){let N=m(R,yt);if(N){let _=m(N,bt);_&&i(_)}}return n},I3=(e,t,n={})=>{Z(t,["top","center","bottom"],"setShapeTextAnchor: anchor");let r=ma(e),a=m(r,bt);a===null&&(a=h(bt),r.children.unshift(a));let l=Ud[t],i=o("","anchor","");a.attrs=a.attrs.filter(s=>!(s.name.namespaceURI===""&&s.name.localName==="anchor")),a.attrs.push(b(i,l)),n.centered!==void 0&&(a.attrs=a.attrs.filter(s=>!(s.name.namespaceURI===""&&s.name.localName==="anchorCtr")),n.centered!==null&&a.attrs.push(b(o("","anchorCtr",""),n.centered?"1":"0"))),J(e)},B3=(e,t)=>{let n=ht(e),r=m(n,bt);r===null&&(r=h(bt),n.children.unshift(r));let a=[];t.left!==void 0&&a.push({name:"lIns",value:t.left}),t.top!==void 0&&a.push({name:"tIns",value:t.top}),t.right!==void 0&&a.push({name:"rIns",value:t.right}),t.bottom!==void 0&&a.push({name:"bIns",value:t.bottom});let l=new Set(a.map(i=>i.name));r.attrs=r.attrs.filter(i=>!(i.name.namespaceURI===""&&l.has(i.name.localName)));for(let i of a){let s=Xd(i.value,`setShapeTextMargins: ${i.name}`);r.attrs.push(b(o("",i.name,""),String(s)))}J(e)},O3=(e,t)=>{Ji(ht(e),t),J(e)},X3=(e,t)=>{let n=ia(t,"setShapeAlignment");Ki(ma(e),n),J(e)},j3=(e,t,n)=>{e[U].kind!=="shape"&&ht(e);let r=m(e[F],yt),a=r??Mg(),l=e[X],i=Yr(l[L],l[O],"setShapeTextFormat");if(n?.paragraphEnd!==void 0?Do(a,n.paragraphEnd,t,n.reset,i):n?.range?No(a,t,n.range,n.reset,i):Z0(a,t,"setShapeTextFormat",n?.reset,i),!r){if(n?.range)return;e[F].children.push(a)}J(e)};function $3(e,t){if("ranges"in t){if(X in e){if(!t.ranges.length)throw new RangeError("paragraph ranges must not be empty");let c=ht(e),p=h(yt,{children:lm(ht(t.source),t.ranges).flat()});Ci(t.source[X],e[X],p,"setShapeParagraphs"),Vp(c,p.children),J(e);return}if(e.length!==t.ranges.length)throw new RangeError("paragraph copy targets and ranges must have equal lengths");let r=e.map(ht),a=lm(ht(t.source),t.ranges),l=jx(t.source[X]),i=new Map,s=a.map(c=>h(yt,{children:c}));for(let c=0;c<e.length;c++){let p=e[c],u=p[X],f=i.get(u);f||(f={representative:p,xml:h(yt)},i.set(u,f)),f.xml.children.push(s[c])}for(let[c,p]of i)l(c,p.xml,"setShapeParagraphs");for(let c=0;c<e.length;c++)Vp(r[c],s[c].children);for(let c of i.values())J(c.representative);return}if(!(X in e))throw new TypeError("batch targets require paragraph ranges");let n=ht(e);if("sources"in t){if(!t.sources.length)throw new RangeError("paragraph sources must not be empty");let r=new Map,a=Array.from(t.sources,l=>{let i=ht(l),s=h(yt,{children:qg(i,{start:0,end:Je(i).length})}),c=l[X],p=r.get(c);return p||(p=h(yt),r.set(c,p)),p.children.push(s),s});for(let[l,i]of r)Ci(l,e[X],i,"setShapeParagraphs");Vp(n,a.flatMap(l=>l.children))}else if("source"in t){let r=ht(t.source),a=t.range??{start:0,end:Je(r).length},l=h(yt,{children:qg(r,a)});Ci(t.source[X],e[X],l,"setShapeParagraphs"),Vp(n,l.children)}else lf(n,t,Yr(e[X][L],e[X][O],"setShapeParagraphs"));J(e)}function Vp(e,t){e.children=[...e.children.filter(n=>!(n.kind==="element"&&n.name.namespaceURI===d.dml&&n.name.localName==="p")),...t]}var HZ=o("","grpId",""),VZ=["direction","orientation","inOut","shape","spokes"],zZ=(e,t)=>({...e.direction===null?{}:{direction:e.direction},...e.orientation===null?{}:{orientation:e.orientation},...e.inOut===null?{}:{inOut:e.inOut},...e.shape===null?{}:{shape:e.shape},...e.spokes===null?{}:{spokes:e.spokes},...t.spinDirection===null?{}:{spinDirection:t.spinDirection},...t.spinDegrees===null?{}:{spinDegrees:t.spinDegrees},...t.scaleDirection===null?{}:{scaleDirection:t.scaleDirection},...t.scalePercent===null?{}:{scalePercent:t.scalePercent},...t.transparencyPercent===null?{}:{transparencyPercent:t.transparencyPercent},...t.color===null?{}:{color:t.color}}),WZ=(e,t)=>JSON.stringify(e)===JSON.stringify(t),YZ="the slide has no animation effects",ZZ="is one this library cannot edit safely \u2014 it uses a preset, target or start condition that is not modelled here. Read it with getSlideAnimations and leave it as it is",KZ="the slide's main animation sequence is nested in a way this library cannot lay out again, so reordering it could change what the other effects do",Gx=(e,t,n)=>{let r=ol(e);if(r===null)throw new Error(`${t}: ${YZ}.`);let a=he(r);n(a);let l=e[te].root.children,i=l.indexOf(r);bx(a)?l.splice(i,1):l[i]=a,ce(e),ge(e)},qx=(e,t,n)=>{let r=il(e).find(i=>i.step.id===t);if(r===void 0)throw new Error(`${n}: the slide has no animation with id ${t}.`);if(!r.step.editable)throw new Error(`${n}: animation ${t} ${ZZ}.`);let a=Lp(e),l=a===null?-1:a.steps.findIndex(i=>i.cTn===r.cTn);if(a===null||l<0)throw new Error(`${n}: ${KZ}.`);return{layout:a,index:l,node:r,parByCTn:new Map(a.steps.map(i=>[i.cTn,i.par]))}},Ux=(e,t,n,r,a)=>{let l=Pp(e);for(let i of t)if(!n.has(i)&&l.has(i))throw new Error(`${a}: another time node on this slide starts from ${r} (<p:tn val="${i}">), so removing it would leave that condition waiting on nothing.`)},Hx=(e,t)=>{for(let n of e.children){if(n.kind!=="element")continue;let r=m(n,o("p","nvSpPr",d.pml)),a=r===null?null:m(r,o("p","cNvPr",d.pml));if(a!==null&&x(a,o("","id",""))===t)return n;let l=Hx(n,t);if(l!==null)return l}return null},JZ=(e,t)=>{let n=Hx(e[te].root,String(t)),r=n===null?null:m(n,o("p","txBody",d.pml));return r===null?0:r.children.filter(a=>a.kind==="element"&&a.name.namespaceURI===d.dml&&a.name.localName==="p").length},QZ=(e,t)=>{let n=e.step.target;if(n.kind!=="paragraphs")return null;if(n.firstParagraph!==n.lastParagraph)throw new Error(`${t}: animation ${e.step.id} covers paragraphs ${n.firstParagraph}-${n.lastParagraph} at once, which this library cannot rewrite one paragraph at a time. Remove it and add the effects you want instead.`);return n.firstParagraph},$x=(e,t,n,r,a,l)=>{let i=e.step.target.shapeId,s=nl(i,t,n),c=Lp(s).steps[0];return cN(c.par,l.next-5),l.next=yx(c.par)+1,r!==null&&U3(c.cTn,"id",String(r)),a!==null&&U3(c.cTn,"grpId",a),c},U3=(e,t,n)=>{e.attrs=e.attrs.map(r=>r.name.namespaceURI===""&&r.name.localName===t?{...r,value:n}:r)},eK=(e,t,n)=>{let r=gd(n.cTn,n.step.target.shapeId),a=new Set(t.steps.map(l=>l.cTn));return il(e).filter(l=>a.has(l.cTn)&&l.step.target.kind==="paragraphs"&&l.step.target.shapeId===n.step.target.shapeId&&gd(l.cTn,l.step.target.shapeId)===r)},G3=["asOneObject","allAtOnce","byParagraph"],z3=(e,t,n)=>{let r="updateSlideAnimation";Gx(e,r,a=>{let{layout:l,index:i,node:s,parByCTn:c}=qx(a,t,r),p=l.steps[i],u=QZ(s,r),f=u===null?"asOneObject":s.step.build==="allAtOnce"?"allAtOnce":"byParagraph",y=n.build??f;if(!G3.includes(y))throw new RangeError(`${r}: build ${JSON.stringify(y)} is not one of ${G3.join(", ")}.`);let g=n.start??p.start,S=s.step.target.shapeId,E=fd(a),A=n.effect??s.step.effect,T=xo(A);if(T==="none"&&y!=="asOneObject")throw new RangeError(`${r}: ${JSON.stringify(A)} animates the shape itself, so it has no text build.`);let w=yo(A),v=me=>{if(n[me]!==void 0)return n[me];let we=s.step[me],Ne=w[me];return we!==null&&Ne?.includes(we)===!0?we:void 0},C=vs(A,{direction:v("direction"),orientation:v("orientation"),inOut:v("inOut"),shape:v("shape"),spokes:v("spokes")},`${r}: animation ${t}`),R=new Set(Es(A)),N=me=>n[me]!==void 0?n[me]:R.has(me)?s.step[me]??void 0:void 0,_=As(A,Object.fromEntries(bs.map(me=>[me,N(me)])),`${r}: animation ${t}`),k=n.effect!==void 0&&n.effect!==s.step.effect,I=k||VZ.some(me=>C[me]!==s.step[me])||bs.some(me=>!WZ(_[me],s.step[me]))||y!==f,K=new Set([s.cTn]),re,Se=null;if(I){if(!Sx(p.par,s.step.effect))throw new Error(`${r}: animation ${t} ${H3}.`);let me=n.durationMs??(k?null:s.step.durationMs),we=n.delayMs??s.step.delayMs,Ne=me===null||rg(A)===null?{}:{durationMs:me},Xe=ve=>({effect:A,...zZ(C,_),...Ne,...we===null?{}:{delayMs:we},start:ve}),ze=Hx(e[te].root,String(S)),wn=ze!==null&&Rp(ze),Et=x(s.cTn,HZ),xt=T==="none"?null:Et??String(pN(a)+1),it=ve=>({paragraph:ve,build:y,background:wn}),rt=f==="asOneObject"?[s]:eK(a,l,s);if(y!==f&&rt.length>1){let ve=rt.map(at=>c.get(at.cTn));if(!rt.every((at,vn)=>Sx(ve[vn],at.step.effect)))throw new Error(`${r}: animation ${t} ${H3}.`);let Lt=new Set(ve.flatMap(at=>[...Qr(at)]));Ux(a,Lt,new Set([String(t)]),"a paragraph of this build",r),K=new Set(rt.map(at=>at.cTn))}else Ux(a,Qr(p.par),new Set([String(t)]),`a behaviour of animation ${t}`,r);if(y===f)re=[$x(s,Xe(g),it(u),t,xt,E)];else if(y==="asOneObject")re=[$x(s,Xe(g),it(null),t,xt,E)];else{let ve=JZ(e,S);if(ve===0)throw new Error(`${r}: build ${JSON.stringify(y)} needs a shape with text. Shape ${S} has no paragraphs to build.`);re=Array.from({length:ve},(Lt,at)=>$x(s,Xe(at>0&&y==="allAtOnce"?"withPrevious":g),it(at),at===0?t:null,xt,E))}xt===null?Se=gd(s.cTn,S):mN(a,S,xt,y,T==="shape"&&wn)}else{if(n.delayMs!==void 0&&!xT(s.cTn,q3(n.delayMs,`${r}: delayMs`)))throw new Error(`${r}: animation ${t} ${tK}.`);if(n.durationMs!==void 0&&!Vc(s.cTn,q3(n.durationMs,`${r}: durationMs`)))throw new Error(`${r}: animation ${t} ${nK}.`);re=[{...p,start:g}]}let Ce=l.steps.flatMap(me=>me.cTn===s.cTn?re:K.has(me.cTn)?[]:[me]);if(!hd(a,l,Ce,E))throw new Error(`${r}: ${Vx}`);Se!==null&&xx(a,new Set([Se]))})},q3=(e,t)=>la(e,t),tK="does not start at a plain offset \u2014 its start condition ties it to something else, so a delay would not mean what you asked for",nK="has no length to scale \u2014 it holds until the end of the slide, or one of its behaviours runs for a length this library cannot read. Change the effect instead, or leave its timing as it is",H3="carries timing this library did not author, and changing its preset or its paragraph build would replace the effect and lose that. Remove it and add the effect you want instead",Vx="an effect set to start after the one before it now follows one whose length this library cannot measure, so there is no moment to start it at. Give that effect a duration, or start this one on click.",W3=(e,t)=>{let n="removeSlideAnimation";Gx(e,n,r=>{let{layout:a,node:l,parByCTn:i}=qx(r,t,n),s=gd(l.cTn,l.step.target.shapeId);Ux(r,Qr(i.get(l.cTn)),new Set,`animation ${t}`,n);let c=a.steps.filter(p=>p.cTn!==l.cTn);if(!hd(r,a,c,fd(r)))throw new Error(`${n}: ${Vx}`);xx(r,new Set([s]))})},Y3=(e,t,n)=>{let r="moveSlideAnimation";Gx(e,r,a=>{let l=qx(a,t,r),{layout:i}=l;if(!Number.isInteger(n)||n<0||n>=i.steps.length)throw new Error(`${r}: index ${n} is outside the slide's ${i.steps.length} main-sequence animations.`);let s=[...i.steps],[c]=s.splice(l.index,1);if(s.splice(n,0,c),!hd(a,i,s,fd(a)))throw new Error(`${r}: ${Vx}`)})},zx=(e,t)=>{let n=ol(e);if(n===null||t.size===0)return V3;let r=he(n),a=il(r);if(a.find(g=>g.step.targetShapeIds.some(S=>t.has(S))&&g.step.targetShapeIds.some(S=>!t.has(S)))!==void 0)throw new Error(`${zp}: one animation on this slide drives both this shape and a shape that is staying, and this library cannot take one of them out of it. Remove that animation first with removeSlideAnimation.`);let i=new Set(a.filter(g=>g.step.targetShapeIds.some(S=>t.has(S))).map(g=>g.cTn)),s=Qr(r),c=hN(r,t,i,zp),p=Qr(r),u=[...Pp(r)].find(g=>!p.has(g)&&s.has(g));if(u!==void 0)throw new Error(`${zp}: another animation on this slide is timed against one of this shape's effects (<p:tn val="${u}">). Remove that animation first, or the file would be left waiting on a time node that is gone.`);let f=rK(r),y=[...t].find(g=>f.has(String(g)));if(y!==void 0)throw new Error(`${zp}: the slide's animation timing refers to shape ${y} in a way this library does not model, so removing the shape would leave that reference dangling. Clear the slide's animations first with clearSlideAnimations.`);return c?()=>{let g=e[te].root.children,S=g.indexOf(n);S<0||(bx(r)?g.splice(S,1):g[S]=r)}:V3},V3=()=>{},zp="removeShape",rK=e=>{let t=tn(e),n=new Set;if(t===null)return n;for(let r of t.children)if(!(r.kind!=="element"||hr(r)))for(let a of gN(r))n.add(a);return n};var Z3=(e,t,n={})=>{let r=t[X],a=t[F],l=Wx(a);if(n.preserveGroupTransform){let u=pa(r),f=new Map,y=[u];for(;y.length;){let E=y.pop();for(let A of E.children)A.kind!=="element"||!Pr(A)||(f.set(A,E),A.name.localName==="grpSp"&&y.push(A))}let g=a,S=f.get(g);for(;S&&S!==u;){let E=Wx({...S,children:S.children.filter(T=>!Pr(T))}),A=S.children.slice(0,S.children.indexOf(g)).filter(T=>!Pr(T)).length;E.children.splice(A,0,l),l=E,g=S,S=f.get(g)}}let i=wt(e),s=aK(l,i),c=$N(r,e,s);Ci(r,e,l,"copyShape"),c();let p=u=>{if(u.name.namespaceURI===d.pml&&u.name.localName==="pic"){let f=fs(u),y=m(u,o("p","nvPicPr",d.pml)),g=y&&m(y,o("p","cNvPr",d.pml));f&&g&&rm(e,f.kind,Number(x(g,o("","id",""))))}for(let f of u.children)f.kind==="element"&&p(f)};return p(l),kn(e,l)},Wx=e=>({kind:"element",name:e.name,attrs:e.attrs.map(t=>({name:t.name,value:t.value})),prefixDecls:new Map(e.prefixDecls),children:e.children.map(t=>t.kind==="element"?Wx(t):{...t})}),aK=(e,t)=>{let n=new Map,r=t,a=(l,i)=>{l.name.namespaceURI===(i?d.dml:d.pml)&&(i?["stCxn","endCxn"].includes(l.name.localName):l.name.localName==="cNvPr")&&(l.attrs=l.attrs.map(s=>{if(s.name.namespaceURI!==""||s.name.localName!=="id")return s;if(i)return{...s,value:n.get(s.value)??s.value};let c=String(r++);return n.set(s.value,c),{...s,value:c}}));for(let s of l.children)s.kind==="element"&&a(s,i)};return a(e,!1),a(e,!0),n},lK=new Set(["sp","pic","cxnSp","graphicFrame","grpSp"]),Pr=e=>e.kind==="element"&&e.name?.namespaceURI===d.pml&&lK.has(e.name.localName),K3=e=>{Wp(e,"front")},J3=e=>{Wp(e,"back")},Q3=e=>{Wp(e,"forward")};function Wp(e,t){let n=F in e?[e]:e,r=n[0];if(!r)return;let a=ha(r);if(!a)return;let l=r[X],i=new Set(n.map(f=>f[F])),s=a.children.filter(f=>Pr(f)),c=new Set(s);if(n.some(f=>f[X]!==l||!c.has(f[F])))throw new Error("Shapes must belong to the same parent container.");let p=[...s];if(t==="front"||t==="back"){let f=s.filter(g=>i.has(g)),y=s.filter(g=>!i.has(g));p=t==="front"?[...y,...f]:[...f,...y]}else if(t==="forward")for(let f=p.length-2;f>=0;f--)i.has(p[f])&&!i.has(p[f+1])&&([p[f],p[f+1]]=[p[f+1],p[f]]);else for(let f=1;f<p.length;f++)i.has(p[f])&&!i.has(p[f-1])&&([p[f-1],p[f]]=[p[f],p[f-1]]);if(p.every((f,y)=>f===s[y]))return;let u=0;a.children=a.children.map(f=>Pr(f)?p[u++]:f),ce(l),Vn(l)}var ek=e=>{let t=ha(e);if(!t)return-1;let n=0;for(let r of t.children)if(Pr(r)){if(r===e[F])return n;n++}return-1},tk=(e,t)=>{let n=F in e?[e]:e,r=n[0];if(!r)return;let a=ha(r);if(!a)return;let l=r[X],i=a.children.filter(S=>Pr(S)),s=new Set(i),c=n.map(S=>S[F]),p=new Set(c);if(p.size!==c.length)throw new Error("Duplicate shapes are not allowed.");if(n.some(S=>S[X]!==l||!s.has(S[F])))throw new Error("Shapes must belong to the same parent container.");let u=i.filter(S=>!p.has(S)),f=Math.max(0,Math.min(t,u.length)),y=[...u.slice(0,f),...c,...u.slice(f)];if(y.every((S,E)=>S===i[E]))return;let g=0;a.children=a.children.map(S=>Pr(S)?y[g++]:S),ce(l),Vn(l)},nk=e=>{Wp(e,"backward")},rk=e=>{let t=pa(e),n=new Set;for(let a of t.children)a.kind==="element"&&Pr(a)&&Yx(a,n);let r=zx(e,n);t.children=t.children.filter(a=>!Pr(a)),r(),Ig(e,n),ce(e),Vn(e)},ak=e=>{let t=e[X],n=ha(e);if(!n)return;let r=n.children.indexOf(e[F]);if(r<0)return;let a=new Set;Yx(e[F],a);let l=zx(t,a);n.children.splice(r,1),l(),Ig(t,a),ce(t),Vn(t)},Yx=(e,t)=>{if(e.name.namespaceURI===d.pml&&e.name.localName==="cNvPr"){let n=Number.parseInt(x(e,o("","id",""))??"",10);Number.isFinite(n)&&t.add(n);return}for(let n of e.children)n.kind==="element"&&Yx(n,t)};var lk=(e,t)=>{let n=eh({id:wt(e),...t.name!==void 0?{name:t.name}:{},x:t.x,y:t.y,w:t.w,h:t.h,text:t.text});return kn(e,n)},ok=(e,t)=>{let n=th({id:wt(e),...t.name!==void 0?{name:t.name}:{},preset:t.preset,x:t.x,y:t.y,w:t.w,h:t.h,...t.text!==void 0?{text:t.text}:{},...t.textAnchor!==void 0?{textAnchor:t.textAnchor}:{}});return kn(e,n)},ik=(e,t)=>{let n=nh({id:wt(e),...t.name!==void 0?{name:t.name}:{},from:t.from,to:t.to,...t.color!==void 0?{color:t.color}:{},...t.widthEmu!==void 0?{widthEmu:t.widthEmu}:{}});return kn(e,n)},sk=(e,t)=>{let n=xl(e),r=oh({id:wt(e),...t.name!==void 0?{name:t.name}:{},x:t.x,y:t.y,w:t.w,h:t.h,rows:t.rows,...t.colWidths!==void 0?{colWidths:t.colWidths}:{},...t.rowHeights!==void 0?{rowHeights:t.rowHeights}:{},...t.firstRow!==void 0?{firstRow:t.firstRow}:{},...t.bandRow!==void 0?{bandRow:t.bandRow}:{},...n!==null?{textColorHex:n}:{}});return Gm(e[L],oo),kn(e,r)},dk=(e,t,n)=>{let r=e[L],a=n.format??ut(t);if(a===null)throw new Error("addSlideImage: could not detect image format. Pass options.format explicitly.");let l=yn(a),i=gn(a),s=1,c=/^\/ppt\/media\/image(\d+)\./;for(let E of r.parts){let A=E.name.match(c);if(A?.[1]!==void 0){let T=Number.parseInt(A[1],10);Number.isFinite(T)&&T>=s&&(s=T+1)}}let p=G(`/ppt/media/image${s}.${i}`);r.contentTypes.defaults.some(E=>E.extension.toLowerCase()===i)||r.contentTypes.defaults.push({extension:i,contentType:l}),r.addPart(p,l,t);let f=r.getRels(e[O])??pe(),y=se(f.items.map(E=>E.id));f.items.push({id:y,type:D.image,target:`../media/image${s}.${i}`,targetMode:"Internal"}),r.setRels(e[O],f);let g=Wg({x:n.x,y:n.y,w:n.w,h:n.h},n.fit??"fill",Ya(t)),S=us({id:wt(e),...n.name!==void 0?{name:n.name}:{},rEmbed:y,x:g.x,y:g.y,w:g.w,h:g.h});return kn(e,S)};var Yp=(e,t,n)=>{let r=$(V(n)),a=ao(r.root),l=[],i={[L]:e,[O]:t,[te]:r,[Qt]:a,[ne]:l};for(let s of a.shapes)l.push({[X]:i,[F]:s.element,[U]:s});return i},ck=(e,t)=>e[ne][t]??null,mk=e=>{let t=e._slidesCache;if(t!==null)return t.length;let r=e[L].getPart(Y);if(!r)return 0;let a=$(V(r.data)).root;return Jt(a).slides.length},pk=e=>{let t=e[L],n=0;for(let r of t.parts)r.contentType===rl&&n++;return n},z=e=>{let t=e._slidesCache;return t!==null?t:Pi(e)},Pi=e=>{let t=new Map((e._slidesCache??[]).map(p=>[p[O],p])),n=e[L],r=n.getPart(Y);if(r===null){let p=[];return e._slidesCache=p,p}let a=n.getRels(Y);if(a===null){let p=[];return e._slidesCache=p,p}let l=$(V(r.data)).root,i=Jt(l),s=[],c=new Map(a.items.map(p=>[p.id,p]));for(let p of i.slides){let u=c.get(p.rId);if(!u)throw new Error(`presentation.xml.rels missing entry for ${p.rId}`);let f=H(Y,u.target),y=n.getPart(f);if(y===null)throw new Error(`slide part ${f} not found`);s.push(t.get(f)??Yp(n,f,y.data))}return e._slidesCache=s,s},Zx=e=>jr(e[Qt]),uk=e=>Array.from(Zx(e)).length,Kx=e=>{let t=[],n=z(e);for(let r=0;r<n.length;r++){let a=n[r],l=Pt(a,"body");t.push({index:r,title:hi(a),body:l!==null?l[U].text:null})}return t},fk=(e,t=`
|
|
30
|
-
|
|
31
|
-
`)=>{let n=[];for(let r of Kx(e)){let a=[];r.title!==null&&a.push(r.title),r.body!==null&&a.push(r.body),a.length>0&&n.push(a.join(`
|
|
32
|
-
`))}return n.join(t)},hk=(e,t="\f")=>{let n=[];for(let r of z(e))n.push(jr(r[Qt]));return n.join(t)},gk=e=>{let t=0;for(let n of z(e))t+=Array.from(jr(n[Qt])).length;return t},yk=e=>z(e).map(t=>t[ne].length),xk=e=>z(e).map(t=>Array.from(jr(t[Qt])).length),Jx=(e,t)=>t[L]!==e[L]?-1:z(e).findIndex(n=>n[O]===t[O]),Sk=(e,t)=>z(e)[t]??null,bk=(e,t)=>{let n=Te(t);return{index:Jx(e,t),title:hi(t),hidden:Ea(t),shapeCount:sn(t).length,layoutName:n?n[ue].name:null}},Ek=(e,t)=>{let n=t[de],r=[];for(let a of z(e)){let l=Te(a);l!==null&&l[de]===n&&r.push(a)}return r},Ak=(e,t)=>{for(let n of z(e)){let r=hi(n);if(r===null)continue;if(typeof t=="string"?r===t:t.test(r))return n}return null},Qx=(e,t)=>{for(let n of z(e))if(n[O]===t)return n;return null},Td=e=>e[O],Tk=e=>ae(e[te]),wk=(e,t)=>{for(let n of z(e)){let r=jr(n[Qt]);if(typeof t=="string"?r.includes(t):t.test(r))return n}return null},vk=(e,t)=>{let n=[];for(let r of z(e)){let a=jr(r[Qt]);(typeof t=="string"?a.includes(t):t.test(a))&&n.push(r)}return n},Ck=(e,t)=>{let n=[];for(let r of z(e)){let a=Xn(r);a===null||a.length===0||(typeof t=="string"?a.includes(t):t.test(a))&&n.push(r)}return n},Pk=(e,t)=>{let n=a=>typeof t=="string"?a.includes(t):t.test(a),r=[];for(let a of z(e)){if(n(jr(a[Qt]))){r.push(a);continue}let l=Xn(a);l!==null&&l.length>0&&n(l)&&r.push(a)}return r},Lk=(e,t,n)=>{let r=0;for(let a of z(e))e1(a,t,n)&&r++;return r},e1=(e,t,n)=>{let r=Xn(e);if(r===null||r.length===0)return!1;let a;if(typeof t=="string"){if(!r.includes(t))return!1;a=r.split(t).join(n)}else{let l=t.global?t:new RegExp(t.source,`${t.flags}g`);if(!l.test(r))return!1;l.lastIndex=0,a=r.replace(l,n)}return a===r?!1:(Ll(e,a),!0)},Rk=e=>{let t=[],n=z(e);for(let r=0;r<n.length;r++){let a=n[r];for(let l of sn(a))t.push({slide:a,slideIndex:r,shape:l})}return t},Nk=o("","show",""),Ea=e=>x(e[te].root,Nk)==="0",t1=o("","showMasterSp",""),$m=e=>{let t=x(e[te].root,t1);return t==="0"||t==="false"},Dk=e=>{let t=x(e[ot].root,t1);return t==="0"||t==="false"},Um=(e,t)=>{let n=e[te].root;n.attrs=n.attrs.filter(r=>!(r.name.namespaceURI===""&&r.name.localName==="showMasterSp")),t&&n.attrs.push(b(t1,"0")),ce(e)},_k=e=>Ns(e).length>0,kk=(e,t)=>{let n=e[te].root;n.attrs=n.attrs.filter(r=>!(r.name.namespaceURI===""&&r.name.localName==="show")),t&&n.attrs.push(b(Nk,"0")),ce(e)},Mk=(e,t)=>{let n=e[L],r=0;for(let a of n.parts){if(a.contentType!==al)continue;let l=$(V(a.data)),i=Yi(l.root,t);i>0&&(a.data=le(ae(l)),r+=i)}return e._slidesCache=null,r},Fk=(e,t,n)=>{let r=e[L],a=0;for(let l of r.parts){if(l.contentType!==al)continue;let i=$(V(l.data)),s=tc(i.root,t,n);s>0&&(l.data=le(ae(i)),a+=s)}return e._slidesCache=null,a},Ik=(e,t,n)=>{let r=tc(e[te].root,t,n);return r>0&&(ce(e),ge(e)),r};var oK="application/vnd.openxmlformats-officedocument.presentationml.commentAuthors+xml",iK="application/vnd.openxmlformats-officedocument.presentationml.comments+xml",wd=(e,t,n)=>{let r=e.getRels(t)?.items.find(a=>a.type===n&&a.targetMode!=="External");return r?H(t,r.target):null},Zp=e=>wd(e[L],e[O],D.comments),Kp=(e,t)=>{let n=G(`${t}.xml`),r=1;for(;e.getPart(n);)n=G(`${t}-${r++}.xml`);return n},r1=e=>{let t=wd(e,Y,D.commentAuthors),n=t?e.getPart(t):null;return n===null?[]:og($(V(n.data)).root).authors.slice()},Bk=(e,t,n,r,a)=>{let l=new Map(t.root.children.filter(c=>c.kind==="element").map(c=>[r(c),c]));e.root.children=e.root.children.filter(c=>{if(c.kind!=="element"||c.name.namespaceURI!==d.pml||c.name.localName!==n)return!0;let p=l.get(r(c));if(!p)return!1;if(l.delete(r(c)),a)for(let u of p.attrs){let f=c.attrs.findIndex(y=>or(y.name,u.name));f<0?c.attrs.push(u):c.attrs[f]={...c.attrs[f],value:u.value}}return!0});let i=[...l.values()];for(let c of i)c.prefixDecls.set("p",d.pml);let s=e.root.children.findIndex(c=>c.kind==="element"&&c.name.namespaceURI===d.pml&&c.name.localName==="extLst");return e.root.children.splice(s<0?e.root.children.length:s,0,...i),e},sK=(e,t)=>{let n=sg(t),r=le(ae(n)),a=wd(e,Y,D.commentAuthors)??Kp(e,"/ppt/commentAuthors"),l=e.getPart(a);if(l!==null){let c=Bk($(V(l.data)),n,"cmAuthor",p=>x(p,o("","id",""))??"",!0);l.data=le(ae(c));return}e.addPart(a,oK,r);let i=e.getRels(Y)??pe();i.items.some(c=>c.type===D.commentAuthors&&c.targetMode!=="External")||(i.items.push({id:se(i.items.map(c=>c.id)),type:D.commentAuthors,target:a,targetMode:"Internal"}),e.setRels(Y,i))},Jp=e=>{let t=e[L],n=Zp(e),r=n?t.getPart(n):null;return r===null?[]:ig($(V(r.data)).root).comments.slice()},a1=(e,t)=>{let n=e[L],r=Zp(e),a=e[O].match(/slide(\d+)\.xml$/)?.[1]??"1",l=r??Kp(n,`/ppt/comments/comment${a}`);if(t.length===0){n.getPart(l)!==null&&n.removePart(l);let f=n.getRels(e[O]);if(f!==null){let y=f.items.length;f.items=f.items.filter(g=>g.type!==D.comments),f.items.length!==y&&n.setRels(e[O],f)}return}let i=dg(t),s=le(ae(i)),c=n.getPart(l);if(c!==null){let f=Bk($(V(c.data)),i,"cm",y=>`${x(y,o("","authorId",""))}:${x(y,o("","idx",""))}`,!1);c.data=le(ae(f));return}n.addPart(l,iK,s);let p=n.getRels(e[O])??pe();p.items.some(f=>f.type===D.comments&&f.targetMode!=="External")||(p.items.push({id:se(p.items.map(f=>f.id)),type:D.comments,target:l,targetMode:"Internal"}),n.setRels(e[O],p))},Na=e=>`${e.authorId}:${e.idx}`,n1=(e,t,n)=>({[bo]:null,[Dn]:e,[Tt]:t,[en]:null,author:n}),dK=e=>`/ppt/comments/modernComment${e[O].match(/slide(\d+)\.xml$/)?.[1]??"1"}`,l1=e=>wd(e,Y,D.authors),o1=e=>wd(e[L],e[O],D.modernComment),Ok=e=>{let t=l1(e),n=t?e.getPart(t):null;return n===null?[]:yg($(V(n.data)).root)},vd=e=>{let t=o1(e),n=t?e[L].getPart(t):null;return n===null?null:{part:n,doc:$(V(n.data))}},Cd=(e,t)=>{if(tm(t.doc.root).length===0){let n=e[L],r=o1(e);r!==null&&n.removePart(r);let a=n.getRels(e[O]);if(a!==null){let l=a.items.length;a.items=a.items.filter(i=>i.type!==D.modernComment),a.items.length!==l&&n.setRels(e[O],a)}return}t.part.data=le(ae(t.doc))},cK=(e,t)=>{let n=l1(e),r=n?e.getPart(n):null;if(r!==null){let i=$(V(r.data));i.root.children.push(em(t)),r.data=le(ae(i));return}let a=Kp(e,"/ppt/authors");e.addPart(a,ug,le(ae(Tg([t]))));let l=e.getRels(Y)??pe();l.items.push({id:se(l.items.map(i=>i.id)),type:D.authors,target:a,targetMode:"Internal"}),e.setRels(Y,l)},mK=(e,t)=>{let n=t.initials??(t.name.length>0?t.name.charAt(0):"?"),r=Ok(e).find(l=>l.name===t.name&&(l.initials??"")===n);if(r)return r;let a={id:Bi(),name:t.name,initials:n,userId:"",providerId:""};return cK(e,a),a},pK=e=>{let t=m(e[te].root,o("p","extLst",d.pml));if(t===null)return null;for(let n of Q(t,o("p","ext",d.pml))){if(x(n,o("","uri",""))!==mg)continue;let r=m(n,o("p14","creationId",cg)),a=r&&x(r,o("","val","")),l=a==null?Number.NaN:Number.parseInt(a,10);if(Number.isFinite(l))return l}return null},uK=e=>{let t=e[L],n=t.getPart(Y),r=t.getRels(Y);if(n===null||r===null)return null;let a=r.items.find(i=>i.type===D.slide&&i.targetMode!=="External"&&H(Y,i.target)===e[O]);if(!a)return null;let l=m($(V(n.data)).root,o("p","sldIdLst",d.pml));if(l===null)return null;for(let i of Q(l,o("p","sldId",d.pml))){if(x(i,o("r","id",d.officeDocRels))!==a.id)continue;let s=Number.parseInt(x(i,o("","id",""))??"",10);return Number.isFinite(s)?s:null}return null},fK=(e,t)=>{for(let a of tm(t)){let l=Dg(a);if(l!==null)return he(l)}let n=pK(e),r=uK(e);return n===null||r===null?vg():wg(n,r)},hK=e=>{let t=vd(e);if(t!==null)return t;let n=e[L],r=Kp(n,dK(e)),a=Rg([]);n.addPart(r,pg,le(ae(a)));let l=n.getRels(e[O])??pe();l.items.push({id:se(l.items.map(s=>s.id)),type:D.modernComment,target:r,targetMode:"Internal"}),n.setRels(e[O],l);let i=n.getPart(r);if(i===null)throw new Error("addSlideComment: the new comment part went missing");return{part:i,doc:a}},i1=e=>r1(e[L]),Xk=(e,t)=>{let n=typeof t=="string"?a=>a===t:a=>t.test(a),r=[];for(let a of z(e))Vt(a).some(l=>n(l.author.name))&&r.push(a);return r},jk=e=>{let t=new Set,n=[];for(let r of z(e))for(let a of Vt(r))t.has(a.author.id)||(t.add(a.author.id),n.push(a.author));return n},$k=e=>{let t={};for(let n of z(e))for(let r of Vt(n)){let a=r.author.name;t[a]=(t[a]??0)+1}return t},Uk=e=>z(e).map(n=>Vt(n).length),Gk=(e,t)=>{for(let n of i1(e))if(typeof t=="string"?n.name===t:t.test(n.name))return n;return null},qk=(e,t)=>{let n=[];for(let r of z(e))for(let a of Vt(r))(typeof t=="string"?a.author.name===t:t.test(a.author.name))&&n.push(a);return n},Hk=(e,t)=>{let n=[];for(let r of z(e))for(let a of Vt(r)){let l=a[Tt].text;(typeof t=="string"?l.includes(t):t.test(l))&&n.push(a)}return n},Vk=(e,t)=>{let n=typeof t=="string"?Date.parse(t):t.getTime();if(Number.isNaN(n))return[];let r=[];for(let a of z(e))for(let l of Vt(a)){let i=l[Tt].dt;if(i===null)continue;let s=Date.parse(i);Number.isNaN(s)||s>n&&r.push(l)}return r},zk=(e,t)=>{let n=typeof t=="string"?Date.parse(t):t.getTime();if(Number.isNaN(n))return[];let r=[];for(let a of z(e))for(let l of Vt(a)){let i=l[Tt].dt;if(i===null)continue;let s=Date.parse(i);Number.isNaN(s)||s<n&&r.push(l)}return r},gK=e=>{let t=[];for(let n of z(e))for(let r of Vt(n)){let a=r[Tt].dt;if(a===null)continue;let l=Date.parse(a);Number.isNaN(l)||t.push({comment:r,t:l})}return t},Wk=e=>{let t=[...gK(e)];return t.sort((n,r)=>n.t-r.t),t.map(n=>n.comment)},Yk=e=>{let t=new Set,n=[];for(let r of Vt(e))t.has(r.author.id)||(t.add(r.author.id),n.push(r.author));return n},s1=e=>{let t=vd(e);if(t===null)return[];let n=Ok(e[L]),r=new Map(n.map((s,c)=>[s.id,c])),a=[],l=0,i=(s,c,p,u)=>{let f=r.get(c.authorId)??-1,y=n[f];return l+=1,{[bo]:u,[Dn]:e,[Tt]:{...u?{parent:{authorId:-1,idx:-1}}:{},authorId:f,idx:l,dt:c.created,text:c.text,position:p},[en]:{threadId:s.id,id:c.id,status:c.status,authorId:c.authorId},author:{id:f,name:y?.name??"",initials:y?.initials??"",lastIdx:0,clrIdx:null}}};for(let s of xg(t.doc.root)){let c=i(s,s,s.position,null);a.push(c);for(let p of s.replies)a.push(i(s,p,null,c))}return a},Vt=e=>{let t=e[L],n=r1(t),r=new Map;for(let s of n)r.set(s.id,s);let a=Jp(e),l=[];for(let s of a){let c=r.get(s.authorId);if(!c){l.push(n1(e,s,{id:s.authorId,name:"",initials:"",lastIdx:s.idx,clrIdx:null}));continue}l.push(n1(e,s,c))}let i=new Map(l.map(s=>[Na(s[Tt]),s]));for(let s of l){let c=s[Tt].parent;s[bo]=c?i.get(Na(c))??null:null}return[...l,...s1(e)]},yK=(e,t)=>{let n=e[L],r=(t.date??new Date).toISOString(),a=mK(n,t.author),l=hK(e),i=Bi(),s=t.replyTo?.[en]??null;if(s!==null){let p=Qc(l.doc.root,s.threadId);if(p===null)throw new Error("addSlideComment: reply parent must exist on this slide");Lg(p,Pg({id:i,authorId:a.id,created:r,text:t.text}))}else l.doc.root.children.push(Cg({id:i,authorId:a.id,created:r,text:t.text,anchor:fK(e,l.doc.root),...t.position?{position:t.position}:{}}));Cd(e,l);let c=s1(e).find(p=>p[en]?.id===i);if(!c)throw new Error("addSlideComment: the new comment did not come back");return c},Zk=(e,t)=>{if(t.replyTo&&t.replyTo[Dn]!==e)throw new Error("addSlideComment: reply parent must exist on this slide");if(t.replyTo!==void 0?t.replyTo[en]!==null:o1(e)!==null||Zp(e)===null&&l1(e[L])!==null)return yK(e,t);let r=Jp(e),a=t.replyTo?.[Tt];if(t.replyTo&&!r.some(E=>Na(E)===Na(a)))throw new Error("addSlideComment: reply parent must exist on this slide");let l=(t.date??new Date).toISOString(),i=e[L],s=t.author.initials??(t.author.name.length>0?t.author.name.charAt(0):"?"),c=r1(i),p=c.find(E=>E.name===t.author.name&&E.initials===s);if(!p){let E=-1;for(let A of c)A.id>E&&(E=A.id);p={id:E+1,name:t.author.name,initials:s,lastIdx:0,clrIdx:null},c.push(p)}let u=p.lastIdx+1,f={...p,lastIdx:u},y=c.map(E=>E.id===p.id?f:E);sK(i,y);let g={...a?{parent:{authorId:a.authorId,idx:a.idx}}:{},authorId:f.id,idx:u,dt:l,text:t.text,position:t.position??Yc};r.push(g),a1(e,r);let S=n1(e,g,f);return S[bo]=t.replyTo??null,S},Kk=(e,t)=>{let n=e[en];if(n===null)throw new Error(`${t}: not a modern comment`);let r=vd(e[Dn]),a=r===null?null:Qc(r.doc.root,n.threadId);if(r===null||a===null)throw new Error(`${t}: comment no longer exists`);let l=n.id===n.threadId?a:Sg(a,n.id);if(l===null)throw new Error(`${t}: comment no longer exists`);return{open:r,element:l}},Jk=(e,t)=>{if(e[en]!==null){let{open:p,element:u}=Kk(e,"setCommentText");Ag(u,t),Cd(e[Dn],p),e[Tt]={...e[Tt],text:t};return}let n=e[Dn],r=e[Tt],a=Zp(n),l=a?n[L].getPart(a):null;if(!l)throw new Error("setCommentText: comment no longer exists");let i=$(V(l.data)),s=i.root.children.find(p=>p.kind==="element"&&p.name.namespaceURI===d.pml&&p.name.localName==="cm"&&x(p,o("","authorId",""))===String(r.authorId)&&x(p,o("","idx",""))===String(r.idx));if(!s||s.kind!=="element")throw new Error("setCommentText: comment no longer exists");let c=s.children.find(p=>p.kind==="element"&&p.name.namespaceURI===d.pml&&p.name.localName==="text");if(!c||c.kind!=="element")throw new Error("setCommentText: comment text element is missing");c.children=[{kind:"text",data:t}],l.data=le(ae(i)),e[Tt]={...r,text:t}},Qk=e=>{let t=e[en];if(t!==null){let p=vd(e[Dn]);if(p===null)throw new Error("removeSlideComment: comment no longer exists");if(!Ng(p.doc.root,t.id))throw new Error("removeSlideComment: comment no longer exists");Cd(e[Dn],p);return}let n=e[Dn],r=e[Tt],a=Jp(n),l=new Map;for(let p of a)if(p.parent){let u=Na(p.parent),f=l.get(u)??[];f.push(Na(p)),l.set(u,f)}let i=new Set,s=[Na(r)];for(;s.length;){let p=s.pop();if(!i.has(p)){i.add(p);for(let u of l.get(p)??[])s.push(u)}}let c=a.filter(p=>!i.has(Na(p)));a1(n,c)},eM=e=>{let t=0;for(let n of z(e))t+=d1(n);return t},d1=e=>{let t=Jp(e);t.length>0&&a1(e,[]);let n=s1(e);if(n.length>0){let r=vd(e);r!==null&&(r.doc.root.children=[],Cd(e,r))}return t.length+n.length},tM=e=>e.author,nM=e=>e[Tt].text,rM=e=>e[Tt].dt,aM=e=>e[Tt].position,lM=e=>e[Dn],oM=e=>e[bo],iM=e=>e[en]===null?"legacy":"modern",sM=e=>e[en]?.status??null,dM=(e,t)=>{if(e[en]===null)throw new Error("setCommentStatus: this comment is in the ECMA-376 format, which cannot record a status");let{open:n,element:r}=Kk(e,"setCommentStatus");Eg(r,t),Cd(e[Dn],n),e[en]={...e[en],status:t}};var mM="application/vnd.openxmlformats-officedocument.presentationml.slideMaster+xml",xK="application/vnd.openxmlformats-officedocument.theme+xml",pM=o("p","sldMasterId",d.pml),Pd=o("p","sldLayoutIdLst",d.pml),eu=o("p","sldLayoutId",d.pml),p1=o("","name",""),uM=o("","preserve",""),SK=o("","showMasterSp",""),bK=2147483648,EK=4294967295,AK="Custom Design",TK="Custom Layout",wK={w:12192e3,h:6858e3},Ol=(e,t)=>t.startsWith("/")?G(t):H(e,t),u1=e=>{let t=Aa(e);return t?{w:t.width,h:t.height}:wK},ea=(e,t)=>{let n=Ra(e).find(r=>Rn(G(r),G(t)));if(n===void 0)throw new Error(`${t} is not a slide master of this presentation`);return G(n)},tu=(e,t,n)=>{let r=e.getRels(t)?.items??[],a=m(n,Pd);if(a===null)return[];let l=[];for(let i of Q(a,eu)){let s=r.find(c=>c.id===x(i,ct));s&&l.push(Ol(t,s.target))}return l},m1=(e,t)=>{let n=e.getPart(t);if(n===null)throw new Error(`slide layout part missing: ${t}`);let r=$(V(n.data));return{[L]:e,[de]:t,[ot]:r,[ue]:$r(r.root)}},fM=e=>{let t=new Map;for(let n of e.parts){if(n.contentType!==al)continue;let r=e.getRels(n.name)?.items.find(l=>l.type===D.slideLayout);if(!r)continue;let a=Ol(n.name,r.target).toLowerCase();t.set(a,(t.get(a)??0)+1)}return t},f1=(e,t)=>{let n=e.getRels(t)?.items.find(r=>r.type===D.theme);return n?Ol(t,n.target):null},hM=(e,t,n)=>{let r=bK-1,a=i=>{for(let s of i){let c=Number(x(s,qn));Number.isFinite(c)&&c>r&&(r=c)}},l=m(t,Xt);l&&a(Q(l,pM));for(let i of e.parts){if(i.contentType!==mM)continue;let s=m($(V(i.data)).root,Pd);s&&a(Q(s,eu))}if(r+n>EK)throw new Error("the presentation has run out of slide master and layout ids");return Array.from({length:n},(i,s)=>r+1+s)},gM=(e,t)=>{if(!t.has(e))return e;for(let n=1;;n++)if(!t.has(`${n}_${e}`))return`${n}_${e}`},yM=(e,t)=>{let n=e[L],r=ea(e,t);return tu(n,r,mt(n,r).doc.root).map(a=>m1(n,a))},xM=(e,t)=>{let n=e[L],{doc:r}=mt(n,ea(e,t));return qo(Ge(r.root,"sldMaster").shapes)},h1=(e,t)=>{let n=e[L],r=f1(n,ea(e,t));return r===null?"":x(mt(n,r).doc.root,p1)??""},SM=(e,t)=>{let{doc:n}=mt(e[L],ea(e,t)),r=x(n.root,uM);return r==="1"||r==="true"},bM=(e,t,n)=>{let r=e[L],a=f1(r,ea(e,t));if(a===null)throw new Error(`setSlideMasterName: ${t} has no theme`);let l=mt(r,a);nu(l.doc.root,p1,n),En(l)},EM=(e,t,n)=>{let r=mt(e[L],ea(e,t));nu(r.doc.root,uM,n?"1":null),En(r)},nu=(e,t,n)=>{e.attrs=e.attrs.filter(r=>!(r.name.namespaceURI===t.namespaceURI&&r.name.localName===t.localName)),n!==null&&e.attrs.push(b(t,n))},AM=e=>{let t=e[L],n=mt(t,Y),r=u1(e),a=wh(r),[l]=fa(t,"/ppt/slideMasters/slideMaster",1),i=fa(t,"/ppt/slideLayouts/slideLayout",a.length),[s]=fa(t,"/ppt/theme/theme",1),[c,...p]=hM(t,n.doc.root,1+a.length),u=new Set(Ra(e).map(T=>h1(e,T))),f=$(Jm);nu(f.root,p1,gM(AK,u)),t.addPart(s,xK,le(ae(f)));let y=pe(),g=i.map((T,w)=>{let v=`rId${w+1}`;return y.items.push({id:v,type:D.slideLayout,target:yr(l,T),targetMode:"Internal"}),t.addPart(T,rl,le(a[w])),t.setRels(T,TM(T,l)),{id:p[w],rId:v}});y.items.push({id:`rId${i.length+1}`,type:D.theme,target:yr(l,s),targetMode:"Internal"}),t.addPart(l,mM,le(Eh(r,g))),t.setRels(l,y);let S=t.getRels(Y)??pe(),E=se(S.items.map(T=>T.id));S.items.push({id:E,type:D.slideMaster,target:yr(Y,l),targetMode:"Internal"}),t.setRels(Y,S);let A=m(n.doc.root,Xt);return A===null&&(A=h(Xt),n.doc.root.children.unshift(A)),A.children.push(h(pM,{attrs:[b(qn,String(c)),b(ct,E)]})),En(n),l},TM=(e,t)=>({items:[{id:"rId1",type:D.slideMaster,target:yr(e,t),targetMode:"Internal"}]}),vK=(e,t)=>{let n=new Set;for(let r of e.parts){if(!r.name.endsWith(".rels"))continue;let a=CK(r.name);if(!(a===null||t.has(a.toLowerCase())))for(let l of e.getRels(a)?.items??[])l.targetMode!=="External"&&n.add(Ol(a,l.target).toLowerCase())}return n},CK=e=>{let t=/^(.*)\/_rels\/([^/]+)\.rels$/.exec(e);return t?.[2]?G(`${t[1]}/${t[2]}`):null},Qp=(e,t)=>{e.removePart(t),e.removePart(Dt(t))},wM=(e,t)=>{let n=e[L],r=ea(e,t);if(Ra(e).length<2)throw new Error("removeSlideMaster: a presentation needs at least one slide master");let a=mt(n,r),l=tu(n,r,a.doc.root),i=fM(n);if(l.some(g=>(i.get(g.toLowerCase())??0)>0))throw new Error("removeSlideMaster: slides still use this master");let s=f1(n,r),c=new Set([r,...l].map(g=>g.toLowerCase()));for(let g of l)Qp(n,g);Qp(n,r),s!==null&&!vK(n,c).has(s.toLowerCase())&&Qp(n,s);let p=n.getRels(Y)??pe(),u=p.items.find(g=>g.type===D.slideMaster&&Rn(Ol(Y,g.target),r));n.setRels(Y,{items:p.items.filter(g=>g!==u)});let f=mt(n,Y),y=m(f.doc.root,Xt);y&&u&&(y.children=y.children.filter(g=>g.kind!=="element"||x(g,ct)!==u.id)),En(f)},vM=(e,t,n={})=>{let r=e[L],a=ea(e,t),l=mt(r,a),i=tu(r,a,l.doc.root),s=new Set(i.map(w=>m1(r,w)[ue].name)),c=mt(r,Y),[p]=hM(r,c.doc.root,1),[u]=fa(r,"/ppt/slideLayouts/slideLayout",1);r.addPart(u,rl,le(vh(gM(TK,s),u1(e)))),r.setRels(u,TM(u,a));let f=r.getRels(a)??pe(),y=se(f.items.map(w=>w.id));f.items.push({id:y,type:D.slideLayout,target:yr(a,u),targetMode:"Internal"}),r.setRels(a,f);let g=m(l.doc.root,Pd);if(g===null){g=h(Pd);let w=m(l.doc.root,o("p","clrMap",d.pml));l.doc.root.children.splice(l.doc.root.children.indexOf(w)+1,0,g)}let S=Q(g,eu),E=Math.max(0,Math.min(Math.trunc(n.index??S.length),S.length)),A=h(eu,{attrs:[b(qn,String(p)),b(ct,y)]}),T=S[E];return g.children.splice(T?g.children.indexOf(T):g.children.length,0,A),En(l),m1(r,u)},PK=e=>{let t=e[de],n=e[L].getRels(t)?.items.find(r=>r.type===D.slideMaster);if(!n)throw new Error(`${t} has no slide master`);return Ol(t,n.target)},CM=e=>{let t=e[L],n=e[de];if((fM(t).get(n.toLowerCase())??0)>0)throw new Error("removeSlideLayout: slides still use this layout");let r=PK(e),a=mt(t,r);if(tu(t,r,a.doc.root).length<2)throw new Error("removeSlideLayout: a slide master needs at least one layout");let l=t.getRels(r)??pe(),i=l.items.find(c=>c.type===D.slideLayout&&Rn(Ol(r,c.target),n));t.setRels(r,{items:l.items.filter(c=>c!==i)});let s=m(a.doc.root,Pd);s&&i&&(s.children=s.children.filter(c=>c.kind!=="element"||x(c,ct)!==i.id)),En(a),Qp(t,n)},LK={title:new Set(["title","ctrTitle"]),body:new Set(["body","obj"]),dt:new Set(["dt"]),ftr:new Set(["ftr"]),sldNum:new Set(["sldNum"])},PM=(e,t,n,r)=>{let a=LK[n];if(a===void 0)throw new Error(`setSlideMasterPlaceholderIncluded: unknown type ${n}`);let l=mt(e[L],ea(e,t)),i=Ho(l.doc.root);if(gl(i,a)!==r){if(r){let s=yl(bh(n,ua(i),u1(e)));_m(i,s,n,Nc)}else Vo(i,a);En(l)}},cM=new Set(["title","ctrTitle"]),c1=["dt","ftr","sldNum"],RK=[10,11,12],g1=e=>Ho(e[ot].root),LM=(e,t)=>{let n=g1(e);if(gl(n,cM)!==t){if(t){let r=yl(Th(ua(n))),a=n.children.findIndex(l=>l.kind==="element"&&l.name.localName!=="nvGrpSpPr"&&l.name.localName!=="grpSpPr");n.children.splice(a<0?n.children.length:a,0,r)}else Vo(n,cM);Hn(e)}},RM=(e,t)=>{let n=g1(e),r=new Set(c1);if(!t){if(!gl(n,r))return;Vo(n,r),Hn(e);return}let a=c1.filter(p=>!gl(n,new Set([p])));if(a.length===0)return;let l=new Set(Ty(n)),i=Math.max(12,...l),s=RK.map(p=>l.has(p)?++i:p),c=Ah(ua(n),s);c1.forEach((p,u)=>{a.includes(p)&&n.children.push(yl(c[u]))}),Hn(e)},NM=(e,t)=>{nu(e[ot].root,SK,t?"0":null),Hn(e)},DM=(e,t,n)=>{let r={x:Ae(n.x,"coordinate","addSlideLayoutPlaceholder: x"),y:Ae(n.y,"coordinate","addSlideLayoutPlaceholder: y"),w:Ae(n.w,"positiveCoordinate","addSlideLayoutPlaceholder: w"),h:Ae(n.h,"positiveCoordinate","addSlideLayoutPlaceholder: h")},a=g1(e),l=Math.max(12,...Ty(a))+1,i=yl(Ch(t,ua(a),l,r));return a.children.push(i),Hn(e),zs(e[ue].shapes).length-1};var Wt=e=>o("p",e,d.pml),_M="{2FDB2607-1784-4EEB-B798-7EB5836EED8A}",kM=o("p14","showMediaCtrls",d.p14),MM=e=>(e&&m(e,Wt("extLst")))?.children.find(n=>n.kind==="element"&&n.name.namespaceURI===d.pml&&n.name.localName==="ext"&&x(n,o("","uri",""))===_M),Ld=(e,t)=>x(e,o("",t,"")),Li=(e,t,n)=>{let r=e&&Ld(e,t);return r==null?n:r==="1"||r==="true"};function y1(e){let t=e[L],n=t.getRels(Y)??{items:[]},r=n.items.find(i=>i.type===D.presProps);if(r?.targetMode==="External")throw new Error("Presentation properties must be internal.");let a=r&&t.getPart(H(Y,r.target)),l=a&&$(V(a.data));if(l&&(l.root.name.namespaceURI!==d.pml||l.root.name.localName!=="presentationPr"))throw new Error("Invalid presentation properties root.");return{pkg:t,rels:n,rel:r,part:a,doc:l}}var FM=e=>y1(e).doc?.root??null,x1=(e,t)=>{let{pkg:n,rels:r,rel:a,part:l,doc:i}=y1(e),s=i??$(`<p:presentationPr xmlns:p="${d.pml}" xmlns:a="${d.dml}"/>`);s.root.prefixDecls.set("p",d.pml),t(s.root);let c=le(ae(s));if(l){l.data=c;return}let p=a?H(Y,a.target):G("/ppt/presProps.xml");if(!a)for(let u=1;n.getPart(p);u++)p=G(`/ppt/presProps${u}.xml`);n.addPart(p,"application/vnd.openxmlformats-officedocument.presentationml.presProps+xml",c),a||(r.items.push({id:se(r.items.map(u=>u.id)),type:D.presProps,target:p,targetMode:"Internal"}),n.setRels(Y,r))};function IM(e){let{doc:t}=y1(e),n=t?m(t.root,Wt("showPr"))??void 0:void 0,r=n&&m(n,Wt("browse")),a=n&&m(n,Wt("kiosk")),l=n&&m(n,Wt("sldRg")),i=n&&m(n,Wt("custShow")),s=MM(n),c=(s&&m(s,kM))??void 0;return{mode:r?{kind:"browse",showScrollbar:Li(r,"showScrollbar",!0)}:a?{kind:"kiosk",restart:Number(Ld(a,"restart")??3e5)}:{kind:"present"},slides:l?{kind:"range",start:Number(Ld(l,"st")),end:Number(Ld(l,"end"))}:i?{kind:"customShow",id:Number(Ld(i,"id"))}:{kind:"all"},loop:Li(n,"loop",!1),showNarration:Li(n,"showNarration",!1),showAnimation:Li(n,"showAnimation",!0),useTimings:Li(n,"useTimings",!0),showMediaControls:Li(c,"val",!0)}}function BM(e,t){let n=a=>Number.isInteger(a)&&a>=0&&a<=4294967295;if(!t||!t.mode||!t.slides||!["present","browse","kiosk"].includes(t.mode.kind)||!["all","range","customShow"].includes(t.slides.kind)||["loop","showNarration","showAnimation","useTimings"].some(a=>typeof t[a]!="boolean"))throw new Error("Invalid slideshow settings.");if(t.showMediaControls!==void 0&&typeof t.showMediaControls!="boolean")throw new Error("Invalid slideshow media controls setting.");if(t.mode.kind==="browse"&&typeof t.mode.showScrollbar!="boolean")throw new Error("Invalid slideshow scrollbar setting.");if(t.mode.kind==="kiosk"&&!n(t.mode.restart))throw new Error("Invalid kiosk restart interval.");let r=t.slides;if(r.kind==="range"&&(!n(r.start)||!n(r.end)||r.start<1||r.start>r.end||r.end>z(e).length))throw new Error("Invalid slideshow slide range.");if(r.kind==="customShow"&&(!n(r.id)||!dl(e).some(a=>a.id===r.id)))throw new Error("Custom show destination no longer exists.");x1(e,a=>{let l=m(a,Wt("showPr"));if(!l){l=h(Wt("showPr"));let u=a.children.findIndex(f=>f.kind==="element"&&f.name.namespaceURI===d.pml&&["clrMru","extLst"].includes(f.name.localName));a.children.splice(u<0?a.children.length:u,0,l)}let i=(u,f,y)=>{u.attrs=u.attrs.filter(g=>g.name.namespaceURI!==""||g.name.localName!==f),u.attrs.push(b(o("",f,""),y))};for(let u of["loop","showNarration","showAnimation","useTimings"])i(l,u,t[u]?"1":"0");let s=m(l,Wt(t.mode.kind))??h(Wt(t.mode.kind));t.mode.kind==="browse"&&i(s,"showScrollbar",t.mode.showScrollbar?"1":"0"),t.mode.kind==="kiosk"&&i(s,"restart",String(t.mode.restart));let c=r.kind==="all"?"sldAll":r.kind==="range"?"sldRg":"custShow",p=m(l,Wt(c))??h(Wt(c));if(r.kind==="range"&&(i(p,"st",String(r.start)),i(p,"end",String(r.end))),r.kind==="customShow"&&i(p,"id",String(r.id)),l.children=[s,p,...l.children.filter(u=>u.kind!=="element"||u.name.namespaceURI!==d.pml||!["present","browse","kiosk","sldAll","sldRg","custShow"].includes(u.name.localName))],t.showMediaControls!==void 0){let u=m(l,Wt("extLst"));u||(u=h(Wt("extLst")),l.children.push(u));let f=MM(l);f||(f=h(Wt("ext"),{attrs:[b(o("","uri",""),_M)]}),u.children.push(f)),f.children=[h(kM,{prefixDecls:new Map([["p14",d.p14]]),attrs:[b(o("","val",""),t.showMediaControls?"1":"0")]})]}})}var OM="application/vnd.openxmlformats-officedocument.presentationml.notesMaster+xml",XM="application/vnd.openxmlformats-officedocument.presentationml.handoutMaster+xml",jM="application/vnd.openxmlformats-officedocument.presentationml.notesSlide+xml",NK="application/vnd.openxmlformats-officedocument.theme+xml",S1=o("p","notesSz",d.pml),b1=o("p","prnPr",d.pml),ru=o("","cx",""),au=o("","cy",""),$M=o("","prnWhat",""),DK={w:6858e3,h:9144e3},_K={w:12192e3,h:6858e3},UM={notesMaster:{rel:D.notesMaster,contentType:OM,stem:"/ppt/notesMasters/notesMaster",list:o("p","notesMasterIdLst",d.pml),entry:o("p","notesMasterId",d.pml),after:[Xt]},handoutMaster:{rel:D.handoutMaster,contentType:XM,stem:"/ppt/handoutMasters/handoutMaster",list:o("p","handoutMasterIdLst",d.pml),entry:o("p","handoutMasterId",d.pml),after:[Xt,o("p","notesMasterIdLst",d.pml)]}},E1=(e,t)=>t.startsWith("/")?G(t):H(e,t),GM=(e,t)=>{let n=e.getRels(Y)?.items.find(a=>a.type===UM[t].rel);if(!n)return null;let r=E1(Y,n.target);return e.getPart(r)===null?null:r},Rd=e=>{let t=m(mt(e,Y).doc.root,S1),n=Number(t&&x(t,ru)),r=Number(t&&x(t,au));return n>0&&r>0?{w:n,h:r}:DK},qM=e=>{let t=Aa(e);return t?{w:t.width,h:t.height}:_K},kK=(e,t)=>{let n=e.getRels(Y)?.items??[],r=m(t,Xt)?.children.find(c=>c.kind==="element"),a=n.find(c=>r&&c.id===x(r,ct))??n.find(c=>c.type===D.slideMaster),l=a?E1(Y,a.target):Y,i=e.getRels(l)?.items.find(c=>c.type===D.theme),s=i&&e.getPart(E1(l,i.target));return s?s.data:null},MK=(e,t)=>{let n=e[L],r=GM(n,t);if(r!==null)return r;let a=UM[t],l=mt(n,Y),i=Rd(n),[s]=fa(n,a.stem,1),c=t==="notesMaster"?_h(i,qM(e)):kh(i);n.addPart(s,a.contentType,le(c));let p=kK(n,l.doc.root);if(p===null)throw new Error(`${t}: the presentation has no theme to copy`);let[u]=fa(n,"/ppt/theme/theme",1);n.addPart(u,NK,p.slice()),n.setRels(s,{items:[{id:"rId1",type:D.theme,target:yr(s,u),targetMode:"Internal"}]});let f=n.getRels(Y)??pe(),y=se(f.items.map(E=>E.id));f.items.push({id:y,type:a.rel,target:yr(Y,s),targetMode:"Internal"}),n.setRels(Y,f);let g=l.doc.root,S=m(g,a.list);if(S===null){S=h(a.list);let E=0;for(let A of a.after){let T=m(g,A);T&&(E=g.children.indexOf(T)+1)}g.children.splice(E,0,S)}if(S.children=[h(a.entry,{attrs:[b(ct,y)]})],En(l),t==="notesMaster")for(let E of n.parts){if(E.contentType!==jM)continue;let A=n.getRels(E.name)??pe();A.items.some(T=>T.type===D.notesMaster)||(A.items.push({id:se(A.items.map(T=>T.id)),type:D.notesMaster,target:yr(E.name,s),targetMode:"Internal"}),n.setRels(E.name,A))}return s},HM=(e,t)=>{let n=e[L],r=GM(n,t);return r===null?null:qo(Ge(mt(n,r).doc.root,t).shapes)},VM=e=>HM(e,"notesMaster"),zM=e=>HM(e,"handoutMaster"),WM=(e,t,n,r,a,l)=>{if(!r.includes(n))throw new Error(`${t}: unknown placeholder type ${n}`);let i=mt(e[L],MK(e,t)),s=Ho(i.doc.root),c=new Set([n]);gl(s,c)!==l&&(l?_m(s,yl(a(ua(s))),n,r):Vo(s,c)),En(i)},YM=(e,t,n)=>{let r=Rd(e[L]);WM(e,"notesMaster",t,Dc,a=>Nh(t,a,r,qM(e)),n)},ZM=(e,t,n)=>{let r=Rd(e[L]);WM(e,"handoutMaster",t,_c,a=>Dh(t,a,r),n)},KM=e=>{let t=Rd(e[L]);return{width:t.w,height:t.h}},FK=o("a","xfrm",d.dml),IK=o("a","off",d.dml),BK=o("a","ext",d.dml),OK=o("p","spPr",d.pml),XK=(e,t,n)=>{for(let r of Ho(e).children){if(r.kind!=="element")continue;let a=m(r,OK),l=a&&m(a,FK),i=l&&m(l,IK),s=l&&m(l,BK);if(!i||!s)continue;let c=Number(x(i,o("","x",""))),p=Number(x(i,o("","y",""))),u=Number(x(s,ru)),f=Number(x(s,au)),y;if(Ws(r)==="sldImg"){let T=Math.min(t,n),w=(c+u/2)*t,v=(p+f/2)*n;y=[w-u*T/2,v-f*T/2,u*T,f*T]}else y=[c*t,p*n,u*t,f*n];let[g,S,E,A]=y.map(Math.round);i.attrs=[b(o("","x",""),String(g)),b(o("","y",""),String(S))],s.attrs=[b(ru,String(E)),b(au,String(A))]}},JM=(e,t)=>{if(t!=="portrait"&&t!=="landscape")throw new Error(`setNotesPageOrientation: unknown orientation ${t}`);let n=e[L],r=Rd(n);if(r.w>r.h==(t==="landscape"))return;let a={w:r.h,h:r.w},l=a.w/r.w,i=a.h/r.h;for(let p of n.parts){if(!(p.contentType===OM||p.contentType===XM||p.contentType===jM))continue;let f=mt(n,p.name);XK(f.doc.root,l,i),En(f)}let s=mt(n,Y),c=m(s.doc.root,S1);if(c===null){c=h(S1);let p=m(s.doc.root,o("p","sldSz",d.pml)),u=p?s.doc.root.children.indexOf(p)+1:s.doc.root.children.length;s.doc.root.children.splice(u,0,c)}c.attrs=[b(ru,String(a.w)),b(au,String(a.h))],En(s)},QM=[[1,"handouts1"],[2,"handouts2"],[3,"handouts3"],[4,"handouts4"],[6,"handouts6"],[9,"handouts9"],["outline","outline"]],jK=6,eF=e=>{let t=FM(e),n=t&&m(t,b1),r=n&&x(n,$M);return QM.find(([,a])=>a===r)?.[0]??jK},tF=(e,t)=>{let n=QM.find(([r])=>r===t)?.[1];if(n===void 0)throw new Error(`setHandoutSlidesPerPage: unsupported value ${String(t)}`);x1(e,r=>{let a=m(r,b1);if(a===null){a=h(b1);let l=r.children.findIndex(i=>i.kind==="element"&&i.name.namespaceURI===d.pml&&["showPr","clrMru","extLst"].includes(i.name.localName));r.children.splice(l<0?r.children.length:l,0,a)}a.attrs=[...a.attrs.filter(l=>!(l.name.namespaceURI===""&&l.name.localName==="prnWhat")),b($M,n)]})};var T1=e=>{let t=m(e,To);if(t!==null)return t;let n=h(To),r=m(e,Xt);if(r===null)return e.children.unshift(n),n;let a=e.children.indexOf(r);return e.children.splice(a+1,0,n),n},w1=e=>{let t=_g-1;for(let r of Q(e,wo)){let a=x(r,qn);if(a===null)continue;let l=Number.parseInt(a,10);Number.isFinite(l)&&l>t&&(t=l)}let n=Math.max(_g,t+1);if(n>nm)throw new Error(`sldId allocator exhausted (next would be ${n}, max ${nm})`);return n},v1=e=>{let t=1;for(let n of e.parts){let r=n.name.match(/^\/ppt\/slides\/slide(\d+)\.xml$/);if(r?.[1]!==void 0){let a=Number.parseInt(r[1],10);Number.isFinite(a)&&a>=t&&(t=a+1)}}return t},$K=e=>{let t=e.getPart(Y);if(!t)throw new Error("presentation.xml is missing");let n=$(V(t.data));if(n.root.name.namespaceURI!==eT.namespaceURI||n.root.name.localName!=="presentation")throw new Error("presentation.xml root is not <p:presentation>");return n},nF=e=>{let t=Wr(e,"blank");if(t)return Xl(e,{layout:t});let n=Ct(e);if(n.length===0)throw new Error("addBlankSlide: package has no slide layouts to inherit from");return Xl(e,{layout:n[0]})},rF=(e,t)=>{let r=Wr(e,"obj")??Ct(e).find(l=>Ys(l).some(i=>i.type===null||i.type==="body"));if(!r)throw new Error("addContentSlide: no layout with a body placeholder found");let a=Xl(e,{layout:r});return t.title!==void 0&&gi(a,t.title),t.body!==void 0&&_p(a,t.body),a},aF=(e,t)=>{let n=Wr(e,"secHead")??Wr(e,"title")??Ct(e)[0];if(!n)throw new Error("addSectionHeaderSlide: package has no slide layouts to inherit from");let r=Xl(e,{layout:n});return gi(r,t),r},lF=(e,t)=>{let r=Wr(e,"title")??Wr(e,"obj")??null??Ct(e).find(l=>zo(l)!=="blank")??Ct(e)[0];if(!r)throw new Error("addTitleSlide: package has no slide layouts to inherit from");let a=Xl(e,{layout:r});return gi(a,t),a},Xl=(e,t)=>A1(e,[t],1/0)[0];function A1(e,t,n){if(!t.length)return[];let r=e[L],a=t.map(({layout:w})=>{if(w[L]!==r)throw new Error("slide layout belongs to another presentation");let v=m(w[ue].root,Le),C=v&&m(v,_n);if(!C)throw new Error(`layout ${w[de]} missing <p:spTree>`);return C}),l=z(e),i=Math.max(0,Math.min(Math.trunc(n),l.length)),s=$K(r),c=r.getPart(Y),p=T1(s.root),u=w1(p);if(u+t.length-1>nm)throw new Error("sldId allocator exhausted");let f=v1(r),y=r.getRels(Y)??pe(),g=se(y.items.map(w=>w.id),t.length),S=[],E=t.map(({layout:w},v)=>{let C=f+v,R=G(`/ppt/slides/slide${C}.xml`),N=le(ae(Qf(a[v])));r.addPart(R,al,N);let _=pe();_.items.push({id:se([]),type:D.slideLayout,target:`../slideLayouts/${da(w[de])}`,targetMode:"Internal"}),r.setRels(R,_);let k=g[v];return y.items.push({id:k,type:D.slide,target:`slides/slide${C}.xml`,targetMode:"Internal"}),S.push(h(wo,{attrs:[b(qn,String(u+v)),b(ct,k)]})),Yp(r,R,N)}),A=Q(p,wo)[i],T=A?p.children.indexOf(A):p.children.length;return p.children=[...p.children.slice(0,T),...S,...p.children.slice(T)],r.setRels(Y,y),c.data=le(ae(s)),e._slidesCache=[...l.slice(0,i),...E,...l.slice(i)],E}var UK=(e,t)=>{for(let n of e.parts){if(n.name===t||n.name.endsWith(".rels"))continue;let r=e.getRels(n.name);if(!r)continue;let a=new Set(r.items.filter(i=>i.type!==D.slide||i.targetMode==="External"?!1:(i.target.startsWith("/")?G(i.target):H(n.name,i.target))===t).map(i=>i.id));if(a.size===0)continue;r.items=r.items.filter(i=>!a.has(i.id)),e.setRels(n.name,r);let l=$(V(n.data));oF(l.root,a),n.data=le(ae(l))}},oF=(e,t)=>{e.children=e.children.filter(n=>{if(n.kind!=="element")return!0;let r=n.name.namespaceURI===d.dml&&(n.name.localName==="hlinkClick"||n.name.localName==="hlinkHover"),a=e.name.namespaceURI===d.pml&&e.name.localName==="sldLst"&&n.name.namespaceURI===d.pml&&n.name.localName==="sld";if(!r&&!a)return!0;let l=x(n,ct);return l===null||!t.has(l)});for(let n of Mi(e))oF(n,t)},iF=(e,t)=>{let n=e[L],r=t[O];if(t[L]!==n)throw new Error("removeSlide: slide must belong to this presentation");if(n.getPart(r)===null)throw new Error(`removeSlide: ${r} not present in package`);let a=n.getRels(Y);if(!a)throw new Error("presentation.xml has no rels");let l=a.items.find(p=>p.type===D.slide&&p.targetMode!=="External"&&H(Y,p.target)===r);if(!l)throw new Error(`presentation.xml.rels missing entry for slide ${r}`);a.items=a.items.filter(p=>p.id!==l.id),n.setRels(Y,a);let i=n.getPart(Y);if(!i)throw new Error("presentation.xml missing");let s=$(V(i.data)),c=m(s.root,To);c!==null&&(c.children=c.children.filter(p=>p.kind!=="element"||p.name.namespaceURI!==d.pml||p.name.localName!=="sldId"?!0:x(p,ct)!==l.id)),IT(s.root,l.id),i.data=le(ae(s));for(let p of z(e)){if(p[O]===r)continue;let u=n.getRels(p[O]);if(!u)continue;let f=new Set(u.items.filter(g=>g.type===D.slide&&g.targetMode!=="External"&&H(p[O],g.target)===r).map(g=>g.id));if(!f.size)continue;let y=g=>{g.children=g.children.filter(S=>S.kind!=="element"?!0:S.name.namespaceURI===d.dml&&["hlinkClick","hlinkMouseOver","hlinkHover"].includes(S.name.localName)&&f.has(x(S,ct)??"")?!1:(y(S),!0))};y(p[te].root),u.items=u.items.filter(g=>!f.has(g.id)),n.setRels(p[O],u),ce(p),ge(p)}n.removePart(Dt(r)),n.removePart(r),UK(n,r),Pi(e)},C1=(e,t)=>{let n=e[L],r=n.getPart(Y);if(!r)throw new Error("presentation.xml missing");let a=$(V(r.data)),l=m(a.root,To);if(!l)return;let i=z(e),s=n.getRels(Y);if(!s)return;let c=new Map;for(let S of s.items)S.type===D.slide&&S.targetMode==="Internal"&&c.set(H(Y,S.target),S.id);let p=l.children.filter(S=>S.kind==="element"&&S.name.namespaceURI===d.pml&&S.name.localName==="sldId"),u=new Map(p.map(S=>[x(S,ct),S])),f=[...i].sort(t),y=[];for(let S of f){let E=c.get(S[O]);if(E===void 0)continue;let A=u.get(E);A&&y.push(A)}let g=l.children.filter(S=>!(S.kind==="element"&&S.name.namespaceURI===d.pml&&S.name.localName==="sldId"));l.children=[...g,...y],r.data=le(ae(a)),Pi(e)},sF=e=>{let t=new Map;for(let[n,r]of z(e).entries())t.set(r,n);C1(e,(n,r)=>(t.get(r)??0)-(t.get(n)??0))},dF=(e,t,n)=>{if(t===n)return;let r=z(e),a=r[t],l=r[n];if(!a)throw new RangeError(`swapSlides: indexA ${t} out of range (have ${r.length})`);if(!l)throw new RangeError(`swapSlides: indexB ${n} out of range (have ${r.length})`);let[i,s]=t<n?[t,n]:[n,t];Nd(e,r[i],s);let c=z(e);Nd(e,c[s-1],i)},Nd=(e,t,n)=>{let r=e[L],a=r.getRels(Y);if(!a)throw new Error("presentation.xml has no rels");let l=a.items.find(S=>S.type===D.slide&&S.targetMode==="Internal"&&H(Y,S.target)===t[O]);if(!l)throw new Error(`moveSlide: slide ${t[O]} has no rel`);let i=r.getPart(Y);if(!i)throw new Error("presentation.xml missing");let s=$(V(i.data)),c=m(s.root,To);if(!c)throw new Error("presentation.xml has no <p:sldIdLst>");let u=c.children.filter(S=>S.kind==="element"&&S.name.namespaceURI===d.pml&&S.name.localName==="sldId").find(S=>x(S,ct)===l.id);if(!u)throw new Error(`moveSlide: <p:sldId> for ${l.id} not found`);let f=c.children.filter(S=>S!==u),y=f.filter(S=>S.kind==="element"&&S.name.namespaceURI===d.pml&&S.name.localName==="sldId"),g=Math.max(0,Math.min(n,y.length));if(g===y.length)f.push(u);else{let S=y[g],E=S===void 0?f.length:f.indexOf(S);f.splice(E,0,u)}c.children=f,i.data=le(ae(s)),Pi(e)},P1=(e,t)=>{let n=e[L];if(t[L]!==n)throw new Error("duplicateSlide: slide belongs to another presentation");let r=t[O];if(!n.getPart(r))throw new Error(`duplicateSlide: source ${r} not found`);let l=n.getPart(Y);if(!l)throw new Error("presentation.xml missing");let i=$(V(l.data)),s=T1(i.root),c=w1(s),p=v1(n),u=G(`/ppt/slides/slide${p}.xml`);Cw(n,r,u,new Set([D.slideLayout,D.slideMaster,D.notesMaster,D.handoutMaster,D.theme,D.slide,D.image,D.media,D.video,D.audio]));let f=n.getRels(Y)??pe(),y=se(f.items.map(E=>E.id));if(f.items.push({id:y,type:D.slide,target:`slides/slide${p}.xml`,targetMode:"Internal"}),n.setRels(Y,f),s.children.push(h(wo,{attrs:[b(qn,String(c)),b(ct,y)]})),l.data=le(ae(i)),e._slidesCache!==null){let E=Yp(n,u,n.getPart(u).data);return e._slidesCache=[...e._slidesCache,E],E}let g=z(e),S=g[g.length-1];if(!S)throw new Error("duplicateSlide: post-condition failed");return S};function cF(e,t,n){if(Number.isNaN(t))throw new RangeError("slide index must not be NaN");return"layout"in n?A1(e,[n],t)[0]:A1(e,n,t)}var mF=(e,t,n)=>{let r=P1(e,n);Nd(e,r,t);let a=z(e),l=Math.max(0,Math.min(t,a.length-1));return a[l]},L1=(e,t,n)=>{let r=t[L],a=t[O];if(!r.getPart(a))throw new Error(`importSlide: source ${a} not found`);let i=r.getRels(a),s=e[L],c=s.getPart(Y);if(!c)throw new Error("presentation.xml missing in target");let p=$(V(c.data)),u=T1(p.root),f=w1(u),y=v1(s),g=G(`/ppt/slides/slide${y}.xml`),S=n?.[de];if(S&&s.getPart(S)===null)throw new Error(`importSlide: layout ${S} not in target package`);let E=i?.items.find(k=>k.type===D.slideLayout),A=new Map;E&&S&&A.set(H(a,E.target),S);let T=hl(r,s,new Map([[a,g]]),new Set,A);if(!E&&S){let k=s.getRels(g)??pe();k.items.push({id:se(k.items.map(M=>M.id)),type:D.slideLayout,target:S,targetMode:"Internal"}),s.setRels(g,k)}let w=s.getRels(Y)??pe(),v=o("p","sldMasterId",d.pml),C=[...T.values()].filter(k=>s.getPart(k)?.contentType.endsWith("slideMaster+xml"));if(C.length){let k=m(p.root,Xt);k||(k=h(Xt),p.root.children.unshift(k));let M=new Set(Q(k,v).map(K=>Number(x(K,qn)))),I=2147483648;for(let K of C){for(;M.has(I);)I++;M.add(I);let re=se(w.items.map(Se=>Se.id));w.items.push({id:re,type:D.slideMaster,target:K,targetMode:"Internal"}),k.children.push(h(v,{attrs:[b(qn,String(I)),b(ct,re)]}))}}let R=se(w.items.map(k=>k.id));w.items.push({id:R,type:D.slide,target:`slides/slide${y}.xml`,targetMode:"Internal"}),s.setRels(Y,w),u.children.push(h(wo,{attrs:[b(qn,String(f)),b(ct,R)]})),c.data=le(ae(p)),Pi(e);let N=z(e),_=N[N.length-1];if(!_)throw new Error("importSlide: post-condition failed");return _},pF=(e,t,n)=>{let r=z(t),a=[],l=typeof n=="function"?n:()=>n;for(let i=0;i<r.length;i++){let s=r[i],c=l(s,i);a.push(L1(e,s,c))}return a};var GK={shape:"nvSpPr",picture:"nvPicPr",connector:"nvCxnSpPr",graphicFrame:"nvGraphicFramePr",group:"nvGrpSpPr"};function ar(e){let t=m(e.element,o("p",GK[e.kind],d.pml)),n=t&&m(t,o("p","nvPr",d.pml));return n?m(n,o("p","ph",d.pml)):null}function Da(e){let t=m(e,o("p","cSld",d.pml)),n=t&&m(t,o("p","spTree",d.pml));return new Set(n?.children??[])}function R1(e){return e==="ctrTitle"?"title":e===null||e==="obj"||e==="subTitle"?"body":e}var D1=e=>{let t=Te(e);if(!t)return 0;let n=Da(t[ue].root),r=new Map;for(let f of t[ue].shapes)n.has(f.element)&&ar(f)&&!r.has(f.placeholderIdx??0)&&r.set(f.placeholderIdx??0,f);let a=new Map,l=e[L],i=G(t[de]),s=l.getRels(i)?.items.find(f=>f.type===D.slideMaster),c=s&&l.getPart(H(i,s.target));if(c){let f=$(V(c.data)).root,y=Da(f);for(let g of Ge(f,"sldMaster").shapes){let S=R1(g.placeholderType);y.has(g.element)&&ar(g)&&!a.has(S)&&a.set(S,g)}}let p=Da(e[te].root),u=0;for(let f of sn(e)){let y=f[U];if(!p.has(f[F])||!ar(y))continue;let g=r.get(y.placeholderIdx??0);if(!g)continue;let S=g,E=Rt(S.element,S.kind),A=At(S.element,S.kind);if(!E||!A){let w=a.get(R1(g.placeholderType));if(!w)continue;S=w,E=Rt(S.element,S.kind),A=At(S.element,S.kind)}if(!E||!A)continue;let T=f[F];pn(T,y.kind,E.x,E.y),un(T,y.kind,A.w,A.h),Ga(T,y.kind,pr(S.element,S.kind)),qa(T,y.kind,ur(S.element,S.kind)??{horizontal:!1,vertical:!1}),u++}return u&&(ce(e),ge(e)),u},_1=e=>{let t=Te(e);if(!t)return 0;let n=new Set;for(let i of sn(e)){let s=i[U];ar(s)&&n.add(s.placeholderIdx??0)}let r=Da(t[ue].root),a=[],l=wt(e);for(let i of t[ue].shapes){if(!r.has(i.element))continue;let s=ar(i),c=i.placeholderIdx??0;!s||n.has(c)||(a.push(ps(l++,s)),n.add(c))}return a.length?(N1(e,a),a.length):0};function N1(e,t){let n=pa(e),r=n.children.findIndex(a=>a.kind==="element"&&a.name.namespaceURI===d.pml&&a.name.localName==="extLst");n.children.splice(r<0?n.children.length:r,0,...t),ce(e),Vn(e)}var uF=(e,t,n={})=>{let r=Pt(e,t);if(r)return r;let a=Te(e);if(!a)return null;if(n.source==="master"){let i=e[L],s=G(a[de]),c=i.getRels(s)?.items.find(T=>T.type===D.slideMaster),p=c&&i.getPart(H(s,c.target));if(!p)return null;let u=$(V(p.data)).root,f=Da(u);if(!Ge(u,"sldMaster").shapes.some(T=>f.has(T.element)&&ar(T)&&T.placeholderType===R1(t)))return null;let g=new Set([...a[ue].shapes.map(T=>T.placeholderIdx??0),...sn(e).map(T=>T[U].placeholderIdx??0)]),E=4294967295;for(;g.has(E);)E--;let A=h(o("p","ph",d.pml),{attrs:[b(o("","type",""),t),b(o("","idx",""),String(E))]});return N1(e,[ps(wt(e),A)]),Pt(e,t)}let l=Da(a[ue].root);for(let i of a[ue].shapes){if(!l.has(i.element)||(i.placeholderType??"body")!==t)continue;let s=ar(i);if(s)return N1(e,[ps(wt(e),s)]),Pt(e,t)}return null},k1=e=>{let t=Te(e);if(!t)return 0;let n=Da(t[ue].root),r=new Set;for(let l of t[ue].shapes)n.has(l.element)&&ar(l)&&r.add(l.placeholderIdx??0);let a=0;for(let l of sn(e)){let i=l[U];if(!ar(i)||!r.has(i.placeholderIdx??0))continue;let s=m(l[F],o("p","txBody",d.pml));s&&(Bb(s),a++)}return a&&(ce(e),ge(e)),a},qK=new Set(["prstGeom","custGeom","noFill","solidFill","gradFill","blipFill","pattFill","grpFill","ln","effectLst","effectDag","scene3d","sp3d"]),fF=e=>{let t=Te(e);if(!t)return 0;_1(e),D1(e),k1(e);let n=Da(t[ue].root),r=new Set;for(let l of t[ue].shapes)n.has(l.element)&&ar(l)&&r.add(l.placeholderIdx??0);let a=0;for(let l of sn(e)){let i=l[U],s=l[F];if(!ar(i)||!r.has(i.placeholderIdx??0))continue;let c=m(s,o("p","spPr",d.pml));c&&(c.attrs=c.attrs.filter(p=>p.name.namespaceURI!==""||p.name.localName!=="bwMode"),c.children=c.children.filter(p=>p.kind!=="element"||p.name.namespaceURI!==d.dml||!qK.has(p.name.localName))),s.children=s.children.filter(p=>p.kind!=="element"||p.name.namespaceURI!==d.pml||p.name.localName!=="style"),a++}return a&&(ce(e),ge(e)),a};var hF=["noGrp","noRot","noMove","noResize"],M1=[...hF,"noEditPoints","noAdjustHandles","noChangeArrowheads","noChangeShapeType"],HK=new Map([["sp",{parent:"nvSpPr",properties:"cNvSpPr",element:"spLocks",flags:M1}],["cxnSp",{parent:"nvCxnSpPr",properties:"cNvCxnSpPr",element:"cxnSpLocks",flags:M1}],["pic",{parent:"nvPicPr",properties:"cNvPicPr",element:"picLocks",flags:M1}],["grpSp",{parent:"nvGrpSpPr",properties:"cNvGrpSpPr",element:"grpSpLocks",flags:[...hF,"noUngrp"]}],["graphicFrame",{parent:"nvGraphicFramePr",properties:"cNvGraphicFramePr",element:"graphicFrameLocks",flags:["noGrp","noMove","noResize"]}]]),gF=o("","noChangeAspect","");function lu(e){let t=HK.get(e[F].name.localName);if(!t)return null;let n=m(e[F],o("p",t.parent,d.pml)),r=n&&m(n,o("p",t.properties,d.pml));return r?{config:t,properties:r}:null}var yF=e=>{let t=lu(e);if(!t)return!1;let n=m(t.properties,o("a",t.config.element,d.dml));return!!n&&["noMove","noResize"].every(r=>{let a=x(n,o("",r,""));return a==="1"||a==="true"})},xF=e=>{let t=lu(e);if(!t)return!1;let n=m(t.properties,o("a",t.config.element,d.dml));if(!n)return!1;let r=x(n,gF);return r==="1"||r==="true"},SF=(e,t)=>{let n=(Array.isArray(e)?e:[e]).map(r=>{let a=lu(r);if(!a)throw new Error("setShapeLocked: shape has no supported nonvisual drawing properties");return{shape:r,...a}});for(let{config:r,properties:a}of n){let l=m(a,o("a",r.element,d.dml));if(!l){if(!t)continue;l=h(o("a",r.element,d.dml)),a.children.unshift(l)}let i=new Set(r.flags);if(l.attrs=l.attrs.filter(s=>s.name.namespaceURI!==""||!i.has(s.name.localName)),t)for(let s of i)l.attrs.push(b(o("",s,""),"1"));!l.attrs.length&&!l.children.length&&(a.children=a.children.filter(s=>s!==l))}for(let r of new Set(n.map(({shape:a})=>a[X])))ce(r),ge(r)},bF=(e,t)=>{let n=(Array.isArray(e)?e:[e]).map(r=>{let a=lu(r);if(!a)throw new Error("setShapeAspectRatioLocked: shape has no supported nonvisual drawing properties");return{shape:r,...a}});for(let{config:r,properties:a}of n){let l=m(a,o("a",r.element,d.dml));if(!l){if(!t)continue;l=h(o("a",r.element,d.dml)),a.children.unshift(l)}l.attrs=l.attrs.filter(i=>i.name.namespaceURI!==""||i.name.localName!=="noChangeAspect"),t&&l.attrs.push(b(gF,"1")),!l.attrs.length&&!l.children.length&&(a.children=a.children.filter(i=>i!==l))}for(let r of new Set(n.map(({shape:a})=>a[X])))ce(r),ge(r)};var Tn=e=>o("a",e,d.dml),VK=27273042316900;function _a(e,t,n=!1){if(!Number.isFinite(e))throw new Error(`setShapeCustomGeometry: ${t} must be finite`);let r=Math.round(e);if(Math.abs(r)>VK||n&&r<=0)throw new Error(`setShapeCustomGeometry: ${t} is out of range`);return String(r)}var EF=(e,t)=>h(Tn("pt"),{attrs:[b(o("","x",""),_a(e.x,`${t}.x`)),b(o("","y",""),_a(e.y,`${t}.y`))]});function zK(e,t){switch(e.kind){case"moveTo":case"lnTo":return h(Tn(e.kind),{children:[EF(e.pt,t)]});case"quadBezTo":case"cubicBezTo":return h(Tn(e.kind),{children:e.pts.map((n,r)=>EF(n,`${t}.pts[${r}]`))});case"arcTo":return h(Tn("arcTo"),{attrs:[b(o("","wR",""),_a(e.wR,`${t}.wR`)),b(o("","hR",""),_a(e.hR,`${t}.hR`)),b(o("","stAng",""),_a(e.stAng,`${t}.stAng`)),b(o("","swAng",""),_a(e.swAng,`${t}.swAng`))]});case"close":return h(Tn("close"));default:{let n=e;throw new Error(`setShapeCustomGeometry: unknown command ${JSON.stringify(n)}`)}}}function WK(e,t){let n=`paths[${t}]`;if(e.commands.length===0||e.commands[0].kind!=="moveTo")throw new Error(`setShapeCustomGeometry: ${n} must start with moveTo`);let r=[b(o("","w",""),_a(e.w,`${n}.w`,!0)),b(o("","h",""),_a(e.h,`${n}.h`,!0))];return e.fill!==void 0&&e.fill!=="norm"&&r.push(b(o("","fill",""),e.fill)),e.stroke===!1&&r.push(b(o("","stroke",""),"0")),h(Tn("path"),{attrs:r,children:e.commands.map((a,l)=>zK(a,`${n}.commands[${l}]`))})}var AF=(e,t)=>{if(e[U].kind!=="shape")throw new Error("setShapeCustomGeometry: only shapes (p:sp) carry custom geometry");if(t.paths.length===0)throw new Error("setShapeCustomGeometry: at least one path is required");let n=h(Tn("custGeom"),{children:[h(Tn("avLst")),h(Tn("gdLst")),h(Tn("ahLst")),h(Tn("cxnLst")),h(Tn("rect"),{attrs:["l","t","r","b"].map(l=>b(o("",l,""),l))}),h(Tn("pathLst"),{children:t.paths.map(WK)})]}),r=Re(e);r.children=r.children.filter(l=>!(l.kind==="element"&&l.name.namespaceURI===d.dml&&["prstGeom","custGeom"].includes(l.name.localName)));let a=r.children.findIndex(l=>l.kind==="element"&&l.name.namespaceURI===d.dml&&l.name.localName==="xfrm");r.children.splice(a+1,0,n),J(e)};var I1=o("","lang",""),F1=o("a","rPr",d.dml),YK=o("p","txBody",d.pml),ZK=/^[A-Za-z]{2,8}(?:-[A-Za-z0-9]{1,8})*$/,wF=new Set(["r","fld","br"]),TF=(e,t)=>{e.attrs=[...e.attrs.filter(n=>!(n.name.namespaceURI===""&&n.name.localName==="lang")),b(I1,t)]},vF=(e,t)=>{if(!ZK.test(t))throw new Error(`setShapeTextLanguage: "${t}" is not a language tag`);let n=ma(e);_t(n,r=>{if(r.name.namespaceURI===d.dml){if(r.name.localName==="endParaRPr")TF(r,t);else if(wF.has(r.name.localName)){let a=m(r,F1);a||(a=h(F1),r.children.unshift(a)),TF(a,t)}}}),J(e)},CF=e=>{if(e[U].kind!=="shape")return null;let t=m(e[F],YK);if(!t)return null;let n=null;return _t(t,r=>{n!==null||r.name.namespaceURI!==d.dml||(r.name.localName==="rPr"||r.name.localName==="endParaRPr")&&(n=x(r,I1))}),n},PF=(e,t)=>{let n=[];for(let r of Qe(e,t).children){if(r.kind!=="element"||r.name.namespaceURI!==d.dml||!wF.has(r.name.localName))continue;let a=m(r,F1);n.push(a?x(a,I1):null)}return n};var KK=o("p","style",d.pml),JK=new Set(["noFill","solidFill","gradFill","pattFill","blipFill","grpFill"]),QK=(e,t)=>{if(e===void 0)return;let n=tt(e);return t?.length&&n.children.push(...lt(t)),n},ou=(e,t)=>{let n=t.idx;if(e==="fontRef"&&n!=="major"&&n!=="minor"&&n!=="none")throw new RangeError(`setShapeStyle: invalid fontRef index ${String(n)}`);if(e!=="fontRef"&&(typeof n!="number"||!Number.isInteger(n)||n<0||n>4294967295))throw new RangeError(`setShapeStyle: invalid ${e} index ${n}`);let r=QK(t.color,t.colorTransforms);return h(o("a",e,d.dml),{attrs:[b(o("","idx",""),String(n))],...r?{children:[r]}:{}})},LF=(e,t)=>{let n=e[F],r=h(KK,{children:[ou("lnRef",t.line),ou("fillRef",t.fill),ou("effectRef",t.effect),ou("fontRef",t.font)]}),a=Re(e);n.attrs=n.attrs.filter(i=>!(i.name.namespaceURI===""&&i.name.localName==="useBgFill")),a.children=a.children.filter(i=>i.kind!=="element"||!(i.name.namespaceURI===d.dml&&(i.name.localName==="ln"||i.name.localName==="effectLst"||i.name.localName==="effectDag"||JK.has(i.name.localName)))),n.children=n.children.filter(i=>!(i.kind==="element"&&i.name.namespaceURI===d.pml&&i.name.localName==="style"));let l=n.children.findIndex(i=>i.kind==="element"&&i.name.namespaceURI===d.pml&&i.name.localName==="spPr");n.children.splice(l<0?n.children.length:l+1,0,r),J(e)};var RF=(e,t={})=>{if(e.length<2)throw new Error("groupShapes: at least 2 shapes are required");let n=e[0][X],r=ha(e[0]);if(!r)throw new Error("groupShapes: shape is not attached to the slide");let a=new Set(r.children),l=new Set,i=Number.POSITIVE_INFINITY,s=Number.POSITIVE_INFINITY,c=Number.NEGATIVE_INFINITY,p=Number.NEGATIVE_INFINITY;for(let S of e){if(S[X]!==n)throw new Error("groupShapes: all shapes must belong to the same slide");let E=S[F];if(l.has(E))throw new Error(`groupShapes: shape "${S[U].name}" was passed twice`);if(l.add(E),!a.has(E))throw new Error(`groupShapes: shape "${S[U].name}" is not a direct child of the same parent as the other shapes`);let A=S[U].kind,T=Rt(E,A),w=At(E,A);if(T===null||w===null)throw new Error(`groupShapes: shape "${S[U].name}" has no explicit position/size (placeholders that inherit geometry from the layout can't be grouped)`);i=Math.min(i,T.x),s=Math.min(s,T.y),c=Math.max(c,T.x+w.w),p=Math.max(p,T.y+w.h)}let u=r.children.filter(S=>S.kind==="element"&&l.has(S)),f=rh({id:wt(n),...t.name!==void 0?{name:t.name}:{},x:i,y:s,w:c-i,h:p-s,children:u}),y=r.children.findIndex(S=>S.kind==="element"&&l.has(S));r.children=r.children.filter(S=>S.kind!=="element"||!l.has(S)),r.children.splice(y,0,f),ce(n),Vn(n);let g=n[ne].find(S=>S[F]===f);if(!g)throw new Error("groupShapes: post-condition failed");return g},NF=e=>{if(e[U].kind!=="group")throw new Error("ungroupShapes: shape is not a group");let t=Up(e);if(!t)throw new Error("ungroupShapes: group has no <a:xfrm> on <p:grpSpPr>");let{outer:n,inner:r}=t,a=r.w===0?1:n.w/r.w,l=r.h===0?1:n.h/r.h,i=pr(e[F],"group"),s=ur(e[F],"group"),c=i*Math.PI/180,p=Math.cos(c),u=Math.sin(c),f=n.x+n.w/2,y=n.y+n.h/2,g=e[X],S=ha(e);if(!S)throw new Error("ungroupShapes: group is not attached to the slide");let E=e[F],A=S.children.indexOf(E);if(A<0)throw new Error("ungroupShapes: group is not attached to the slide");let w=Za(E).map(C=>{let R=Rt(C.element,C.kind),N=At(C.element,C.kind);if(R!==null&&N!==null){let _=N.w*a,k=N.h*l,M=(n.x+(R.x+N.w/2-r.x)*a-f)*(s.horizontal?-1:1),I=(n.y+(R.y+N.h/2-r.y)*l-y)*(s.vertical?-1:1);if(pn(C.element,C.kind,Math.round(f+M*p-I*u-_/2),Math.round(y+M*u+I*p-k/2)),un(C.element,C.kind,Math.round(_),Math.round(k)),i!==0||s.horizontal||s.vertical){let K=pr(C.element,C.kind),re=ur(C.element,C.kind);Ga(C.element,C.kind,i+(s.horizontal!==s.vertical?-K:K)),qa(C.element,C.kind,{horizontal:s.horizontal!==re.horizontal,vertical:s.vertical!==re.vertical})}}return C.element});S.children.splice(A,1,...w),ce(g),Vn(g);let v=new Map(g[ne].map(C=>[C[F],C]));return w.map(C=>{let R=v.get(C);if(!R)throw new Error("ungroupShapes: post-condition failed");return R})};var kF=(e,t)=>{if(e[U].kind!=="picture")throw new Error(`${t} only works on picture shapes; ${e[U].kind} is not one`)},MF=(e,t)=>{if(kF(e,"setShapePictureStyle"),!bf(t))throw new Error(`setShapePictureStyle: "${String(t)}" is not a built-in picture style`);Ef(Re(e),t),J(e)},FF=e=>{if(e[U].kind!=="picture")return null;let t=m(e[F],o("p","spPr",d.pml));return t?Af(t):null},eJ=new Set(["email","screen","print","hqprint","none"]),IF=e=>e!==null&&eJ.has(e),BF=o("","cstate",""),DF="{28A0092B-C50C-407E-A947-70E740481C1C}",_F=o("a","extLst",d.dml),tJ=o("a","ext",d.dml),OF=e=>{let t=m(e[F],o("p","blipFill",d.pml));return t?m(t,o("a","blip",d.dml)):null},XF=e=>{if(e[U].kind!=="picture")return null;let t=OF(e),n=t?x(t,BF):null;return IF(n)?n:null},jF=(e,t)=>{if(kF(e,"setShapeImageCompressionState"),t!==null&&!IF(t))throw new Error(`setShapeImageCompressionState: "${String(t)}" is not an ST_BlipCompression value`);let n=OF(e);if(!n)throw new Error("setShapeImageCompressionState: the picture has no <a:blip>");n.attrs=n.attrs.filter(a=>!(a.name.namespaceURI===""&&a.name.localName==="cstate"));let r=m(n,_F);if(r&&(r.children=r.children.filter(a=>!(a.kind==="element"&&a.name.namespaceURI===d.dml&&a.name.localName==="ext"&&x(a,o("","uri",""))?.toUpperCase()===DF)),r.children.some(a=>a.kind==="element")||(n.children=n.children.filter(a=>a!==r),r=null)),t!==null){n.attrs.push(b(BF,t));let a=h(tJ,{attrs:[b(o("","uri",""),DF)],children:[h(o("a14","useLocalDpi",d.a14),{prefixDecls:new Map([["a14",d.a14]])})]});r?r.children.push(a):n.children.push(h(_F,{children:[a]}))}J(e)};var nJ=new Set(["noFill","solidFill","gradFill","blipFill","pattFill","grpFill","ln","effectLst","effectDag","scene3d","sp3d"]),$F=e=>{if(sd(e)?.kind!=="video")throw new Error("resetShapeVideoFormatting requires a video shape");Op(e,"rect"),Ap(e);let t=Re(e);t.children=t.children.filter(n=>n.kind!=="element"||n.name.namespaceURI!==d.dml||!nJ.has(n.name.localName)),J(e)};var UF=(e,t)=>{if(!Number.isInteger(t)||t<1||t>12)throw new RangeError("Background style must be an integer from 1 to 12");let a=vi(e);if(!a)throw new Error("Slide has no master");let l=e[L],i=G(a),s=l.getPart(i);if(!s)throw new Error(`Missing slide master: ${i}`);let c=$(V(s.data)),p=Math.floor((t-1)/4),u=Wn(l,i),f=u&&m(u,o("a","themeElements",d.dml)),y=f&&m(f,o("a","fmtScheme",d.dml));if(!(y&&m(y,o("a","bgFillStyleLst",d.dml)))?.children.filter(S=>S.kind==="element")[p])throw new Error(`Theme has no background fill style ${p+1}`);GF(c.root,t),s.data=le(ae(c))};function GF(e,t){let a=Math.floor((t-1)/4),l=(t-1)%4,i=m(e,Le),s=m(e,o("p","clrMap",d.pml));if(!i||!s)throw new Error("Slide master requires cSld and clrMap");let c=h(o("p","bgRef",d.pml),{attrs:[b(o("","idx",""),String(1001+a))],children:[h(o("a","schemeClr",d.dml),{attrs:[b(o("","val",""),l===0||l===3?"bg1":"bg2")]})]}),p=h(o("p","bg",d.pml),{children:[c]});i.children=i.children.filter(y=>!(y.kind==="element"&&y.name.namespaceURI===d.pml&&y.name.localName==="bg")),i.children.unshift(p);let u=l>=2,f={bg1:u?"dk1":"lt1",tx1:u?"lt1":"dk1",bg2:u?"dk2":"lt2",tx2:u?"lt2":"dk2"};s.attrs=s.attrs.map(y=>y.name.namespaceURI===""&&f[y.name.localName]?{...y,value:f[y.name.localName]}:y)}var qF=e=>{let t=vi(e);if(!t)return[];let n=e[L],r=G(t),a=n.getPart(r);if(!a)throw new Error(`Missing slide master: ${r}`);let l=$(V(a.data)).root,i=Wn(n,r),s=i&&m(i,o("a","themeElements",d.dml)),c=s&&m(s,o("a","fmtScheme",d.dml)),p=c&&m(c,o("a","bgFillStyleLst",d.dml)),u=Math.min(3,p?.children.filter(g=>g.kind==="element").length??0),f=g=>{let S=m(g,Le),E=S&&m(S,o("p","bg",d.pml)),A=m(g,o("p","clrMap",d.pml)),T=E&&m(E,o("p","bgRef",d.pml)),w=T&&m(T,o("a","schemeClr",d.dml));return JSON.stringify([T&&x(T,o("","idx","")),w&&x(w,o("","val","")),w?.children.filter(v=>v.kind==="element"),...["bg1","bg2","tx1","tx2"].map(v=>A&&x(A,o("",v,"")))])},y=f(l);return Array.from({length:u*4},(g,S)=>{let E=he(l);GF(E,S+1);let A=zr(n,r,E),T=m(E,Le),w=Ks(T,A.properties),C=(A.properties&&m(A.properties,o("a","solidFill",d.dml)))?.children.find(N=>N.kind==="element");if(w.kind==="solid"&&C?.kind==="element"){let N=ye(C,A.theme,A.colorMap),_=gt(C);N!==null&&(w={kind:"solid",color:N,..._!==null?{opacity:_}:{}})}let R=A.properties&&m(A.properties,o("a","gradFill",d.dml));return{style:S+1,selected:y===f(E),fill:w,gradient:R?an(R,A):null}})};var iu="http://schemas.microsoft.com/office/powerpoint/2012/main",B1="{EFAFB233-063F-42B5-8137-9DF3F51BA10A}",Dd=914400/576,_e=e=>o("p",e,d.pml),ka=e=>o("p15",e,iu),_d=e=>o("a",e,d.dml),pt=e=>o("",e,""),dn=(e,t)=>x(e,pt(t));function HF(e){let t=m(e,_e("extLst")),n=t&&Q(t,_e("ext")).find(r=>dn(r,"uri")===B1);return n?m(n,ka("sldGuideLst")):null}function jl(e){let t=e[L],n=t.getRels(Y)?.items.find(s=>s.type===D.viewProps&&s.targetMode==="Internal"),r=n&&t.getPart(H(Y,n.target));if(!r)return null;let a=$(V(r.data)),l=m(a.root,_e("slideViewPr")),i=l&&m(l,_e("cSldViewPr"));return{part:r,doc:a,common:i}}function VF(e){let t=jl(e),n=t?.common&&m(t.common,_e("guideLst"));return t&&n?{...t,guides:n}:null}function zF(e){let t=e[L].getPart(Y);if(!t)return null;let n=HF($(V(t.data)).root),r=n??VF(e)?.guides;if(!r)return null;let a=[],l=new Set;for(let[i,s]of Q(r,n?ka("guide"):_e("guide")).entries()){let c=n?Number(dn(s,"id")):i+1,p=Number(dn(s,"pos")??0);if(n&&dn(s,"id")===null||!Number.isInteger(c)||c<0||c>4294967295||!Number.isInteger(p)||p<-2147483648||p>2147483647||l.has(c))continue;l.add(c);let u=m(s,ka("clr")),f=u&&m(u,_d("srgbClr")),y=f?dn(f,"val"):null;a.push({id:c,axis:dn(s,"orient")==="horz"?"y":"x",position:p*Dd,color:"#"+(y&&/^[0-9a-f]{6}$/i.test(y)?y.toLowerCase():"888888")})}return a}var WF=(e,t)=>{if(!Array.isArray(t)||new Set(t.map(u=>u?.id)).size!==t.length||t.some(u=>!u||!Number.isInteger(u.id)||u.id<0||u.id>4294967295||!["x","y"].includes(u.axis)||!Number.isFinite(u.position)||Math.round(u.position/Dd)<-2147483648||Math.round(u.position/Dd)>2147483647||!/^#[0-9a-f]{6}$/i.test(u.color)))throw new Error("Invalid drawing guides.");let n=e[L].getPart(Y);if(!n)throw new Error("presentation.xml is missing");let r=$(V(n.data)),a=VF(e),l=HF(r.root);if(!l){let u=m(r.root,_e("extLst"));u||(u=h(_e("extLst")),r.root.children.push(u)),l=h(ka("sldGuideLst"),{prefixDecls:new Map([["p15",iu],["a",d.dml]])});let f=Q(u,_e("ext")).find(y=>dn(y,"uri")===B1);f?f.children.push(l):u.children.push(h(_e("ext"),{attrs:[b(pt("uri"),B1)],children:[l]}))}l.prefixDecls.set("p15",iu);let i=new Map;for(let u of Q(l,ka("guide"))){let f=Number(dn(u,"id"));i.has(f)||i.set(f,u)}let s=t.map(u=>{let f=i.get(u.id)??h(ka("guide"),{attrs:[b(pt("userDrawn"),"1")]});for(let[E,A]of Object.entries({id:u.id,orient:u.axis==="x"?"vert":"horz",pos:Math.round(u.position/Dd)}))f.attrs=f.attrs.filter(T=>T.name.namespaceURI!==""||T.name.localName!==E),f.attrs.push(b(pt(E),String(A)));let y=m(f,ka("clr")),g=y&&m(y,_d("srgbClr")),S=g?"#"+dn(g,"val")?.toLowerCase():"#888888";if(!y||S!==u.color.toLowerCase()){let E=h(ka("clr"),{prefixDecls:new Map([["a",d.dml]]),children:[h(_d("srgbClr"),{attrs:[b(pt("val"),u.color.slice(1).toUpperCase())]})]});y?f.children[f.children.indexOf(y)]=E:f.children.unshift(E)}return f});l.children=[...s,...l.children.filter(u=>u.kind!=="element"||u.name.namespaceURI!==iu||u.name.localName!=="guide")],a&&(a.guides.children=t.map(u=>h(_e("guide"),{prefixDecls:new Map([["p",d.pml]]),attrs:[b(pt("orient"),u.axis==="x"?"vert":"horz"),b(pt("pos"),String(Math.round(u.position/Dd)))]})));let c=le(ae(r)),p=a&&le(ae(a.doc));n.data=c,a&&p&&(a.part.data=p)};function YF(e){let t=jl(e)?.common,n=t&&dn(t,"showGuides");return n==="1"||n==="true"}var ZF=(e,t)=>{if(typeof t!="boolean")throw new Error("Invalid guide visibility.");su(e,(n,r)=>{r.attrs=r.attrs.filter(a=>a.name.namespaceURI!==""||a.name.localName!=="showGuides"),r.attrs.push(b(pt("showGuides"),t?"1":"0"))})};function KF(e){let t=jl(e)?.common;if(!t)return null;let n=dn(t,"snapToGrid");return n!=="0"&&n!=="false"}var JF=(e,t)=>{if(typeof t!="boolean")throw new Error("Invalid grid snapping.");su(e,(n,r)=>{r.attrs=r.attrs.filter(a=>a.name.namespaceURI!==""||a.name.localName!=="snapToGrid"),r.attrs.push(b(pt("snapToGrid"),t?"1":"0"))})};function QF(e){let t=jl(e),n=t&&m(t.doc.root,_e("gridSpacing"));if(!n)return null;let r=Number(dn(n,"cx")),a=Number(dn(n,"cy"));return Number.isSafeInteger(r)&&r>0&&Number.isSafeInteger(a)&&a>0?{x:r,y:a}:null}var e4=(e,t)=>{if(![t?.x,t?.y].every(n=>Number.isSafeInteger(n)&&n>0&&n<=27273042316900))throw new Error("Invalid grid spacing.");su(e,n=>{let r=m(n,_e("gridSpacing"));if(!r){r=h(_e("gridSpacing"));let a=n.children.findIndex(l=>l.kind==="element"&&l.name.namespaceURI===d.pml&&l.name.localName==="extLst");n.children.splice(a<0?n.children.length:a,0,r)}r.attrs=r.attrs.filter(a=>a.name.namespaceURI!==""||!["cx","cy"].includes(a.name.localName)),r.attrs.push(b(pt("cx"),String(t.x)),b(pt("cy"),String(t.y)))})};function su(e,t){let n=e[L],r=n.getRels(Y)??{items:[]},a=r.items.find(u=>u.type===D.viewProps);if(a?.targetMode==="External")throw new Error("View properties must be internal.");let l=jl(e),i=l?.doc??$(`<p:viewPr xmlns:p="${d.pml}" xmlns:a="${d.dml}"/>`);i.root.prefixDecls.set("p",d.pml);let s=m(i.root,_e("slideViewPr"));if(!s){s=h(_e("slideViewPr"));let u=i.root.children.findIndex(f=>f.kind==="element"&&f.name.namespaceURI===d.pml&&f.name.localName!=="normalViewPr");i.root.children.splice(u<0?i.root.children.length:u,0,s)}let c=m(s,_e("cSldViewPr"));c||(c=h(_e("cSldViewPr"),{attrs:[b(pt("snapToGrid"),"0")],children:[h(_e("cViewPr"),{prefixDecls:new Map([["a",d.dml]]),children:[h(_e("scale"),{children:["sx","sy"].map(u=>h(_d(u),{attrs:[b(pt("n"),"100"),b(pt("d"),"100")]}))}),h(_e("origin"),{attrs:[b(pt("x"),"0"),b(pt("y"),"0")]})]})]}),s.children.unshift(c)),t(i.root,c);let p=le(ae(i));if(l)l.part.data=p;else{let u=a?H(Y,a.target):G("/ppt/viewProps.xml");if(!a)for(let f=1;n.getPart(u);f++)u=G(`/ppt/viewProps${f}.xml`);n.addPart(u,"application/vnd.openxmlformats-officedocument.presentationml.viewProps+xml",p),a||(r.items.push({id:se(r.items.map(f=>f.id)),type:D.viewProps,target:u,targetMode:"Internal"}),n.setRels(Y,r))}}function t4(e){let t=jl(e),n=t&&m(t.doc.root,_e("outlineViewPr")),r=n&&m(n,_e("sldLst"));if(!t||!r)return[];let a=e[L].getRels(t.part.name),l=new Map(a?.items.filter(s=>s.type===D.slide&&s.targetMode==="Internal").map(s=>[s.id,H(t.part.name,s.target)])),i=new Set(Q(r,_e("sld")).filter(s=>["1","true"].includes(dn(s,"collapse")??"")).map(s=>l.get(x(s,o("r","id",d.officeDocRels))??"")));return z(e).filter(s=>i.has(s[O]))}var n4=(e,t)=>{if(typeof t!="boolean")throw new Error("Invalid outline collapse state.");let n="length"in e?e:[e];if(!n.length)return;let r=n[0],a=r[L];if(n.some(y=>y[L]!==a))throw new Error("Outline slides must belong to the same presentation.");su(r,()=>{});let l=jl(r),i=a.getRels(l.part.name)??{items:[]},s=new Map(i.items.filter(y=>y.type===D.slide&&y.targetMode==="Internal").map(y=>[H(l.part.name,y.target),y])),c=se(i.items.map(y=>y.id)),p=m(l.doc.root,_e("outlineViewPr"));if(!p){p=h(_e("outlineViewPr"),{children:[h(_e("cViewPr"),{children:[h(_e("scale"),{children:["sx","sy"].map(g=>h(_d(g),{attrs:[b(pt("n"),"100"),b(pt("d"),"100")]}))}),h(_e("origin"),{attrs:[b(pt("x"),"0"),b(pt("y"),"0")]})]})]});let y=l.doc.root.children.findIndex(g=>g.kind==="element"&&g.name.namespaceURI===d.pml&&!["normalViewPr","slideViewPr"].includes(g.name.localName));l.doc.root.children.splice(y<0?l.doc.root.children.length:y,0,p)}let u=m(p,_e("sldLst"));if(!u){u=h(_e("sldLst"));let y=p.children.findIndex(g=>g.kind==="element"&&g.name.localName==="extLst"&&g.name.namespaceURI===d.pml);p.children.splice(y<0?p.children.length:y,0,u)}let f=new Map(Q(u,_e("sld")).map(y=>[x(y,o("r","id",d.officeDocRels)),y]));for(let y of new Set(n)){let g=y[O],S=s.get(g);S||(S={id:c,type:D.slide,target:g,targetMode:"Internal"},c=se([S.id]),i.items.push(S),s.set(g,S));let E=f.get(S.id);E||(E=h(_e("sld"),{attrs:[b(o("r","id",d.officeDocRels),S.id)]}),u.children.push(E),f.set(S.id,E)),E.attrs=E.attrs.filter(A=>A.name.namespaceURI!==""||A.name.localName!=="collapse"),E.attrs.push(b(pt("collapse"),t?"1":"0"))}l.doc.root.prefixDecls.set("r",d.officeDocRels),l.part.data=le(ae(l.doc)),a.setRels(l.part.name,i)};var O1=e=>{let t=e[F];if(e[U].kind==="picture")return m(t,o("p","blipFill",d.pml));let n=m(t,o("p","spPr",d.pml));return n?m(n,o("a","blipFill",d.dml)):null},r4=e=>{let t=O1(e);return t?Rm(t):null},a4=(e,t)=>{let n=O1(e);if(!n)throw new Error("setShapeImageFillLayout requires a picture or a shape with an image fill");Nm(n,t),J(e)},l4=e=>{let t=O1(e);if(!t)return null;let n=dd(e)??cd(e);return n?Dm(t,n):null};var rJ=typeof __PPTX_KIT_VERSION__=="string"?__PPTX_KIT_VERSION__:"0.0.0-dev";var aJ={};d4(aJ,{BUILTIN_PICTURE_STYLES:()=>eo,BUILTIN_TABLE_STYLES:()=>io,COMMENT_STATUSES:()=>Jc,SLIDE_SIZE_16_10:()=>RR,SLIDE_SIZE_16_9:()=>LR,SLIDE_SIZE_4_3:()=>PR,VERSION:()=>rJ,_internalPackageOf:()=>XP,addBlankSlide:()=>nF,addContentSlide:()=>rF,addMissingSlidePlaceholders:()=>_1,addSectionHeaderSlide:()=>aF,addSlide:()=>Xl,addSlideAt:()=>cF,addSlideChart:()=>Ov,addSlideComment:()=>Zk,addSlideImage:()=>dk,addSlideLayout:()=>vM,addSlideLayoutPlaceholder:()=>DM,addSlideLine:()=>ik,addSlideMaster:()=>AM,addSlideMedia:()=>oL,addSlidePlaceholder:()=>uF,addSlideShape:()=>ok,addSlideTable:()=>sk,addSlideTextBox:()=>lk,addTitleSlide:()=>lF,appendShapeText:()=>g3,appendSlideNotes:()=>xR,applySlideBackgroundToAll:()=>vv,asColor:()=>dt,bringShapeForward:()=>Q3,bringShapeToFront:()=>K3,centerShapeOnSlide:()=>B_,clearAllHyperlinks:()=>sR,clearAllSlideComments:()=>eM,clearAllSlideNotes:()=>AR,clearShapeEffects:()=>m3,clearShapeFill:()=>e_,clearShapeStroke:()=>d_,clearSlideAnimations:()=>BN,clearSlideBackground:()=>Ry,clearSlideComments:()=>d1,clearSlideHyperlinks:()=>dR,clearSlideLayoutBackground:()=>Mm,clearSlideShapes:()=>rk,clearSlideTransition:()=>DL,clearTableCellFill:()=>AP,cm:()=>Pw,compactPackage:()=>YP,copyShape:()=>Z3,copySlideBackground:()=>wv,createPresentation:()=>yC,duplicateSlide:()=>P1,duplicateSlideAt:()=>mF,emu:()=>Qn,findChartByKind:()=>Qv,findChartsBySeriesName:()=>Zv,findChartsWithDataLabels:()=>Jv,findChartsWithTrendlines:()=>Kv,findCommentAuthorByName:()=>Gk,findCommentsAfter:()=>Vk,findCommentsBefore:()=>zk,findCommentsByAuthor:()=>qk,findCommentsByText:()=>Hk,findEmptyPlaceholders:()=>Ox,findFlippedShapes:()=>DR,findLayoutsWithPlaceholderType:()=>Ow,findOverlappingShapePairs:()=>Sp,findShapeById:()=>Gp,findShapeByName:()=>Xx,findShapeByText:()=>V_,findShapeInPresentation:()=>e3,findShapesAtPoint:()=>F_,findShapesByEffect:()=>a3,findShapesByHyperlink:()=>Y_,findShapesByKind:()=>W_,findShapesByName:()=>H_,findShapesByPreset:()=>K_,findShapesByText:()=>z_,findShapesInRect:()=>I_,findShapesOutsideCanvas:()=>_R,findShapesWithAnimation:()=>IN,findShapesWithHyperlinks:()=>Z_,findShapesWithMedia:()=>iL,findSlideByPartName:()=>Qx,findSlideByText:()=>wk,findSlideByTitle:()=>Ak,findSlideLayout:()=>Bw,findSlideLayoutByPartName:()=>Iw,findSlideLayoutByType:()=>Wr,findSlidePlaceholder:()=>Pt,findSlidePlaceholderByIdx:()=>G_,findSlidePlaceholders:()=>q_,findSlidesByHyperlink:()=>oR,findSlidesByLayoutName:()=>kR,findSlidesByLayoutPartName:()=>MR,findSlidesByLayoutType:()=>FR,findSlidesByNotes:()=>Ck,findSlidesByText:()=>vk,findSlidesWithChartKind:()=>zL,findSlidesWithChartTrendlines:()=>WL,findSlidesWithCommentsByAuthor:()=>Xk,getAllCharts:()=>tR,getAllComments:()=>cR,getAllHyperlinks:()=>nR,getAllImages:()=>QL,getAllNotes:()=>mR,getAllShapes:()=>Rk,getAllTables:()=>eR,getCollapsedOutlineSlides:()=>t4,getCommentAuthor:()=>tM,getCommentAuthors:()=>i1,getCommentDate:()=>rM,getCommentFormat:()=>iM,getCommentParent:()=>oM,getCommentPosition:()=>aM,getCommentSlide:()=>lM,getCommentStatus:()=>sM,getCommentText:()=>nM,getCommentsSortedByDate:()=>Wk,getCoreProperties:()=>rd,getCustomShows:()=>dl,getDistinctHyperlinkUrls:()=>aR,getDrawingGuides:()=>zF,getDrawingGuidesVisible:()=>YF,getEffectiveColorMap:()=>Ye,getEmptySlides:()=>yR,getExtendedProperties:()=>DC,getGridSpacing:()=>QF,getGroupChildren:()=>$p,getGroupTransform:()=>Up,getHandoutMasterPlaceholders:()=>zM,getHandoutSlidesPerPage:()=>eF,getHiddenSlides:()=>qL,getMaxShapeId:()=>y_,getMaxShapeIdInPresentation:()=>x_,getMediaParts:()=>GP,getNotesMasterPlaceholders:()=>VM,getNotesPageSize:()=>KM,getOrphanMediaPartNames:()=>VP,getOutlineText:()=>fk,getPackageSize:()=>UP,getParagraphAlignment:()=>rD,getParagraphBullet:()=>mD,getParagraphBulletImageBytes:()=>uD,getParagraphBulletStyle:()=>fD,getParagraphElementLanguages:()=>PF,getParagraphEndFormat:()=>HN,getParagraphIndent:()=>iD,getParagraphLevel:()=>aD,getParagraphLineSpacing:()=>dD,getParagraphPropertiesEffective:()=>sC,getParagraphSpacing:()=>oD,getPresentationChartCountsBySlide:()=>tC,getPresentationChartKindCounts:()=>eC,getPresentationCommentCountsByAuthor:()=>$k,getPresentationCommentCountsBySlide:()=>Uk,getPresentationCommenters:()=>jk,getPresentationCreated:()=>LC,getPresentationFirstSlideNumber:()=>vR,getPresentationFonts:()=>Mo,getPresentationHyperlinkCountsBySlide:()=>rR,getPresentationImageCountsBySlide:()=>NR,getPresentationModified:()=>RC,getPresentationNotesLength:()=>hR,getPresentationNotesLengthsBySlide:()=>gR,getPresentationNotesText:()=>fR,getPresentationShapeCountsBySlide:()=>yk,getPresentationSummary:()=>KP,getPresentationTableCountsBySlide:()=>UC,getPresentationText:()=>hk,getPresentationTextLength:()=>gk,getPresentationTextLengthsBySlide:()=>xk,getPresentationTheme:()=>Fe,getPresetGeometry:()=>g_,getShape3D:()=>u3,getShapeAdjustValues:()=>f_,getShapeAltTitle:()=>T_,getShapeAnimation:()=>kN,getShapeAt:()=>ck,getShapeBodyPrEffective:()=>F3,getShapeBounds:()=>on,getShapeBoundsResolved:()=>k_,getShapeCenter:()=>M_,getShapeChartCategories:()=>zv,getShapeChartKind:()=>Vv,getShapeChartSeriesNames:()=>Wv,getShapeChartSeriesValues:()=>Yv,getShapeChartSpec:()=>Ko,getShapeClickAction:()=>BT,getShapeCustomGeometry:()=>h_,getShapeDescription:()=>E_,getShapeEffect:()=>r3,getShapeEffects:()=>Hp,getShapeEffectsEffective:()=>l3,getShapeFill:()=>Ti,getShapeFillColor:()=>XD,getShapeFillColorResolved:()=>jD,getShapeFillEffective:()=>UD,getShapeFillOpacity:()=>$D,getShapeFlip:()=>Tp,getShapeGradientFill:()=>Zw,getShapeGradientFillEffective:()=>Kw,getShapeHyperlink:()=>ln,getShapeHyperlinkTooltip:()=>ZN,getShapeId:()=>Il,getShapeImageArtisticEffect:()=>UR,getShapeImageBiLevelThreshold:()=>BR,getShapeImageBrightness:()=>JR,getShapeImageBytes:()=>dd,getShapeImageCompressionState:()=>XF,getShapeImageContrast:()=>KR,getShapeImageCrop:()=>HR,getShapeImageDuotone:()=>OR,getShapeImageFillBytes:()=>cd,getShapeImageFillLayout:()=>r4,getShapeImageFormat:()=>$R,getShapeImageIntrinsicSize:()=>l4,getShapeImageLinkUrl:()=>XR,getShapeImageOpacity:()=>GR,getShapeImagePartName:()=>jR,getShapeIndex:()=>Q_,getShapeKind:()=>u_,getShapeMedia:()=>sd,getShapeMediaPlayback:()=>vL,getShapeName:()=>Ed,getShapeParagraphCount:()=>Dp,getShapeParagraphElements:()=>qN,getShapePatternFill:()=>KD,getShapePictureStyle:()=>FF,getShapePlaceholderIdx:()=>Ut,getShapePlaceholderType:()=>$t,getShapePosition:()=>N_,getShapePreset:()=>Xp,getShapeRotation:()=>__,getShapeRunClickAction:()=>JN,getShapeRunCount:()=>VN,getShapeRunFormat:()=>wD,getShapeRunFormatEffective:()=>iC,getShapeRunHyperlink:()=>YN,getShapeRunHyperlinkTooltip:()=>KN,getShapeRunText:()=>zN,getShapeSize:()=>D_,getShapeSlide:()=>qp,getShapeStroke:()=>bd,getShapeStrokeArrow:()=>o_,getShapeStrokeCap:()=>kD,getShapeStrokeColor:()=>RD,getShapeStrokeColorResolved:()=>DD,getShapeStrokeCompound:()=>FD,getShapeStrokeDash:()=>l_,getShapeStrokeEffective:()=>ID,getShapeStrokeGradient:()=>OD,getShapeStrokeJoin:()=>MD,getShapeStrokeOpacity:()=>_D,getShapeStrokeSketch:()=>r_,getShapeStrokeWidth:()=>ND,getShapeText:()=>R_,getShapeText3D:()=>T3,getShapeTextAnchor:()=>P3,getShapeTextAutoFit:()=>w3,getShapeTextAutoFitParams:()=>v3,getShapeTextBodyRotationDeg:()=>N3,getShapeTextColumns:()=>L3,getShapeTextDirection:()=>_3,getShapeTextFlat:()=>A3,getShapeTextLanguage:()=>CF,getShapeTextMargins:()=>M3,getShapeTextWrap:()=>x3,getShapeXmlString:()=>J_,getShapeZIndex:()=>ek,getShapesBounds:()=>j_,getSlideAnimations:()=>FN,getSlideAt:()=>Sk,getSlideBackground:()=>Qw,getSlideBackgroundGradientFill:()=>cv,getSlideBackgroundImageBytes:()=>pv,getSlideBackgroundImageCrop:()=>yv,getSlideBackgroundImageFillLayout:()=>xv,getSlideBackgroundImageIntrinsicSize:()=>gv,getSlideBackgroundImageOpacity:()=>bv,getSlideBackgroundPatternFill:()=>mv,getSlideBody:()=>UN,getSlideCharts:()=>Bn,getSlideColorMapOverride:()=>Xm,getSlideCommentAuthors:()=>Yk,getSlideComments:()=>Vt,getSlideCount:()=>mk,getSlideIndex:()=>Jx,getSlideInfo:()=>bk,getSlideLayout:()=>Te,getSlideLayoutBackground:()=>dv,getSlideLayoutBackgroundGradientFill:()=>ov,getSlideLayoutBackgroundImageBytes:()=>uv,getSlideLayoutBackgroundPatternFill:()=>av,getSlideLayoutBackgroundShapes:()=>ev,getSlideLayoutCount:()=>pk,getSlideLayoutName:()=>xa,getSlideLayoutPartName:()=>km,getSlideLayoutPlaceholders:()=>Ys,getSlideLayoutShapes:()=>nv,getSlideLayoutType:()=>zo,getSlideLayoutUsageCounts:()=>$w,getSlideLayoutUsageCountsByType:()=>jw,getSlideLayouts:()=>Ct,getSlideMasterBackground:()=>sv,getSlideMasterBackgroundGradientFill:()=>iv,getSlideMasterBackgroundImageBytes:()=>fv,getSlideMasterBackgroundPatternFill:()=>lv,getSlideMasterBackgroundStyles:()=>qF,getSlideMasterCount:()=>S_,getSlideMasterLayouts:()=>yM,getSlideMasterName:()=>h1,getSlideMasterPartName:()=>vi,getSlideMasterPartNames:()=>Ra,getSlideMasterPlaceholders:()=>xM,getSlideMasterShapes:()=>rv,getSlideMasterUsageCounts:()=>Ix,getSlideMediaPartNames:()=>zP,getSlideNotes:()=>Xn,getSlideNotesLength:()=>xp,getSlideNotesLineBreaks:()=>$L,getSlideNotesParagraphEndFormat:()=>GL,getSlideNotesTextFormats:()=>UL,getSlideOutline:()=>Kx,getSlidePartName:()=>Td,getSlideSections:()=>rp,getSlideShapes:()=>sn,getSlideShowProperties:()=>IM,getSlideSize:()=>Aa,getSlideTables:()=>Gy,getSlideText:()=>Zx,getSlideTextLength:()=>uk,getSlideTitle:()=>hi,getSlideTransition:()=>RL,getSlideTransitionSound:()=>BL,getSlideXmlString:()=>Tk,getSlides:()=>z,getSlidesByLayout:()=>Ek,getSlidesWithCharts:()=>VL,getSlidesWithComments:()=>JL,getSlidesWithEmptyPlaceholders:()=>U_,getSlidesWithHyperlinks:()=>lR,getSlidesWithImages:()=>KL,getSlidesWithNotes:()=>pR,getSlidesWithOverlap:()=>YL,getSlidesWithTables:()=>ZL,getSnapToGrid:()=>KF,getTableBackgroundEffective:()=>CP,getTableCell:()=>eP,getTableCellAlignment:()=>DP,getTableCellAnchor:()=>hP,getTableCellAppearanceEffective:()=>vP,getTableCellBorders:()=>cP,getTableCellFill:()=>TP,getTableCellMargins:()=>yP,getTableCellParagraphs:()=>SP,getTableCellPosition:()=>NP,getTableCellRunFormatEffective:()=>bP,getTableCellSpan:()=>El,getTableCellText:()=>Yy,getTableCellText3D:()=>uP,getTableCellTextDirection:()=>pP,getTableCells:()=>ld,getTableColumnWidths:()=>zy,getTableDimensions:()=>ZC,getTableRowHeights:()=>Wy,getTableSize:()=>KC,getTableStyleFlags:()=>Vy,getTableStyleId:()=>Hy,getThumbnail:()=>kC,getUnusedSlideLayouts:()=>Xw,getUnusedSlideMasters:()=>b_,getVisibleSlides:()=>HL,groupShapes:()=>RF,hasShapeImage:()=>pi,hasShapeText:()=>Ep,hasSlideNotes:()=>uR,importSlide:()=>L1,inches:()=>Hs,incrementRevision:()=>CC,insertTableColumn:()=>MP,insertTableRow:()=>_P,isChartShape:()=>dp,isChartSpec:()=>ay,isParagraphBulletPicture:()=>pD,isShapeAspectRatioLocked:()=>xF,isShapeHidden:()=>v_,isShapeImageGrayscale:()=>IR,isShapeLocked:()=>yF,isShapePlaceholder:()=>jp,isShapeTextBox:()=>L_,isSlideBackgroundGraphicsHidden:()=>$m,isSlideHidden:()=>Ea,isSlideLayoutBackgroundGraphicsHidden:()=>Dk,isSlideMasterPreserved:()=>SM,isTableShape:()=>ri,listPackageParts:()=>jP,loadPresentation:()=>gC,mergePresentations:()=>pF,mergeTableCells:()=>sP,mm:()=>Lw,moveSlide:()=>Nd,moveSlideAnimation:()=>Y3,pointInShape:()=>Bx,pt:()=>Rw,readPackagePart:()=>$P,removeShape:()=>ak,removeSlide:()=>iF,removeSlideAnimation:()=>W3,removeSlideComment:()=>Qk,removeSlideLayout:()=>CM,removeSlideMaster:()=>wM,removeSlideNotes:()=>mx,removeTableColumn:()=>FP,removeTableRow:()=>kP,removeThumbnail:()=>FC,renameShape:()=>P_,replaceHyperlink:()=>iR,replaceTextInNotes:()=>Lk,replaceTextInPresentation:()=>Fk,replaceTextInSlide:()=>Ik,replaceTextInSlideNotes:()=>e1,replaceTokensInPresentation:()=>Mk,replaceTokensInSlide:()=>t3,resetShapeImageColorEffects:()=>Ap,resetShapeVideoFormatting:()=>$F,resetSlideLayout:()=>fF,resetSlidePlaceholderGeometry:()=>D1,resetSlidePlaceholderTextFormatting:()=>k1,resolveDeckBodyTextColor:()=>xl,resolveDrawingColor:()=>ye,resolveDrawingColorOpacity:()=>gt,resolveSlideNotesTextColor:()=>jL,reverseSlides:()=>sF,savePresentation:()=>xC,searchSlides:()=>Pk,sendShapeBackward:()=>nk,sendShapeToBack:()=>J3,setChartData:()=>Hv,setChartSpec:()=>ky,setCommentStatus:()=>dM,setCommentText:()=>Jk,setCoreProperties:()=>op,setCustomShows:()=>FT,setDrawingGuides:()=>WF,setDrawingGuidesVisible:()=>ZF,setExtendedProperties:()=>_C,setGridSpacing:()=>e4,setHandoutMasterPlaceholderIncluded:()=>ZM,setHandoutSlidesPerPage:()=>tF,setMediaPartBytes:()=>ZP,setNotesMasterPlaceholderIncluded:()=>YM,setNotesPageOrientation:()=>JM,setParagraphAlignment:()=>eD,setParagraphBullet:()=>hD,setParagraphIndent:()=>sD,setParagraphLevel:()=>tD,setParagraphLineSpacing:()=>cD,setParagraphSpacing:()=>lD,setParagraphTabs:()=>xD,setParagraphTypography:()=>yD,setPresentationFonts:()=>DT,setPresentationTheme:()=>NT,setShape3D:()=>p3,setShapeAdjustValues:()=>HD,setShapeAlignment:()=>X3,setShapeAltTitle:()=>w_,setShapeAnimation:()=>_N,setShapeAspectRatioLocked:()=>bF,setShapeBounds:()=>O_,setShapeBulletStyle:()=>O3,setShapeClickAction:()=>OT,setShapeCustomGeometry:()=>AF,setShapeDescription:()=>A_,setShapeFill:()=>WD,setShapeFlip:()=>VD,setShapeGlow:()=>s3,setShapeGradientFill:()=>YD,setShapeHidden:()=>C_,setShapeHyperlink:()=>Qo,setShapeImage:()=>_T,setShapeImageBrightness:()=>YR,setShapeImageCompressionState:()=>jF,setShapeImageContrast:()=>ZR,setShapeImageCrop:()=>nN,setShapeImageFill:()=>JD,setShapeImageFillLayout:()=>a4,setShapeImageOpacity:()=>tN,setShapeImageRecolor:()=>eN,setShapeInnerShadow:()=>i3,setShapeLocked:()=>SF,setShapeMediaPlayback:()=>CL,setShapeNoFill:()=>QD,setShapeNoStroke:()=>a_,setShapeParagraphs:()=>$3,setShapePatternFill:()=>ZD,setShapePictureStyle:()=>MF,setShapePosition:()=>wi,setShapePreset:()=>Op,setShapeReflection:()=>d3,setShapeRotation:()=>qD,setShapeRunFormat:()=>dC,setShapeRunHyperlink:()=>WN,setShapeRunText:()=>gD,setShapeShadow:()=>o3,setShapeSize:()=>GD,setShapeSlideBackgroundFill:()=>zD,setShapeSoftEdge:()=>c3,setShapeStroke:()=>t_,setShapeStrokeArrow:()=>s_,setShapeStrokeCap:()=>c_,setShapeStrokeCompound:()=>p_,setShapeStrokeDash:()=>i_,setShapeStrokeJoin:()=>m_,setShapeStrokeSketch:()=>n_,setShapeStyle:()=>LF,setShapeText:()=>yi,setShapeText3D:()=>b3,setShapeTextAnchor:()=>I3,setShapeTextAutoFit:()=>S3,setShapeTextBodyRotationDeg:()=>D3,setShapeTextColumns:()=>R3,setShapeTextDirection:()=>k3,setShapeTextField:()=>h3,setShapeTextFlat:()=>E3,setShapeTextFormat:()=>j3,setShapeTextLanguage:()=>vF,setShapeTextMargins:()=>B3,setShapeTextWrap:()=>y3,setShapeZIndex:()=>tk,setSlideBackground:()=>Ly,setSlideBackgroundGradientFill:()=>hv,setSlideBackgroundGraphicsHidden:()=>Um,setSlideBackgroundImage:()=>Cv,setSlideBackgroundImageFillLayout:()=>Sv,setSlideBackgroundImageOpacity:()=>Ev,setSlideBackgroundPatternFill:()=>Tv,setSlideBody:()=>_p,setSlideHidden:()=>kk,setSlideLayout:()=>X_,setSlideLayoutBackground:()=>Gw,setSlideLayoutBackgroundGraphicsHidden:()=>NM,setSlideLayoutFootersIncluded:()=>RM,setSlideLayoutName:()=>Uw,setSlideLayoutPlaceholderBounds:()=>qw,setSlideLayoutTitleIncluded:()=>LM,setSlideMasterBackgroundStyle:()=>UF,setSlideMasterName:()=>bM,setSlideMasterPlaceholderIncluded:()=>PM,setSlideMasterPreserved:()=>EM,setSlideNotes:()=>Ll,setSlideNotesFormat:()=>bR,setSlideOutlineCollapsed:()=>n4,setSlidePlaceholders:()=>GN,setSlideSections:()=>wC,setSlideShowProperties:()=>BM,setSlideSize:()=>CR,setSlideTitle:()=>gi,setSlideTransition:()=>NL,setSlideTransitionSound:()=>XL,setSnapToGrid:()=>JF,setTableCellAlignment:()=>RP,setTableCellAnchor:()=>gP,setTableCellBorders:()=>mP,setTableCellClickAction:()=>LP,setTableCellFill:()=>EP,setTableCellMargins:()=>xP,setTableCellParagraphs:()=>rP,setTableCellText:()=>nP,setTableCellTextDirection:()=>fP,setTableCellTextFormat:()=>PP,setTableColumnWidth:()=>JC,setTableRowHeight:()=>QC,setTableStyleFlags:()=>YC,setTableStyleId:()=>qC,setThumbnail:()=>MC,shapesOverlap:()=>wp,slideHasAnimations:()=>_k,slidesUsingMediaPart:()=>WP,sortSlides:()=>C1,splitTableCell:()=>dP,swapSlides:()=>dF,toWritableTextFormat:()=>W0,touchModified:()=>PC,transformSlideNotesCase:()=>SR,translateShapes:()=>$_,ungroupShapes:()=>NF,updateSlideAnimation:()=>z3,validatePresentation:()=>OP});function Gue(e){return e.kind==="slide"?[...new Set(e.slideIndices??[e.slideIndex])].sort((t,n)=>t-n):[e.slideIndex]}function que(e){return e.kind==="shape"?e.shapeIds[0]??null:e.kind==="cell"?e.shapeId:null}function lJ(e){return e.kind==="shape"?[...e.shapeIds]:e.kind==="cell"?[e.shapeId]:[]}function Hue(e){let t=new Set(["presentation"]);return t.add("slide"),e.kind==="shape"&&e.shapeIds.length>0&&t.add("shape"),e.kind==="cell"&&(t.add("shape"),t.add("cell")),t}function Vue(e){let t=sn(e),n=new Set(t.flatMap(r=>$p(r).map(Il)));return t.filter(r=>!n.has(Il(r)))}function zue(e,t){let n=qp(t);return{slideIndex:z(e).indexOf(n),slide:Td(n),shapeId:Il(t),name:Ed(t)}}function Wue(e,t){let n=z(e)[t.slideIndex];if(!n)return[];let r=Td(n);return lJ(t).flatMap(a=>{let l=Gp(n,a);return l?[{slideIndex:t.slideIndex,slide:r,shapeId:a,name:Ed(l)}]:[]})}function Yue(e,t){let n=z(e),r=n[t.slideIndex];if(!r)return{kind:"none",slideIndex:Math.max(0,n.length-1)};if(t.kind==="none")return t;if(t.kind==="slide")return(t.slideIndices??[t.slideIndex]).every(s=>s<n.length)?t:{kind:"slide",slideIndex:t.slideIndex};let a=new Set(sn(r).map(Il)),l={kind:"none",slideIndex:t.slideIndex};if(t.kind==="cell")return a.has(t.shapeId)?t:l;let i=t.shapeIds.filter(s=>a.has(s));return i.length===t.shapeIds.length?t:i.length>0?{...t,shapeIds:i}:l}export{Hs as a,Pw as b,Rw as c,Qn as d,dt as e,W0 as f,eo as g,io as h,I2 as i,B2 as j,C2 as k,X2 as l,j2 as m,gC as n,yC as o,xC as p,Fe as q,Mo as r,NT as s,DT as t,Vt as u,Zk as v,Jk as w,Qk as x,eM as y,d1 as z,tM as A,nM as B,rM as C,lM as D,oM as E,sM as F,dM as G,_T as H,dl as I,FT as J,BT as K,OT as L,ay as M,xa as N,km as O,Iw as P,Ys as Q,Bw as R,zo as S,Ct as T,Zw as U,Kw as V,Qw as W,av as X,lv as Y,ov as Z,iv as _,sv as $,dv as aa,cv as ba,mv as ca,Ly as da,hv as ea,xv as fa,Sv as ga,bv as ha,Ev as ia,Tv as ja,wv as ka,vv as la,Cv as ma,Ry as na,Ye as oa,Ov as pa,ky as qa,Ko as ra,Bn as sa,iC as ta,sC as ua,ln as va,Qo as wa,ri as xa,dp as ya,ld as za,Hy as Aa,qC as Ba,Vy as Ca,YC as Da,ZC as Ea,zy as Fa,KC as Ga,Wy as Ha,JC as Ia,QC as Ja,eP as Ka,nP as La,El as Ma,sP as Na,dP as Oa,mP as Pa,pP as Qa,fP as Ra,hP as Sa,gP as Ta,yP as Ua,xP as Va,Yy as Wa,SP as Xa,bP as Ya,EP as Za,AP as _a,TP as $a,vP as ab,PP as bb,LP as cb,RP as db,NP as eb,DP as fb,_P as gb,kP as hb,MP as ib,FP as jb,YP as kb,oL as lb,sd as mb,vL as nb,CL as ob,RL as pb,NL as qb,DL as rb,BL as sb,XL as tb,jL as ub,Xn as vb,$L as wb,UL as xb,GL as yb,Ll as zb,SR as Ab,bR as Bb,Aa as Cb,CR as Db,PR as Eb,LR as Fb,RR as Gb,dd as Hb,Ep as Ib,MR as Jb,IR as Kb,BR as Lb,OR as Mb,cd as Nb,$R as Ob,UR as Pb,GR as Qb,HR as Rb,YR as Sb,ZR as Tb,KR as Ub,JR as Vb,Ap as Wb,eN as Xb,tN as Yb,nN as Zb,_N as _b,FN as $b,hi as ac,Dp as bc,qN as cc,HN as dc,ZN as ec,KN as fc,JN as gc,eD as hc,tD as ic,aD as jc,lD as kc,sD as lc,cD as mc,fD as nc,hD as oc,yD as pc,xD as qc,ye as rc,ND as sc,DD as tc,_D as uc,kD as vc,MD as wc,FD as xc,ID as yc,OD as zc,bd as Ac,jD as Bc,$D as Cc,UD as Dc,Ti as Ec,Op as Fc,qD as Gc,VD as Hc,zD as Ic,WD as Jc,YD as Kc,ZD as Lc,KD as Mc,JD as Nc,QD as Oc,e_ as Pc,t_ as Qc,n_ as Rc,r_ as Sc,a_ as Tc,l_ as Uc,o_ as Vc,i_ as Wc,s_ as Xc,d_ as Yc,c_ as Zc,m_ as _c,p_ as $c,u_ as ad,Il as bd,Xp as cd,h_ as dd,y_ as ed,vi as fd,Ra as gd,Ix as hd,Ed as id,E_ as jd,v_ as kd,C_ as ld,P_ as md,$t as nd,jp as od,L_ as pd,R_ as qd,__ as rd,Tp as sd,$p as td,Up as ud,on as vd,k_ as wd,O_ as xd,sn as yd,X_ as zd,Te as Ad,Pt as Bd,Gp as Cd,qp as Dd,J_ as Ed,Hp as Fd,o3 as Gd,i3 as Hd,s3 as Id,d3 as Jd,c3 as Kd,m3 as Ld,p3 as Md,u3 as Nd,yi as Od,h3 as Pd,y3 as Qd,S3 as Rd,b3 as Sd,E3 as Td,A3 as Ud,T3 as Vd,P3 as Wd,R3 as Xd,N3 as Yd,_3 as Zd,k3 as _d,F3 as $d,I3 as ae,B3 as be,X3 as ce,j3 as de,$3 as ee,z3 as fe,W3 as ge,Y3 as he,Z3 as ie,K3 as je,J3 as ke,Q3 as le,tk as me,nk as ne,ak as oe,lk as pe,ok as qe,ik as re,sk as se,dk as te,z as ue,Jx as ve,Qx as we,Td as xe,Ea as ye,$m as ze,Dk as Ae,Um as Be,kk as Ce,Fk as De,Ik as Ee,rp as Fe,wC as Ge,yM as He,xM as Ie,SM as Je,PM as Ke,IM as Le,BM as Me,VM as Ne,zM as Oe,KM as Pe,eF as Qe,nF as Re,lF as Se,Xl as Te,iF as Ue,C1 as Ve,Nd as We,cF as Xe,mF as Ye,L1 as Ze,D1 as _e,_1 as $e,uF as af,k1 as bf,fF as cf,yF as df,xF as ef,SF as ff,bF as gf,AF as hf,vF as if,CF as jf,PF as kf,LF as lf,RF as mf,NF as nf,MF as of,FF as pf,jF as qf,$F as rf,UF as sf,qF as tf,zF as uf,WF as vf,YF as wf,KF as xf,JF as yf,QF as zf,e4 as Af,t4 as Bf,n4 as Cf,r4 as Df,a4 as Ef,l4 as Ff,aJ as Gf,Gue as Hf,que as If,lJ as Jf,Hue as Kf,Vue as Lf,zue as Mf,Wue as Nf,Yue as Of};
|