lt-ppt 1.0.1 → 1.0.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.
@@ -3,8 +3,8 @@ var k7e = (e, t, n) => t in e ? F7e(e, t, { enumerable: !0, configurable: !0, wr
3
3
  var Zn = (e, t, n) => k7e(e, typeof t != "symbol" ? t + "" : t, n);
4
4
  import E7e, { markRaw as We, openBlock as k, createElementBlock as Z, createElementVNode as F, defineComponent as Le, ref as le, onBeforeMount as D7e, onMounted as Vt, createBlock as xe, Transition as KT, withCtx as ae, createCommentVNode as Pe, toDisplayString as ie, createVNode as D, render as _g, computed as ge, onUnmounted as Un, Fragment as Fe, renderList as Ye, unref as G, useTemplateRef as gt, renderSlot as rr, withModifiers as xt, normalizeClass as Be, Teleport as tye, withDirectives as et, normalizeStyle as me, vShow as Kp, watch as ht, toRef as LO, resolveDynamicComponent as ef, provide as ix, resolveDirective as Wn, createTextVNode as Ie, nextTick as Zr, onBeforeUnmount as QU, watchEffect as sx, withKeys as Vc, vModelText as X7e, inject as xb, createStaticVNode as V7e, isRef as bue, mergeProps as U7e } from "vue";
5
5
  import { storeToRefs as Me } from "./pinia-CVat9nJz.js";
6
- import { l as pr, g as M0, e as Lt, f as nye, n as Ct, d as TO, a as tt, c as ze, u as Gi, b as rye, N as Lr, S as Uc, T as Da, h as di, D as PO, F as lr, i as KU, M as W7e, j as aye, A as oye, P as lx, k as iye, m as B7e, R as OO, o as PD, p as Y7e, q as sye, r as lye, s as cye, t as yo, v as Z7e, w as Q7e, x as K7e, y as H7e, z as G7e, B as z7e, C as J7e, E as j7e, G as $7e, H as uye, I as q7e, J as HT, K as eNe, L as tNe, O as is, Q as qf, U as xue, V as nNe, W as rNe, X as aNe, Y as oNe, Z as iNe, _ as xi, $ as v6 } from "./screen-B0Lx73x7.js";
7
- import { _ as _e } from "./lib-CcU3sBPZ.js";
6
+ import { l as pr, g as M0, e as Lt, f as nye, n as Ct, d as TO, a as tt, c as ze, u as Gi, b as rye, N as Lr, S as Uc, T as Da, h as di, D as PO, F as lr, i as KU, M as W7e, j as aye, A as oye, P as lx, k as iye, m as B7e, R as OO, o as PD, p as Y7e, q as sye, r as lye, s as cye, t as yo, v as Z7e, w as Q7e, x as K7e, y as H7e, z as G7e, B as z7e, C as J7e, E as j7e, G as $7e, H as uye, I as q7e, J as HT, K as eNe, L as tNe, O as is, Q as qf, U as xue, V as nNe, W as rNe, X as aNe, Y as oNe, Z as iNe, _ as xi, $ as v6 } from "./screen-BATOwNnX.js";
7
+ import { _ as _e } from "./lib-Vnh6z6GM.js";
8
8
  import { t as sNe } from "./tippy.esm-Dos-q4Dz.js";
9
9
  import { useI18n as yn } from "./vue-i18n-R6dI71u7.js";
10
10
  const qA = (e, t) => pr.padStart("" + e, t, "0"), lNe = () => !navigator.userAgent.match(/(iPhone|iPod|iPad|Android|Mobile|BlackBerry|Symbian|Windows Phone)/i), cNe = (e) => /^(https?:\/\/)([\w-]+\.)+[\w-]{2,}(\/[\w-./?%&=]*)?$/i.test(e);
@@ -48761,7 +48761,7 @@ function ST(e) {
48761
48761
  throw new Error("Invalid chart line cap: ".concat(t));
48762
48762
  }
48763
48763
  function _E(e) {
48764
- var t = typeof require < "u" && typeof window > "u" ? require("fs") : null, n = typeof require < "u" && typeof window > "u" ? require("https") : null, r = [], a = e._relsMedia.filter(function(i) {
48764
+ var t = null, n = null, r = [], a = e._relsMedia.filter(function(i) {
48765
48765
  return i.type !== "online" && !i.data && (!i.path || i.path && !i.path.includes("preencoded"));
48766
48766
  }), o = [];
48767
48767
  return a.forEach(function(i) {
@@ -49684,7 +49684,7 @@ var _je = "3.12.0", L1e = (
49684
49684
  return vc(this, function(s) {
49685
49685
  switch (s.label) {
49686
49686
  case 0:
49687
- return n = typeof require < "u" && typeof window > "u" ? require("fs") : null, typeof t == "string" && console.log("Warning: `writeFile(filename)` is deprecated - please use `WriteFileProps` argument (v3.5.0)"), r = typeof t == "object" && (t != null && t.fileName) ? t.fileName : typeof t == "string" ? t : "", a = typeof t == "object" && (t != null && t.compression) ? t.compression : !1, o = r ? r.toString().toLowerCase().endsWith(".pptx") ? r : r + ".pptx" : "Presentation.pptx", [4, this.exportPresentation({
49687
+ return n = null, typeof t == "string" && console.log("Warning: `writeFile(filename)` is deprecated - please use `WriteFileProps` argument (v3.5.0)"), r = typeof t == "object" && (t != null && t.fileName) ? t.fileName : typeof t == "string" ? t : "", a = typeof t == "object" && (t != null && t.compression) ? t.compression : !1, o = r ? r.toString().toLowerCase().endsWith(".pptx") ? r : r + ".pptx" : "Presentation.pptx", [4, this.exportPresentation({
49688
49688
  compression: a,
49689
49689
  outputType: n ? "nodebuffer" : null
49690
49690
  }).then(function(c) {
@@ -1,4 +1,4 @@
1
- import { u as a, a as o, b as r, c as S, d as t } from "./screen-B0Lx73x7.js";
1
+ import { u as a, a as o, b as r, c as S, d as t } from "./screen-BATOwNnX.js";
2
2
  export {
3
3
  a as useKeyboardStore,
4
4
  o as useMainStore,
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as k, resolveComponent as P, openBlock as d, createElementBlock as c, Fragment as x, renderList as A, withModifiers as p, normalizeClass as L, createElementVNode as C, toDisplayString as I, createCommentVNode as v, createBlock as O, computed as S, normalizeStyle as U, createVNode as D, render as w } from "vue";
2
- import { _ as b } from "./lib-CcU3sBPZ.js";
2
+ import { _ as b } from "./lib-Vnh6z6GM.js";
3
3
  import { t as G } from "./tippy.esm-Dos-q4Dz.js";
4
4
  const R = { class: "menu-content" }, X = ["onClick"], V = { class: "text" }, W = {
5
5
  key: 0,
@@ -1801,9 +1801,9 @@ const E = {
1801
1801
  import("vue"),
1802
1802
  import("./pinia-CVat9nJz.js"),
1803
1803
  import("./vue-i18n-R6dI71u7.js"),
1804
- import("./InnerApp-Cw-WNV5d.js"),
1805
- import("./index-Bp6Exf0_.js"),
1806
- import("./index-lXMdfvq4.js")
1804
+ import("./InnerApp-DbPCwQzx.js"),
1805
+ import("./index-DmpvbCem.js"),
1806
+ import("./index-BZ3UeEcQ.js")
1807
1807
  ]);
1808
1808
  p = S.useSlidesStore, u = S.useScreenStore;
1809
1809
  const c = document.createElement("div");
package/dist/lt-ppt.es.js CHANGED
@@ -1,4 +1,4 @@
1
- import { L as s, l as t } from "./lib-CcU3sBPZ.js";
1
+ import { L as s, l as t } from "./lib-Vnh6z6GM.js";
2
2
  export {
3
3
  s as LtPPT,
4
4
  t as loadFonts
@@ -240,7 +240,7 @@ echarts.use([`+E+"]);":"Unknown series "+C))}return}if(d==="tooltip"){if(A){proc
240
240
  </c:tx>
241
241
  `).concat(s,`
242
242
  <c:overlay val="0"/>
243
- </c:title>`)}function Jr(e){var t="",n=e-1;return n<=25?t=UN[n]:t="".concat(UN[Math.floor(n/UN.length-1)]).concat(UN[n%UN.length]),t}function $y(e,t){if(e){if(typeof e!="object")return console.warn("`shadow` options must be an object. Ex: `{shadow: {type:'none'}}`"),"<a:effectLst/>"}else return"<a:effectLst/>";var n="<a:effectLst>",r=Ro(Ro({},t),e),a=r.type||"outer",o=hn(r.blur),i=hn(r.offset),s=Math.round(r.angle*6e4),c=r.color,u=Math.round(r.opacity*1e5),f=r.rotateWithShape?1:0;return n+="<a:".concat(a,'Shdw sx="100000" sy="100000" kx="0" ky="0" algn="bl" blurRad="').concat(o,'" rotWithShape="').concat(f,'" dist="').concat(i,'" dir="').concat(s,'">'),n+='<a:srgbClr val="'.concat(c,'">'),n+='<a:alpha val="'.concat(u,'"/></a:srgbClr>'),n+="</a:".concat(a,"Shdw>"),n+="</a:effectLst>",n}function yV(e){var t="<c:majorGridlines>";return t+=" <c:spPr>",t+=' <a:ln w="'.concat(hn(e.size||zy.size),'" cap="').concat(Xk(e.cap||zy.cap),'">'),t+=' <a:solidFill><a:srgbClr val="'+(e.color||zy.color)+'"/></a:solidFill>',t+=' <a:prstDash val="'+(e.style||zy.style)+'"/><a:round/>',t+=" </a:ln>",t+=" </c:spPr>",t+="</c:majorGridlines>",t}function Xk(e){if(!e||e==="flat")return"flat";if(e==="square")return"sq";if(e==="round")return"rnd";var t=e;throw new Error("Invalid chart line cap: ".concat(t))}function bV(e){var t=typeof require<"u"&&typeof window>"u"?require("fs"):null,n=typeof require<"u"&&typeof window>"u"?require("https"):null,r=[],a=e._relsMedia.filter(function(i){return i.type!=="online"&&!i.data&&(!i.path||i.path&&!i.path.includes("preencoded"))}),o=[];return a.forEach(function(i){o.includes(i.path)?i.isDuplicate=!0:(i.isDuplicate=!1,o.push(i.path))}),a.filter(function(i){return!i.isDuplicate}).forEach(function(i){r.push(new Promise(function(s,c){if(t&&i.path.indexOf("http")!==0)try{var u=t.readFileSync(i.path);i.data=Buffer.from(u).toString("base64"),a.filter(function(d){return d.isDuplicate&&d.path===i.path}).forEach(function(d){return d.data=i.data}),s("done")}catch(d){i.data=Ax,a.filter(function(h){return h.isDuplicate&&h.path===i.path}).forEach(function(h){return h.data=i.data}),c(new Error('ERROR: Unable to read media: "'.concat(i.path,`"
243
+ </c:title>`)}function Jr(e){var t="",n=e-1;return n<=25?t=UN[n]:t="".concat(UN[Math.floor(n/UN.length-1)]).concat(UN[n%UN.length]),t}function $y(e,t){if(e){if(typeof e!="object")return console.warn("`shadow` options must be an object. Ex: `{shadow: {type:'none'}}`"),"<a:effectLst/>"}else return"<a:effectLst/>";var n="<a:effectLst>",r=Ro(Ro({},t),e),a=r.type||"outer",o=hn(r.blur),i=hn(r.offset),s=Math.round(r.angle*6e4),c=r.color,u=Math.round(r.opacity*1e5),f=r.rotateWithShape?1:0;return n+="<a:".concat(a,'Shdw sx="100000" sy="100000" kx="0" ky="0" algn="bl" blurRad="').concat(o,'" rotWithShape="').concat(f,'" dist="').concat(i,'" dir="').concat(s,'">'),n+='<a:srgbClr val="'.concat(c,'">'),n+='<a:alpha val="'.concat(u,'"/></a:srgbClr>'),n+="</a:".concat(a,"Shdw>"),n+="</a:effectLst>",n}function yV(e){var t="<c:majorGridlines>";return t+=" <c:spPr>",t+=' <a:ln w="'.concat(hn(e.size||zy.size),'" cap="').concat(Xk(e.cap||zy.cap),'">'),t+=' <a:solidFill><a:srgbClr val="'+(e.color||zy.color)+'"/></a:solidFill>',t+=' <a:prstDash val="'+(e.style||zy.style)+'"/><a:round/>',t+=" </a:ln>",t+=" </c:spPr>",t+="</c:majorGridlines>",t}function Xk(e){if(!e||e==="flat")return"flat";if(e==="square")return"sq";if(e==="round")return"rnd";var t=e;throw new Error("Invalid chart line cap: ".concat(t))}function bV(e){var t=null,n=null,r=[],a=e._relsMedia.filter(function(i){return i.type!=="online"&&!i.data&&(!i.path||i.path&&!i.path.includes("preencoded"))}),o=[];return a.forEach(function(i){o.includes(i.path)?i.isDuplicate=!0:(i.isDuplicate=!1,o.push(i.path))}),a.filter(function(i){return!i.isDuplicate}).forEach(function(i){r.push(new Promise(function(s,c){if(t&&i.path.indexOf("http")!==0)try{var u=t.readFileSync(i.path);i.data=Buffer.from(u).toString("base64"),a.filter(function(d){return d.isDuplicate&&d.path===i.path}).forEach(function(d){return d.data=i.data}),s("done")}catch(d){i.data=Ax,a.filter(function(h){return h.isDuplicate&&h.path===i.path}).forEach(function(h){return h.data=i.data}),c(new Error('ERROR: Unable to read media: "'.concat(i.path,`"
244
244
  `).concat(String(d))))}else if(t&&n&&i.path.indexOf("http")===0)n.get(i.path,function(d){var h="";d.setEncoding("binary"),d.on("data",function(p){return h+=p}),d.on("end",function(){i.data=Buffer.from(h,"binary").toString("base64"),a.filter(function(p){return p.isDuplicate&&p.path===i.path}).forEach(function(p){return p.data=i.data}),s("done")}),d.on("error",function(p){i.data=Ax,a.filter(function(v){return v.isDuplicate&&v.path===i.path}).forEach(function(v){return v.data=i.data}),c(new Error("ERROR! Unable to load image (https.get): ".concat(i.path)))})});else{var f=new XMLHttpRequest;f.onload=function(){var d=new FileReader;d.onloadend=function(){i.data=d.result,a.filter(function(h){return h.isDuplicate&&h.path===i.path}).forEach(function(h){return h.data=i.data}),i.isSvgPng?xxe(i).then(function(){s("done")}).catch(function(h){c(h)}):s("done")},d.readAsDataURL(f.response)},f.onerror=function(d){i.data=Ax,a.filter(function(h){return h.isDuplicate&&h.path===i.path}).forEach(function(h){return h.data=i.data}),c(new Error("ERROR! Unable to load image (xhr.onerror): ".concat(i.path)))},f.open("GET",i.path),f.responseType="blob",f.send()}}))}),e._relsMedia.filter(function(i){return i.isSvgPng&&i.data}).forEach(function(i){t?(i.data=Ax,r.push(Promise.resolve().then(function(){return"done"}))):r.push(xxe(i))}),r}function xxe(e){return wh(this,void 0,void 0,function(){return Mh(this,function(t){switch(t.label){case 0:return[4,new Promise(function(n,r){var a=new Image;a.onload=function(){a.width+a.height===0&&a.onerror("h/w=0");var o=document.createElement("CANVAS"),i=o.getContext("2d");o.width=a.width,o.height=a.height,i.drawImage(a,0,0);try{e.data=o.toDataURL(e.type),n("done")}catch(s){a.onerror(s)}o=null},a.onerror=function(o){e.data=Ax,r(new Error("ERROR! Unable to load image (image.onerror): ".concat(e.path)))},a.src=typeof e.data=="string"?e.data:Ax})];case 1:return[2,t.sent()]}})})}var Kut={cover:function(e,t){var n=e.h/e.w,r=t.h/t.w,a=r>n,o=a?t.h/n:t.w,i=a?t.h:t.w*n,s=Math.round(1e5*.5*(1-t.w/o)),c=Math.round(1e5*.5*(1-t.h/i));return'<a:srcRect l="'.concat(s,'" r="').concat(s,'" t="').concat(c,'" b="').concat(c,'"/><a:stretch/>')},contain:function(e,t){var n=e.h/e.w,r=t.h/t.w,a=r>n,o=a?t.w:t.h/n,i=a?t.w*n:t.h,s=Math.round(1e5*.5*(1-t.w/o)),c=Math.round(1e5*.5*(1-t.h/i));return'<a:srcRect l="'.concat(s,'" r="').concat(s,'" t="').concat(c,'" b="').concat(c,'"/><a:stretch/>')},crop:function(e,t){var n=t.x,r=e.w-(t.x+t.w),a=t.y,o=e.h-(t.y+t.h),i=Math.round(1e5*(n/e.w)),s=Math.round(1e5*(r/e.w)),c=Math.round(1e5*(a/e.h)),u=Math.round(1e5*(o/e.h));return'<a:srcRect l="'.concat(i,'" r="').concat(s,'" t="').concat(c,'" b="').concat(u,'"/><a:stretch/>')}};function AV(e){var t,n=e._name?'<p:cSld name="'+e._name+'">':"<p:cSld>",r=1;return e._bkgdImgRid?n+='<p:bg><p:bgPr><a:blipFill dpi="0" rotWithShape="1"><a:blip r:embed="rId'.concat(e._bkgdImgRid,'"><a:lum/></a:blip><a:srcRect/><a:stretch><a:fillRect/></a:stretch></a:blipFill><a:effectLst/></p:bgPr></p:bg>'):!((t=e.background)===null||t===void 0)&&t.color?n+="<p:bg><p:bgPr>".concat(Sc(e.background),"</p:bgPr></p:bg>"):!e.bkgd&&e._name&&e._name===aV&&(n+='<p:bg><p:bgRef idx="1001"><a:schemeClr val="bg1"/></p:bgRef></p:bg>'),n+="<p:spTree>",n+='<p:nvGrpSpPr><p:cNvPr id="1" name=""/><p:cNvGrpSpPr/><p:nvPr/></p:nvGrpSpPr>',n+='<p:grpSpPr><a:xfrm><a:off x="0" y="0"/><a:ext cx="0" cy="0"/>',n+='<a:chOff x="0" y="0"/><a:chExt cx="0" cy="0"/></a:xfrm></p:grpSpPr>',e._slideObjects.forEach(function(a,o){var i,s,c,u,f,d,h,p,v=0,m=0,g=Hn("75%","X",e._presLayout),y=0,b,A="",R=null,x=null,S=0,w=0,T=null,N=null,L=(i=a.options)===null||i===void 0?void 0:i.sizing,C=(s=a.options)===null||s===void 0?void 0:s.rounding;e._slideLayout!==void 0&&e._slideLayout._slideObjects!==void 0&&a.options&&a.options.placeholder&&(b=e._slideLayout._slideObjects.filter(function(H){return H.options.placeholder===a.options.placeholder})[0]),a.options=a.options||{},typeof a.options.x<"u"&&(v=Hn(a.options.x,"X",e._presLayout)),typeof a.options.y<"u"&&(m=Hn(a.options.y,"Y",e._presLayout)),typeof a.options.w<"u"&&(g=Hn(a.options.w,"X",e._presLayout)),typeof a.options.h<"u"&&(y=Hn(a.options.h,"Y",e._presLayout));var E=g,k=y;switch(b&&((b.options.x||b.options.x===0)&&(v=Hn(b.options.x,"X",e._presLayout)),(b.options.y||b.options.y===0)&&(m=Hn(b.options.y,"Y",e._presLayout)),(b.options.w||b.options.w===0)&&(g=Hn(b.options.w,"X",e._presLayout)),(b.options.h||b.options.h===0)&&(y=Hn(b.options.h,"Y",e._presLayout))),a.options.flipH&&(A+=' flipH="1"'),a.options.flipV&&(A+=' flipV="1"'),a.options.rotate&&(A+=' rot="'.concat(jy(a.options.rotate),'"')),a._type){case Mn.table:if(R=a.arrTabRows,x=a.options,S=0,w=0,R[0].forEach(function(H){T=H.options||null,S+=T!=null&&T.colspan?Number(T.colspan):1}),N='<p:graphicFrame><p:nvGraphicFramePr><p:cNvPr id="'.concat(r*e._slideNum+1,'" name="').concat(a.options.objectName,'"/>'),N+='<p:cNvGraphicFramePr><a:graphicFrameLocks noGrp="1"/></p:cNvGraphicFramePr> <p:nvPr><p:extLst><p:ext uri="{D42A27DB-BD31-4B8C-83A1-F6EECF244321}"><p14:modId xmlns:p14="http://schemas.microsoft.com/office/powerpoint/2010/main" val="1579011935"/></p:ext></p:extLst></p:nvPr></p:nvGraphicFramePr>',N+='<p:xfrm><a:off x="'.concat(v||(v===0?0:wn),'" y="').concat(m||(m===0?0:wn),'"/><a:ext cx="').concat(g||(g===0?0:wn),'" cy="').concat(y||wn,'"/></p:xfrm>'),N+='<a:graphic><a:graphicData uri="http://schemas.openxmlformats.org/drawingml/2006/table"><a:tbl><a:tblPr/>',Array.isArray(x.colW)){N+="<a:tblGrid>";for(var O=0;O<S;O++){var P=fr(x.colW[O]);(P==null||isNaN(P))&&(P=(typeof a.options.w=="number"?a.options.w:1)/S),N+='<a:gridCol w="'.concat(Math.round(P),'"/>')}N+="</a:tblGrid>"}else{w=x.colW?x.colW:wn,a.options.w&&!x.colW&&(w=Math.round((typeof a.options.w=="number"?a.options.w:1)/S)),N+="<a:tblGrid>";for(var I=0;I<S;I++)N+='<a:gridCol w="'.concat(w,'"/>');N+="</a:tblGrid>"}R.forEach(function(H){for(var Q,re,ne=function(we){var ye=H[we],oe=(Q=ye.options)===null||Q===void 0?void 0:Q.colspan,G=(re=ye.options)===null||re===void 0?void 0:re.rowspan;if(oe&&oe>1){var ce=new Array(oe-1).fill(void 0).map(function(K){return{_type:Mn.tablecell,options:{rowspan:G},_hmerge:!0}});H.splice.apply(H,Ik([we+1,0],ce,!1)),we+=oe}else we+=1;se=we},se,fe=0;fe<H.length;)ne(fe),fe=se}),R.forEach(function(H,Q){var re=R[Q+1];re&&H.forEach(function(ne,se){var fe,we,ye=ne._rowContinue||((fe=ne.options)===null||fe===void 0?void 0:fe.rowspan),oe=(we=ne.options)===null||we===void 0?void 0:we.colspan,G=ne._hmerge;if(ye&&ye>1){var ce={_type:Mn.tablecell,options:{colspan:oe},_rowContinue:ye-1,_vmerge:!0,_hmerge:G};re.splice(se,0,ce)}})}),R.forEach(function(H,Q){var re=0;Array.isArray(x.rowH)&&x.rowH[Q]?re=fr(Number(x.rowH[Q])):x.rowH&&!isNaN(Number(x.rowH))?re=fr(Number(x.rowH)):(a.options.cy||a.options.h)&&(re=Math.round((a.options.h?fr(a.options.h):typeof a.options.cy=="number"?a.options.cy:1)/R.length)),N+='<a:tr h="'.concat(re,'">'),H.forEach(function(ne){var se,fe,we,ye,oe,G=ne,ce={rowSpan:((se=G.options)===null||se===void 0?void 0:se.rowspan)>1?G.options.rowspan:void 0,gridSpan:((fe=G.options)===null||fe===void 0?void 0:fe.colspan)>1?G.options.colspan:void 0,vMerge:G._vmerge?1:void 0,hMerge:G._hmerge?1:void 0},K=Object.keys(ce).map(function(de){return[de,ce[de]]}).filter(function(de){de[0];var me=de[1];return!!me}).map(function(de){var me=de[0],Ce=de[1];return"".concat(String(me),'="').concat(String(Ce),'"')}).join(" ");if(K&&(K=" "+K),G._hmerge||G._vmerge){N+="<a:tc".concat(K,"><a:tcPr/></a:tc>");return}var le=G.options||{};G.options=le,["align","bold","border","color","fill","fontFace","fontSize","margin","underline","valign"].forEach(function(de){x[de]&&!le[de]&&le[de]!==0&&(le[de]=x[de])});var ve=le.valign?' anchor="'.concat(le.valign.replace(/^c$/i,"ctr").replace(/^m$/i,"ctr").replace("center","ctr").replace("middle","ctr").replace("top","t").replace("btm","b").replace("bottom","b"),'"'):"",te=!((ye=(we=G._optImp)===null||we===void 0?void 0:we.fill)===null||ye===void 0)&&ye.color?G._optImp.fill.color:!((oe=G._optImp)===null||oe===void 0)&&oe.fill&&typeof G._optImp.fill=="string"?G._optImp.fill:"";te=te||le.fill?le.fill:"";var z=te?Sc(te):"",q=le.margin===0||le.margin?le.margin:dxe;!Array.isArray(q)&&typeof q=="number"&&(q=[q,q,q,q]);var he="";q[0]>=1?he=' marL="'.concat(hn(q[3]),'" marR="').concat(hn(q[1]),'" marT="').concat(hn(q[0]),'" marB="').concat(hn(q[2]),'"'):he=' marL="'.concat(fr(q[3]),'" marR="').concat(fr(q[1]),'" marT="').concat(fr(q[0]),'" marB="').concat(fr(q[2]),'"'),N+="<a:tc".concat(K,">").concat(Mxe(G),"<a:tcPr").concat(he).concat(ve,">"),le.border&&Array.isArray(le.border)&&[{idx:3,name:"lnL"},{idx:1,name:"lnR"},{idx:0,name:"lnT"},{idx:2,name:"lnB"}].forEach(function(de){le.border[de.idx].type!=="none"?(N+="<a:".concat(de.name,' w="').concat(hn(le.border[de.idx].pt),'" cap="flat" cmpd="sng" algn="ctr">'),N+="<a:solidFill>".concat(wr(le.border[de.idx].color),"</a:solidFill>"),N+='<a:prstDash val="'.concat(le.border[de.idx].type==="dash"?"sysDash":"solid",'"/><a:round/><a:headEnd type="none" w="med" len="med"/><a:tailEnd type="none" w="med" len="med"/>'),N+="</a:".concat(de.name,">")):N+="<a:".concat(de.name,' w="0" cap="flat" cmpd="sng" algn="ctr"><a:noFill/></a:').concat(de.name,">")}),N+=z,N+=" </a:tcPr>",N+=" </a:tc>"}),N+="</a:tr>"}),N+=" </a:tbl>",N+=" </a:graphicData>",N+=" </a:graphic>",N+="</p:graphicFrame>",n+=N,r++;break;case Mn.text:case Mn.placeholder:if(!a.options.line&&y===0&&(y=wn*.3),a.options._bodyProp||(a.options._bodyProp={}),a.options.margin&&Array.isArray(a.options.margin)?(a.options._bodyProp.lIns=hn(a.options.margin[0]||0),a.options._bodyProp.rIns=hn(a.options.margin[1]||0),a.options._bodyProp.bIns=hn(a.options.margin[2]||0),a.options._bodyProp.tIns=hn(a.options.margin[3]||0)):typeof a.options.margin=="number"&&(a.options._bodyProp.lIns=hn(a.options.margin),a.options._bodyProp.rIns=hn(a.options.margin),a.options._bodyProp.bIns=hn(a.options.margin),a.options._bodyProp.tIns=hn(a.options.margin)),n+="<p:sp>",n+='<p:nvSpPr><p:cNvPr id="'.concat(o+2,'" name="').concat(a.options.objectName,'">'),!((c=a.options.hyperlink)===null||c===void 0)&&c.url&&(n+='<a:hlinkClick r:id="rId'.concat(a.options.hyperlink._rId,'" tooltip="').concat(a.options.hyperlink.tooltip?Nn(a.options.hyperlink.tooltip):"",'"/>')),!((u=a.options.hyperlink)===null||u===void 0)&&u.slide&&(n+='<a:hlinkClick r:id="rId'.concat(a.options.hyperlink._rId,'" tooltip="').concat(a.options.hyperlink.tooltip?Nn(a.options.hyperlink.tooltip):"",'" action="ppaction://hlinksldjump"/>')),n+="</p:cNvPr>",n+="<p:cNvSpPr"+(!((f=a.options)===null||f===void 0)&&f.isTextBox?' txBox="1"/>':"/>"),n+="<p:nvPr>".concat(a._type==="placeholder"?Wk(a):Wk(b),"</p:nvPr>"),n+="</p:nvSpPr><p:spPr>",n+="<a:xfrm".concat(A,">"),n+='<a:off x="'.concat(v,'" y="').concat(m,'"/>'),n+='<a:ext cx="'.concat(g,'" cy="').concat(y,'"/></a:xfrm>'),a.shape==="custGeom")n+="<a:custGeom><a:avLst />",n+="<a:gdLst>",n+="</a:gdLst>",n+="<a:ahLst />",n+="<a:cxnLst>",n+="</a:cxnLst>",n+='<a:rect l="l" t="t" r="r" b="b" />',n+="<a:pathLst>",n+='<a:path w="'.concat(g,'" h="').concat(y,'">'),(d=a.options.points)===null||d===void 0||d.forEach(function(H,Q){if("curve"in H)switch(H.curve.type){case"arc":n+='<a:arcTo hR="'.concat(Hn(H.curve.hR,"Y",e._presLayout),'" wR="').concat(Hn(H.curve.wR,"X",e._presLayout),'" stAng="').concat(jy(H.curve.stAng),'" swAng="').concat(jy(H.curve.swAng),'" />');break;case"cubic":n+=`<a:cubicBezTo>
245
245
  <a:pt x="`.concat(Hn(H.curve.x1,"X",e._presLayout),'" y="').concat(Hn(H.curve.y1,"Y",e._presLayout),`" />
246
246
  <a:pt x="`).concat(Hn(H.curve.x2,"X",e._presLayout),'" y="').concat(Hn(H.curve.y2,"Y",e._presLayout),`" />
@@ -308,7 +308,7 @@ echarts.use([`+E+"]);":"Unknown series "+C))}return}if(d==="tooltip"){if(A){proc
308
308
  <Relationship Id="rId2" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/slide" Target="../slides/slide`.concat(e,`.xml"/>
309
309
  </Relationships>`)}function sft(e,t){var n=t.map(function(r,a){return{target:"../slideLayouts/slideLayout".concat(a+1,".xml"),type:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/slideLayout"}});return n.push({target:"../theme/theme1.xml",type:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme"}),RV(e,n)}function lft(){return'<?xml version="1.0" encoding="UTF-8" standalone="yes"?>'.concat(vi,`<Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships">
310
310
  <Relationship Id="rId1" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme" Target="../theme/theme1.xml"/>
311
- </Relationships>`)}function cft(e,t,n){for(var r=0;r<t.length;r++)if(t[r]._name===e[n-1]._slideLayout._name)return r+1;return 1}function uft(e){var t,n,r,a,o=!((t=e.theme)===null||t===void 0)&&t.headFontFace?'<a:latin typeface="'.concat((n=e.theme)===null||n===void 0?void 0:n.headFontFace,'"/>'):'<a:latin typeface="Calibri Light" panose="020F0302020204030204"/>',i=!((r=e.theme)===null||r===void 0)&&r.bodyFontFace?'<a:latin typeface="'.concat((a=e.theme)===null||a===void 0?void 0:a.bodyFontFace,'"/>'):'<a:latin typeface="Calibri" panose="020F0502020204030204"/>';return'<?xml version="1.0" encoding="UTF-8" standalone="yes"?><a:theme xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" name="Office Theme"><a:themeElements><a:clrScheme name="Office"><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="44546A"/></a:dk2><a:lt2><a:srgbClr val="E7E6E6"/></a:lt2><a:accent1><a:srgbClr val="4472C4"/></a:accent1><a:accent2><a:srgbClr val="ED7D31"/></a:accent2><a:accent3><a:srgbClr val="A5A5A5"/></a:accent3><a:accent4><a:srgbClr val="FFC000"/></a:accent4><a:accent5><a:srgbClr val="5B9BD5"/></a:accent5><a:accent6><a:srgbClr val="70AD47"/></a:accent6><a:hlink><a:srgbClr val="0563C1"/></a:hlink><a:folHlink><a:srgbClr val="954F72"/></a:folHlink></a:clrScheme><a:fontScheme name="Office"><a:majorFont>'.concat(o,'<a:ea typeface=""/><a:cs typeface=""/><a:font script="Jpan" typeface="游ゴシック Light"/><a:font script="Hang" typeface="맑은 고딕"/><a:font script="Hans" typeface="等线 Light"/><a:font script="Hant" typeface="新細明體"/><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>').concat(i,'<a:ea typeface=""/><a:cs typeface=""/><a:font script="Jpan" typeface="游ゴシック"/><a:font script="Hang" typeface="맑은 고딕"/><a:font script="Hans" typeface="等线"/><a:font script="Hant" typeface="新細明體"/><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="Office"><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:lumMod val="110000"/><a:satMod val="105000"/><a:tint val="67000"/></a:schemeClr></a:gs><a:gs pos="50000"><a:schemeClr val="phClr"><a:lumMod val="105000"/><a:satMod val="103000"/><a:tint val="73000"/></a:schemeClr></a:gs><a:gs pos="100000"><a:schemeClr val="phClr"><a:lumMod val="105000"/><a:satMod val="109000"/><a:tint val="81000"/></a:schemeClr></a:gs></a:gsLst><a:lin ang="5400000" scaled="0"/></a:gradFill><a:gradFill rotWithShape="1"><a:gsLst><a:gs pos="0"><a:schemeClr val="phClr"><a:satMod val="103000"/><a:lumMod val="102000"/><a:tint val="94000"/></a:schemeClr></a:gs><a:gs pos="50000"><a:schemeClr val="phClr"><a:satMod val="110000"/><a:lumMod val="100000"/><a:shade val="100000"/></a:schemeClr></a:gs><a:gs pos="100000"><a:schemeClr val="phClr"><a:lumMod val="99000"/><a:satMod val="120000"/><a:shade val="78000"/></a:schemeClr></a:gs></a:gsLst><a:lin ang="5400000" scaled="0"/></a:gradFill></a:fillStyleLst><a:lnStyleLst><a:ln w="6350" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:prstDash val="solid"/><a:miter lim="800000"/></a:ln><a:ln w="12700" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:prstDash val="solid"/><a:miter lim="800000"/></a:ln><a:ln w="19050" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:prstDash val="solid"/><a:miter lim="800000"/></a:ln></a:lnStyleLst><a:effectStyleLst><a:effectStyle><a:effectLst/></a:effectStyle><a:effectStyle><a:effectLst/></a:effectStyle><a:effectStyle><a:effectLst><a:outerShdw blurRad="57150" dist="19050" dir="5400000" algn="ctr" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="63000"/></a:srgbClr></a:outerShdw></a:effectLst></a:effectStyle></a:effectStyleLst><a:bgFillStyleLst><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:solidFill><a:schemeClr val="phClr"><a:tint val="95000"/><a:satMod val="170000"/></a:schemeClr></a:solidFill><a:gradFill rotWithShape="1"><a:gsLst><a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="93000"/><a:satMod val="150000"/><a:shade val="98000"/><a:lumMod val="102000"/></a:schemeClr></a:gs><a:gs pos="50000"><a:schemeClr val="phClr"><a:tint val="98000"/><a:satMod val="130000"/><a:shade val="90000"/><a:lumMod val="103000"/></a:schemeClr></a:gs><a:gs pos="100000"><a:schemeClr val="phClr"><a:shade val="63000"/><a:satMod val="120000"/></a:schemeClr></a:gs></a:gsLst><a:lin ang="5400000" scaled="0"/></a:gradFill></a:bgFillStyleLst></a:fmtScheme></a:themeElements><a:objectDefaults/><a:extraClrSchemeLst/><a:extLst><a:ext uri="{05A4C25C-085E-4340-85A3-A5531E510DB2}"><thm15:themeFamily xmlns:thm15="http://schemas.microsoft.com/office/thememl/2012/main" name="Office Theme" id="{62F939B6-93AF-4DB8-9C6B-D6C7DFDC589F}" vid="{4A3C46E8-61CC-4603-A589-7422A47A8E4A}"/></a:ext></a:extLst></a:theme>')}function fft(e){var t='<?xml version="1.0" encoding="UTF-8" standalone="yes"?>'.concat(vi)+'<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" '.concat(e.rtlMode?'rtl="1"':"",' saveSubsetFonts="1" autoCompressPictures="0">');t+='<p:sldMasterIdLst><p:sldMasterId id="2147483648" r:id="rId1"/></p:sldMasterIdLst>',t+="<p:sldIdLst>",e.slides.forEach(function(r){return t+='<p:sldId id="'.concat(r._slideId,'" r:id="rId').concat(r._rId,'"/>')}),t+="</p:sldIdLst>",t+='<p:notesMasterIdLst><p:notesMasterId r:id="rId'.concat(e.slides.length+2,'"/></p:notesMasterIdLst>'),t+='<p:sldSz cx="'.concat(e.presLayout.width,'" cy="').concat(e.presLayout.height,'"/>'),t+='<p:notesSz cx="'.concat(e.presLayout.height,'" cy="').concat(e.presLayout.width,'"/>'),t+="<p:defaultTextStyle>";for(var n=1;n<10;n++)t+="<a:lvl".concat(n,'pPr marL="').concat((n-1)*457200,'" algn="l" defTabSz="914400" 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:lvl".concat(n,"pPr>");return t+="</p:defaultTextStyle>",e.sections&&e.sections.length>0&&(t+='<p:extLst><p:ext uri="{521415D9-36F7-43E2-AB2F-B90AF26B5E84}">',t+='<p14:sectionLst xmlns:p14="http://schemas.microsoft.com/office/powerpoint/2010/main">',e.sections.forEach(function(r){t+='<p14:section name="'.concat(Nn(r.title),'" id="{').concat(Dk("xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"),'}"><p14:sldIdLst>'),r._slides.forEach(function(a){return t+='<p14:sldId id="'.concat(a._slideId,'"/>')}),t+="</p14:sldIdLst></p14:section>"}),t+="</p14:sectionLst></p:ext>",t+='<p:ext uri="{EFAFB233-063F-42B5-8137-9DF3F51BA10A}"><p15:sldGuideLst xmlns:p15="http://schemas.microsoft.com/office/powerpoint/2012/main"/></p:ext>',t+="</p:extLst>"),t+="</p:presentation>",t}function dft(){return'<?xml version="1.0" encoding="UTF-8" standalone="yes"?>'.concat(vi,'<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"/>')}function hft(){return'<?xml version="1.0" encoding="UTF-8" standalone="yes"?>'.concat(vi,'<a:tblStyleLst xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" def="{5C22544A-7EE6-4342-B048-85BDC9FD1C3A}"/>')}function pft(){return'<?xml version="1.0" encoding="UTF-8" standalone="yes"?>'.concat(vi,'<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"><p:normalViewPr horzBarState="maximized"><p:restoredLeft sz="15611"/><p:restoredTop sz="94610"/></p:normalViewPr><p:slideViewPr><p:cSldViewPr snapToGrid="0" snapToObjects="1"><p:cViewPr varScale="1"><p:scale><a:sx n="136" d="100"/><a:sy n="136" d="100"/></p:scale><p:origin x="216" y="312"/></p:cViewPr><p:guideLst/></p:cSldViewPr></p:slideViewPr><p:notesTextViewPr><p:cViewPr><p:scale><a:sx n="1" d="1"/><a:sy n="1" d="1"/></p:scale><p:origin x="0" y="0"/></p:cViewPr></p:notesTextViewPr><p:gridSpacing cx="76200" cy="76200"/></p:viewPr>')}var vft="3.12.0",Nxe=function(){function e(){var t=this;this._version=vft,this._alignH=cV,this._alignV=uV,this._chartType=sV,this._outputType=iV,this._schemeColor=xc,this._shapeType=lV,this._charts=Rt,this._colors=fV,this._shapes=Lm,this.addNewSlide=function(i){var s=t.sections.length>0&&t.sections[t.sections.length-1]._slides.filter(function(c){return c._slideNum===t.slides[t.slides.length-1]._slideNum}).length>0;return i.sectionTitle=s?t.sections[t.sections.length-1].title:null,t.addSlide(i)},this.getSlide=function(i){return t.slides.filter(function(s){return s._slideNum===i})[0]},this.setSlideNumber=function(i){t.masterSlide._slideNumberProps=i,t.slideLayouts.filter(function(s){return s._name===aV})[0]._slideNumberProps=i},this.createChartMediaRels=function(i,s,c){i._relsChart.forEach(function(u){return c.push(Wut(u,s))}),i._relsMedia.forEach(function(u){if(u.type!=="online"&&u.type!=="hyperlink"){var f=u.data&&typeof u.data=="string"?u.data:"";!f.includes(",")&&!f.includes(";")?f="image/png;base64,"+f:f.includes(",")?f.includes(";")||(f="image/png;"+f):f="image/png;base64,"+f,s.file(u.Target.replace("..","ppt"),f.split(",").pop(),{base64:!0})}})},this.writeFileToBrowser=function(i,s){return wh(t,void 0,void 0,function(){var c,u;return Mh(this,function(f){switch(f.label){case 0:return c=document.createElement("a"),c.setAttribute("style","display:none;"),c.dataset.interception="off",document.body.appendChild(c),window.URL.createObjectURL?(u=window.URL.createObjectURL(new Blob([s],{type:"application/vnd.openxmlformats-officedocument.presentationml.presentation"})),c.href=u,c.download=i,c.click(),setTimeout(function(){window.URL.revokeObjectURL(u),document.body.removeChild(c)},100),[4,Promise.resolve(i)]):[3,2];case 1:return[2,f.sent()];case 2:return[2]}})})},this.exportPresentation=function(i){return wh(t,void 0,void 0,function(){var s,c,u,f=this;return Mh(this,function(d){switch(d.label){case 0:return s=[],c=[],u=new fxe,this.slides.forEach(function(h){c=c.concat(bV(h))}),this.slideLayouts.forEach(function(h){c=c.concat(bV(h))}),c=c.concat(bV(this.masterSlide)),[4,Promise.all(c).then(function(){return wh(f,void 0,void 0,function(){var h=this;return Mh(this,function(p){switch(p.label){case 0:return this.slides.forEach(function(v){v._slideLayout&&Uut(v)}),u.folder("_rels"),u.folder("docProps"),u.folder("ppt").folder("_rels"),u.folder("ppt/charts").folder("_rels"),u.folder("ppt/embeddings"),u.folder("ppt/media"),u.folder("ppt/slideLayouts").folder("_rels"),u.folder("ppt/slideMasters").folder("_rels"),u.folder("ppt/slides").folder("_rels"),u.folder("ppt/theme"),u.folder("ppt/notesMasters").folder("_rels"),u.folder("ppt/notesSlides").folder("_rels"),u.file("[Content_Types].xml",Gut(this.slides,this.slideLayouts,this.masterSlide)),u.file("_rels/.rels",zut()),u.file("docProps/app.xml",Jut(this.slides,this.company)),u.file("docProps/core.xml",jut(this.title,this.subject,this.author,this.revision)),u.file("ppt/_rels/presentation.xml.rels",$ut(this.slides)),u.file("ppt/theme/theme1.xml",uft(this)),u.file("ppt/presentation.xml",fft(this)),u.file("ppt/presProps.xml",dft()),u.file("ppt/tableStyles.xml",hft()),u.file("ppt/viewProps.xml",pft()),this.slideLayouts.forEach(function(v,m){u.file("ppt/slideLayouts/slideLayout".concat(m+1,".xml"),nft(v)),u.file("ppt/slideLayouts/_rels/slideLayout".concat(m+1,".xml.rels"),aft(m+1,h.slideLayouts))}),this.slides.forEach(function(v,m){u.file("ppt/slides/slide".concat(m+1,".xml"),Vut(v)),u.file("ppt/slides/_rels/slide".concat(m+1,".xml.rels"),oft(h.slides,h.slideLayouts,m+1)),u.file("ppt/notesSlides/notesSlide".concat(m+1,".xml"),tft(v)),u.file("ppt/notesSlides/_rels/notesSlide".concat(m+1,".xml.rels"),ift(m+1))}),u.file("ppt/slideMasters/slideMaster1.xml",rft(this.masterSlide,this.slideLayouts)),u.file("ppt/slideMasters/_rels/slideMaster1.xml.rels",sft(this.masterSlide,this.slideLayouts)),u.file("ppt/notesMasters/notesMaster1.xml",eft()),u.file("ppt/notesMasters/_rels/notesMaster1.xml.rels",lft()),this.slideLayouts.forEach(function(v){h.createChartMediaRels(v,u,s)}),this.slides.forEach(function(v){h.createChartMediaRels(v,u,s)}),this.createChartMediaRels(this.masterSlide,u,s),[4,Promise.all(s).then(function(){return wh(h,void 0,void 0,function(){return Mh(this,function(v){switch(v.label){case 0:return i.outputType!=="STREAM"?[3,2]:[4,u.generateAsync({type:"nodebuffer",compression:i.compression?"DEFLATE":"STORE"})];case 1:return[2,v.sent()];case 2:return i.outputType?[4,u.generateAsync({type:i.outputType})]:[3,4];case 3:return[2,v.sent()];case 4:return[4,u.generateAsync({type:"blob",compression:i.compression?"DEFLATE":"STORE"})];case 5:return[2,v.sent()]}})})})];case 1:return[2,p.sent()]}})})})];case 1:return[2,d.sent()]}})})};var n={name:"screen4x3",width:9144e3,height:6858e3},r={name:"screen16x9",width:9144e3,height:5143500},a={name:"screen16x10",width:9144e3,height:5715e3},o={name:"custom",width:12192e3,height:6858e3};this.LAYOUTS={LAYOUT_4x3:n,LAYOUT_16x9:r,LAYOUT_16x10:a,LAYOUT_WIDE:o},this._author="PptxGenJS",this._company="PptxGenJS",this._revision="1",this._subject="PptxGenJS Presentation",this._title="PptxGenJS Presentation",this._presLayout={name:this.LAYOUTS[mx].name,_sizeW:this.LAYOUTS[mx].width,_sizeH:this.LAYOUTS[mx].height,width:this.LAYOUTS[mx].width,height:this.LAYOUTS[mx].height},this._rtlMode=!1,this._slideLayouts=[{_margin:DN,_name:aV,_presLayout:this._presLayout,_rels:[],_relsChart:[],_relsMedia:[],_slide:null,_slideNum:1e3,_slideNumberProps:null,_slideObjects:[]}],this._slides=[],this._sections=[],this._masterSlide={addChart:null,addImage:null,addMedia:null,addNotes:null,addShape:null,addTable:null,addText:null,_name:null,_presLayout:this._presLayout,_rId:null,_rels:[],_relsChart:[],_relsMedia:[],_slideId:null,_slideLayout:null,_slideNum:null,_slideNumberProps:null,_slideObjects:[]}}return Object.defineProperty(e.prototype,"layout",{get:function(){return this._layout},set:function(t){var n=this.LAYOUTS[t];if(n)this._layout=t,this._presLayout=n;else throw new Error("UNKNOWN-LAYOUT")},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"version",{get:function(){return this._version},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"author",{get:function(){return this._author},set:function(t){this._author=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"company",{get:function(){return this._company},set:function(t){this._company=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"revision",{get:function(){return this._revision},set:function(t){this._revision=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"subject",{get:function(){return this._subject},set:function(t){this._subject=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"theme",{get:function(){return this._theme},set:function(t){this._theme=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"title",{get:function(){return this._title},set:function(t){this._title=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"rtlMode",{get:function(){return this._rtlMode},set:function(t){this._rtlMode=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"masterSlide",{get:function(){return this._masterSlide},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"slides",{get:function(){return this._slides},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"sections",{get:function(){return this._sections},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"slideLayouts",{get:function(){return this._slideLayouts},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"AlignH",{get:function(){return this._alignH},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"AlignV",{get:function(){return this._alignV},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"ChartType",{get:function(){return this._chartType},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"OutputType",{get:function(){return this._outputType},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"presLayout",{get:function(){return this._presLayout},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"SchemeColor",{get:function(){return this._schemeColor},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"ShapeType",{get:function(){return this._shapeType},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"charts",{get:function(){return this._charts},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"colors",{get:function(){return this._colors},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"shapes",{get:function(){return this._shapes},enumerable:!1,configurable:!0}),e.prototype.stream=function(t){return wh(this,void 0,void 0,function(){return Mh(this,function(n){switch(n.label){case 0:return[4,this.exportPresentation({compression:t==null?void 0:t.compression,outputType:"STREAM"})];case 1:return[2,n.sent()]}})})},e.prototype.write=function(t){return wh(this,void 0,void 0,function(){var n,r;return Mh(this,function(a){switch(a.label){case 0:return n=typeof t=="object"&&(t!=null&&t.outputType)?t.outputType:t||null,r=typeof t=="object"&&(t!=null&&t.compression)?t.compression:!1,[4,this.exportPresentation({compression:r,outputType:n})];case 1:return[2,a.sent()]}})})},e.prototype.writeFile=function(t){return wh(this,void 0,void 0,function(){var n,r,a,o,i=this;return Mh(this,function(s){switch(s.label){case 0:return n=typeof require<"u"&&typeof window>"u"?require("fs"):null,typeof t=="string"&&console.log("Warning: `writeFile(filename)` is deprecated - please use `WriteFileProps` argument (v3.5.0)"),r=typeof t=="object"&&(t!=null&&t.fileName)?t.fileName:typeof t=="string"?t:"",a=typeof t=="object"&&(t!=null&&t.compression)?t.compression:!1,o=r?r.toString().toLowerCase().endsWith(".pptx")?r:r+".pptx":"Presentation.pptx",[4,this.exportPresentation({compression:a,outputType:n?"nodebuffer":null}).then(function(c){return wh(i,void 0,void 0,function(){return Mh(this,function(u){switch(u.label){case 0:return n?[4,new Promise(function(f,d){n.writeFile(o,c,function(h){h?d(h):f(o)})})]:[3,2];case 1:return[2,u.sent()];case 2:return[4,this.writeFileToBrowser(o,c)];case 3:return[2,u.sent()]}})})})];case 1:return[2,s.sent()]}})})},e.prototype.addSection=function(t){t?t.title||console.warn("addSection requires a title"):console.warn("addSection requires an argument");var n={_type:"user",_slides:[],title:t.title};t.order?this.sections.splice(t.order,0,n):this._sections.push(n)},e.prototype.addSlide=function(t){var n=typeof t=="string"?t:t!=null&&t.masterName?t.masterName:"",r={_name:this.LAYOUTS[mx].name,_presLayout:this.presLayout,_rels:[],_relsChart:[],_relsMedia:[],_slideNum:this.slides.length+1};if(n){var a=this.slideLayouts.filter(function(c){return c._name===n})[0];a&&(r=a)}var o=new Xut({addSlide:this.addNewSlide,getSlide:this.getSlide,presLayout:this.presLayout,setSlideNum:this.setSlideNumber,slideId:this.slides.length+256,slideRId:this.slides.length+2,slideNumber:this.slides.length+1,slideLayout:r});if(this._slides.push(o),t!=null&&t.sectionTitle){var i=this.sections.filter(function(c){return c.title===t.sectionTitle})[0];i?i._slides.push(o):console.warn('addSlide: unable to find section with title: "'.concat(t.sectionTitle,'"'))}else if(this.sections&&this.sections.length>0&&!(t!=null&&t.sectionTitle)){var s=this._sections[this.sections.length-1];s._type==="default"?s._slides.push(o):this._sections.push({title:"Default-".concat(this.sections.filter(function(c){return c._type==="default"}).length+1),_type:"default",_slides:[o]})}return o},e.prototype.defineLayout=function(t){t?t.name?t.width?t.height?typeof t.height!="number"?console.warn("defineLayout `height` should be a number (inches)"):typeof t.width!="number"&&console.warn("defineLayout `width` should be a number (inches)"):console.warn("defineLayout requires `height`"):console.warn("defineLayout requires `width`"):console.warn("defineLayout requires `name`"):console.warn("defineLayout requires `{name, width, height}`"),this.LAYOUTS[t.name]={name:t.name,_sizeW:Math.round(Number(t.width)*wn),_sizeH:Math.round(Number(t.height)*wn),width:Math.round(Number(t.width)*wn),height:Math.round(Number(t.height)*wn)}},e.prototype.defineSlideMaster=function(t){if(!t.title)throw new Error("defineSlideMaster() object argument requires a `title` value. (https://gitbrent.github.io/PptxGenJS/docs/masters.html)");var n={_margin:t.margin||DN,_name:t.title,_presLayout:this.presLayout,_rels:[],_relsChart:[],_relsMedia:[],_slide:null,_slideNum:1e3+this.slideLayouts.length+1,_slideNumberProps:t.slideNumber||null,_slideObjects:[],background:t.background||null,bkgd:t.bkgd||null};Iut(t,n),this.slideLayouts.push(n),(t.background||t.bkgd)&&Axe(t.background,n),n._slideNumberProps&&!this.masterSlide._slideNumberProps&&(this.masterSlide._slideNumberProps=n._slideNumberProps)},e.prototype.tableToSlides=function(t,n){n===void 0&&(n={}),kut(this,t,n,n!=null&&n.masterSlideName?this.slideLayouts.filter(function(r){return r._name===n.masterSlideName})[0]:null)},e}();const mft=["style","script","template"],gft=["html","head","body","p","dt","dd","li","option","thead","th","tbody","tr","td","tfoot","colgroup"],yft={li:["ul","ol","menu"],dt:["dl"],dd:["dl"],tbody:["table"],thead:["table"],tfoot:["table"],tr:["table"],td:["table"]},bft=["!doctype","area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"],Vy=(e,t)=>{const n=t-e.position;Yk(e,n)},Yk=(e,t)=>{e.position=e.position+t},Aft=(e,t)=>{for(;;){const n=e.indexOf("<",t);if(n===-1)return n;const r=e.charAt(n+1);if(r==="/"||r==="!"||/[A-Za-z0-9]/.test(r))return n;t=n+1}return-1},Txe=e=>{const{str:t}=e;let n=Aft(t,e.position);if(n===e.position)return;n===-1&&(n=t.length);const r=t.slice(e.position,n);Vy(e,n),e.tokens.push({type:"text",content:r})},Rft=e=>{const{str:t}=e;Yk(e,4);let n=t.indexOf("-->",e.position),r=n+3;n===-1&&(n=r=t.length);const a=t.slice(e.position,n);Vy(e,r),e.tokens.push({type:"comment",content:a})},xft=e=>{const{str:t}=e,n=t.length;let r=e.position;for(;r<n;){const i=t.charAt(r);if(!(/\s/.test(i)||i==="/"||i===">"))break;r++}let a=r+1;for(;a<n;){const i=t.charAt(a);if(!!(/\s/.test(i)||i==="/"||i===">"))break;a++}Vy(e,a);const o=t.slice(r,a);return e.tokens.push({type:"tag",content:o}),o},Sft=e=>{const{str:t,tokens:n}=e;let r=e.position,a=null,o=r;const i=[],s=t.length;for(;r<s;){const u=t.charAt(r);if(a){u===a&&(a=null),r++;continue}if(u==="/"||u===">"){r!==o&&i.push(t.slice(o,r));break}if(/\s/.test(u)){r!==o&&i.push(t.slice(o,r)),o=r+1,r++;continue}if(u==="'"||u==='"'){a=u,r++;continue}r++}Vy(e,r);const c="attribute";for(let u=0;u<i.length;u++){const f=i[u];if(f.indexOf("=")===-1){const h=i[u+1];if(h&&aa.startsWith(h,"=")){if(h.length>1){const v=f+h;n.push({type:c,content:v}),u+=1;continue}const p=i[u+2];if(u+=1,p){const v=f+"="+p;n.push({type:c,content:v}),u+=1;continue}}}if(aa.endsWith(f,"=")){const h=i[u+1];if(h&&h.indexOf("=")===-1){const v=f+h;n.push({type:c,content:v}),u+=1;continue}const p=f.slice(0,-1);n.push({type:c,content:p});continue}n.push({type:c,content:f})}},wft=(e,t)=>{const{str:n,tokens:r}=t,a=e.toLowerCase(),o=n.length;let i=t.position;for(;i<o;){const s=n.indexOf("</",i);if(s===-1){Txe(t);break}const c={str:n,position:t.position,tokens:[]};Vy(c,s);const u=Lxe(c);if(a!==u.toLowerCase()){i=c.position;continue}if(s!==t.position){const f=t.position;Vy(t,s),r.push({type:"text",content:n.slice(f,s)})}r.push(...c.tokens),Vy(t,c.position);break}},Lxe=e=>{const{str:t}=e,r=t.charAt(e.position+1)==="/";Yk(e,r?2:1),e.tokens.push({type:"tag-start",close:r});const a=xft(e);Sft(e);const i=t.charAt(e.position)==="/";return Yk(e,i?2:1),e.tokens.push({type:"tag-end",close:i}),a},Mft=e=>{const t=e.str,n=t.length;for(;e.position<n;){const r=e.position;if(Txe(e),e.position===r)if(aa.startsWith(t,"!--",r+1))Rft(e);else{const o=Lxe(e),i=o.toLowerCase();mft.includes(i)&&wft(o,e)}}},Nft=e=>{const t={str:e,position:0,tokens:[]};return Mft(t),t.tokens},Tft=e=>{const t={tagName:null,children:[]};return Cxe({tokens:e,cursor:0,stack:[t]}),t.children},Lft=(e,t)=>{const n=yft[e];if(n){let r=t.length-1;for(;r>=0;){const a=t[r].tagName;if(a===e)break;if(a&&n.includes(a))return!0;r--}}return!1},_xe=(e,t)=>{e.splice(t)},Cxe=e=>{const{stack:t,tokens:n}=e;let{cursor:r}=e,a=t[t.length-1].children;const o=n.length;for(;r<o;){const i=n[r];if(i.type!=="tag-start"){a.push(i),r++;continue}const s=n[++r];r++;const c=s.content.toLowerCase();if(i.close){let g=t.length,y=!1;for(;--g>-1;)if(t[g].tagName===c){y=!0;break}for(;r<o&&n[r].type==="tag-end";)r++;if(y){_xe(t,g);break}else continue}let f=gft.includes(c);if(f&&(f=!Lft(c,t)),f){let g=t.length-1;for(;g>0;){if(c===t[g].tagName){_xe(t,g);const y=g-1;a=t[y].children;break}g=g-1}}const d=[];let h;for(;r<o;){const g=n[r];if(g.type==="tag-end"){h=g;break}d.push(g.content),r++}if(!h)break;r++;const p=[],v={type:"element",tagName:s.content,attributes:d,children:p};if(a.push(v),!(h.close||bft.includes(c))){t.push({tagName:c,children:p});const g={tokens:n,cursor:r,stack:t};Cxe(g),r=g.cursor}}e.cursor=r},_ft=(e,t)=>{const n=e.indexOf(t);return n===-1?[e]:[e.slice(0,n),e.slice(n+t.length)]},Cft=e=>{const t=e.charAt(0),n=e.length-1;return(t==='"'||t==="'")&&t===e.charAt(n)?e.slice(1,n):e},Eft=e=>e.map(t=>{const n=_ft(t.trim(),"="),r=n[0],a=typeof n[1]=="string"?Cft(n[1]):null;return{key:r,value:a}}),Exe=e=>e.map(t=>{if(t.type==="element"){const r=Exe(t.children);return{type:"element",tagName:t.tagName.toLowerCase(),attributes:Eft(t.attributes),children:r}}return{type:t.type,content:t.content}}),Oft=e=>{const t=Nft(e),n=Tft(t);return Exe(n)},Zk="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",kft="data:image/svg+xml;base64,",Pft=e=>{e=e.replace(/\r\n/g,`
311
+ </Relationships>`)}function cft(e,t,n){for(var r=0;r<t.length;r++)if(t[r]._name===e[n-1]._slideLayout._name)return r+1;return 1}function uft(e){var t,n,r,a,o=!((t=e.theme)===null||t===void 0)&&t.headFontFace?'<a:latin typeface="'.concat((n=e.theme)===null||n===void 0?void 0:n.headFontFace,'"/>'):'<a:latin typeface="Calibri Light" panose="020F0302020204030204"/>',i=!((r=e.theme)===null||r===void 0)&&r.bodyFontFace?'<a:latin typeface="'.concat((a=e.theme)===null||a===void 0?void 0:a.bodyFontFace,'"/>'):'<a:latin typeface="Calibri" panose="020F0502020204030204"/>';return'<?xml version="1.0" encoding="UTF-8" standalone="yes"?><a:theme xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" name="Office Theme"><a:themeElements><a:clrScheme name="Office"><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="44546A"/></a:dk2><a:lt2><a:srgbClr val="E7E6E6"/></a:lt2><a:accent1><a:srgbClr val="4472C4"/></a:accent1><a:accent2><a:srgbClr val="ED7D31"/></a:accent2><a:accent3><a:srgbClr val="A5A5A5"/></a:accent3><a:accent4><a:srgbClr val="FFC000"/></a:accent4><a:accent5><a:srgbClr val="5B9BD5"/></a:accent5><a:accent6><a:srgbClr val="70AD47"/></a:accent6><a:hlink><a:srgbClr val="0563C1"/></a:hlink><a:folHlink><a:srgbClr val="954F72"/></a:folHlink></a:clrScheme><a:fontScheme name="Office"><a:majorFont>'.concat(o,'<a:ea typeface=""/><a:cs typeface=""/><a:font script="Jpan" typeface="游ゴシック Light"/><a:font script="Hang" typeface="맑은 고딕"/><a:font script="Hans" typeface="等线 Light"/><a:font script="Hant" typeface="新細明體"/><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>').concat(i,'<a:ea typeface=""/><a:cs typeface=""/><a:font script="Jpan" typeface="游ゴシック"/><a:font script="Hang" typeface="맑은 고딕"/><a:font script="Hans" typeface="等线"/><a:font script="Hant" typeface="新細明體"/><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="Office"><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:lumMod val="110000"/><a:satMod val="105000"/><a:tint val="67000"/></a:schemeClr></a:gs><a:gs pos="50000"><a:schemeClr val="phClr"><a:lumMod val="105000"/><a:satMod val="103000"/><a:tint val="73000"/></a:schemeClr></a:gs><a:gs pos="100000"><a:schemeClr val="phClr"><a:lumMod val="105000"/><a:satMod val="109000"/><a:tint val="81000"/></a:schemeClr></a:gs></a:gsLst><a:lin ang="5400000" scaled="0"/></a:gradFill><a:gradFill rotWithShape="1"><a:gsLst><a:gs pos="0"><a:schemeClr val="phClr"><a:satMod val="103000"/><a:lumMod val="102000"/><a:tint val="94000"/></a:schemeClr></a:gs><a:gs pos="50000"><a:schemeClr val="phClr"><a:satMod val="110000"/><a:lumMod val="100000"/><a:shade val="100000"/></a:schemeClr></a:gs><a:gs pos="100000"><a:schemeClr val="phClr"><a:lumMod val="99000"/><a:satMod val="120000"/><a:shade val="78000"/></a:schemeClr></a:gs></a:gsLst><a:lin ang="5400000" scaled="0"/></a:gradFill></a:fillStyleLst><a:lnStyleLst><a:ln w="6350" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:prstDash val="solid"/><a:miter lim="800000"/></a:ln><a:ln w="12700" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:prstDash val="solid"/><a:miter lim="800000"/></a:ln><a:ln w="19050" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:prstDash val="solid"/><a:miter lim="800000"/></a:ln></a:lnStyleLst><a:effectStyleLst><a:effectStyle><a:effectLst/></a:effectStyle><a:effectStyle><a:effectLst/></a:effectStyle><a:effectStyle><a:effectLst><a:outerShdw blurRad="57150" dist="19050" dir="5400000" algn="ctr" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="63000"/></a:srgbClr></a:outerShdw></a:effectLst></a:effectStyle></a:effectStyleLst><a:bgFillStyleLst><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:solidFill><a:schemeClr val="phClr"><a:tint val="95000"/><a:satMod val="170000"/></a:schemeClr></a:solidFill><a:gradFill rotWithShape="1"><a:gsLst><a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="93000"/><a:satMod val="150000"/><a:shade val="98000"/><a:lumMod val="102000"/></a:schemeClr></a:gs><a:gs pos="50000"><a:schemeClr val="phClr"><a:tint val="98000"/><a:satMod val="130000"/><a:shade val="90000"/><a:lumMod val="103000"/></a:schemeClr></a:gs><a:gs pos="100000"><a:schemeClr val="phClr"><a:shade val="63000"/><a:satMod val="120000"/></a:schemeClr></a:gs></a:gsLst><a:lin ang="5400000" scaled="0"/></a:gradFill></a:bgFillStyleLst></a:fmtScheme></a:themeElements><a:objectDefaults/><a:extraClrSchemeLst/><a:extLst><a:ext uri="{05A4C25C-085E-4340-85A3-A5531E510DB2}"><thm15:themeFamily xmlns:thm15="http://schemas.microsoft.com/office/thememl/2012/main" name="Office Theme" id="{62F939B6-93AF-4DB8-9C6B-D6C7DFDC589F}" vid="{4A3C46E8-61CC-4603-A589-7422A47A8E4A}"/></a:ext></a:extLst></a:theme>')}function fft(e){var t='<?xml version="1.0" encoding="UTF-8" standalone="yes"?>'.concat(vi)+'<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" '.concat(e.rtlMode?'rtl="1"':"",' saveSubsetFonts="1" autoCompressPictures="0">');t+='<p:sldMasterIdLst><p:sldMasterId id="2147483648" r:id="rId1"/></p:sldMasterIdLst>',t+="<p:sldIdLst>",e.slides.forEach(function(r){return t+='<p:sldId id="'.concat(r._slideId,'" r:id="rId').concat(r._rId,'"/>')}),t+="</p:sldIdLst>",t+='<p:notesMasterIdLst><p:notesMasterId r:id="rId'.concat(e.slides.length+2,'"/></p:notesMasterIdLst>'),t+='<p:sldSz cx="'.concat(e.presLayout.width,'" cy="').concat(e.presLayout.height,'"/>'),t+='<p:notesSz cx="'.concat(e.presLayout.height,'" cy="').concat(e.presLayout.width,'"/>'),t+="<p:defaultTextStyle>";for(var n=1;n<10;n++)t+="<a:lvl".concat(n,'pPr marL="').concat((n-1)*457200,'" algn="l" defTabSz="914400" 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:lvl".concat(n,"pPr>");return t+="</p:defaultTextStyle>",e.sections&&e.sections.length>0&&(t+='<p:extLst><p:ext uri="{521415D9-36F7-43E2-AB2F-B90AF26B5E84}">',t+='<p14:sectionLst xmlns:p14="http://schemas.microsoft.com/office/powerpoint/2010/main">',e.sections.forEach(function(r){t+='<p14:section name="'.concat(Nn(r.title),'" id="{').concat(Dk("xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"),'}"><p14:sldIdLst>'),r._slides.forEach(function(a){return t+='<p14:sldId id="'.concat(a._slideId,'"/>')}),t+="</p14:sldIdLst></p14:section>"}),t+="</p14:sectionLst></p:ext>",t+='<p:ext uri="{EFAFB233-063F-42B5-8137-9DF3F51BA10A}"><p15:sldGuideLst xmlns:p15="http://schemas.microsoft.com/office/powerpoint/2012/main"/></p:ext>',t+="</p:extLst>"),t+="</p:presentation>",t}function dft(){return'<?xml version="1.0" encoding="UTF-8" standalone="yes"?>'.concat(vi,'<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"/>')}function hft(){return'<?xml version="1.0" encoding="UTF-8" standalone="yes"?>'.concat(vi,'<a:tblStyleLst xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" def="{5C22544A-7EE6-4342-B048-85BDC9FD1C3A}"/>')}function pft(){return'<?xml version="1.0" encoding="UTF-8" standalone="yes"?>'.concat(vi,'<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"><p:normalViewPr horzBarState="maximized"><p:restoredLeft sz="15611"/><p:restoredTop sz="94610"/></p:normalViewPr><p:slideViewPr><p:cSldViewPr snapToGrid="0" snapToObjects="1"><p:cViewPr varScale="1"><p:scale><a:sx n="136" d="100"/><a:sy n="136" d="100"/></p:scale><p:origin x="216" y="312"/></p:cViewPr><p:guideLst/></p:cSldViewPr></p:slideViewPr><p:notesTextViewPr><p:cViewPr><p:scale><a:sx n="1" d="1"/><a:sy n="1" d="1"/></p:scale><p:origin x="0" y="0"/></p:cViewPr></p:notesTextViewPr><p:gridSpacing cx="76200" cy="76200"/></p:viewPr>')}var vft="3.12.0",Nxe=function(){function e(){var t=this;this._version=vft,this._alignH=cV,this._alignV=uV,this._chartType=sV,this._outputType=iV,this._schemeColor=xc,this._shapeType=lV,this._charts=Rt,this._colors=fV,this._shapes=Lm,this.addNewSlide=function(i){var s=t.sections.length>0&&t.sections[t.sections.length-1]._slides.filter(function(c){return c._slideNum===t.slides[t.slides.length-1]._slideNum}).length>0;return i.sectionTitle=s?t.sections[t.sections.length-1].title:null,t.addSlide(i)},this.getSlide=function(i){return t.slides.filter(function(s){return s._slideNum===i})[0]},this.setSlideNumber=function(i){t.masterSlide._slideNumberProps=i,t.slideLayouts.filter(function(s){return s._name===aV})[0]._slideNumberProps=i},this.createChartMediaRels=function(i,s,c){i._relsChart.forEach(function(u){return c.push(Wut(u,s))}),i._relsMedia.forEach(function(u){if(u.type!=="online"&&u.type!=="hyperlink"){var f=u.data&&typeof u.data=="string"?u.data:"";!f.includes(",")&&!f.includes(";")?f="image/png;base64,"+f:f.includes(",")?f.includes(";")||(f="image/png;"+f):f="image/png;base64,"+f,s.file(u.Target.replace("..","ppt"),f.split(",").pop(),{base64:!0})}})},this.writeFileToBrowser=function(i,s){return wh(t,void 0,void 0,function(){var c,u;return Mh(this,function(f){switch(f.label){case 0:return c=document.createElement("a"),c.setAttribute("style","display:none;"),c.dataset.interception="off",document.body.appendChild(c),window.URL.createObjectURL?(u=window.URL.createObjectURL(new Blob([s],{type:"application/vnd.openxmlformats-officedocument.presentationml.presentation"})),c.href=u,c.download=i,c.click(),setTimeout(function(){window.URL.revokeObjectURL(u),document.body.removeChild(c)},100),[4,Promise.resolve(i)]):[3,2];case 1:return[2,f.sent()];case 2:return[2]}})})},this.exportPresentation=function(i){return wh(t,void 0,void 0,function(){var s,c,u,f=this;return Mh(this,function(d){switch(d.label){case 0:return s=[],c=[],u=new fxe,this.slides.forEach(function(h){c=c.concat(bV(h))}),this.slideLayouts.forEach(function(h){c=c.concat(bV(h))}),c=c.concat(bV(this.masterSlide)),[4,Promise.all(c).then(function(){return wh(f,void 0,void 0,function(){var h=this;return Mh(this,function(p){switch(p.label){case 0:return this.slides.forEach(function(v){v._slideLayout&&Uut(v)}),u.folder("_rels"),u.folder("docProps"),u.folder("ppt").folder("_rels"),u.folder("ppt/charts").folder("_rels"),u.folder("ppt/embeddings"),u.folder("ppt/media"),u.folder("ppt/slideLayouts").folder("_rels"),u.folder("ppt/slideMasters").folder("_rels"),u.folder("ppt/slides").folder("_rels"),u.folder("ppt/theme"),u.folder("ppt/notesMasters").folder("_rels"),u.folder("ppt/notesSlides").folder("_rels"),u.file("[Content_Types].xml",Gut(this.slides,this.slideLayouts,this.masterSlide)),u.file("_rels/.rels",zut()),u.file("docProps/app.xml",Jut(this.slides,this.company)),u.file("docProps/core.xml",jut(this.title,this.subject,this.author,this.revision)),u.file("ppt/_rels/presentation.xml.rels",$ut(this.slides)),u.file("ppt/theme/theme1.xml",uft(this)),u.file("ppt/presentation.xml",fft(this)),u.file("ppt/presProps.xml",dft()),u.file("ppt/tableStyles.xml",hft()),u.file("ppt/viewProps.xml",pft()),this.slideLayouts.forEach(function(v,m){u.file("ppt/slideLayouts/slideLayout".concat(m+1,".xml"),nft(v)),u.file("ppt/slideLayouts/_rels/slideLayout".concat(m+1,".xml.rels"),aft(m+1,h.slideLayouts))}),this.slides.forEach(function(v,m){u.file("ppt/slides/slide".concat(m+1,".xml"),Vut(v)),u.file("ppt/slides/_rels/slide".concat(m+1,".xml.rels"),oft(h.slides,h.slideLayouts,m+1)),u.file("ppt/notesSlides/notesSlide".concat(m+1,".xml"),tft(v)),u.file("ppt/notesSlides/_rels/notesSlide".concat(m+1,".xml.rels"),ift(m+1))}),u.file("ppt/slideMasters/slideMaster1.xml",rft(this.masterSlide,this.slideLayouts)),u.file("ppt/slideMasters/_rels/slideMaster1.xml.rels",sft(this.masterSlide,this.slideLayouts)),u.file("ppt/notesMasters/notesMaster1.xml",eft()),u.file("ppt/notesMasters/_rels/notesMaster1.xml.rels",lft()),this.slideLayouts.forEach(function(v){h.createChartMediaRels(v,u,s)}),this.slides.forEach(function(v){h.createChartMediaRels(v,u,s)}),this.createChartMediaRels(this.masterSlide,u,s),[4,Promise.all(s).then(function(){return wh(h,void 0,void 0,function(){return Mh(this,function(v){switch(v.label){case 0:return i.outputType!=="STREAM"?[3,2]:[4,u.generateAsync({type:"nodebuffer",compression:i.compression?"DEFLATE":"STORE"})];case 1:return[2,v.sent()];case 2:return i.outputType?[4,u.generateAsync({type:i.outputType})]:[3,4];case 3:return[2,v.sent()];case 4:return[4,u.generateAsync({type:"blob",compression:i.compression?"DEFLATE":"STORE"})];case 5:return[2,v.sent()]}})})})];case 1:return[2,p.sent()]}})})})];case 1:return[2,d.sent()]}})})};var n={name:"screen4x3",width:9144e3,height:6858e3},r={name:"screen16x9",width:9144e3,height:5143500},a={name:"screen16x10",width:9144e3,height:5715e3},o={name:"custom",width:12192e3,height:6858e3};this.LAYOUTS={LAYOUT_4x3:n,LAYOUT_16x9:r,LAYOUT_16x10:a,LAYOUT_WIDE:o},this._author="PptxGenJS",this._company="PptxGenJS",this._revision="1",this._subject="PptxGenJS Presentation",this._title="PptxGenJS Presentation",this._presLayout={name:this.LAYOUTS[mx].name,_sizeW:this.LAYOUTS[mx].width,_sizeH:this.LAYOUTS[mx].height,width:this.LAYOUTS[mx].width,height:this.LAYOUTS[mx].height},this._rtlMode=!1,this._slideLayouts=[{_margin:DN,_name:aV,_presLayout:this._presLayout,_rels:[],_relsChart:[],_relsMedia:[],_slide:null,_slideNum:1e3,_slideNumberProps:null,_slideObjects:[]}],this._slides=[],this._sections=[],this._masterSlide={addChart:null,addImage:null,addMedia:null,addNotes:null,addShape:null,addTable:null,addText:null,_name:null,_presLayout:this._presLayout,_rId:null,_rels:[],_relsChart:[],_relsMedia:[],_slideId:null,_slideLayout:null,_slideNum:null,_slideNumberProps:null,_slideObjects:[]}}return Object.defineProperty(e.prototype,"layout",{get:function(){return this._layout},set:function(t){var n=this.LAYOUTS[t];if(n)this._layout=t,this._presLayout=n;else throw new Error("UNKNOWN-LAYOUT")},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"version",{get:function(){return this._version},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"author",{get:function(){return this._author},set:function(t){this._author=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"company",{get:function(){return this._company},set:function(t){this._company=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"revision",{get:function(){return this._revision},set:function(t){this._revision=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"subject",{get:function(){return this._subject},set:function(t){this._subject=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"theme",{get:function(){return this._theme},set:function(t){this._theme=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"title",{get:function(){return this._title},set:function(t){this._title=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"rtlMode",{get:function(){return this._rtlMode},set:function(t){this._rtlMode=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"masterSlide",{get:function(){return this._masterSlide},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"slides",{get:function(){return this._slides},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"sections",{get:function(){return this._sections},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"slideLayouts",{get:function(){return this._slideLayouts},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"AlignH",{get:function(){return this._alignH},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"AlignV",{get:function(){return this._alignV},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"ChartType",{get:function(){return this._chartType},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"OutputType",{get:function(){return this._outputType},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"presLayout",{get:function(){return this._presLayout},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"SchemeColor",{get:function(){return this._schemeColor},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"ShapeType",{get:function(){return this._shapeType},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"charts",{get:function(){return this._charts},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"colors",{get:function(){return this._colors},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"shapes",{get:function(){return this._shapes},enumerable:!1,configurable:!0}),e.prototype.stream=function(t){return wh(this,void 0,void 0,function(){return Mh(this,function(n){switch(n.label){case 0:return[4,this.exportPresentation({compression:t==null?void 0:t.compression,outputType:"STREAM"})];case 1:return[2,n.sent()]}})})},e.prototype.write=function(t){return wh(this,void 0,void 0,function(){var n,r;return Mh(this,function(a){switch(a.label){case 0:return n=typeof t=="object"&&(t!=null&&t.outputType)?t.outputType:t||null,r=typeof t=="object"&&(t!=null&&t.compression)?t.compression:!1,[4,this.exportPresentation({compression:r,outputType:n})];case 1:return[2,a.sent()]}})})},e.prototype.writeFile=function(t){return wh(this,void 0,void 0,function(){var n,r,a,o,i=this;return Mh(this,function(s){switch(s.label){case 0:return n=null,typeof t=="string"&&console.log("Warning: `writeFile(filename)` is deprecated - please use `WriteFileProps` argument (v3.5.0)"),r=typeof t=="object"&&(t!=null&&t.fileName)?t.fileName:typeof t=="string"?t:"",a=typeof t=="object"&&(t!=null&&t.compression)?t.compression:!1,o=r?r.toString().toLowerCase().endsWith(".pptx")?r:r+".pptx":"Presentation.pptx",[4,this.exportPresentation({compression:a,outputType:n?"nodebuffer":null}).then(function(c){return wh(i,void 0,void 0,function(){return Mh(this,function(u){switch(u.label){case 0:return n?[4,new Promise(function(f,d){n.writeFile(o,c,function(h){h?d(h):f(o)})})]:[3,2];case 1:return[2,u.sent()];case 2:return[4,this.writeFileToBrowser(o,c)];case 3:return[2,u.sent()]}})})})];case 1:return[2,s.sent()]}})})},e.prototype.addSection=function(t){t?t.title||console.warn("addSection requires a title"):console.warn("addSection requires an argument");var n={_type:"user",_slides:[],title:t.title};t.order?this.sections.splice(t.order,0,n):this._sections.push(n)},e.prototype.addSlide=function(t){var n=typeof t=="string"?t:t!=null&&t.masterName?t.masterName:"",r={_name:this.LAYOUTS[mx].name,_presLayout:this.presLayout,_rels:[],_relsChart:[],_relsMedia:[],_slideNum:this.slides.length+1};if(n){var a=this.slideLayouts.filter(function(c){return c._name===n})[0];a&&(r=a)}var o=new Xut({addSlide:this.addNewSlide,getSlide:this.getSlide,presLayout:this.presLayout,setSlideNum:this.setSlideNumber,slideId:this.slides.length+256,slideRId:this.slides.length+2,slideNumber:this.slides.length+1,slideLayout:r});if(this._slides.push(o),t!=null&&t.sectionTitle){var i=this.sections.filter(function(c){return c.title===t.sectionTitle})[0];i?i._slides.push(o):console.warn('addSlide: unable to find section with title: "'.concat(t.sectionTitle,'"'))}else if(this.sections&&this.sections.length>0&&!(t!=null&&t.sectionTitle)){var s=this._sections[this.sections.length-1];s._type==="default"?s._slides.push(o):this._sections.push({title:"Default-".concat(this.sections.filter(function(c){return c._type==="default"}).length+1),_type:"default",_slides:[o]})}return o},e.prototype.defineLayout=function(t){t?t.name?t.width?t.height?typeof t.height!="number"?console.warn("defineLayout `height` should be a number (inches)"):typeof t.width!="number"&&console.warn("defineLayout `width` should be a number (inches)"):console.warn("defineLayout requires `height`"):console.warn("defineLayout requires `width`"):console.warn("defineLayout requires `name`"):console.warn("defineLayout requires `{name, width, height}`"),this.LAYOUTS[t.name]={name:t.name,_sizeW:Math.round(Number(t.width)*wn),_sizeH:Math.round(Number(t.height)*wn),width:Math.round(Number(t.width)*wn),height:Math.round(Number(t.height)*wn)}},e.prototype.defineSlideMaster=function(t){if(!t.title)throw new Error("defineSlideMaster() object argument requires a `title` value. (https://gitbrent.github.io/PptxGenJS/docs/masters.html)");var n={_margin:t.margin||DN,_name:t.title,_presLayout:this.presLayout,_rels:[],_relsChart:[],_relsMedia:[],_slide:null,_slideNum:1e3+this.slideLayouts.length+1,_slideNumberProps:t.slideNumber||null,_slideObjects:[],background:t.background||null,bkgd:t.bkgd||null};Iut(t,n),this.slideLayouts.push(n),(t.background||t.bkgd)&&Axe(t.background,n),n._slideNumberProps&&!this.masterSlide._slideNumberProps&&(this.masterSlide._slideNumberProps=n._slideNumberProps)},e.prototype.tableToSlides=function(t,n){n===void 0&&(n={}),kut(this,t,n,n!=null&&n.masterSlideName?this.slideLayouts.filter(function(r){return r._name===n.masterSlideName})[0]:null)},e}();const mft=["style","script","template"],gft=["html","head","body","p","dt","dd","li","option","thead","th","tbody","tr","td","tfoot","colgroup"],yft={li:["ul","ol","menu"],dt:["dl"],dd:["dl"],tbody:["table"],thead:["table"],tfoot:["table"],tr:["table"],td:["table"]},bft=["!doctype","area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"],Vy=(e,t)=>{const n=t-e.position;Yk(e,n)},Yk=(e,t)=>{e.position=e.position+t},Aft=(e,t)=>{for(;;){const n=e.indexOf("<",t);if(n===-1)return n;const r=e.charAt(n+1);if(r==="/"||r==="!"||/[A-Za-z0-9]/.test(r))return n;t=n+1}return-1},Txe=e=>{const{str:t}=e;let n=Aft(t,e.position);if(n===e.position)return;n===-1&&(n=t.length);const r=t.slice(e.position,n);Vy(e,n),e.tokens.push({type:"text",content:r})},Rft=e=>{const{str:t}=e;Yk(e,4);let n=t.indexOf("-->",e.position),r=n+3;n===-1&&(n=r=t.length);const a=t.slice(e.position,n);Vy(e,r),e.tokens.push({type:"comment",content:a})},xft=e=>{const{str:t}=e,n=t.length;let r=e.position;for(;r<n;){const i=t.charAt(r);if(!(/\s/.test(i)||i==="/"||i===">"))break;r++}let a=r+1;for(;a<n;){const i=t.charAt(a);if(!!(/\s/.test(i)||i==="/"||i===">"))break;a++}Vy(e,a);const o=t.slice(r,a);return e.tokens.push({type:"tag",content:o}),o},Sft=e=>{const{str:t,tokens:n}=e;let r=e.position,a=null,o=r;const i=[],s=t.length;for(;r<s;){const u=t.charAt(r);if(a){u===a&&(a=null),r++;continue}if(u==="/"||u===">"){r!==o&&i.push(t.slice(o,r));break}if(/\s/.test(u)){r!==o&&i.push(t.slice(o,r)),o=r+1,r++;continue}if(u==="'"||u==='"'){a=u,r++;continue}r++}Vy(e,r);const c="attribute";for(let u=0;u<i.length;u++){const f=i[u];if(f.indexOf("=")===-1){const h=i[u+1];if(h&&aa.startsWith(h,"=")){if(h.length>1){const v=f+h;n.push({type:c,content:v}),u+=1;continue}const p=i[u+2];if(u+=1,p){const v=f+"="+p;n.push({type:c,content:v}),u+=1;continue}}}if(aa.endsWith(f,"=")){const h=i[u+1];if(h&&h.indexOf("=")===-1){const v=f+h;n.push({type:c,content:v}),u+=1;continue}const p=f.slice(0,-1);n.push({type:c,content:p});continue}n.push({type:c,content:f})}},wft=(e,t)=>{const{str:n,tokens:r}=t,a=e.toLowerCase(),o=n.length;let i=t.position;for(;i<o;){const s=n.indexOf("</",i);if(s===-1){Txe(t);break}const c={str:n,position:t.position,tokens:[]};Vy(c,s);const u=Lxe(c);if(a!==u.toLowerCase()){i=c.position;continue}if(s!==t.position){const f=t.position;Vy(t,s),r.push({type:"text",content:n.slice(f,s)})}r.push(...c.tokens),Vy(t,c.position);break}},Lxe=e=>{const{str:t}=e,r=t.charAt(e.position+1)==="/";Yk(e,r?2:1),e.tokens.push({type:"tag-start",close:r});const a=xft(e);Sft(e);const i=t.charAt(e.position)==="/";return Yk(e,i?2:1),e.tokens.push({type:"tag-end",close:i}),a},Mft=e=>{const t=e.str,n=t.length;for(;e.position<n;){const r=e.position;if(Txe(e),e.position===r)if(aa.startsWith(t,"!--",r+1))Rft(e);else{const o=Lxe(e),i=o.toLowerCase();mft.includes(i)&&wft(o,e)}}},Nft=e=>{const t={str:e,position:0,tokens:[]};return Mft(t),t.tokens},Tft=e=>{const t={tagName:null,children:[]};return Cxe({tokens:e,cursor:0,stack:[t]}),t.children},Lft=(e,t)=>{const n=yft[e];if(n){let r=t.length-1;for(;r>=0;){const a=t[r].tagName;if(a===e)break;if(a&&n.includes(a))return!0;r--}}return!1},_xe=(e,t)=>{e.splice(t)},Cxe=e=>{const{stack:t,tokens:n}=e;let{cursor:r}=e,a=t[t.length-1].children;const o=n.length;for(;r<o;){const i=n[r];if(i.type!=="tag-start"){a.push(i),r++;continue}const s=n[++r];r++;const c=s.content.toLowerCase();if(i.close){let g=t.length,y=!1;for(;--g>-1;)if(t[g].tagName===c){y=!0;break}for(;r<o&&n[r].type==="tag-end";)r++;if(y){_xe(t,g);break}else continue}let f=gft.includes(c);if(f&&(f=!Lft(c,t)),f){let g=t.length-1;for(;g>0;){if(c===t[g].tagName){_xe(t,g);const y=g-1;a=t[y].children;break}g=g-1}}const d=[];let h;for(;r<o;){const g=n[r];if(g.type==="tag-end"){h=g;break}d.push(g.content),r++}if(!h)break;r++;const p=[],v={type:"element",tagName:s.content,attributes:d,children:p};if(a.push(v),!(h.close||bft.includes(c))){t.push({tagName:c,children:p});const g={tokens:n,cursor:r,stack:t};Cxe(g),r=g.cursor}}e.cursor=r},_ft=(e,t)=>{const n=e.indexOf(t);return n===-1?[e]:[e.slice(0,n),e.slice(n+t.length)]},Cft=e=>{const t=e.charAt(0),n=e.length-1;return(t==='"'||t==="'")&&t===e.charAt(n)?e.slice(1,n):e},Eft=e=>e.map(t=>{const n=_ft(t.trim(),"="),r=n[0],a=typeof n[1]=="string"?Cft(n[1]):null;return{key:r,value:a}}),Exe=e=>e.map(t=>{if(t.type==="element"){const r=Exe(t.children);return{type:"element",tagName:t.tagName.toLowerCase(),attributes:Eft(t.attributes),children:r}}return{type:t.type,content:t.content}}),Oft=e=>{const t=Nft(e),n=Tft(t);return Exe(n)},Zk="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",kft="data:image/svg+xml;base64,",Pft=e=>{e=e.replace(/\r\n/g,`
312
312
  `);let t="";for(let n=0;n<e.length;n++){const r=e.charCodeAt(n);r<128?t+=String.fromCharCode(r):r>127&&r<2048?(t+=String.fromCharCode(r>>6|192),t+=String.fromCharCode(r&63|128)):(t+=String.fromCharCode(r>>12|224),t+=String.fromCharCode(r>>6&63|128),t+=String.fromCharCode(r&63|128))}return t},Ift=e=>{let t="",n,r,a,o,i,s,c,u=0;for(e=Pft(e);u<e.length;)n=e.charCodeAt(u++),r=e.charCodeAt(u++),a=e.charCodeAt(u++),o=n>>2,i=(n&3)<<4|r>>4,s=(r&15)<<2|a>>6,c=a&63,isNaN(r)?s=c=64:isNaN(a)&&(c=64),t=t+Zk.charAt(o)+Zk.charAt(i)+Zk.charAt(s)+Zk.charAt(c);return t},Oxe=e=>{const n=new XMLSerializer().serializeToString(e);return kft+Ift(n)};/*! *****************************************************************************
313
313
  Copyright (c) Microsoft Corporation.
314
314
 
@@ -1,6 +1,6 @@
1
1
  import { defineStore as Js } from "./pinia-CVat9nJz.js";
2
2
  import { createI18n as Uy } from "./vue-i18n-R6dI71u7.js";
3
- import { e as Jy, z as Gy } from "./lib-CcU3sBPZ.js";
3
+ import { e as Jy, z as Gy } from "./lib-Vnh6z6GM.js";
4
4
  const Hy = "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";
5
5
  let $y = (u) => crypto.getRandomValues(new Uint8Array(u)), jy = (u, t, n) => {
6
6
  let i = (2 << Math.log2(u.length - 1)) - 1, a = -~(1.6 * i * t / u.length);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lt-ppt",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "main": "./dist/lt-ppt.umd.js",