canva-pptx 1.0.6 → 1.0.7
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.
- package/README.md +28 -1
- package/dist/index.d.mts +2 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +6 -6
- package/dist/index.mjs +6 -6
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -300,7 +300,7 @@ addText(slide, "Hello World", {
|
|
|
300
300
|
|
|
301
301
|
### addImage
|
|
302
302
|
|
|
303
|
-
Renders an image from a local path, base64 string, or URL.
|
|
303
|
+
Renders an image from a local path, base64 string, or URL. For remote URLs, the image is fetched and converted to base64.
|
|
304
304
|
|
|
305
305
|
```javascript
|
|
306
306
|
addImage(slide, "./photo.jpg", {
|
|
@@ -315,6 +315,33 @@ Adding Image using URLs using await
|
|
|
315
315
|
await addImage(slide, "https://mysite.com/logo.png", { x: 1, y: 1 });
|
|
316
316
|
```
|
|
317
317
|
|
|
318
|
+
### addNativeImage
|
|
319
|
+
|
|
320
|
+
**Fastest method** for adding images. Directly uses the pptxgenjs native `path` property, which is significantly faster for S3 URLs and local files as it offloads fetching/loading to the library's internal stream logic.
|
|
321
|
+
|
|
322
|
+
```javascript
|
|
323
|
+
// Local file
|
|
324
|
+
addNativeImage(slide, "./photo.jpg", { x: 1, y: 1, w: 4, h: 3 });
|
|
325
|
+
|
|
326
|
+
// S3 or HTTPS URL (no await needed)
|
|
327
|
+
addNativeImage(slide, "https://s3.amazonaws.com/bucket/image.png", {
|
|
328
|
+
x: 1, y: 1, w: 4, h: 3
|
|
329
|
+
});
|
|
330
|
+
|
|
331
|
+
// With additional pptxgenjs options
|
|
332
|
+
addNativeImage(slide, "./photo.jpg", {
|
|
333
|
+
x: 1, y: 1, w: 4, h: 3,
|
|
334
|
+
sizing: { type: "contain", w: 4, h: 3 },
|
|
335
|
+
hyperlink: { url: "https://example.com" }
|
|
336
|
+
});
|
|
337
|
+
```
|
|
338
|
+
|
|
339
|
+
**When to use which:**
|
|
340
|
+
| Method | Use Case |
|
|
341
|
+
|--------|----------|
|
|
342
|
+
| `addImage` | When you need base64 conversion or error handling for remote URLs |
|
|
343
|
+
| `addNativeImage` | For maximum speed with local files or reliable S3/CDN URLs |
|
|
344
|
+
|
|
318
345
|
### addShape
|
|
319
346
|
|
|
320
347
|
Renders a geometric shape (rect, oval, line, etc.). Useful for background accents and diagrams.
|
package/dist/index.d.mts
CHANGED
|
@@ -16,6 +16,7 @@ const { addSlide } = require("./components/slide");
|
|
|
16
16
|
const { addText } = require("./components/text");
|
|
17
17
|
const { addShape } = require("./components/shape");
|
|
18
18
|
const { addImage } = require("./components/image");
|
|
19
|
+
const { addNativeImage } = require("./components/image");
|
|
19
20
|
const { addLink } = require("./components/link");
|
|
20
21
|
const { addCard } = require("./components/card");
|
|
21
22
|
const { addTable } = require("./components/table");
|
|
@@ -169,6 +170,7 @@ module.exports = {
|
|
|
169
170
|
addGradientMesh,
|
|
170
171
|
addSquiggleLine,
|
|
171
172
|
addCornerAccent,
|
|
173
|
+
addNativeImage,
|
|
172
174
|
|
|
173
175
|
/* Themes */
|
|
174
176
|
getTheme,
|
package/dist/index.d.ts
CHANGED
|
@@ -16,6 +16,7 @@ const { addSlide } = require("./components/slide");
|
|
|
16
16
|
const { addText } = require("./components/text");
|
|
17
17
|
const { addShape } = require("./components/shape");
|
|
18
18
|
const { addImage } = require("./components/image");
|
|
19
|
+
const { addNativeImage } = require("./components/image");
|
|
19
20
|
const { addLink } = require("./components/link");
|
|
20
21
|
const { addCard } = require("./components/card");
|
|
21
22
|
const { addTable } = require("./components/table");
|
|
@@ -169,6 +170,7 @@ module.exports = {
|
|
|
169
170
|
addGradientMesh,
|
|
170
171
|
addSquiggleLine,
|
|
171
172
|
addCornerAccent,
|
|
173
|
+
addNativeImage,
|
|
172
174
|
|
|
173
175
|
/* Themes */
|
|
174
176
|
getTheme,
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
'use strict';var k=(t=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(t,{get:(a,r)=>(typeof require<"u"?require:a)[r]}):t)(function(t){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+t+'" is not supported')});var x=(t,a)=>()=>(a||t((a={exports:{}}).exports,a),a.exports);var N=x(($c,G)=>{var cn=k("pptxgenjs"),B=class{constructor(){this.pptx=new cn;}getPptx(){return this.pptx}async save(a="presentation.pptx"){await this.pptx.writeFile({fileName:a});}};G.exports=B;});var W=x((Xc,R)=>{function ln(t,a={}){return t.addSlide(a)}R.exports={addSlide:ln};});var I=x((Gc,O)=>{function dn(t,a,r={}){t.addText(a,{x:r.x??1,y:r.y??1,w:r.w??5,h:r.h??1,fontSize:r.fontSize??18,color:r.color??"000000",bold:r.bold??false,align:r.align??"left",fontFace:r.fontFace??"Arial"});}O.exports={addText:dn};});var V=x((Nc,U)=>{function hn(t,a,r={}){t.addShape(a,{x:r.x??1,y:r.y??1,w:r.w??2,h:r.h??2,fill:r.fill??"FFFFFF",line:r.line??{color:"000000"}});}U.exports={addShape:hn};});var j=x((Rc,_)=>{var sn=k("https"),fn=k("http");function un(t){return new Promise((a,r)=>{(t.startsWith("https")?sn:fn).get(t,n=>{if(n.statusCode!==200){r(new Error(`Failed to fetch image: Status Code ${n.statusCode}`));return}let o=[];n.on("data",d=>o.push(d)),n.on("end",()=>{let c=Buffer.concat(o).toString("base64");a(c);});}).on("error",n=>{r(n);});})}async function xn(t,a,r={}){let e=a.startsWith("http://")||a.startsWith("https://"),n=r.x??1,o=r.y??1,d=r.w??3,c=r.h??3;if(e)try{let l=await un(a),i=a.split(".").pop().split("?")[0]||"png";t.addImage({data:`image/${i};base64,${l}`,x:n,y:o,w:d,h:c});}catch(l){console.error(`Error loading remote image: ${a}`,l),t.addText("Image failed to load",{x:n,y:o,w:d,h:c,color:"FF0000"});}else t.addImage({path:a,x:n,y:o,w:d,h:c});}_.exports={addImage:xn};});var K=x((Oc,Z)=>{function Fn(t,a,r,e={}){t.addText([{text:a,options:{hyperlink:{url:r},color:"0000FF",underline:true}}],{x:e.x??1,y:e.y??1,w:e.w??4,h:e.h??1,fontSize:e.fontSize??14});}Z.exports={addLink:Fn};});var Q=x((Uc,J)=>{function pn(t,a={}){var u,F,p,y;let{x:r,y:e,w:n,h:o,background:d="FFFFFF",border:c="DDDDDD",padding:l=.3,title:i,body:h,theme:s,shapeType:f}=a;if(!f)throw new Error("addCard: shapeType is required (e.g. pptx.ShapeType.rect)");t.addShape(f,{x:r,y:e,w:n,h:o,fill:d,line:{color:c},rounding:f==="roundRect"?.15:void 0}),i&&t.addText(i,{x:r+l,y:e+l,w:n-l*2,fontSize:((u=s==null?void 0:s.heading)==null?void 0:u.fontSize)||16,bold:true,color:((F=s==null?void 0:s.heading)==null?void 0:F.color)||"111111",align:"center"}),h&&t.addText(h,{x:r+l,y:e+l+.6,w:n-l*2,fontSize:((p=s==null?void 0:s.body)==null?void 0:p.fontSize)||12,color:((y=s==null?void 0:s.body)==null?void 0:y.color)||"444444",align:"center"});}J.exports={addCard:pn};});var et=x((Vc,tt)=>{function yn(t,a,r={}){let e=a.map((n,o)=>n.map(d=>({text:String(d),options:{fontSize:r.fontSize||14,bold:o===0&&r.header!==false,fill:o===0?r.headerFill:void 0,color:r.color||"000000"}})));t.addTable(e,{x:r.x??1,y:r.y??1,w:r.w??8,border:r.border??{type:"solid",color:"CCCCCC"},colW:r.colW});}tt.exports={addTable:yn};});var nt=x((_c,ot)=>{function gn(t,a,r,e={}){t.addChart(a,r,{x:e.x??1,y:e.y??1,w:e.w??6,h:e.h??4,title:e.title,showLegend:e.showLegend??true,chartColors:e.colors,animation:e.animation??"fade",showValue:e.showValue??true,showPercent:e.showPercent??false});}ot.exports={addChart:gn};});var at=x((jc,rt)=>{function wn(t,a){a.background&&(t.background={fill:a.background});}rt.exports={applyTheme:wn};});var lt=x((Zc,ct)=>{var T={minimal:{background:"FFFFFF",heading:{fontSize:28,color:"111111",bold:true,fontFace:"Arial"},body:{fontSize:16,color:"444444",fontFace:"Arial"},accent:"E5E7EB"},brand:{background:"F8FAFC",heading:{fontSize:30,color:"0F172A",bold:true,fontFace:"Helvetica"},body:{fontSize:16,color:"334155",fontFace:"Helvetica"},accent:"2563EB"},dark:{background:"020617",heading:{fontSize:30,color:"FFFFFF",bold:true,fontFace:"Verdana"},body:{fontSize:16,color:"CBD5E1",fontFace:"Verdana"},accent:"38BDF8"}};function Sn(t,a){T[t]={...T.minimal,...a,heading:{...T.minimal.heading,...a.heading},body:{...T.minimal.body,...a.body}};}function mn(t="minimal"){return typeof t=="object"?{...T.minimal,...t,heading:{...T.minimal.heading,...t.heading},body:{...T.minimal.body,...t.body}}:T[t]||T.minimal}ct.exports={getTheme:mn,registerTheme:Sn,themes:T};});var it=x((Kc,dt)=>{function bn(t,a={}){let{x:r=1,y:e=1,w:n=5,h:o=.3,percent:d=.5,color:c="007AFF",trackColor:l="E5E5EA",showLabel:i=true}=a;t.addShape("rect",{x:r,y:e,w:n,h:o,fill:l,line:{color:l},rounding:o/2}),d>0&&t.addShape("rect",{x:r,y:e,w:n*d,h:o,fill:c,line:{color:c},rounding:o/2}),i&&t.addText(`${Math.round(d*100)}%`,{x:r+n+.1,y:e,w:1,h:o,fontSize:10,color:"666666",align:"left",valign:"middle"});}dt.exports={addProgressBar:bn};});var st=x((Jc,ht)=>{function Cn(t,a={}){let{x:r=1,y:e=1,w:n=3,h:o=2,value:d="0",label:c="Metric",valueColor:l="000000",labelColor:i="666666",align:h="center"}=a;t.addText(d,{x:r,y:e,w:n,h:o*.6,fontSize:48,bold:true,color:l,align:h,valign:"bottom"}),t.addText(c,{x:r,y:e+o*.6,w:n,h:o*.4,fontSize:14,color:i,align:h,valign:"top"});}ht.exports={addStatMetric:Cn};});var ut=x((Qc,ft)=>{function Tn(t,a,r={}){let{x:e=1,y:n=1,w:o=1.5,h:d=.4,backgroundColor:c="E1F5FE",color:l="0277BD",fontSize:i=10}=r;t.addShape("roundRect",{x:e,y:n,w:o,h:d,fill:c,line:{color:c},rounding:.5}),t.addText(a,{x:e,y:n,w:o,h:d,fontSize:i,color:l,align:"center",valign:"middle",bold:true});}ft.exports={addBadge:Tn};});var Ft=x((tl,xt)=>{function zn(t,a,r={}){let{x:e=1,y:n=1,w:o=6,h:d=3,fontSize:c=11,background:l="1E1E1E",color:i="D4D4D4"}=r;t.addShape("rect",{x:e,y:n,w:o,h:d,fill:l,line:{color:"333333"}}),t.addText(a,{x:e+.2,y:n+.2,w:o-.4,h:d-.4,fontSize:c,color:i,fontFace:"Courier New",align:"left",valign:"top"});}xt.exports={addCodeBlock:zn};});var yt=x((el,pt)=>{function vn(t,a=[],r={}){let{x:e=1,y:n=3,w:o=8,color:d="007AFF",textColor:c="333333"}=r;if(a.length===0)return;let l=o/(a.length-1||1),i=n+.15;a.length>1&&t.addShape("line",{x:e,y:i,w:o,h:0,line:{color:d,width:2}}),a.forEach((h,s)=>{let f=e+s*l;t.addShape("oval",{x:f-.15,y:n,w:.3,h:.3,fill:"FFFFFF",line:{color:d,width:3}}),t.addText(h.title,{x:f-.75,y:n+.4,w:1.5,h:.5,fontSize:12,bold:true,color:c,align:"center",valign:"top"}),h.desc&&t.addText(h.desc,{x:f-.75,y:n+.8,w:1.5,h:1,fontSize:10,color:"666666",align:"center",valign:"top"});});}pt.exports={addTimeline:vn};});var wt=x((ol,gt)=>{function En(t,a=[],r={}){let{x:e=1,y:n=1,radius:o=.5,offset:d=.3,borderColor:c="FFFFFF"}=r;a.forEach((l,i)=>{let h=e+i*(o-d);t.addShape("oval",{x:h-.02,y:n-.02,w:o+.04,h:o+.04,fill:c}),l.image?t.addImage({path:l.image,x:h,y:n,w:o,h:o,sizing:{type:"cover",w:o,h:o},rounding:true}):(t.addShape("oval",{x:h,y:n,w:o,h:o,fill:l.color||"CCCCCC"}),t.addText(l.initials||"U",{x:h,y:n,w:o,h:o,align:"center",valign:"middle",fontSize:10,color:"FFFFFF"}));});}gt.exports={addAvatarGroup:En};});var mt=x((nl,St)=>{function qn(t,a,r,e={}){let{x:n=1,y:o=1,w:d=6,h:c=2.5,bg:l="F9F9F9",accent:i="007AFF"}=e;t.addShape("roundRect",{x:n,y:o,w:d,h:c,fill:l,line:{color:"EFEFEF"},rounding:.2}),t.addText("\u201C",{x:n+.2,y:o+.2,w:1,h:1,fontSize:60,color:i,fontFace:"Georgia"}),t.addText(a,{x:n+.8,y:o+.4,w:d-1,h:c-1,fontSize:14,color:"333333",italic:true,valign:"top"}),t.addText(`\u2014 ${r}`,{x:n+.8,y:o+c-.6,w:d-1,h:.4,fontSize:12,bold:true,color:"555555",align:"right"});}St.exports={addTestimonialCard:qn};});var Ct=x((rl,bt)=>{function Dn(t,a,r="info",e={}){let{x:n=1,y:o=1,w:d=8,h:c=.8}=e,l,i,h;switch(r){case "success":l="E8F5E9",i="4CAF50",h="\u2713";break;case "warning":l="FFF3E0",i="FF9800",h="!";break;case "error":l="FFEBEE",i="F44336",h="\u2715";break;default:l="E3F2FD",i="2196F3",h="i";break}t.addShape("rect",{x:n,y:o,w:d,h:c,fill:l,line:{color:i,width:2}}),t.addShape("rect",{x:n,y:o,w:.6,h:c,fill:i}),t.addText(h,{x:n,y:o,w:.6,h:c,color:"FFFFFF",align:"center",valign:"middle",bold:true,fontSize:18}),t.addText(a,{x:n+.7,y:o,w:d-.8,h:c,color:"333333",valign:"middle",fontSize:12});}bt.exports={addAlertBox:Dn};});var zt=x((al,Tt)=>{function Mn(t,a=[],r={}){let{x:e=1,y:n=1,w:o=5,itemHeight:d=.5,gap:c=.1,iconColor:l="007AFF",textColor:i="333333"}=r;a.forEach((h,s)=>{let f=n+s*(d+c);t.addShape("oval",{x:e,y:f+.1,w:.25,h:.25,fill:l}),t.addText("\u2713",{x:e,y:f+.1,w:.25,h:.25,color:"FFFFFF",fontSize:10,align:"center",valign:"middle"}),t.addText(h,{x:e+.4,y:f,w:o-.4,h:d,fontSize:14,color:i,valign:"middle"});});}Tt.exports={addIconList:Mn};});var Et=x((cl,vt)=>{function Ln(t,a=[],r={}){var s;let{x:e=1,y:n=1,w:o=8,theme:d=r.theme||{},accentColor:c=d.accent||"3F51B5",fontFace:l=((s=d.body)==null?void 0:s.fontFace)||"Inter",itemGap:i=.15}=r,h=n;a.forEach((f,u)=>{let F=typeof f=="string"?f:f.title||"",p=typeof f=="object"?f.desc:null,y=typeof f=="object"?f.icon:null;if(!F&&!p&&!y)return;let g=p?.9:.5;t.addShape("rect",{x:e,y:h,w:o,h:g,fill:{color:"F8F9FA"},line:{color:"E9ECEF",width:1}}),t.addShape("rect",{x:e,y:h,w:.05,h:g,fill:{color:c}});let w=.3,b=e+.15,S=h+g/2-w/2;(y||u>=0)&&t.addText(String(y||u+1),{x:b,y:S,w,h:w,fontSize:12,bold:true,color:c,align:"center",valign:"middle",fontFace:l}),t.addText(String(F),{x:e+.5,y:h+(p?.15:0),w:o-.7,h:.3,fontSize:14,bold:true,color:"212529",fontFace:l,valign:p?"top":"middle"}),p&&t.addText(String(p),{x:e+.5,y:h+.45,w:o-.8,h:.4,fontSize:11,color:"495057",fontFace:l,valign:"top"}),h+=g+i;});}vt.exports={addModernBulletList:Ln};});var kt=x((ll,At)=>{var Lt={disc:"\u2022",circle:"\u25CB",square:"\u25A0",dash:"\u2013",arrow:"\u2192",chevron:"\u203A",check:"\u2713",star:"\u2605",diamond:"\u25C6",triangle:"\u25B8",decimal:"decimal",alpha:"alpha",alphaUpper:"alphaUpper",roman:"roman",romanUpper:"romanUpper"};function qt(t,a=false){let r=[{value:1e3,numeral:"m"},{value:900,numeral:"cm"},{value:500,numeral:"d"},{value:400,numeral:"cd"},{value:100,numeral:"c"},{value:90,numeral:"xc"},{value:50,numeral:"l"},{value:40,numeral:"xl"},{value:10,numeral:"x"},{value:9,numeral:"ix"},{value:5,numeral:"v"},{value:4,numeral:"iv"},{value:1,numeral:"i"}],e="";for(let{value:n,numeral:o}of r)for(;t>=n;)e+=o,t-=n;return a?e.toUpperCase():e}function Dt(t,a=false){let r="";for(;t>0;)t--,r=String.fromCharCode(97+t%26)+r,t=Math.floor(t/26);return a?r.toUpperCase():r}function An(t,a,r=1){let e=r+t;switch(a){case "decimal":return `${e}.`;case "alpha":return `${Dt(e,false)}.`;case "alphaUpper":return `${Dt(e,true)}.`;case "roman":return `${qt(e,false)}.`;case "romanUpper":return `${qt(e,true)}.`;default:return Lt[a]||a||"\u2022"}}function Mt(t){return ["decimal","alpha","alphaUpper","roman","romanUpper"].includes(t)}function D(t,a=[],r={}){var L;let{x:e=1,y:n=1,w:o=8,bulletStyle:d="disc",fontSize:c=14,lineHeight:l=1.5,color:i="333333",bulletColor:h=null,fontFace:s="Arial",bold:f=false,italic:u=false,indent:F=.3,bulletWidth:p=.25,startNumber:y=1,nestedIndent:g=.4,theme:w={}}=r,b=i||w.text||"333333",S=h||w.accent||b,E=s||((L=w.body)==null?void 0:L.fontFace)||"Arial",z=c/72*l,q=n;return a.forEach((m,P)=>{let C=typeof m=="object"&&m!==null,v=C?m.text||m.title||"":String(m),on=C&&m.indent||0,A=C&&m.bulletStyle?m.bulletStyle:d;if(!v)return;let $=on*g,X=e+$,nn=X+p+F,rn=o-$-p-F,an=An(P,A,y);t.addText(an,{x:X,y:q,w:p,h:z,fontSize:c,color:S,fontFace:E,bold:Mt(A)?f:false,align:Mt(A)?"right":"center",valign:"top"}),t.addText(v,{x:nn,y:q,w:rn,h:z,fontSize:c,color:b,fontFace:E,bold:C?m.bold??f:f,italic:C?m.italic??u:u,valign:"top"}),q+=z;}),{endY:q}}function kn(t,a=[],r={}){let e=r.bulletStyle||"disc";return D(t,a,{...r,bulletStyle:e})}function Bn(t,a=[],r={}){let e=r.bulletStyle||"decimal";return D(t,a,{...r,bulletStyle:e})}function Wn(t,a=[],r={}){let e=a.map(n=>{if(typeof n=="object"&&n!==null){let o=n.checked??false;return {...n,bulletStyle:o?"check":"circle"}}return n});return D(t,e,{...r,bulletStyle:"circle"})}At.exports={addList:D,addUnorderedList:kn,addOrderedList:Bn,addChecklist:Wn,BULLET_STYLES:Lt};});var Wt=x((dl,Bt)=>{function In(t,a,r={}){let{x:e=1,y:n=1,w:o=2.5,h:d=4,headerColor:c="333333",priceColor:l="007AFF"}=r;t.addShape("rect",{x:e,y:n,w:o,h:d,line:{color:"DDDDDD"},fill:"FFFFFF"}),t.addShape("rect",{x:e,y:n,w:o,h:.8,fill:c}),t.addText(a.name,{x:e,y:n,w:o,h:.8,color:"FFFFFF",bold:true,align:"center",valign:"middle",fontSize:14}),t.addText(a.price,{x:e,y:n+.9,w:o,h:.6,color:l,bold:true,align:"center",fontSize:24});let i=n+1.6;a.features&&a.features.forEach((h,s)=>{t.addText(h,{x:e+.2,y:i+s*.4,w:o-.4,h:.4,fontSize:10,align:"center",color:"666666"});}),t.addShape("roundRect",{x:e+.4,y:n+d-.7,w:o-.8,h:.4,fill:l,rounding:.5}),t.addText("Select",{x:e+.4,y:n+d-.7,w:o-.8,h:.4,color:"FFFFFF",fontSize:10,bold:true,align:"center",valign:"middle"});}Bt.exports={addPricingColumn:In};});var Ht=x((il,It)=>{function Hn(t,a=[],r={}){let{x:e=1,y:n=1,w:o=4,gap:d=.8,color:c="007AFF"}=r,l=(a.length-1)*d;a.length>1&&t.addShape("line",{x:e+.15,y:n+.15,w:0,h:l,line:{color:"CCCCCC",width:2}}),a.forEach((i,h)=>{let s=n+h*d;t.addShape("oval",{x:e,y:s,w:.3,h:.3,fill:c}),t.addText(String(h+1),{x:e,y:s,w:.3,h:.3,color:"FFFFFF",fontSize:10,bold:true,align:"center",valign:"middle"}),t.addText(i.title,{x:e+.5,y:s-.1,w:o-.5,h:.3,bold:true,fontSize:12}),i.desc&&t.addText(i.desc,{x:e+.5,y:s+.15,w:o-.5,h:.4,fontSize:10,color:"666666"});});}It.exports={addStepProcess:Hn};});var Pt=x((hl,Yt)=>{function Yn(t,a,r,e={}){let{x:n=1,y:o=1,w:d=8,h:c=4,leftColor:l="E8F5E9",rightColor:i="FFEBEE"}=e,h=d/2;t.addShape("rect",{x:n,y:o,w:h,h:c,fill:l}),t.addShape("rect",{x:n+h,y:o,w:h,h:c,fill:i}),t.addText(a.title,{x:n,y:o,w:h,h:.5,bold:true,align:"center",fontSize:16}),t.addText(r.title,{x:n+h,y:o,w:h,h:.5,bold:true,align:"center",fontSize:16});let s={fontSize:12,bullet:true,color:"333333"};a.items.forEach((f,u)=>{t.addText(f,{x:n+.2,y:o+.6+u*.4,w:h-.4,h:.4,...s});}),r.items.forEach((f,u)=>{t.addText(f,{x:n+h+.2,y:o+.6+u*.4,w:h-.4,h:.4,...s});});}Yt.exports={addComparisonTable:Yn};});var Xt=x((sl,$t)=>{function Pn(t,a=0,r={}){let{x:e=1,y:n=1,w:o=2,h:d=.4,max:c=5,fillColor:l="FFD700",emptyColor:i="E0E0E0"}=r,h=d,s=.1;for(let f=1;f<=c;f++){let u=f<=a,F=e+(f-1)*(h+s);t.addText("\u2605",{x:F,y:n,w:h,h,color:u?l:i,fontSize:h*40});}}$t.exports={addRatingStars:Pn};});var Nt=x((fl,Gt)=>{function $n(t,a=[],r={}){let{x:e=.5,y:n=.3,fontSize:o=10,color:d="888888"}=r,c=e;a.forEach((l,i)=>{let h=i===a.length-1,s=l.length*.09;t.addText(l,{x:c,y:n,w:s,h:.3,fontSize:o,color:h?"000000":d,bold:h}),c+=s,h||(t.addText(">",{x:c,y:n,w:.2,h:.3,fontSize:o,color:d,align:"center"}),c+=.2);});}Gt.exports={addBreadcrumbNav:$n};});var Ot=x((ul,Rt)=>{function Xn(t,a=[],r={}){let {x:e=1,y:n=1,w:o=5,bgColors:d=["E3F2FD","E8F5E9","FFF3E0","F3E5F5"],fontSize:c=10}=r,l=e,i=n,h=.4;a.forEach((f,u)=>{let F=f.length*.1+.4;l+F>e+o&&(l=e,i+=h+.1);let p=d[u%d.length];t.addShape("roundRect",{x:l,y:i,w:F,h,fill:p,line:{color:p},rounding:.5}),t.addText(f,{x:l,y:i,w:F,h,fontSize:c,color:"333333",align:"center",valign:"middle"}),l+=F+.1;});}Rt.exports={addTagCloud:Xn};});var Vt=x((xl,Ut)=>{function Gn(t,a,r=[],e={}){let{x:n=1,y:o=1,w:d=3,h:c=5,bgColor:l="F4F5F7"}=e;t.addShape("rect",{x:n,y:o,w:d,h:c,fill:l,rounding:.1}),t.addText(a,{x:n+.1,y:o+.1,w:d-.2,h:.4,bold:true,fontSize:12,color:"172B4D"});let i=o+.6;r.forEach(h=>{t.addShape("rect",{x:n+.1,y:i,w:d-.2,h:.8,fill:"FFFFFF",line:{color:"DFE1E6"}}),t.addText(h,{x:n+.2,y:i,w:d-.4,h:.8,fontSize:10,color:"333333",valign:"middle"}),i+=.9;});}Ut.exports={addKanbanColumn:Gn};});var jt=x((Fl,_t)=>{function Nn(t,a,r,e={}){let{x:n=4,y:o=3,w:d=3,h:c=.6,color:l="007AFF"}=e;t.addShape("roundRect",{x:n,y:o,w:d,h:c,fill:l,line:{color:l},rounding:.5}),t.addText(a,{x:n,y:o,w:d,h:c,color:"FFFFFF",bold:true,fontSize:14,align:"center",valign:"middle",hyperlink:{url:r}});}_t.exports={addCallToAction:Nn};});var Kt=x((pl,Zt)=>{function Rn(t,a={}){let{x:r=1,y:e=1,w:n=4,h:o=4,color:d="F0F4FF",opacity:c=100}=a;t.addShape("oval",{x:r,y:e,w:n,h:o*.8,fill:{color:d,transparency:100-c},line:{color:void 0}}),t.addShape("oval",{x:r-n*.1,y:e+o*.1,w:n*.9,h:o*.9,rotate:45,fill:{color:d,transparency:100-c}}),t.addShape("oval",{x:r+n*.2,y:e-o*.1,w:n*.7,h:o*.7,rotate:-30,fill:{color:d,transparency:100-c}});}Zt.exports={addOrganicBlob:Rn};});var Qt=x((yl,Jt)=>{function On(t,a="bottom",r={}){let{color:e="007AFF",opacity:n=100,slideWidth:o=10,slideHeight:d=5.63,amplitude:c=1.5}=r,l=a==="top",i=o*1.5,h=c*4,s=(o-i)/2,f=l?-(h-c):d-c;t.addShape("oval",{x:s,y:f,w:i,h,fill:{color:e,transparency:100-n},line:{color:void 0}});}Jt.exports={addWaveDecoration:On};});var ee=x((gl,te)=>{function Un(t,a={}){let{x:r=1,y:e=1,w:n=3,h:o=3,color:d="CCCCCC",rows:c=6,cols:l=6,size:i=.05}=a,h=(n-i)/(l-1),s=(o-i)/(c-1);for(let f=0;f<c;f++)for(let u=0;u<l;u++)t.addShape("oval",{x:r+u*h,y:e+f*s,w:i,h:i,fill:d,line:{color:void 0}});}te.exports={addDotPattern:Un};});var ne=x((wl,oe)=>{function Vn(t,a={}){let{x:r=1,y:e=1,w:n=4,h:o=.5,color:d="FFEB3B",opacity:c=50}=a;t.addShape("rect",{x:r,y:e,w:n,h:o,fill:{color:d,transparency:100-c},line:{color:void 0},rounding:1});}oe.exports={addBrushStroke:Vn};});var ae=x((Sl,re)=>{function _n(t,a={}){let{x:r=0,y:e=0,w:n=10,h:o=5.63,count:d=10,colors:c=["FF5722","00BCD4","FFC107"]}=a,l=["triangle","oval","rect","cross"];for(let i=0;i<d;i++){let h=r+Math.random()*n,s=e+Math.random()*o,f=.1+Math.random()*.2,u=l[Math.floor(Math.random()*l.length)],F=c[Math.floor(Math.random()*c.length)],p=Math.random()*360;t.addShape(u,{x:h,y:s,w:f,h:f,fill:F,rotate:p,line:{color:void 0}});}}re.exports={addGeometricConfetti:_n};});var le=x((ml,ce)=>{function jn(t,a={}){let{x:r=0,y:e=0,w:n=5,h:o=5,color:d="007AFF",opacity:c=50}=a;t.addShape("oval",{x:r,y:e,w:n,h:o,fill:{type:"gradient",gradientType:"radial",stops:[{position:0,color:d,alpha:(100-c)/100},{position:1,color:"FFFFFF",alpha:0}]},line:{color:void 0}});}ce.exports={addGradientMesh:jn};});var ie=x((bl,de)=>{function Zn(t,a={}){let{x:r=1,y:e=1,w:n=3,color:o="FF5722",thickness:d=3}=a;t.addShape("wave",{x:r,y:e,w:n,h:.2,fill:{color:void 0},line:{color:o,width:d},flipH:false,flipV:false});}de.exports={addSquiggleLine:Zn};});var se=x((Cl,he)=>{function Kn(t,a="top-right",r={}){let{size:e=2,color:n="FFC107"}=r,o,d,c,l=10,i=5.63;switch(a){case "top-left":o=-e/2,d=-e/2,c=180;break;case "bottom-left":o=-e/2,d=i-e/2,c=270;break;case "bottom-right":o=l-e/2,d=i-e/2,c=0;break;default:o=l-e/2,d=-e/2,c=90;break}t.addShape("rtTriangle",{x:o,y:d,w:e,h:e,fill:n,rotate:c,line:{color:void 0}});}he.exports={addCornerAccent:Kn};});var ue=x((Tl,fe)=>{function Jn(t,a={}){let {x:r=1,y:e=1,w:n=6,h:o=3.5,url:d="https://example.com",imagePath:c=null,barColor:l="E0E0E0",borderColor:i="D0D0D0"}=a,h=.4,s=.12;t.addShape("roundRect",{x:r,y:e,w:n,h:o,fill:"FFFFFF",line:{color:i},rounding:.1}),t.addShape("rect",{x:r,y:e,w:n,h,fill:l,rectRadius:.1}),["FF5F56","FFBD2E","27C93F"].forEach((g,w)=>{t.addShape("oval",{x:r+.15+w*(s+.08),y:e+(h-s)/2,w:s,h:s,fill:g,line:{color:void 0}});});let F=r+.8,p=n-1,y=h*.6;t.addShape("roundRect",{x:F,y:e+(h-y)/2,w:p,h:y,fill:"FFFFFF",line:{color:"CCCCCC",width:1},rounding:.5}),t.addText(d,{x:F+.1,y:e+(h-y)/2,w:p-.2,h:y,fontSize:8,color:"666666",valign:"middle"}),c&&t.addImage({path:c,x:r+.05,y:e+h+.05,w:n-.1,h:o-h-.1,sizing:{type:"contain",w:n-.1,h:o-h-.1}});}fe.exports={addBrowserWindow:Jn};});var Fe=x((zl,xe)=>{function Qn(t,a=[],r={}){let{x:e=1,y:n=5,iconSize:o=.4,gap:d=.2,color:c="555555"}=r,l={linkedin:"M19 0h-14c-2.761 0-5 2.239-5 5v14c0 2.761 2.239 5 5 5h14c2.762 0 5-2.239 5-5v-14c0-2.761-2.238-5-5-5zm-11 19h-3v-11h3v11zm-1.5-12.268c-.966 0-1.75-.79-1.75-1.764s.784-1.764 1.75-1.764 1.75.79 1.75 1.764-.783 1.764-1.75 1.764zm13.5 12.268h-3v-5.604c0-3.368-4-3.113-4 0v5.604h-3v-11h3v1.765c1.396-2.586 7-2.777 7 2.476v6.759z",twitter:"M24 4.557c-.883.392-1.832.656-2.828.775 1.017-.609 1.798-1.574 2.165-2.724-.951.564-2.005.974-3.127 1.195-.897-.957-2.178-1.555-3.594-1.555-3.179 0-5.515 2.966-4.797 6.045-4.091-.205-7.719-2.165-10.148-5.144-1.29 2.213-.669 5.108 1.523 6.574-.806-.026-1.566-.247-2.229-.616-.054 2.281 1.581 4.415 3.949 4.89-.693.188-1.452.232-2.224.084.626 1.956 2.444 3.379 4.6 3.419-2.07 1.623-4.678 2.348-7.29 2.04 2.179 1.397 4.768 2.212 7.548 2.212 9.142 0 14.307-7.721 13.995-14.646.962-.695 1.797-1.562 2.457-2.549z",github:"M12 0c-6.626 0-12 5.373-12 12 0 5.302 3.438 9.8 8.207 11.387.599.111.793-.261.793-.577v-2.234c-3.338.726-4.033-1.416-4.033-1.416-.546-1.387-1.333-1.756-1.333-1.756-1.089-.745.083-.729.083-.729 1.205.084 1.839 1.237 1.839 1.237 1.07 1.834 2.807 1.304 3.492.997.107-.775.418-1.305.762-1.604-2.665-.305-5.467-1.334-5.467-5.931 0-1.311.469-2.381 1.236-3.221-.124-.303-.535-1.524.117-3.176 0 0 1.008-.322 3.301 1.23.957-.266 1.983-.399 3.003-.404 1.02.005 2.047.138 3.006.404 2.291-1.552 3.297-1.23 3.297-1.23.653 1.653.242 2.874.118 3.176.77.84 1.235 1.911 1.235 3.221 0 4.609-2.807 5.624-5.479 5.921.43.372.823 1.102.823 2.222v3.293c0 .319.192.694.801.576 4.765-1.589 8.199-6.086 8.199-11.386 0-6.627-5.373-12-12-12z",web:"M12 0c-6.627 0-12 5.373-12 12s5.373 12 12 12 12-5.373 12-12-5.373-12-12-12zm1 16.057v-3.057h2.994c-.059 1.143-.212 2.183-.442 3.057h-2.552zm-2 0h-2.552c-.23-.874-.383-1.914-.442-3.057h2.994v3.057zm0-5.057v-3h2.994c.059 1.143.212 2.183.442 3h-3.436zm2-5.057v3.057h-2.994c.059-1.143.212-2.183.442-3.057h2.552zm-2 0h-2.552c-.23.874-.383 1.914-.442 3.057h2.994v-3.057zm-5.223 5.057h-2.613c.277-1.206.711-2.22 1.246-3h1.367v3zm2.684-5.057c.23-.874.524-1.66.863-2.348 1.12.564 2.062 1.353 2.766 2.348h-3.629zm5.352 5.057h2.613c-.277-1.206-.711-2.22-1.246-3h-1.367v3zm-5.029 8.057c-.23.874-.524 1.66-.863 2.348-1.12-.564-2.062-1.353-2.766-2.348h3.629zm2.345 2.348c-.339-.688-.633-1.474-.863-2.348h3.629c-.704.995-1.646 1.784-2.766 2.348zm5.297-2.348h2.613c-.277 1.206-.711 2.22-1.246 3h-1.367v-3zm-7.642 0h-2.613c.277 1.206.711 2.22 1.246 3h1.367v-3z",instagram:"M12 2.163c3.204 0 3.584.012 4.85.07 3.252.148 4.771 1.691 4.919 4.919.058 1.265.069 1.645.069 4.849 0 3.205-.012 3.584-.069 4.849-.149 3.225-1.664 4.771-4.919 4.919-1.266.058-1.644.07-4.85.07-3.204 0-3.584-.012-4.849-.07-3.26-.149-4.771-1.699-4.919-4.92-.058-1.265-.07-1.644-.07-4.849 0-3.204.013-3.583.07-4.849.149-3.227 1.664-4.771 4.919-4.919 1.266-.057 1.645-.069 4.849-.069zm0-2.163c-3.259 0-3.667.014-4.947.072-4.358.2-6.78 2.618-6.98 6.98-.059 1.281-.073 1.689-.073 4.948 0 3.259.014 3.668.072 4.948.2 4.358 2.618 6.78 6.98 6.98 1.281.058 1.689.072 4.948.072 3.259 0 3.668-.014 4.948-.072 4.354-.2 6.782-2.618 6.979-6.98.059-1.28.073-1.689.073-4.948 0-3.259-.014-3.667-.072-4.947-.196-4.354-2.617-6.78-6.979-6.98-1.281-.059-1.69-.073-4.949-.073zm0 5.838c-3.403 0-6.162 2.759-6.162 6.162s2.759 6.163 6.162 6.163 6.162-2.759 6.162-6.163c0-3.403-2.759-6.162-6.162-6.162zm0 10.162c-2.209 0-4-1.79-4-4 0-2.209 1.791-4 4-4s4 1.791 4 4c0 2.21-1.791 4-4 4zm6.406-11.845c-.796 0-1.441.645-1.441 1.44s.645 1.44 1.441 1.44c.795 0 1.439-.645 1.439-1.44s-.644-1.44-1.439-1.44z",facebook:"M24 12.073c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.99 4.388 10.954 10.125 11.854v-8.385H7.078v-3.47h3.047V9.43c0-3.007 1.792-4.669 4.533-4.669 1.312 0 2.686.235 2.686.235v2.953H15.83c-1.491 0-1.956.925-1.956 1.874v2.25h3.328l-.532 3.47h-2.796v8.385C19.612 23.027 24 18.062 24 12.073z"};a.forEach((i,h)=>{let s=e+h*(o+d),f=l[i.type.toLowerCase()];if(i.url&&t.addShape("rect",{x:s,y:n,w:o,h:o,fill:{color:"FFFFFF",transparency:99},hyperlink:{url:i.url}}),f){let u=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="#${c}"><path d="${f}"/></svg>`,F=Buffer.from(u).toString("base64");t.addImage({data:`data:image/svg+xml;base64,${F}`,x:s,y:n,w:o,h:o,hyperlink:i.url?{url:i.url}:void 0});}else t.addShape("oval",{x:s,y:n,w:o,h:o,fill:c});});}xe.exports={addSocialBar:Qn};});var ye=x((vl,pe)=>{function tr(t,a={}){let{x:r=0,y:e=0,w:n=10,h:o=5.63,cols:d=2,rows:c=1,gap:l=.2}=a,i=(n-l*(d-1))/d,h=(o-l*(c-1))/c;function s(f,u){return {x:r+f*(i+l),y:e+u*(h+l),w:i,h}}return {getCell:s,colWidth:i,rowHeight:h,cols:d,rows:c}}pe.exports={createGrid:tr};});var we=x((El,ge)=>{function er(t={}){let{type:a="vertical",ratio:r=.5,gutter:e=0,w:n=10,h:o=5.63,x:d=0,y:c=0}=t;if(a==="vertical"){let l=n*r-e/2,i=n*(1-r)-e/2;return {left:{x:d,y:c,w:l,h:o},right:{x:d+l+e,y:c,w:i,h:o}}}else {let l=o*r-e/2,i=o*(1-r)-e/2;return {top:{x:d,y:c,w:n,h:l},bottom:{x:d,y:c+l+e,w:n,h:i}}}}ge.exports={getSplitScreen:er};});var me=x((ql,Se)=>{function or(t={}){let{w:a=10,h:r=5.63,margin:e=.5,gap:n=.4}=t,o=a-e*2,d=r-e*2,c=(o-n)/2,l=(d-n)/2;return {topLeft:{x:e,y:e,w:c,h:l},topRight:{x:e+c+n,y:e,w:c,h:l},bottomLeft:{x:e,y:e+l+n,w:c,h:l},bottomRight:{x:e+c+n,y:e+l+n,w:c,h:l}}}Se.exports={getZPattern:or};});var Ce=x((Dl,be)=>{function nr(t={}){let{position:a="left",width:r=2.5,w:e=10,h:n=5.63}=t;return a==="left"?{sidebar:{x:0,y:0,w:r,h:n},main:{x:r,y:0,w:e-r,h:n}}:{main:{x:0,y:0,w:e-r,h:n},sidebar:{x:e-r,y:0,w:r,h:n}}}be.exports={getSidebarLayout:nr};});var ze=x((Ml,Te)=>{function rr(t={}){let{align:a="center",w:r=10,h:e=5.63,padding:n=1}=t,o={x:0,y:0,w:r,h:e},d,c,l;return a==="center"?(d={x:0,y:e*.35,w:r,h:.8},c={x:0,y:e*.35+.8,w:r,h:.4},l={x:n,y:e*.35+1.3,w:r-n*2,h:1.2}):a==="left"&&(d={x:n,y:e*.35,w:r-n*2,h:.8},c={x:n,y:e*.35+.8,w:r-n*2,h:.4},l={x:n,y:e*.35+1.3,w:r-n*2,h:1.2}),{background:o,title:d,subtitle:c,description:l}}Te.exports={getHeroLayout:rr};});var Ee=x((Ll,ve)=>{function ar(t=6,a={}){let{x:r=.5,y:e=.5,w:n=9,h:o=4.63,gap:d=.2,cols:c=void 0}=a,l=c;l||(t<=3?l=t:t===4?l=2:t<=6?l=3:l=4);let i=Math.ceil(t/l),h=(n-(l-1)*d)/l,s=(o-(i-1)*d)/i,f=[];for(let u=0;u<t;u++){let F=u%l,p=Math.floor(u/l);f.push({x:r+F*(h+d),y:e+p*(s+d),w:h,h:s});}return f}ve.exports={getGalleryLayout:ar};});var De=x((Al,qe)=>{function cr(t="balanced",a={}){let{x:r=.5,y:e=.5,w:n=9,h:o=4.63,gap:d=.2}=a,c=(n-2*d)/3,l=(n-d)/2,i=(o-d)/2,h=o,s={"feature-left":[{x:r,y:e,w:l+c/2,h},{x:r+l+c/2+d,y:e,w:c*.8,h:i},{x:r+l+c/2+d,y:e+i+d,w:c*.8,h:i}],"feature-top":[{x:r,y:e,w:n,h:i},{x:r,y:e+i+d,w:c,h:i},{x:r+c+d,y:e+i+d,w:c,h:i},{x:r+2*(c+d),y:e+i+d,w:c,h:i}],balanced:[{x:r,y:e,w:c,h:i},{x:r+c+d,y:e,w:2*c+d,h:i},{x:r,y:e+i+d,w:2*c+d,h:i},{x:r+2*c+2*d,y:e+i+d,w:c,h:i}]};return s[t]||s.balanced}qe.exports={getBentoLayout:cr};});var Le=x((kl,Me)=>{function lr(t=5,a={}){let{x:r=5,y:e=2.8,radius:n=2,itemSize:o=1}=a,d=[],c=2*Math.PI/t;for(let l=0;l<t;l++){let i=l*c-Math.PI/2,h=r+n*Math.cos(i)-o/2,s=e+n*Math.sin(i)-o/2;d.push({x:h,y:s,w:o,h:o,angle:i*180/Math.PI});}return d}Me.exports={getRadialLayout:lr};});var ke=x((Bl,Ae)=>{function dr(t=2,a={}){let{x:r=.5,y:e=.5,w:n=9,h:o=4.63,gap:d=.5}=a,c=(o-(t-1)*d)/t,l=(n-d)/2,i=[];for(let h=0;h<t;h++){let s=h%2===0,f=e+h*(c+d);s?i.push({text:{x:r,y:f,w:l,h:c},media:{x:r+l+d,y:f,w:l,h:c}}):i.push({media:{x:r,y:f,w:l,h:c},text:{x:r+l+d,y:f,w:l,h:c}});}return i}Ae.exports={getCheckerboardLayout:dr};});var We=x((Wl,Be)=>{function ir(t=3,a={}){let{x:r=.5,y:e=.5,w:n=9,h:o=4.63,gap:d=.2,focusPosition:c="left"}=a,l=n*.6-d,i=n*.4,h=(o-(t-1)*d)/t,s={x:c==="left"?r:r+i+d,y:e,w:l,h:o},f=[],u=c==="left"?r+l+d:r;for(let F=0;F<t;F++)f.push({x:u,y:e+F*(h+d),w:i,h});return {focus:s,side:f}}Be.exports={getMagazineLayout:ir};});var He=x((Il,Ie)=>{function hr(t=5,a={}){let{x:r=0,y:e=2,w:n=10,h:o=1.5,gap:d=.2}=a,c=(t-1)*d,l=(n-r*2-c)/t,i=[];for(let h=0;h<t;h++)i.push({x:r+h*(l+d),y:e,w:l,h:o});return i}Ie.exports={getFilmStripLayout:hr};});var Pe=x((Hl,Ye)=>{function sr(t,a=[],r={}){let{x:e=1,y:n=1,w:o=8,h:d=4,cols:c=3,gap:l=.3,iconColor:i="007AFF"}=r;if(a.length===0)return;let h=Math.ceil(a.length/c),s=(o-(c-1)*l)/c,f=(d-(h-1)*l)/h;a.forEach((u,F)=>{let p=F%c,y=Math.floor(F/c),g=e+p*(s+l),w=n+y*(f+l);t.addShape("oval",{x:g,y:w,w:.5,h:.5,fill:{color:i,transparency:80},line:{color:void 0}});let b=u.icon||u.title[0]||"\u2605";t.addText(b,{x:g,y:w,w:.5,h:.5,color:i,fontSize:14,align:"center",valign:"middle",bold:true}),t.addText(u.title,{x:g+.6,y:w,w:s-.6,h:.3,bold:true,fontSize:12,color:"333333"}),u.desc&&t.addText(u.desc,{x:g+.6,y:w+.3,w:s-.6,h:f-.3,fontSize:10,color:"666666",valign:"top"});});}Ye.exports={addFeatureGrid:sr};});var Xe=x((Yl,$e)=>{function fr(t,a,r={}){let{x:e=1,y:n=1,w:o=2.5,h:d=4,bgColor:c="FFFFFF",borderColor:l="E0E0E0"}=r;t.addShape("rect",{x:e,y:n,w:o,h:d,fill:c,line:{color:l}});let i=o*.5,h=e+(o-i)/2,s=n+.3;a.image?t.addImage({path:a.image,x:h,y:s,w:i,h:i,sizing:{type:"cover",w:i,h:i},rounding:true}):t.addShape("oval",{x:h,y:s,w:i,h:i,fill:"CCCCCC"}),t.addText(a.name,{x:e,y:s+i+.2,w:o,h:.4,bold:true,fontSize:14,align:"center",color:"333333"}),t.addText(a.role,{x:e,y:s+i+.6,w:o,h:.3,fontSize:11,italic:true,align:"center",color:"007AFF"}),a.bio&&t.addText(a.bio,{x:e+.2,y:s+i+1,w:o-.4,h:d-(i+1.2),fontSize:10,align:"center",color:"666666",valign:"top"});}$e.exports={addTeamMemberProfile:fr};});var Ne=x((Pl,Ge)=>{function ur(t,a,r={}){let{x:e=1,y:n=1,w:o=8,h:d=5,gap:c=.1}=r,l=(o-c)/2,i=(d-c)/2;[{type:"Strengths",ox:0,oy:0,color:"E8F5E9",header:"S"},{type:"Weaknesses",ox:l+c,oy:0,color:"FFEBEE",header:"W"},{type:"Opportunities",ox:0,oy:i+c,color:"E3F2FD",header:"O"},{type:"Threats",ox:l+c,oy:i+c,color:"FFF3E0",header:"T"}].forEach(s=>{let f=e+s.ox,u=n+s.oy,F=a[s.type.toLowerCase()]||[];t.addShape("rect",{x:f,y:u,w:l,h:i,fill:s.color}),t.addShape("oval",{x:f+.2,y:u+.2,w:.5,h:.5,fill:"FFFFFF"}),t.addText(s.header,{x:f+.2,y:u+.2,w:.5,h:.5,bold:true,align:"center",valign:"middle",fontSize:14}),t.addText(s.type,{x:f+.8,y:u+.2,w:l-1,h:.5,bold:true,fontSize:14,valign:"middle"}),F.length>0&&t.addText(F.map(p=>`\u2022 ${p}`).join(`
|
|
2
|
-
`),{x:f+.3,y:u+.9,w:l-.6,h:i-1,fontSize:11,color:"333333",valign:"top"});});}Ge.exports={addSWOTMatrix:ur};});var Oe=x(($l,Re)=>{function xr(t,a=[],r={}){let{x:e=3,y:n=3,radius:o=2,color:d="007AFF"}=r;if(a.length===0)return;let c=2*Math.PI/a.length;a.forEach((l,i)=>{let h=i*c-Math.PI/2,s=e+o*Math.cos(h),f=n+o*Math.sin(h),u=1.2;t.addShape("oval",{x:s-u/2,y:f-u/2,w:u,h:u,fill:"FFFFFF",line:{color:d,width:3}}),t.addText(String(i+1),{x:s-u/2,y:f-u/2,w:u,h:.4,align:"center",valign:"bottom",fontSize:14,bold:true,color:d}),t.addText(l,{x:s-u/2+.1,y:f,w:u-.2,h:.5,align:"center",valign:"top",fontSize:10});});}Re.exports={addProcessCycle:xr};});var Ve=x((Xl,Ue)=>{function Fr(t,a=[],r={}){let{x:e=2,y:n=1,w:o=6,h:d=4,colors:c=["003f5c","58508d","bc5090","ff6361","ffa600"]}=r,l=a.length,i=d/l;a.forEach((h,s)=>{let f=n+s*i,u=c[s%c.length],F=o-s*(o*.5)/l;t.addShape("trapezoid",{x:e+(o-F)/2,y:f,w:F,h:i*.9,fill:u}),t.addText(h.label,{x:e,y:f,w:o,h:i*.9,align:"center",valign:"middle",color:"FFFFFF",bold:true}),h.value&&t.addText(h.value,{x:e+o+.2,y:f,w:1.5,h:i*.9,valign:"middle",fontSize:11,color:"666666"});});}Ue.exports={addFunnelDiagram:Fr};});var je=x((Gl,_e)=>{function pr(t,a=[],r={}){let{x:e=3,y:n=1,w:o=4,h:d=4,colors:c=["FFCDD2","EF9A9A","E57373","EF5350","F44336"]}=r,l=a.length,i=d/l;a.forEach((h,s)=>{let f=n+s*i,u=(s+1)/l,F=o*u,p=e+(o-F)/2;t.addShape("rect",{x:p,y:f,w:F,h:i,fill:c[s%c.length],line:{color:"FFFFFF",width:1}}),t.addText(h,{x:p,y:f,w:F,h:i,align:"center",valign:"middle",fontSize:10,bold:true,color:"333333"});});}_e.exports={addPyramidHierarchy:pr};});var Ke=x((Nl,Ze)=>{function yr(t,a,r={}){let{x:e=1,y:n=1,w:o=6,h:d=4,type:c="laptop"}=r,l="333333";c==="laptop"?(t.addShape("roundRect",{x:e,y:n,w:o,h:d*.85,fill:l,rounding:.05}),t.addShape("rect",{x:e+.2,y:n+.2,w:o-.4,h:d*.85-.4,fill:"000000"}),a&&t.addImage({path:a,x:e+.2,y:n+.2,w:o-.4,h:d*.85-.4,sizing:{type:"contain",w:o-.4,h:d*.85-.4}}),t.addShape("trapezoid",{x:e-.4,y:n+d*.85,w:o+.8,h:d*.15,fill:"555555",flipV:true})):(t.addShape("roundRect",{x:e,y:n,w:o,h:d,fill:l,rounding:.1}),t.addShape("rect",{x:e+.3,y:n+.3,w:o-.6,h:d-.6,fill:"000000"}),a&&t.addImage({path:a,x:e+.3,y:n+.3,w:o-.6,h:d-.6,sizing:{type:"cover",w:o-.6,h:d-.6}}));}Ze.exports={addDeviceMockup:yr};});var Qe=x((Rl,Je)=>{function gr(t,a=[],r={}){let{x:e=1,y:n=1,w:o=6,headerColor:d="007AFF",bodyColor:c="F5F5F5"}=r,l=n;a.forEach(i=>{t.addShape("rect",{x:e,y:l,w:o,h:.5,fill:d}),t.addText(`+ ${i.title}`,{x:e+.2,y:l,w:o-.4,h:.5,color:"FFFFFF",bold:true,valign:"middle",fontSize:12}),l+=.5;let h=.8;t.addShape("rect",{x:e,y:l,w:o,h,fill:c,line:{color:"DDDDDD"}}),t.addText(i.content,{x:e+.2,y:l,w:o-.4,h,color:"333333",valign:"top",fontSize:11}),l+=h+.1;});}Je.exports={addAccordionList:gr};});var eo=x((Ol,to)=>{function wr(t,a="green",r={}){let{x:e=1,y:n=1,w:o=1,h:d=3}=r;t.addShape("roundRect",{x:e,y:n,w:o,h:d,fill:"333333",rounding:.2});let c=[{color:"FF0000",id:"red"},{color:"FFA500",id:"amber"},{color:"00FF00",id:"green"}],l=o*.6,i=(d-c.length*l)/4;c.forEach((h,s)=>{let f=h.id===a,u=n+i+s*(l+i);t.addShape("oval",{x:e+(o-l)/2,y:u,w:l,h:l,fill:f?h.color:"#555555",line:{color:"000000",width:1}});});}to.exports={addTrafficLight:wr};});var no=x((Ul,oo)=>{function Sr(t,a=["A","B"],r={}){let{x:e=2,y:n=2,w:o=6,h:d=3,colors:c=["FF0000","0000FF","00FF00"],opacity:l=50}=r,i=2.5,h=.8;a.forEach((s,f)=>{let u=e+f*(i-h),F=n;t.addShape("oval",{x:u,y:F,w:i,h:i,fill:{color:c[f%c.length],transparency:100-l},line:{color:"FFFFFF",width:1}}),t.addText(s,{x:u,y:F+i/2-.2,w:i,h:.4,align:"center",bold:true,fontSize:14});});}oo.exports={addVennDiagram:Sr};});var ao=x((Vl,ro)=>{function mr(t,a,r={}){let{x:e=1,y:n=1,w:o=8,h:d=4,nodeW:c=1.5,nodeH:l=.6,gapX:i=.2,gapY:h=.8,color:s="007AFF"}=r,f=e+(o-c)/2,u=n;if(t.addShape("rect",{x:f,y:u,w:c,h:l,fill:s,line:{color:"FFFFFF"}}),t.addText(a.name,{x:f,y:u,w:c,h:l,color:"FFFFFF",bold:true,align:"center",fontSize:11}),a.role&&t.addText(a.role,{x:f,y:u+.35,w:c,h:.25,color:"E0E0E0",align:"center",fontSize:9}),a.children&&a.children.length>0){let F=a.children.length,p=F*c+(F-1)*i,y=e+(o-p)/2,g=u+l+h;t.addShape("line",{x:f+c/2,y:u+l,w:0,h:h/2,line:{color:"333333",width:1}}),t.addShape("line",{x:y+c/2,y:u+l+h/2,w:p-c,h:0,line:{color:"333333",width:1}}),a.children.forEach((w,b)=>{let S=y+b*(c+i);t.addShape("line",{x:S+c/2,y:u+l+h/2,w:0,h:h/2,line:{color:"333333",width:1}}),t.addShape("rect",{x:S,y:g,w:c,h:l,fill:"FFFFFF",line:{color:s}}),t.addText(w.name,{x:S,y:g,w:c,h:l,color:"333333",bold:true,align:"center",fontSize:10});});}}ro.exports={addOrgChart:mr};});var lo=x((_l,co)=>{function br(t,a,r=[],e={}){let {x:n=1,y:o=1,w:d=5,h:c=4,headerColor:l="D32F2F"}=e,i=7,s=d/i,f=(c-.5)/5;t.addShape("rect",{x:n,y:o,w:d,h:.5,fill:l}),t.addText(a,{x:n,y:o,w:d,h:.5,color:"FFFFFF",bold:true,align:"center"});let u=1;for(let F=0;F<5;F++)for(let p=0;p<7&&!(u>31);p++){let y=n+p*s,g=o+.5+F*f,w=r.find(S=>S.day===u),b=w?w.color||"FFF3E0":"FFFFFF";t.addShape("rect",{x:y,y:g,w:s,h:f,fill:b,line:{color:"CCCCCC"}}),t.addText(String(u),{x:y+.05,y:g+.05,w:.3,h:.3,fontSize:9,color:"666666"}),w&&t.addText(w.title,{x:y,y:g+.2,w:s,h:f-.2,fontSize:8,align:"center",valign:"middle",bold:true}),u++;}}co.exports={addCalendarGrid:br};});var ho=x((jl,io)=>{function Cr(t,a=[],r={}){let{x:e=1,y:n=1,w:o=8,h:d=4,barColor:c="007AFF"}=r;t.addShape("line",{x:e+2,y:n+.4,w:o-2,h:0,line:{color:"CCCCCC"}});let l=(d-.5)/(a.length||1);a.forEach((i,h)=>{let s=n+.5+h*l;t.addText(i.name,{x:e,y:s,w:1.8,h:l*.6,fontSize:10,bold:true,valign:"middle"});let f=e+2+i.start*(o-2),u=(i.end-i.start)*(o-2);t.addShape("rect",{x:f,y:s+.1,w:u,h:l*.4,fill:i.color||c,rounding:.1});});}io.exports={addGanttChart:Cr};});var fo=x((Zl,so)=>{function Tr(t,a,r={}){let{x:e=1,y:n=1,w:o=4,h:d=5,accent:c="9C27B0"}=r;t.addShape("rect",{x:e,y:n,w:o,h:d,fill:"F9F9F9",line:{color:"DDDDDD"}}),t.addShape("rect",{x:e,y:n,w:o,h:.15,fill:c}),t.addShape("oval",{x:e+.3,y:n+.4,w:1,h:1,fill:"CCCCCC"}),t.addText(a.name,{x:e+1.5,y:n+.4,w:o-1.6,h:.5,fontSize:16,bold:true,color:"333333"}),t.addText(a.role,{x:e+1.5,y:n+.8,w:o-1.6,h:.4,fontSize:12,color:c}),t.addText(`"${a.quote}"`,{x:e+.3,y:n+1.6,w:o-.6,h:.6,italic:true,fontSize:11,color:"666666"});let l=(i,h,s)=>{t.addText(i,{x:e+.3,y:s,w:o-.6,h:.3,bold:true,fontSize:10}),h.forEach((f,u)=>{t.addText(`\u2022 ${f}`,{x:e+.3,y:s+.3+u*.25,w:o-.6,h:.25,fontSize:9});});};a.goals&&l("GOALS",a.goals,n+2.4),a.frustrations&&l("FRUSTRATIONS",a.frustrations,n+3.8);}so.exports={addPersonaCard:Tr};});var xo=x((Kl,uo)=>{function zr(t,a=[],r={}){let{x:e=1,y:n=1,w:o=5,h:d=5,xAxis:c="Effort",yAxis:l="Impact"}=r,i=o/2,h=d/2,s=["E3F2FD","E8F5E9","FFF3E0","FFEBEE"];[{ox:0,oy:0},{ox:i,oy:0},{ox:0,oy:h},{ox:i,oy:h}].forEach((u,F)=>{t.addShape("rect",{x:e+u.ox,y:n+u.oy,w:i,h,fill:s[F]}),a[F]&&t.addText(a[F],{x:e+u.ox,y:n+u.oy,w:i,h,align:"center",valign:"middle",bold:true,color:"555555"});}),t.addText(l,{x:e-.6,y:n,w:.5,h:d,rotate:270,align:"center",bold:true}),t.addText(c,{x:e,y:n+d+.1,w:o,h:.5,align:"center",bold:true});}uo.exports={addMatrixGrid:zr};});var po=x((Jl,Fo)=>{function vr(t,a,r=[],e={}){let{x:n=4,y:o=2.5,w:d=6,h:c=4}=e;t.addShape("oval",{x:n,y:o,w:1.5,h:1,fill:"FFFFFF",line:{color:"000000",width:2}}),t.addText(a,{x:n,y:o,w:1.5,h:1,align:"center",valign:"middle",bold:true});let l=2*Math.PI/r.length,i=2.5;r.forEach((h,s)=>{let f=s*l,u=n+.75+Math.cos(f)*i,F=o+.5+Math.sin(f)*i;t.addShape("line",{x:n+.75,y:o+.5,w:u-(n+.75),h:F-(o+.5),line:{color:"666666"}}),t.addShape("roundRect",{x:u-.75,y:F-.3,w:1.5,h:.6,fill:"F0F0F0",line:{color:"999999"}}),t.addText(h,{x:u-.75,y:F-.3,w:1.5,h:.6,align:"center",valign:"middle",fontSize:10});});}Fo.exports={addMindMap:vr};});var go=x((Ql,yo)=>{function Er(t,a=[],r={}){let{x:e=1,y:n=1,w:o=8,currency:d="$"}=r;t.addShape("rect",{x:e,y:n,w:o,h:.5,fill:"333333"}),t.addText("Description",{x:e+.2,y:n,w:o/2,h:.5,color:"FFFFFF",valign:"middle"}),t.addText("Amount",{x:e+o-2,y:n,w:2,h:.5,color:"FFFFFF",valign:"middle",align:"right"});let c=n+.5,l=0;a.forEach((i,h)=>{let s=h%2===0?"F9F9F9":"FFFFFF";t.addShape("rect",{x:e,y:c,w:o,h:.4,fill:s}),t.addText(i.desc,{x:e+.2,y:c,w:o/2,h:.4,valign:"middle",fontSize:11}),t.addText(`${d}${i.amount}`,{x:e+o-2,y:c,w:2,h:.4,valign:"middle",align:"right",fontSize:11}),l+=i.amount,c+=.4;}),t.addShape("line",{x:e,y:c,w:o,h:0,line:{color:"000000"}}),t.addText("TOTAL",{x:e+o-4,y:c+.1,w:2,h:.5,bold:true,align:"right"}),t.addText(`${d}${l}`,{x:e+o-2,y:c+.1,w:2,h:.5,bold:true,align:"right",fontSize:14});}yo.exports={addInvoiceTable:Er};});var So=x((t0,wo)=>{function qr(t,a,r="Certificate of Appreciation",e={}){let{x:n=.5,y:o=.5,w:d=9,h:c=4.63}=e;t.addShape("rect",{x:n,y:o,w:d,h:c,line:{color:"C5A059",width:4},fill:{color:void 0}}),t.addShape("rect",{x:n+.2,y:o+.2,w:d-.4,h:c-.4,line:{color:"C5A059",width:1},fill:{color:void 0}}),t.addText(r,{x:n,y:o+1,w:d,h:1,align:"center",fontFace:"Georgia",fontSize:32,bold:true,color:"333333"}),t.addText("Presented to",{x:n,y:o+2,w:d,h:.5,align:"center",fontSize:14,color:"666666"}),t.addText(a,{x:n,y:o+2.5,w:d,h:1,align:"center",fontFace:"Arial",fontSize:40,bold:true,color:"C5A059"});}wo.exports={addCertificateFrame:qr};});var bo=x((e0,mo)=>{function Dr(t,a,r,e,n={}){let{x:o=1,y:d=1,w:c=8,h:l=3,imagePosition:i="left"}=n,h=c/2,s=i==="left"?o:o+h,f=i==="left"?o+h:o;e?t.addImage({path:e,x:s+.2,y:d+.2,w:h-.4,h:l-.4,sizing:{type:"contain"}}):(t.addShape("rect",{x:s+.2,y:d+.2,w:h-.4,h:l-.4,fill:"EEEEEE"}),t.addText("Image",{x:s,y:d,w:h,h:l,align:"center",valign:"middle"})),t.addText(a,{x:f+.2,y:d+.5,w:h-.4,h:.5,bold:true,fontSize:18,color:"333333"}),t.addText(r,{x:f+.2,y:d+1.2,w:h-.4,h:l-1.2,fontSize:12,color:"666666",valign:"top"});}mo.exports={addSaaSFeatureBlock:Dr};});var To=x((o0,Co)=>{function Mr(t,a=[],r={}){let{x:e=1,y:n=1,w:o=6,h:d=3}=r,c=Math.max(...a.map(s=>Math.abs(s.value))),l=n+d/2,i=o/a.length*.6,h=o/a.length*.4;t.addShape("line",{x:e,y:l,w:o,h:0,line:{color:"333333"}}),a.forEach((s,f)=>{let u=Math.abs(s.value)/c*(d/2-.2),F=e+h/2+f*(i+h),p,y;s.value>=0?(p=l-u,y="4CAF50"):(p=l,y="F44336"),t.addShape("rect",{x:F,y:p,w:i,h:u,fill:y}),t.addText(s.label,{x:F,y:l+(s.value>=0?.1:-0.3),w:i,h:.3,fontSize:9,align:"center",color:"FFFFFF"});});}Co.exports={addWinLossChart:Mr};});var vo=x((n0,zo)=>{var{addSlide:Lr}=W(),{addText:M}=I();function Ar(t,a){let r=t.getPptx();a.split(/\n---\n/).forEach(n=>{let o=Lr(r),d=n.trim().split(`
|
|
3
|
-
`),c=1;d.forEach(l=>{l=l.trim(),l&&(l.startsWith("# ")?(M(o,l.replace("# ",""),{x:.5,y:.5,fontSize:32,bold:true,w:9}),c=1.5):l.startsWith("## ")?(M(o,l.replace("## ",""),{x:.5,y:c,fontSize:20,color:"666666",w:9}),c+=.8):l.startsWith("- ")?(M(o,l.replace("- ",""),{x:1,y:c,fontSize:16,bullet:true,w:8,h:.5}),c+=.6):(M(o,l,{x:1,y:c,fontSize:14,w:8}),c+=.6));});});}zo.exports={renderMarkdown:
|
|
4
|
-
`),s="569CD6",f="CE9178",u="6A9955",F="D4D4D4",p="DCDCAA",y=/\b(const|let|var|function|return|if|else|for|while|import|from|class)\b/g,g=/(['"`].*?['"`])/g,b=/\b([a-zA-Z0-9_]+)(?=\()/g,S=n+.2,E=c*.003;h.forEach(z=>{if(z.trim().startsWith("//"))t.addText(z,{x:e+.2,y:S,w:o-.4,h:E,fontSize:c,color:u,fontFace:"Courier New"});else {let m=[];z.split(/(\s+|[(){},.])/).forEach(C=>{let v=F;y.test(C)?v=s:g.test(C)?v=f:b.test(C)&&(v=p),m.push({text:C,options:{color:v,fontSize:c,fontFace:"Courier New"}});}),t.addText(m,{x:e+.2,y:S,w:o-.4,h:E,align:"left"});}S+=.25;});}Eo.exports={addSyntaxBlock:
|
|
5
|
-
`).map(r=>r.split(",").map(e=>e.trim()))}function
|
|
6
|
-
`),h=n+.2,s=c*.0035;i.forEach(f=>{let u="D4D4D4";f.startsWith("+")?u="4CAF50":f.startsWith("-")?u="F44336":f.startsWith("@@")&&(u="569CD6"),t.addText(f,{x:e+.2,y:h,w:o-.4,h:s,fontFace:"Courier New",fontSize:c,color:u,align:"left"}),h+=.25;});}jo.exports={addCodeDiff:
|
|
1
|
+
'use strict';var k=(t=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(t,{get:(a,r)=>(typeof require<"u"?require:a)[r]}):t)(function(t){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+t+'" is not supported')});var x=(t,a)=>()=>(a||t((a={exports:{}}).exports,a),a.exports);var R=x((Nc,G)=>{var cn=k("pptxgenjs"),B=class{constructor(){this.pptx=new cn;}getPptx(){return this.pptx}async save(a="presentation.pptx"){await this.pptx.writeFile({fileName:a});}};G.exports=B;});var W=x((Gc,O)=>{function ln(t,a={}){return t.addSlide(a)}O.exports={addSlide:ln};});var I=x((Rc,U)=>{function dn(t,a,r={}){t.addText(a,{x:r.x??1,y:r.y??1,w:r.w??5,h:r.h??1,fontSize:r.fontSize??18,color:r.color??"000000",bold:r.bold??false,align:r.align??"left",fontFace:r.fontFace??"Arial"});}U.exports={addText:dn};});var _=x((Oc,V)=>{function hn(t,a,r={}){t.addShape(a,{x:r.x??1,y:r.y??1,w:r.w??2,h:r.h??2,fill:r.fill??"FFFFFF",line:r.line??{color:"000000"}});}V.exports={addShape:hn};});var H=x((Uc,j)=>{var sn=k("https"),fn=k("http");function un(t){return new Promise((a,r)=>{(t.startsWith("https")?sn:fn).get(t,n=>{if(n.statusCode!==200){r(new Error(`Failed to fetch image: Status Code ${n.statusCode}`));return}let o=[];n.on("data",d=>o.push(d)),n.on("end",()=>{let c=Buffer.concat(o).toString("base64");a(c);});}).on("error",n=>{r(n);});})}async function xn(t,a,r={}){let e=a.startsWith("http://")||a.startsWith("https://"),n=r.x??1,o=r.y??1,d=r.w??3,c=r.h??3;if(e)try{let l=await un(a),i=a.split(".").pop().split("?")[0]||"png";t.addImage({data:`image/${i};base64,${l}`,x:n,y:o,w:d,h:c});}catch(l){console.error(`Error loading remote image: ${a}`,l),t.addText("Image failed to load",{x:n,y:o,w:d,h:c,color:"FF0000"});}else t.addImage({path:a,x:n,y:o,w:d,h:c});}function Fn(t,a,r={}){t.addImage({path:a,x:r.x??1,y:r.y??1,w:r.w??3,h:r.h??3,...r});}j.exports={addImage:xn,addNativeImage:Fn};});var K=x((Vc,Z)=>{function pn(t,a,r,e={}){t.addText([{text:a,options:{hyperlink:{url:r},color:"0000FF",underline:true}}],{x:e.x??1,y:e.y??1,w:e.w??4,h:e.h??1,fontSize:e.fontSize??14});}Z.exports={addLink:pn};});var Q=x((_c,J)=>{function yn(t,a={}){var u,F,p,y;let{x:r,y:e,w:n,h:o,background:d="FFFFFF",border:c="DDDDDD",padding:l=.3,title:i,body:h,theme:s,shapeType:f}=a;if(!f)throw new Error("addCard: shapeType is required (e.g. pptx.ShapeType.rect)");t.addShape(f,{x:r,y:e,w:n,h:o,fill:d,line:{color:c},rounding:f==="roundRect"?.15:void 0}),i&&t.addText(i,{x:r+l,y:e+l,w:n-l*2,fontSize:((u=s==null?void 0:s.heading)==null?void 0:u.fontSize)||16,bold:true,color:((F=s==null?void 0:s.heading)==null?void 0:F.color)||"111111",align:"center"}),h&&t.addText(h,{x:r+l,y:e+l+.6,w:n-l*2,fontSize:((p=s==null?void 0:s.body)==null?void 0:p.fontSize)||12,color:((y=s==null?void 0:s.body)==null?void 0:y.color)||"444444",align:"center"});}J.exports={addCard:yn};});var et=x((jc,tt)=>{function gn(t,a,r={}){let e=a.map((n,o)=>n.map(d=>({text:String(d),options:{fontSize:r.fontSize||14,bold:o===0&&r.header!==false,fill:o===0?r.headerFill:void 0,color:r.color||"000000"}})));t.addTable(e,{x:r.x??1,y:r.y??1,w:r.w??8,border:r.border??{type:"solid",color:"CCCCCC"},colW:r.colW});}tt.exports={addTable:gn};});var nt=x((Zc,ot)=>{function wn(t,a,r,e={}){t.addChart(a,r,{x:e.x??1,y:e.y??1,w:e.w??6,h:e.h??4,title:e.title,showLegend:e.showLegend??true,chartColors:e.colors,animation:e.animation??"fade",showValue:e.showValue??true,showPercent:e.showPercent??false});}ot.exports={addChart:wn};});var at=x((Kc,rt)=>{function Sn(t,a){a.background&&(t.background={fill:a.background});}rt.exports={applyTheme:Sn};});var lt=x((Jc,ct)=>{var T={minimal:{background:"FFFFFF",heading:{fontSize:28,color:"111111",bold:true,fontFace:"Arial"},body:{fontSize:16,color:"444444",fontFace:"Arial"},accent:"E5E7EB"},brand:{background:"F8FAFC",heading:{fontSize:30,color:"0F172A",bold:true,fontFace:"Helvetica"},body:{fontSize:16,color:"334155",fontFace:"Helvetica"},accent:"2563EB"},dark:{background:"020617",heading:{fontSize:30,color:"FFFFFF",bold:true,fontFace:"Verdana"},body:{fontSize:16,color:"CBD5E1",fontFace:"Verdana"},accent:"38BDF8"}};function mn(t,a){T[t]={...T.minimal,...a,heading:{...T.minimal.heading,...a.heading},body:{...T.minimal.body,...a.body}};}function bn(t="minimal"){return typeof t=="object"?{...T.minimal,...t,heading:{...T.minimal.heading,...t.heading},body:{...T.minimal.body,...t.body}}:T[t]||T.minimal}ct.exports={getTheme:bn,registerTheme:mn,themes:T};});var it=x((Qc,dt)=>{function Cn(t,a={}){let{x:r=1,y:e=1,w:n=5,h:o=.3,percent:d=.5,color:c="007AFF",trackColor:l="E5E5EA",showLabel:i=true}=a;t.addShape("rect",{x:r,y:e,w:n,h:o,fill:l,line:{color:l},rounding:o/2}),d>0&&t.addShape("rect",{x:r,y:e,w:n*d,h:o,fill:c,line:{color:c},rounding:o/2}),i&&t.addText(`${Math.round(d*100)}%`,{x:r+n+.1,y:e,w:1,h:o,fontSize:10,color:"666666",align:"left",valign:"middle"});}dt.exports={addProgressBar:Cn};});var st=x((tl,ht)=>{function Tn(t,a={}){let{x:r=1,y:e=1,w:n=3,h:o=2,value:d="0",label:c="Metric",valueColor:l="000000",labelColor:i="666666",align:h="center"}=a;t.addText(d,{x:r,y:e,w:n,h:o*.6,fontSize:48,bold:true,color:l,align:h,valign:"bottom"}),t.addText(c,{x:r,y:e+o*.6,w:n,h:o*.4,fontSize:14,color:i,align:h,valign:"top"});}ht.exports={addStatMetric:Tn};});var ut=x((el,ft)=>{function zn(t,a,r={}){let{x:e=1,y:n=1,w:o=1.5,h:d=.4,backgroundColor:c="E1F5FE",color:l="0277BD",fontSize:i=10}=r;t.addShape("roundRect",{x:e,y:n,w:o,h:d,fill:c,line:{color:c},rounding:.5}),t.addText(a,{x:e,y:n,w:o,h:d,fontSize:i,color:l,align:"center",valign:"middle",bold:true});}ft.exports={addBadge:zn};});var Ft=x((ol,xt)=>{function vn(t,a,r={}){let{x:e=1,y:n=1,w:o=6,h:d=3,fontSize:c=11,background:l="1E1E1E",color:i="D4D4D4"}=r;t.addShape("rect",{x:e,y:n,w:o,h:d,fill:l,line:{color:"333333"}}),t.addText(a,{x:e+.2,y:n+.2,w:o-.4,h:d-.4,fontSize:c,color:i,fontFace:"Courier New",align:"left",valign:"top"});}xt.exports={addCodeBlock:vn};});var yt=x((nl,pt)=>{function En(t,a=[],r={}){let{x:e=1,y:n=3,w:o=8,color:d="007AFF",textColor:c="333333"}=r;if(a.length===0)return;let l=o/(a.length-1||1),i=n+.15;a.length>1&&t.addShape("line",{x:e,y:i,w:o,h:0,line:{color:d,width:2}}),a.forEach((h,s)=>{let f=e+s*l;t.addShape("oval",{x:f-.15,y:n,w:.3,h:.3,fill:"FFFFFF",line:{color:d,width:3}}),t.addText(h.title,{x:f-.75,y:n+.4,w:1.5,h:.5,fontSize:12,bold:true,color:c,align:"center",valign:"top"}),h.desc&&t.addText(h.desc,{x:f-.75,y:n+.8,w:1.5,h:1,fontSize:10,color:"666666",align:"center",valign:"top"});});}pt.exports={addTimeline:En};});var wt=x((rl,gt)=>{function qn(t,a=[],r={}){let{x:e=1,y:n=1,radius:o=.5,offset:d=.3,borderColor:c="FFFFFF"}=r;a.forEach((l,i)=>{let h=e+i*(o-d);t.addShape("oval",{x:h-.02,y:n-.02,w:o+.04,h:o+.04,fill:c}),l.image?t.addImage({path:l.image,x:h,y:n,w:o,h:o,sizing:{type:"cover",w:o,h:o},rounding:true}):(t.addShape("oval",{x:h,y:n,w:o,h:o,fill:l.color||"CCCCCC"}),t.addText(l.initials||"U",{x:h,y:n,w:o,h:o,align:"center",valign:"middle",fontSize:10,color:"FFFFFF"}));});}gt.exports={addAvatarGroup:qn};});var mt=x((al,St)=>{function Dn(t,a,r,e={}){let{x:n=1,y:o=1,w:d=6,h:c=2.5,bg:l="F9F9F9",accent:i="007AFF"}=e;t.addShape("roundRect",{x:n,y:o,w:d,h:c,fill:l,line:{color:"EFEFEF"},rounding:.2}),t.addText("\u201C",{x:n+.2,y:o+.2,w:1,h:1,fontSize:60,color:i,fontFace:"Georgia"}),t.addText(a,{x:n+.8,y:o+.4,w:d-1,h:c-1,fontSize:14,color:"333333",italic:true,valign:"top"}),t.addText(`\u2014 ${r}`,{x:n+.8,y:o+c-.6,w:d-1,h:.4,fontSize:12,bold:true,color:"555555",align:"right"});}St.exports={addTestimonialCard:Dn};});var Ct=x((cl,bt)=>{function Mn(t,a,r="info",e={}){let{x:n=1,y:o=1,w:d=8,h:c=.8}=e,l,i,h;switch(r){case "success":l="E8F5E9",i="4CAF50",h="\u2713";break;case "warning":l="FFF3E0",i="FF9800",h="!";break;case "error":l="FFEBEE",i="F44336",h="\u2715";break;default:l="E3F2FD",i="2196F3",h="i";break}t.addShape("rect",{x:n,y:o,w:d,h:c,fill:l,line:{color:i,width:2}}),t.addShape("rect",{x:n,y:o,w:.6,h:c,fill:i}),t.addText(h,{x:n,y:o,w:.6,h:c,color:"FFFFFF",align:"center",valign:"middle",bold:true,fontSize:18}),t.addText(a,{x:n+.7,y:o,w:d-.8,h:c,color:"333333",valign:"middle",fontSize:12});}bt.exports={addAlertBox:Mn};});var zt=x((ll,Tt)=>{function Ln(t,a=[],r={}){let{x:e=1,y:n=1,w:o=5,itemHeight:d=.5,gap:c=.1,iconColor:l="007AFF",textColor:i="333333"}=r;a.forEach((h,s)=>{let f=n+s*(d+c);t.addShape("oval",{x:e,y:f+.1,w:.25,h:.25,fill:l}),t.addText("\u2713",{x:e,y:f+.1,w:.25,h:.25,color:"FFFFFF",fontSize:10,align:"center",valign:"middle"}),t.addText(h,{x:e+.4,y:f,w:o-.4,h:d,fontSize:14,color:i,valign:"middle"});});}Tt.exports={addIconList:Ln};});var Et=x((dl,vt)=>{function An(t,a=[],r={}){var s;let{x:e=1,y:n=1,w:o=8,theme:d=r.theme||{},accentColor:c=d.accent||"3F51B5",fontFace:l=((s=d.body)==null?void 0:s.fontFace)||"Inter",itemGap:i=.15}=r,h=n;a.forEach((f,u)=>{let F=typeof f=="string"?f:f.title||"",p=typeof f=="object"?f.desc:null,y=typeof f=="object"?f.icon:null;if(!F&&!p&&!y)return;let g=p?.9:.5;t.addShape("rect",{x:e,y:h,w:o,h:g,fill:{color:"F8F9FA"},line:{color:"E9ECEF",width:1}}),t.addShape("rect",{x:e,y:h,w:.05,h:g,fill:{color:c}});let w=.3,b=e+.15,S=h+g/2-w/2;(y||u>=0)&&t.addText(String(y||u+1),{x:b,y:S,w,h:w,fontSize:12,bold:true,color:c,align:"center",valign:"middle",fontFace:l}),t.addText(String(F),{x:e+.5,y:h+(p?.15:0),w:o-.7,h:.3,fontSize:14,bold:true,color:"212529",fontFace:l,valign:p?"top":"middle"}),p&&t.addText(String(p),{x:e+.5,y:h+.45,w:o-.8,h:.4,fontSize:11,color:"495057",fontFace:l,valign:"top"}),h+=g+i;});}vt.exports={addModernBulletList:An};});var kt=x((il,At)=>{var Lt={disc:"\u2022",circle:"\u25CB",square:"\u25A0",dash:"\u2013",arrow:"\u2192",chevron:"\u203A",check:"\u2713",star:"\u2605",diamond:"\u25C6",triangle:"\u25B8",decimal:"decimal",alpha:"alpha",alphaUpper:"alphaUpper",roman:"roman",romanUpper:"romanUpper"};function qt(t,a=false){let r=[{value:1e3,numeral:"m"},{value:900,numeral:"cm"},{value:500,numeral:"d"},{value:400,numeral:"cd"},{value:100,numeral:"c"},{value:90,numeral:"xc"},{value:50,numeral:"l"},{value:40,numeral:"xl"},{value:10,numeral:"x"},{value:9,numeral:"ix"},{value:5,numeral:"v"},{value:4,numeral:"iv"},{value:1,numeral:"i"}],e="";for(let{value:n,numeral:o}of r)for(;t>=n;)e+=o,t-=n;return a?e.toUpperCase():e}function Dt(t,a=false){let r="";for(;t>0;)t--,r=String.fromCharCode(97+t%26)+r,t=Math.floor(t/26);return a?r.toUpperCase():r}function kn(t,a,r=1){let e=r+t;switch(a){case "decimal":return `${e}.`;case "alpha":return `${Dt(e,false)}.`;case "alphaUpper":return `${Dt(e,true)}.`;case "roman":return `${qt(e,false)}.`;case "romanUpper":return `${qt(e,true)}.`;default:return Lt[a]||a||"\u2022"}}function Mt(t){return ["decimal","alpha","alphaUpper","roman","romanUpper"].includes(t)}function D(t,a=[],r={}){var L;let{x:e=1,y:n=1,w:o=8,bulletStyle:d="disc",fontSize:c=14,lineHeight:l=1.5,color:i="333333",bulletColor:h=null,fontFace:s="Arial",bold:f=false,italic:u=false,indent:F=.3,bulletWidth:p=.25,startNumber:y=1,nestedIndent:g=.4,theme:w={}}=r,b=i||w.text||"333333",S=h||w.accent||b,E=s||((L=w.body)==null?void 0:L.fontFace)||"Arial",z=c/72*l,q=n;return a.forEach((m,$)=>{let C=typeof m=="object"&&m!==null,v=C?m.text||m.title||"":String(m),on=C&&m.indent||0,A=C&&m.bulletStyle?m.bulletStyle:d;if(!v)return;let X=on*g,N=e+X,nn=N+p+F,rn=o-X-p-F,an=kn($,A,y);t.addText(an,{x:N,y:q,w:p,h:z,fontSize:c,color:S,fontFace:E,bold:Mt(A)?f:false,align:Mt(A)?"right":"center",valign:"top"}),t.addText(v,{x:nn,y:q,w:rn,h:z,fontSize:c,color:b,fontFace:E,bold:C?m.bold??f:f,italic:C?m.italic??u:u,valign:"top"}),q+=z;}),{endY:q}}function Bn(t,a=[],r={}){let e=r.bulletStyle||"disc";return D(t,a,{...r,bulletStyle:e})}function Wn(t,a=[],r={}){let e=r.bulletStyle||"decimal";return D(t,a,{...r,bulletStyle:e})}function In(t,a=[],r={}){let e=a.map(n=>{if(typeof n=="object"&&n!==null){let o=n.checked??false;return {...n,bulletStyle:o?"check":"circle"}}return n});return D(t,e,{...r,bulletStyle:"circle"})}At.exports={addList:D,addUnorderedList:Bn,addOrderedList:Wn,addChecklist:In,BULLET_STYLES:Lt};});var Wt=x((hl,Bt)=>{function Hn(t,a,r={}){let{x:e=1,y:n=1,w:o=2.5,h:d=4,headerColor:c="333333",priceColor:l="007AFF"}=r;t.addShape("rect",{x:e,y:n,w:o,h:d,line:{color:"DDDDDD"},fill:"FFFFFF"}),t.addShape("rect",{x:e,y:n,w:o,h:.8,fill:c}),t.addText(a.name,{x:e,y:n,w:o,h:.8,color:"FFFFFF",bold:true,align:"center",valign:"middle",fontSize:14}),t.addText(a.price,{x:e,y:n+.9,w:o,h:.6,color:l,bold:true,align:"center",fontSize:24});let i=n+1.6;a.features&&a.features.forEach((h,s)=>{t.addText(h,{x:e+.2,y:i+s*.4,w:o-.4,h:.4,fontSize:10,align:"center",color:"666666"});}),t.addShape("roundRect",{x:e+.4,y:n+d-.7,w:o-.8,h:.4,fill:l,rounding:.5}),t.addText("Select",{x:e+.4,y:n+d-.7,w:o-.8,h:.4,color:"FFFFFF",fontSize:10,bold:true,align:"center",valign:"middle"});}Bt.exports={addPricingColumn:Hn};});var Ht=x((sl,It)=>{function Yn(t,a=[],r={}){let{x:e=1,y:n=1,w:o=4,gap:d=.8,color:c="007AFF"}=r,l=(a.length-1)*d;a.length>1&&t.addShape("line",{x:e+.15,y:n+.15,w:0,h:l,line:{color:"CCCCCC",width:2}}),a.forEach((i,h)=>{let s=n+h*d;t.addShape("oval",{x:e,y:s,w:.3,h:.3,fill:c}),t.addText(String(h+1),{x:e,y:s,w:.3,h:.3,color:"FFFFFF",fontSize:10,bold:true,align:"center",valign:"middle"}),t.addText(i.title,{x:e+.5,y:s-.1,w:o-.5,h:.3,bold:true,fontSize:12}),i.desc&&t.addText(i.desc,{x:e+.5,y:s+.15,w:o-.5,h:.4,fontSize:10,color:"666666"});});}It.exports={addStepProcess:Yn};});var Pt=x((fl,Yt)=>{function Pn(t,a,r,e={}){let{x:n=1,y:o=1,w:d=8,h:c=4,leftColor:l="E8F5E9",rightColor:i="FFEBEE"}=e,h=d/2;t.addShape("rect",{x:n,y:o,w:h,h:c,fill:l}),t.addShape("rect",{x:n+h,y:o,w:h,h:c,fill:i}),t.addText(a.title,{x:n,y:o,w:h,h:.5,bold:true,align:"center",fontSize:16}),t.addText(r.title,{x:n+h,y:o,w:h,h:.5,bold:true,align:"center",fontSize:16});let s={fontSize:12,bullet:true,color:"333333"};a.items.forEach((f,u)=>{t.addText(f,{x:n+.2,y:o+.6+u*.4,w:h-.4,h:.4,...s});}),r.items.forEach((f,u)=>{t.addText(f,{x:n+h+.2,y:o+.6+u*.4,w:h-.4,h:.4,...s});});}Yt.exports={addComparisonTable:Pn};});var Xt=x((ul,$t)=>{function $n(t,a=0,r={}){let{x:e=1,y:n=1,w:o=2,h:d=.4,max:c=5,fillColor:l="FFD700",emptyColor:i="E0E0E0"}=r,h=d,s=.1;for(let f=1;f<=c;f++){let u=f<=a,F=e+(f-1)*(h+s);t.addText("\u2605",{x:F,y:n,w:h,h,color:u?l:i,fontSize:h*40});}}$t.exports={addRatingStars:$n};});var Gt=x((xl,Nt)=>{function Xn(t,a=[],r={}){let{x:e=.5,y:n=.3,fontSize:o=10,color:d="888888"}=r,c=e;a.forEach((l,i)=>{let h=i===a.length-1,s=l.length*.09;t.addText(l,{x:c,y:n,w:s,h:.3,fontSize:o,color:h?"000000":d,bold:h}),c+=s,h||(t.addText(">",{x:c,y:n,w:.2,h:.3,fontSize:o,color:d,align:"center"}),c+=.2);});}Nt.exports={addBreadcrumbNav:Xn};});var Ot=x((Fl,Rt)=>{function Nn(t,a=[],r={}){let {x:e=1,y:n=1,w:o=5,bgColors:d=["E3F2FD","E8F5E9","FFF3E0","F3E5F5"],fontSize:c=10}=r,l=e,i=n,h=.4;a.forEach((f,u)=>{let F=f.length*.1+.4;l+F>e+o&&(l=e,i+=h+.1);let p=d[u%d.length];t.addShape("roundRect",{x:l,y:i,w:F,h,fill:p,line:{color:p},rounding:.5}),t.addText(f,{x:l,y:i,w:F,h,fontSize:c,color:"333333",align:"center",valign:"middle"}),l+=F+.1;});}Rt.exports={addTagCloud:Nn};});var Vt=x((pl,Ut)=>{function Gn(t,a,r=[],e={}){let{x:n=1,y:o=1,w:d=3,h:c=5,bgColor:l="F4F5F7"}=e;t.addShape("rect",{x:n,y:o,w:d,h:c,fill:l,rounding:.1}),t.addText(a,{x:n+.1,y:o+.1,w:d-.2,h:.4,bold:true,fontSize:12,color:"172B4D"});let i=o+.6;r.forEach(h=>{t.addShape("rect",{x:n+.1,y:i,w:d-.2,h:.8,fill:"FFFFFF",line:{color:"DFE1E6"}}),t.addText(h,{x:n+.2,y:i,w:d-.4,h:.8,fontSize:10,color:"333333",valign:"middle"}),i+=.9;});}Ut.exports={addKanbanColumn:Gn};});var jt=x((yl,_t)=>{function Rn(t,a,r,e={}){let{x:n=4,y:o=3,w:d=3,h:c=.6,color:l="007AFF"}=e;t.addShape("roundRect",{x:n,y:o,w:d,h:c,fill:l,line:{color:l},rounding:.5}),t.addText(a,{x:n,y:o,w:d,h:c,color:"FFFFFF",bold:true,fontSize:14,align:"center",valign:"middle",hyperlink:{url:r}});}_t.exports={addCallToAction:Rn};});var Kt=x((gl,Zt)=>{function On(t,a={}){let{x:r=1,y:e=1,w:n=4,h:o=4,color:d="F0F4FF",opacity:c=100}=a;t.addShape("oval",{x:r,y:e,w:n,h:o*.8,fill:{color:d,transparency:100-c},line:{color:void 0}}),t.addShape("oval",{x:r-n*.1,y:e+o*.1,w:n*.9,h:o*.9,rotate:45,fill:{color:d,transparency:100-c}}),t.addShape("oval",{x:r+n*.2,y:e-o*.1,w:n*.7,h:o*.7,rotate:-30,fill:{color:d,transparency:100-c}});}Zt.exports={addOrganicBlob:On};});var Qt=x((wl,Jt)=>{function Un(t,a="bottom",r={}){let{color:e="007AFF",opacity:n=100,slideWidth:o=10,slideHeight:d=5.63,amplitude:c=1.5}=r,l=a==="top",i=o*1.5,h=c*4,s=(o-i)/2,f=l?-(h-c):d-c;t.addShape("oval",{x:s,y:f,w:i,h,fill:{color:e,transparency:100-n},line:{color:void 0}});}Jt.exports={addWaveDecoration:Un};});var ee=x((Sl,te)=>{function Vn(t,a={}){let{x:r=1,y:e=1,w:n=3,h:o=3,color:d="CCCCCC",rows:c=6,cols:l=6,size:i=.05}=a,h=(n-i)/(l-1),s=(o-i)/(c-1);for(let f=0;f<c;f++)for(let u=0;u<l;u++)t.addShape("oval",{x:r+u*h,y:e+f*s,w:i,h:i,fill:d,line:{color:void 0}});}te.exports={addDotPattern:Vn};});var ne=x((ml,oe)=>{function _n(t,a={}){let{x:r=1,y:e=1,w:n=4,h:o=.5,color:d="FFEB3B",opacity:c=50}=a;t.addShape("rect",{x:r,y:e,w:n,h:o,fill:{color:d,transparency:100-c},line:{color:void 0},rounding:1});}oe.exports={addBrushStroke:_n};});var ae=x((bl,re)=>{function jn(t,a={}){let{x:r=0,y:e=0,w:n=10,h:o=5.63,count:d=10,colors:c=["FF5722","00BCD4","FFC107"]}=a,l=["triangle","oval","rect","cross"];for(let i=0;i<d;i++){let h=r+Math.random()*n,s=e+Math.random()*o,f=.1+Math.random()*.2,u=l[Math.floor(Math.random()*l.length)],F=c[Math.floor(Math.random()*c.length)],p=Math.random()*360;t.addShape(u,{x:h,y:s,w:f,h:f,fill:F,rotate:p,line:{color:void 0}});}}re.exports={addGeometricConfetti:jn};});var le=x((Cl,ce)=>{function Zn(t,a={}){let{x:r=0,y:e=0,w:n=5,h:o=5,color:d="007AFF",opacity:c=50}=a;t.addShape("oval",{x:r,y:e,w:n,h:o,fill:{type:"gradient",gradientType:"radial",stops:[{position:0,color:d,alpha:(100-c)/100},{position:1,color:"FFFFFF",alpha:0}]},line:{color:void 0}});}ce.exports={addGradientMesh:Zn};});var ie=x((Tl,de)=>{function Kn(t,a={}){let{x:r=1,y:e=1,w:n=3,color:o="FF5722",thickness:d=3}=a;t.addShape("wave",{x:r,y:e,w:n,h:.2,fill:{color:void 0},line:{color:o,width:d},flipH:false,flipV:false});}de.exports={addSquiggleLine:Kn};});var se=x((zl,he)=>{function Jn(t,a="top-right",r={}){let{size:e=2,color:n="FFC107"}=r,o,d,c,l=10,i=5.63;switch(a){case "top-left":o=-e/2,d=-e/2,c=180;break;case "bottom-left":o=-e/2,d=i-e/2,c=270;break;case "bottom-right":o=l-e/2,d=i-e/2,c=0;break;default:o=l-e/2,d=-e/2,c=90;break}t.addShape("rtTriangle",{x:o,y:d,w:e,h:e,fill:n,rotate:c,line:{color:void 0}});}he.exports={addCornerAccent:Jn};});var ue=x((vl,fe)=>{function Qn(t,a={}){let {x:r=1,y:e=1,w:n=6,h:o=3.5,url:d="https://example.com",imagePath:c=null,barColor:l="E0E0E0",borderColor:i="D0D0D0"}=a,h=.4,s=.12;t.addShape("roundRect",{x:r,y:e,w:n,h:o,fill:"FFFFFF",line:{color:i},rounding:.1}),t.addShape("rect",{x:r,y:e,w:n,h,fill:l,rectRadius:.1}),["FF5F56","FFBD2E","27C93F"].forEach((g,w)=>{t.addShape("oval",{x:r+.15+w*(s+.08),y:e+(h-s)/2,w:s,h:s,fill:g,line:{color:void 0}});});let F=r+.8,p=n-1,y=h*.6;t.addShape("roundRect",{x:F,y:e+(h-y)/2,w:p,h:y,fill:"FFFFFF",line:{color:"CCCCCC",width:1},rounding:.5}),t.addText(d,{x:F+.1,y:e+(h-y)/2,w:p-.2,h:y,fontSize:8,color:"666666",valign:"middle"}),c&&t.addImage({path:c,x:r+.05,y:e+h+.05,w:n-.1,h:o-h-.1,sizing:{type:"contain",w:n-.1,h:o-h-.1}});}fe.exports={addBrowserWindow:Qn};});var Fe=x((El,xe)=>{function tr(t,a=[],r={}){let{x:e=1,y:n=5,iconSize:o=.4,gap:d=.2,color:c="555555"}=r,l={linkedin:"M19 0h-14c-2.761 0-5 2.239-5 5v14c0 2.761 2.239 5 5 5h14c2.762 0 5-2.239 5-5v-14c0-2.761-2.238-5-5-5zm-11 19h-3v-11h3v11zm-1.5-12.268c-.966 0-1.75-.79-1.75-1.764s.784-1.764 1.75-1.764 1.75.79 1.75 1.764-.783 1.764-1.75 1.764zm13.5 12.268h-3v-5.604c0-3.368-4-3.113-4 0v5.604h-3v-11h3v1.765c1.396-2.586 7-2.777 7 2.476v6.759z",twitter:"M24 4.557c-.883.392-1.832.656-2.828.775 1.017-.609 1.798-1.574 2.165-2.724-.951.564-2.005.974-3.127 1.195-.897-.957-2.178-1.555-3.594-1.555-3.179 0-5.515 2.966-4.797 6.045-4.091-.205-7.719-2.165-10.148-5.144-1.29 2.213-.669 5.108 1.523 6.574-.806-.026-1.566-.247-2.229-.616-.054 2.281 1.581 4.415 3.949 4.89-.693.188-1.452.232-2.224.084.626 1.956 2.444 3.379 4.6 3.419-2.07 1.623-4.678 2.348-7.29 2.04 2.179 1.397 4.768 2.212 7.548 2.212 9.142 0 14.307-7.721 13.995-14.646.962-.695 1.797-1.562 2.457-2.549z",github:"M12 0c-6.626 0-12 5.373-12 12 0 5.302 3.438 9.8 8.207 11.387.599.111.793-.261.793-.577v-2.234c-3.338.726-4.033-1.416-4.033-1.416-.546-1.387-1.333-1.756-1.333-1.756-1.089-.745.083-.729.083-.729 1.205.084 1.839 1.237 1.839 1.237 1.07 1.834 2.807 1.304 3.492.997.107-.775.418-1.305.762-1.604-2.665-.305-5.467-1.334-5.467-5.931 0-1.311.469-2.381 1.236-3.221-.124-.303-.535-1.524.117-3.176 0 0 1.008-.322 3.301 1.23.957-.266 1.983-.399 3.003-.404 1.02.005 2.047.138 3.006.404 2.291-1.552 3.297-1.23 3.297-1.23.653 1.653.242 2.874.118 3.176.77.84 1.235 1.911 1.235 3.221 0 4.609-2.807 5.624-5.479 5.921.43.372.823 1.102.823 2.222v3.293c0 .319.192.694.801.576 4.765-1.589 8.199-6.086 8.199-11.386 0-6.627-5.373-12-12-12z",web:"M12 0c-6.627 0-12 5.373-12 12s5.373 12 12 12 12-5.373 12-12-5.373-12-12-12zm1 16.057v-3.057h2.994c-.059 1.143-.212 2.183-.442 3.057h-2.552zm-2 0h-2.552c-.23-.874-.383-1.914-.442-3.057h2.994v3.057zm0-5.057v-3h2.994c.059 1.143.212 2.183.442 3h-3.436zm2-5.057v3.057h-2.994c.059-1.143.212-2.183.442-3.057h2.552zm-2 0h-2.552c-.23.874-.383 1.914-.442 3.057h2.994v-3.057zm-5.223 5.057h-2.613c.277-1.206.711-2.22 1.246-3h1.367v3zm2.684-5.057c.23-.874.524-1.66.863-2.348 1.12.564 2.062 1.353 2.766 2.348h-3.629zm5.352 5.057h2.613c-.277-1.206-.711-2.22-1.246-3h-1.367v3zm-5.029 8.057c-.23.874-.524 1.66-.863 2.348-1.12-.564-2.062-1.353-2.766-2.348h3.629zm2.345 2.348c-.339-.688-.633-1.474-.863-2.348h3.629c-.704.995-1.646 1.784-2.766 2.348zm5.297-2.348h2.613c-.277 1.206-.711 2.22-1.246 3h-1.367v-3zm-7.642 0h-2.613c.277 1.206.711 2.22 1.246 3h1.367v-3z",instagram:"M12 2.163c3.204 0 3.584.012 4.85.07 3.252.148 4.771 1.691 4.919 4.919.058 1.265.069 1.645.069 4.849 0 3.205-.012 3.584-.069 4.849-.149 3.225-1.664 4.771-4.919 4.919-1.266.058-1.644.07-4.85.07-3.204 0-3.584-.012-4.849-.07-3.26-.149-4.771-1.699-4.919-4.92-.058-1.265-.07-1.644-.07-4.849 0-3.204.013-3.583.07-4.849.149-3.227 1.664-4.771 4.919-4.919 1.266-.057 1.645-.069 4.849-.069zm0-2.163c-3.259 0-3.667.014-4.947.072-4.358.2-6.78 2.618-6.98 6.98-.059 1.281-.073 1.689-.073 4.948 0 3.259.014 3.668.072 4.948.2 4.358 2.618 6.78 6.98 6.98 1.281.058 1.689.072 4.948.072 3.259 0 3.668-.014 4.948-.072 4.354-.2 6.782-2.618 6.979-6.98.059-1.28.073-1.689.073-4.948 0-3.259-.014-3.667-.072-4.947-.196-4.354-2.617-6.78-6.979-6.98-1.281-.059-1.69-.073-4.949-.073zm0 5.838c-3.403 0-6.162 2.759-6.162 6.162s2.759 6.163 6.162 6.163 6.162-2.759 6.162-6.163c0-3.403-2.759-6.162-6.162-6.162zm0 10.162c-2.209 0-4-1.79-4-4 0-2.209 1.791-4 4-4s4 1.791 4 4c0 2.21-1.791 4-4 4zm6.406-11.845c-.796 0-1.441.645-1.441 1.44s.645 1.44 1.441 1.44c.795 0 1.439-.645 1.439-1.44s-.644-1.44-1.439-1.44z",facebook:"M24 12.073c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.99 4.388 10.954 10.125 11.854v-8.385H7.078v-3.47h3.047V9.43c0-3.007 1.792-4.669 4.533-4.669 1.312 0 2.686.235 2.686.235v2.953H15.83c-1.491 0-1.956.925-1.956 1.874v2.25h3.328l-.532 3.47h-2.796v8.385C19.612 23.027 24 18.062 24 12.073z"};a.forEach((i,h)=>{let s=e+h*(o+d),f=l[i.type.toLowerCase()];if(i.url&&t.addShape("rect",{x:s,y:n,w:o,h:o,fill:{color:"FFFFFF",transparency:99},hyperlink:{url:i.url}}),f){let u=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="#${c}"><path d="${f}"/></svg>`,F=Buffer.from(u).toString("base64");t.addImage({data:`data:image/svg+xml;base64,${F}`,x:s,y:n,w:o,h:o,hyperlink:i.url?{url:i.url}:void 0});}else t.addShape("oval",{x:s,y:n,w:o,h:o,fill:c});});}xe.exports={addSocialBar:tr};});var ye=x((ql,pe)=>{function er(t,a={}){let{x:r=0,y:e=0,w:n=10,h:o=5.63,cols:d=2,rows:c=1,gap:l=.2}=a,i=(n-l*(d-1))/d,h=(o-l*(c-1))/c;function s(f,u){return {x:r+f*(i+l),y:e+u*(h+l),w:i,h}}return {getCell:s,colWidth:i,rowHeight:h,cols:d,rows:c}}pe.exports={createGrid:er};});var we=x((Dl,ge)=>{function or(t={}){let{type:a="vertical",ratio:r=.5,gutter:e=0,w:n=10,h:o=5.63,x:d=0,y:c=0}=t;if(a==="vertical"){let l=n*r-e/2,i=n*(1-r)-e/2;return {left:{x:d,y:c,w:l,h:o},right:{x:d+l+e,y:c,w:i,h:o}}}else {let l=o*r-e/2,i=o*(1-r)-e/2;return {top:{x:d,y:c,w:n,h:l},bottom:{x:d,y:c+l+e,w:n,h:i}}}}ge.exports={getSplitScreen:or};});var me=x((Ml,Se)=>{function nr(t={}){let{w:a=10,h:r=5.63,margin:e=.5,gap:n=.4}=t,o=a-e*2,d=r-e*2,c=(o-n)/2,l=(d-n)/2;return {topLeft:{x:e,y:e,w:c,h:l},topRight:{x:e+c+n,y:e,w:c,h:l},bottomLeft:{x:e,y:e+l+n,w:c,h:l},bottomRight:{x:e+c+n,y:e+l+n,w:c,h:l}}}Se.exports={getZPattern:nr};});var Ce=x((Ll,be)=>{function rr(t={}){let{position:a="left",width:r=2.5,w:e=10,h:n=5.63}=t;return a==="left"?{sidebar:{x:0,y:0,w:r,h:n},main:{x:r,y:0,w:e-r,h:n}}:{main:{x:0,y:0,w:e-r,h:n},sidebar:{x:e-r,y:0,w:r,h:n}}}be.exports={getSidebarLayout:rr};});var ze=x((Al,Te)=>{function ar(t={}){let{align:a="center",w:r=10,h:e=5.63,padding:n=1}=t,o={x:0,y:0,w:r,h:e},d,c,l;return a==="center"?(d={x:0,y:e*.35,w:r,h:.8},c={x:0,y:e*.35+.8,w:r,h:.4},l={x:n,y:e*.35+1.3,w:r-n*2,h:1.2}):a==="left"&&(d={x:n,y:e*.35,w:r-n*2,h:.8},c={x:n,y:e*.35+.8,w:r-n*2,h:.4},l={x:n,y:e*.35+1.3,w:r-n*2,h:1.2}),{background:o,title:d,subtitle:c,description:l}}Te.exports={getHeroLayout:ar};});var Ee=x((kl,ve)=>{function cr(t=6,a={}){let{x:r=.5,y:e=.5,w:n=9,h:o=4.63,gap:d=.2,cols:c=void 0}=a,l=c;l||(t<=3?l=t:t===4?l=2:t<=6?l=3:l=4);let i=Math.ceil(t/l),h=(n-(l-1)*d)/l,s=(o-(i-1)*d)/i,f=[];for(let u=0;u<t;u++){let F=u%l,p=Math.floor(u/l);f.push({x:r+F*(h+d),y:e+p*(s+d),w:h,h:s});}return f}ve.exports={getGalleryLayout:cr};});var De=x((Bl,qe)=>{function lr(t="balanced",a={}){let{x:r=.5,y:e=.5,w:n=9,h:o=4.63,gap:d=.2}=a,c=(n-2*d)/3,l=(n-d)/2,i=(o-d)/2,h=o,s={"feature-left":[{x:r,y:e,w:l+c/2,h},{x:r+l+c/2+d,y:e,w:c*.8,h:i},{x:r+l+c/2+d,y:e+i+d,w:c*.8,h:i}],"feature-top":[{x:r,y:e,w:n,h:i},{x:r,y:e+i+d,w:c,h:i},{x:r+c+d,y:e+i+d,w:c,h:i},{x:r+2*(c+d),y:e+i+d,w:c,h:i}],balanced:[{x:r,y:e,w:c,h:i},{x:r+c+d,y:e,w:2*c+d,h:i},{x:r,y:e+i+d,w:2*c+d,h:i},{x:r+2*c+2*d,y:e+i+d,w:c,h:i}]};return s[t]||s.balanced}qe.exports={getBentoLayout:lr};});var Le=x((Wl,Me)=>{function dr(t=5,a={}){let{x:r=5,y:e=2.8,radius:n=2,itemSize:o=1}=a,d=[],c=2*Math.PI/t;for(let l=0;l<t;l++){let i=l*c-Math.PI/2,h=r+n*Math.cos(i)-o/2,s=e+n*Math.sin(i)-o/2;d.push({x:h,y:s,w:o,h:o,angle:i*180/Math.PI});}return d}Me.exports={getRadialLayout:dr};});var ke=x((Il,Ae)=>{function ir(t=2,a={}){let{x:r=.5,y:e=.5,w:n=9,h:o=4.63,gap:d=.5}=a,c=(o-(t-1)*d)/t,l=(n-d)/2,i=[];for(let h=0;h<t;h++){let s=h%2===0,f=e+h*(c+d);s?i.push({text:{x:r,y:f,w:l,h:c},media:{x:r+l+d,y:f,w:l,h:c}}):i.push({media:{x:r,y:f,w:l,h:c},text:{x:r+l+d,y:f,w:l,h:c}});}return i}Ae.exports={getCheckerboardLayout:ir};});var We=x((Hl,Be)=>{function hr(t=3,a={}){let{x:r=.5,y:e=.5,w:n=9,h:o=4.63,gap:d=.2,focusPosition:c="left"}=a,l=n*.6-d,i=n*.4,h=(o-(t-1)*d)/t,s={x:c==="left"?r:r+i+d,y:e,w:l,h:o},f=[],u=c==="left"?r+l+d:r;for(let F=0;F<t;F++)f.push({x:u,y:e+F*(h+d),w:i,h});return {focus:s,side:f}}Be.exports={getMagazineLayout:hr};});var He=x((Yl,Ie)=>{function sr(t=5,a={}){let{x:r=0,y:e=2,w:n=10,h:o=1.5,gap:d=.2}=a,c=(t-1)*d,l=(n-r*2-c)/t,i=[];for(let h=0;h<t;h++)i.push({x:r+h*(l+d),y:e,w:l,h:o});return i}Ie.exports={getFilmStripLayout:sr};});var Pe=x((Pl,Ye)=>{function fr(t,a=[],r={}){let{x:e=1,y:n=1,w:o=8,h:d=4,cols:c=3,gap:l=.3,iconColor:i="007AFF"}=r;if(a.length===0)return;let h=Math.ceil(a.length/c),s=(o-(c-1)*l)/c,f=(d-(h-1)*l)/h;a.forEach((u,F)=>{let p=F%c,y=Math.floor(F/c),g=e+p*(s+l),w=n+y*(f+l);t.addShape("oval",{x:g,y:w,w:.5,h:.5,fill:{color:i,transparency:80},line:{color:void 0}});let b=u.icon||u.title[0]||"\u2605";t.addText(b,{x:g,y:w,w:.5,h:.5,color:i,fontSize:14,align:"center",valign:"middle",bold:true}),t.addText(u.title,{x:g+.6,y:w,w:s-.6,h:.3,bold:true,fontSize:12,color:"333333"}),u.desc&&t.addText(u.desc,{x:g+.6,y:w+.3,w:s-.6,h:f-.3,fontSize:10,color:"666666",valign:"top"});});}Ye.exports={addFeatureGrid:fr};});var Xe=x(($l,$e)=>{function ur(t,a,r={}){let{x:e=1,y:n=1,w:o=2.5,h:d=4,bgColor:c="FFFFFF",borderColor:l="E0E0E0"}=r;t.addShape("rect",{x:e,y:n,w:o,h:d,fill:c,line:{color:l}});let i=o*.5,h=e+(o-i)/2,s=n+.3;a.image?t.addImage({path:a.image,x:h,y:s,w:i,h:i,sizing:{type:"cover",w:i,h:i},rounding:true}):t.addShape("oval",{x:h,y:s,w:i,h:i,fill:"CCCCCC"}),t.addText(a.name,{x:e,y:s+i+.2,w:o,h:.4,bold:true,fontSize:14,align:"center",color:"333333"}),t.addText(a.role,{x:e,y:s+i+.6,w:o,h:.3,fontSize:11,italic:true,align:"center",color:"007AFF"}),a.bio&&t.addText(a.bio,{x:e+.2,y:s+i+1,w:o-.4,h:d-(i+1.2),fontSize:10,align:"center",color:"666666",valign:"top"});}$e.exports={addTeamMemberProfile:ur};});var Ge=x((Xl,Ne)=>{function xr(t,a,r={}){let{x:e=1,y:n=1,w:o=8,h:d=5,gap:c=.1}=r,l=(o-c)/2,i=(d-c)/2;[{type:"Strengths",ox:0,oy:0,color:"E8F5E9",header:"S"},{type:"Weaknesses",ox:l+c,oy:0,color:"FFEBEE",header:"W"},{type:"Opportunities",ox:0,oy:i+c,color:"E3F2FD",header:"O"},{type:"Threats",ox:l+c,oy:i+c,color:"FFF3E0",header:"T"}].forEach(s=>{let f=e+s.ox,u=n+s.oy,F=a[s.type.toLowerCase()]||[];t.addShape("rect",{x:f,y:u,w:l,h:i,fill:s.color}),t.addShape("oval",{x:f+.2,y:u+.2,w:.5,h:.5,fill:"FFFFFF"}),t.addText(s.header,{x:f+.2,y:u+.2,w:.5,h:.5,bold:true,align:"center",valign:"middle",fontSize:14}),t.addText(s.type,{x:f+.8,y:u+.2,w:l-1,h:.5,bold:true,fontSize:14,valign:"middle"}),F.length>0&&t.addText(F.map(p=>`\u2022 ${p}`).join(`
|
|
2
|
+
`),{x:f+.3,y:u+.9,w:l-.6,h:i-1,fontSize:11,color:"333333",valign:"top"});});}Ne.exports={addSWOTMatrix:xr};});var Oe=x((Nl,Re)=>{function Fr(t,a=[],r={}){let{x:e=3,y:n=3,radius:o=2,color:d="007AFF"}=r;if(a.length===0)return;let c=2*Math.PI/a.length;a.forEach((l,i)=>{let h=i*c-Math.PI/2,s=e+o*Math.cos(h),f=n+o*Math.sin(h),u=1.2;t.addShape("oval",{x:s-u/2,y:f-u/2,w:u,h:u,fill:"FFFFFF",line:{color:d,width:3}}),t.addText(String(i+1),{x:s-u/2,y:f-u/2,w:u,h:.4,align:"center",valign:"bottom",fontSize:14,bold:true,color:d}),t.addText(l,{x:s-u/2+.1,y:f,w:u-.2,h:.5,align:"center",valign:"top",fontSize:10});});}Re.exports={addProcessCycle:Fr};});var Ve=x((Gl,Ue)=>{function pr(t,a=[],r={}){let{x:e=2,y:n=1,w:o=6,h:d=4,colors:c=["003f5c","58508d","bc5090","ff6361","ffa600"]}=r,l=a.length,i=d/l;a.forEach((h,s)=>{let f=n+s*i,u=c[s%c.length],F=o-s*(o*.5)/l;t.addShape("trapezoid",{x:e+(o-F)/2,y:f,w:F,h:i*.9,fill:u}),t.addText(h.label,{x:e,y:f,w:o,h:i*.9,align:"center",valign:"middle",color:"FFFFFF",bold:true}),h.value&&t.addText(h.value,{x:e+o+.2,y:f,w:1.5,h:i*.9,valign:"middle",fontSize:11,color:"666666"});});}Ue.exports={addFunnelDiagram:pr};});var je=x((Rl,_e)=>{function yr(t,a=[],r={}){let{x:e=3,y:n=1,w:o=4,h:d=4,colors:c=["FFCDD2","EF9A9A","E57373","EF5350","F44336"]}=r,l=a.length,i=d/l;a.forEach((h,s)=>{let f=n+s*i,u=(s+1)/l,F=o*u,p=e+(o-F)/2;t.addShape("rect",{x:p,y:f,w:F,h:i,fill:c[s%c.length],line:{color:"FFFFFF",width:1}}),t.addText(h,{x:p,y:f,w:F,h:i,align:"center",valign:"middle",fontSize:10,bold:true,color:"333333"});});}_e.exports={addPyramidHierarchy:yr};});var Ke=x((Ol,Ze)=>{function gr(t,a,r={}){let{x:e=1,y:n=1,w:o=6,h:d=4,type:c="laptop"}=r,l="333333";c==="laptop"?(t.addShape("roundRect",{x:e,y:n,w:o,h:d*.85,fill:l,rounding:.05}),t.addShape("rect",{x:e+.2,y:n+.2,w:o-.4,h:d*.85-.4,fill:"000000"}),a&&t.addImage({path:a,x:e+.2,y:n+.2,w:o-.4,h:d*.85-.4,sizing:{type:"contain",w:o-.4,h:d*.85-.4}}),t.addShape("trapezoid",{x:e-.4,y:n+d*.85,w:o+.8,h:d*.15,fill:"555555",flipV:true})):(t.addShape("roundRect",{x:e,y:n,w:o,h:d,fill:l,rounding:.1}),t.addShape("rect",{x:e+.3,y:n+.3,w:o-.6,h:d-.6,fill:"000000"}),a&&t.addImage({path:a,x:e+.3,y:n+.3,w:o-.6,h:d-.6,sizing:{type:"cover",w:o-.6,h:d-.6}}));}Ze.exports={addDeviceMockup:gr};});var Qe=x((Ul,Je)=>{function wr(t,a=[],r={}){let{x:e=1,y:n=1,w:o=6,headerColor:d="007AFF",bodyColor:c="F5F5F5"}=r,l=n;a.forEach(i=>{t.addShape("rect",{x:e,y:l,w:o,h:.5,fill:d}),t.addText(`+ ${i.title}`,{x:e+.2,y:l,w:o-.4,h:.5,color:"FFFFFF",bold:true,valign:"middle",fontSize:12}),l+=.5;let h=.8;t.addShape("rect",{x:e,y:l,w:o,h,fill:c,line:{color:"DDDDDD"}}),t.addText(i.content,{x:e+.2,y:l,w:o-.4,h,color:"333333",valign:"top",fontSize:11}),l+=h+.1;});}Je.exports={addAccordionList:wr};});var eo=x((Vl,to)=>{function Sr(t,a="green",r={}){let{x:e=1,y:n=1,w:o=1,h:d=3}=r;t.addShape("roundRect",{x:e,y:n,w:o,h:d,fill:"333333",rounding:.2});let c=[{color:"FF0000",id:"red"},{color:"FFA500",id:"amber"},{color:"00FF00",id:"green"}],l=o*.6,i=(d-c.length*l)/4;c.forEach((h,s)=>{let f=h.id===a,u=n+i+s*(l+i);t.addShape("oval",{x:e+(o-l)/2,y:u,w:l,h:l,fill:f?h.color:"#555555",line:{color:"000000",width:1}});});}to.exports={addTrafficLight:Sr};});var no=x((_l,oo)=>{function mr(t,a=["A","B"],r={}){let{x:e=2,y:n=2,w:o=6,h:d=3,colors:c=["FF0000","0000FF","00FF00"],opacity:l=50}=r,i=2.5,h=.8;a.forEach((s,f)=>{let u=e+f*(i-h),F=n;t.addShape("oval",{x:u,y:F,w:i,h:i,fill:{color:c[f%c.length],transparency:100-l},line:{color:"FFFFFF",width:1}}),t.addText(s,{x:u,y:F+i/2-.2,w:i,h:.4,align:"center",bold:true,fontSize:14});});}oo.exports={addVennDiagram:mr};});var ao=x((jl,ro)=>{function br(t,a,r={}){let{x:e=1,y:n=1,w:o=8,h:d=4,nodeW:c=1.5,nodeH:l=.6,gapX:i=.2,gapY:h=.8,color:s="007AFF"}=r,f=e+(o-c)/2,u=n;if(t.addShape("rect",{x:f,y:u,w:c,h:l,fill:s,line:{color:"FFFFFF"}}),t.addText(a.name,{x:f,y:u,w:c,h:l,color:"FFFFFF",bold:true,align:"center",fontSize:11}),a.role&&t.addText(a.role,{x:f,y:u+.35,w:c,h:.25,color:"E0E0E0",align:"center",fontSize:9}),a.children&&a.children.length>0){let F=a.children.length,p=F*c+(F-1)*i,y=e+(o-p)/2,g=u+l+h;t.addShape("line",{x:f+c/2,y:u+l,w:0,h:h/2,line:{color:"333333",width:1}}),t.addShape("line",{x:y+c/2,y:u+l+h/2,w:p-c,h:0,line:{color:"333333",width:1}}),a.children.forEach((w,b)=>{let S=y+b*(c+i);t.addShape("line",{x:S+c/2,y:u+l+h/2,w:0,h:h/2,line:{color:"333333",width:1}}),t.addShape("rect",{x:S,y:g,w:c,h:l,fill:"FFFFFF",line:{color:s}}),t.addText(w.name,{x:S,y:g,w:c,h:l,color:"333333",bold:true,align:"center",fontSize:10});});}}ro.exports={addOrgChart:br};});var lo=x((Zl,co)=>{function Cr(t,a,r=[],e={}){let {x:n=1,y:o=1,w:d=5,h:c=4,headerColor:l="D32F2F"}=e,i=7,s=d/i,f=(c-.5)/5;t.addShape("rect",{x:n,y:o,w:d,h:.5,fill:l}),t.addText(a,{x:n,y:o,w:d,h:.5,color:"FFFFFF",bold:true,align:"center"});let u=1;for(let F=0;F<5;F++)for(let p=0;p<7&&!(u>31);p++){let y=n+p*s,g=o+.5+F*f,w=r.find(S=>S.day===u),b=w?w.color||"FFF3E0":"FFFFFF";t.addShape("rect",{x:y,y:g,w:s,h:f,fill:b,line:{color:"CCCCCC"}}),t.addText(String(u),{x:y+.05,y:g+.05,w:.3,h:.3,fontSize:9,color:"666666"}),w&&t.addText(w.title,{x:y,y:g+.2,w:s,h:f-.2,fontSize:8,align:"center",valign:"middle",bold:true}),u++;}}co.exports={addCalendarGrid:Cr};});var ho=x((Kl,io)=>{function Tr(t,a=[],r={}){let{x:e=1,y:n=1,w:o=8,h:d=4,barColor:c="007AFF"}=r;t.addShape("line",{x:e+2,y:n+.4,w:o-2,h:0,line:{color:"CCCCCC"}});let l=(d-.5)/(a.length||1);a.forEach((i,h)=>{let s=n+.5+h*l;t.addText(i.name,{x:e,y:s,w:1.8,h:l*.6,fontSize:10,bold:true,valign:"middle"});let f=e+2+i.start*(o-2),u=(i.end-i.start)*(o-2);t.addShape("rect",{x:f,y:s+.1,w:u,h:l*.4,fill:i.color||c,rounding:.1});});}io.exports={addGanttChart:Tr};});var fo=x((Jl,so)=>{function zr(t,a,r={}){let{x:e=1,y:n=1,w:o=4,h:d=5,accent:c="9C27B0"}=r;t.addShape("rect",{x:e,y:n,w:o,h:d,fill:"F9F9F9",line:{color:"DDDDDD"}}),t.addShape("rect",{x:e,y:n,w:o,h:.15,fill:c}),t.addShape("oval",{x:e+.3,y:n+.4,w:1,h:1,fill:"CCCCCC"}),t.addText(a.name,{x:e+1.5,y:n+.4,w:o-1.6,h:.5,fontSize:16,bold:true,color:"333333"}),t.addText(a.role,{x:e+1.5,y:n+.8,w:o-1.6,h:.4,fontSize:12,color:c}),t.addText(`"${a.quote}"`,{x:e+.3,y:n+1.6,w:o-.6,h:.6,italic:true,fontSize:11,color:"666666"});let l=(i,h,s)=>{t.addText(i,{x:e+.3,y:s,w:o-.6,h:.3,bold:true,fontSize:10}),h.forEach((f,u)=>{t.addText(`\u2022 ${f}`,{x:e+.3,y:s+.3+u*.25,w:o-.6,h:.25,fontSize:9});});};a.goals&&l("GOALS",a.goals,n+2.4),a.frustrations&&l("FRUSTRATIONS",a.frustrations,n+3.8);}so.exports={addPersonaCard:zr};});var xo=x((Ql,uo)=>{function vr(t,a=[],r={}){let{x:e=1,y:n=1,w:o=5,h:d=5,xAxis:c="Effort",yAxis:l="Impact"}=r,i=o/2,h=d/2,s=["E3F2FD","E8F5E9","FFF3E0","FFEBEE"];[{ox:0,oy:0},{ox:i,oy:0},{ox:0,oy:h},{ox:i,oy:h}].forEach((u,F)=>{t.addShape("rect",{x:e+u.ox,y:n+u.oy,w:i,h,fill:s[F]}),a[F]&&t.addText(a[F],{x:e+u.ox,y:n+u.oy,w:i,h,align:"center",valign:"middle",bold:true,color:"555555"});}),t.addText(l,{x:e-.6,y:n,w:.5,h:d,rotate:270,align:"center",bold:true}),t.addText(c,{x:e,y:n+d+.1,w:o,h:.5,align:"center",bold:true});}uo.exports={addMatrixGrid:vr};});var po=x((t0,Fo)=>{function Er(t,a,r=[],e={}){let{x:n=4,y:o=2.5,w:d=6,h:c=4}=e;t.addShape("oval",{x:n,y:o,w:1.5,h:1,fill:"FFFFFF",line:{color:"000000",width:2}}),t.addText(a,{x:n,y:o,w:1.5,h:1,align:"center",valign:"middle",bold:true});let l=2*Math.PI/r.length,i=2.5;r.forEach((h,s)=>{let f=s*l,u=n+.75+Math.cos(f)*i,F=o+.5+Math.sin(f)*i;t.addShape("line",{x:n+.75,y:o+.5,w:u-(n+.75),h:F-(o+.5),line:{color:"666666"}}),t.addShape("roundRect",{x:u-.75,y:F-.3,w:1.5,h:.6,fill:"F0F0F0",line:{color:"999999"}}),t.addText(h,{x:u-.75,y:F-.3,w:1.5,h:.6,align:"center",valign:"middle",fontSize:10});});}Fo.exports={addMindMap:Er};});var go=x((e0,yo)=>{function qr(t,a=[],r={}){let{x:e=1,y:n=1,w:o=8,currency:d="$"}=r;t.addShape("rect",{x:e,y:n,w:o,h:.5,fill:"333333"}),t.addText("Description",{x:e+.2,y:n,w:o/2,h:.5,color:"FFFFFF",valign:"middle"}),t.addText("Amount",{x:e+o-2,y:n,w:2,h:.5,color:"FFFFFF",valign:"middle",align:"right"});let c=n+.5,l=0;a.forEach((i,h)=>{let s=h%2===0?"F9F9F9":"FFFFFF";t.addShape("rect",{x:e,y:c,w:o,h:.4,fill:s}),t.addText(i.desc,{x:e+.2,y:c,w:o/2,h:.4,valign:"middle",fontSize:11}),t.addText(`${d}${i.amount}`,{x:e+o-2,y:c,w:2,h:.4,valign:"middle",align:"right",fontSize:11}),l+=i.amount,c+=.4;}),t.addShape("line",{x:e,y:c,w:o,h:0,line:{color:"000000"}}),t.addText("TOTAL",{x:e+o-4,y:c+.1,w:2,h:.5,bold:true,align:"right"}),t.addText(`${d}${l}`,{x:e+o-2,y:c+.1,w:2,h:.5,bold:true,align:"right",fontSize:14});}yo.exports={addInvoiceTable:qr};});var So=x((o0,wo)=>{function Dr(t,a,r="Certificate of Appreciation",e={}){let{x:n=.5,y:o=.5,w:d=9,h:c=4.63}=e;t.addShape("rect",{x:n,y:o,w:d,h:c,line:{color:"C5A059",width:4},fill:{color:void 0}}),t.addShape("rect",{x:n+.2,y:o+.2,w:d-.4,h:c-.4,line:{color:"C5A059",width:1},fill:{color:void 0}}),t.addText(r,{x:n,y:o+1,w:d,h:1,align:"center",fontFace:"Georgia",fontSize:32,bold:true,color:"333333"}),t.addText("Presented to",{x:n,y:o+2,w:d,h:.5,align:"center",fontSize:14,color:"666666"}),t.addText(a,{x:n,y:o+2.5,w:d,h:1,align:"center",fontFace:"Arial",fontSize:40,bold:true,color:"C5A059"});}wo.exports={addCertificateFrame:Dr};});var bo=x((n0,mo)=>{function Mr(t,a,r,e,n={}){let{x:o=1,y:d=1,w:c=8,h:l=3,imagePosition:i="left"}=n,h=c/2,s=i==="left"?o:o+h,f=i==="left"?o+h:o;e?t.addImage({path:e,x:s+.2,y:d+.2,w:h-.4,h:l-.4,sizing:{type:"contain"}}):(t.addShape("rect",{x:s+.2,y:d+.2,w:h-.4,h:l-.4,fill:"EEEEEE"}),t.addText("Image",{x:s,y:d,w:h,h:l,align:"center",valign:"middle"})),t.addText(a,{x:f+.2,y:d+.5,w:h-.4,h:.5,bold:true,fontSize:18,color:"333333"}),t.addText(r,{x:f+.2,y:d+1.2,w:h-.4,h:l-1.2,fontSize:12,color:"666666",valign:"top"});}mo.exports={addSaaSFeatureBlock:Mr};});var To=x((r0,Co)=>{function Lr(t,a=[],r={}){let{x:e=1,y:n=1,w:o=6,h:d=3}=r,c=Math.max(...a.map(s=>Math.abs(s.value))),l=n+d/2,i=o/a.length*.6,h=o/a.length*.4;t.addShape("line",{x:e,y:l,w:o,h:0,line:{color:"333333"}}),a.forEach((s,f)=>{let u=Math.abs(s.value)/c*(d/2-.2),F=e+h/2+f*(i+h),p,y;s.value>=0?(p=l-u,y="4CAF50"):(p=l,y="F44336"),t.addShape("rect",{x:F,y:p,w:i,h:u,fill:y}),t.addText(s.label,{x:F,y:l+(s.value>=0?.1:-0.3),w:i,h:.3,fontSize:9,align:"center",color:"FFFFFF"});});}Co.exports={addWinLossChart:Lr};});var vo=x((a0,zo)=>{var{addSlide:Ar}=W(),{addText:M}=I();function kr(t,a){let r=t.getPptx();a.split(/\n---\n/).forEach(n=>{let o=Ar(r),d=n.trim().split(`
|
|
3
|
+
`),c=1;d.forEach(l=>{l=l.trim(),l&&(l.startsWith("# ")?(M(o,l.replace("# ",""),{x:.5,y:.5,fontSize:32,bold:true,w:9}),c=1.5):l.startsWith("## ")?(M(o,l.replace("## ",""),{x:.5,y:c,fontSize:20,color:"666666",w:9}),c+=.8):l.startsWith("- ")?(M(o,l.replace("- ",""),{x:1,y:c,fontSize:16,bullet:true,w:8,h:.5}),c+=.6):(M(o,l,{x:1,y:c,fontSize:14,w:8}),c+=.6));});});}zo.exports={renderMarkdown:kr};});var qo=x((c0,Eo)=>{function Br(t,a,r={}){let{x:e=1,y:n=1,w:o=6,h:d=3,fontSize:c=11,background:l="1E1E1E"}=r;t.addShape("rect",{x:e,y:n,w:o,h:d,fill:l});let h=a.split(`
|
|
4
|
+
`),s="569CD6",f="CE9178",u="6A9955",F="D4D4D4",p="DCDCAA",y=/\b(const|let|var|function|return|if|else|for|while|import|from|class)\b/g,g=/(['"`].*?['"`])/g,b=/\b([a-zA-Z0-9_]+)(?=\()/g,S=n+.2,E=c*.003;h.forEach(z=>{if(z.trim().startsWith("//"))t.addText(z,{x:e+.2,y:S,w:o-.4,h:E,fontSize:c,color:u,fontFace:"Courier New"});else {let m=[];z.split(/(\s+|[(){},.])/).forEach(C=>{let v=F;y.test(C)?v=s:g.test(C)?v=f:b.test(C)&&(v=p),m.push({text:C,options:{color:v,fontSize:c,fontFace:"Courier New"}});}),t.addText(m,{x:e+.2,y:S,w:o-.4,h:E,align:"left"});}S+=.25;});}Eo.exports={addSyntaxBlock:Br};});var Mo=x((l0,Do)=>{var Y=[];function Wr(t,a){Y.push({title:t,slide:a});}function Ir(t,a={}){let{title:r="Agenda",x:e=1,y:n=1.5,color:o="007AFF"}=a,c=t.getPptx().addSlide();c.addText(r,{x:1,y:.5,fontSize:32,bold:true,color:"111111"}),Y.forEach((l,i)=>{c.addText(`${i+1}. ${l.title}`,{x:e,y:n+i*.6,w:8,h:.5,fontSize:18,color:o,hyperlink:{slide:l.slide}});});}function Hr(){Y=[];}Do.exports={addToTOC:Wr,addTableOfContents:Ir,resetTOC:Hr};});var Ao=x((d0,Lo)=>{function Yr(t,a={}){let{logo:r,footerText:e,showPageNumber:n=true,accentColor:o="007AFF"}=a;r&&t.addImage({path:r,x:9,y:.2,w:.8,h:.8,sizing:{type:"contain",w:.8,h:.8}}),t.addShape("line",{x:.5,y:5.2,w:9,h:0,line:{color:"E0E0E0",width:1}}),e&&t.addText(e,{x:.5,y:5.3,w:6,h:.3,fontSize:10,color:"888888"}),n&&(t.slideNumber={x:9,y:5.3,w:.5,h:.3,fontSize:10,color:o});}Lo.exports={applyMaster:Yr};});var Bo=x((i0,ko)=>{var Pr={user:"M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z",home:"M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8z",settings:"M19.14 12.94c.04-.3.06-.61.06-.94 0-.32-.02-.64-.07-.94l2.03-1.58c.18-.14.23-.41.12-.61l-1.92-3.32c-.12-.22-.37-.29-.59-.22l-2.39.96c-.5-.38-1.03-.7-1.62-.94l-.36-2.54c-.04-.24-.24-.41-.48-.41h-3.84c-.24 0-.43.17-.47.41l-.36 2.54c-.59.24-1.13.57-1.62.94l-2.39-.96c-.22-.08-.47 0-.59.22L2.68 8.87c-.11.21-.06.47.12.61l2.03 1.58c-.05.3-.09.63-.09.94s.02.64.07.94l-2.03 1.58c-.18.14-.23.41-.12.61l1.92 3.32c.12.22.37.29.59.22l2.39-.96c.5.38 1.03.7 1.62.94l.36 2.54c.04.24.24.41.48.41h3.84c.24 0.43-.17.47-.41l.36-2.54c.59-.24 1.13-.57 1.62-.94l2.39.96c.22.08.47 0 .59-.22l1.92-3.32c.11-.21.06-.47-.12-.61l-2.01-1.58zM12 15.6c-1.98 0-3.6-1.62-3.6-3.6s1.62-3.6 3.6-3.6 3.6 1.62 3.6 3.6-1.62 3.6-3.6 3.6z",star:"M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z"};function $r(t,a,r={}){let{x:e=1,y:n=1,size:o=.5,color:d="000000"}=r,c=Pr[a];if(!c){console.warn(`Icon ${a} not found.`);return}let l=`data:image/svg+xml;base64,${Buffer.from(`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="#${d}"><path d="${c}"/></svg>`).toString("base64")}`;t.addImage({data:l,x:e,y:n,w:o,h:o});}ko.exports={addSmartIcon:$r};});var Io=x((h0,Wo)=>{function Xr(t,a,r={}){let{x:e=1,y:n=1,w:o=4,h:d=2,maxFontSize:c=24,minFontSize:l=8,color:i="000000"}=r,h=c,s=a.length;for(;h>l;){let f=h/72*.5,u=h/72*1.2,F=Math.floor(o/f);if(Math.ceil(s/F)*u<=d)break;h-=1;}t.addText(a,{x:e,y:n,w:o,h:d,fontSize:h,color:i});}Wo.exports={addSmartText:Xr};});var Yo=x((s0,Ho)=>{function Nr(t){if(!t||t.length===0)return [];let a=Object.keys(t[0]),r=t.map(e=>Object.values(e));return [a,...r]}function Gr(t){return t.trim().split(`
|
|
5
|
+
`).map(r=>r.split(",").map(e=>e.trim()))}function Rr(t,a,r,e="Series 1"){return [{name:e,labels:t.map(n=>n[a]),values:t.map(n=>n[r])}]}Ho.exports={jsonToTableData:Nr,csvToTableData:Gr,jsonToChartData:Rr};});var $o=x((f0,Po)=>{var P=class{constructor(a){this.slide=a;}addShape(a,r){return this.lastShape=this.slide.addShape(a,r),this}addText(a,r){return this.lastShape=this.slide.addText(a,r),this}withEffect(a="fadeIn",r=1e3){return console.log("Animation metadata attached (Concept only in this wrapper)"),this}};function Or(t){return new P(t)}Po.exports={animate:Or};});var No=x((u0,Xo)=>{function Ur(t,a={}){let{color:r="FF0000",showGrid:e=true,showSafeZone:n=true}=a;if(n&&t.addShape("rect",{x:.5,y:.5,w:9,h:4.63,fill:{color:void 0},line:{color:r,width:1,dashType:"dash"}}),e){for(let o=1;o<10;o++)t.addShape("line",{x:o,y:0,w:0,h:5.63,line:{color:"E0E0E0",width:1}});for(let o=1;o<6;o++)t.addShape("line",{x:0,y:o,w:10,h:0,line:{color:"E0E0E0",width:1}});}t.addShape("line",{x:5,y:2.7,w:0,h:.2,line:{color:r}}),t.addShape("line",{x:4.9,y:2.815,w:.2,h:0,line:{color:r}});}Xo.exports={debugSlide:Ur};});var Ro=x((x0,Go)=>{function Vr(t,a){!t||!a||t.addNotes(a);}Go.exports={addSpeakerNotes:Vr};});var Uo=x((F0,Oo)=>{function _r(t){let a=(r,e)=>"#"+r.replace(/^#/,"").replace(/../g,n=>{let o=parseInt(n,16);return Math.min(255,Math.max(0,o+e)).toString(16).padStart(2,"0")});return {primary:t,light:a(t,150),dark:a(t,-50),muted:a(t,80),border:"E0E0E0"}}Oo.exports={generateTheme:_r};});var _o=x((p0,Vo)=>{function jr(t,a="CONFIDENTIAL",r={}){let{color:e="CCCCCC",opacity:n=20,rotate:o=-45,fontSize:d=60}=r;t.addText(a,{x:1,y:2,w:8,h:2,color:e,transparency:100-n,rotate:o,align:"center",fontSize:d,bold:true});}Vo.exports={addWatermark:jr};});var Zo=x((y0,jo)=>{function Zr(t,a,r={}){let{x:e=1,y:n=1,w:o=8,h:d=4,fontSize:c=12,background:l="1E1E1E"}=r;t.addShape("rect",{x:e,y:n,w:o,h:d,fill:l});let i=a.split(`
|
|
6
|
+
`),h=n+.2,s=c*.0035;i.forEach(f=>{let u="D4D4D4";f.startsWith("+")?u="4CAF50":f.startsWith("-")?u="F44336":f.startsWith("@@")&&(u="569CD6"),t.addText(f,{x:e+.2,y:h,w:o-.4,h:s,fontFace:"Courier New",fontSize:c,color:u,align:"left"}),h+=.25;});}jo.exports={addCodeDiff:Zr};});var Jo=x((g0,Ko)=>{function Kr(t,a,r=""){let n=t.getPptx().addSlide();return n.background={fill:"111111"},n.addText(a,{x:1,y:2,w:8,h:1,fontSize:44,bold:true,color:"FFFFFF",align:"center"}),n.addShape("line",{x:3,y:3.2,w:4,h:0,line:{color:"007AFF",width:3}}),r&&n.addText(r,{x:1,y:3.5,w:8,h:1,fontSize:18,color:"BBBBBB",align:"center",italic:true}),n}Ko.exports={addSectionDivider:Kr};});var tn=x((w0,Qo)=>{function Jr(t,a,r){let e=i=>{let h=parseInt(i.replace("#",""),16),s=h>>16&255,f=h>>8&255,u=h>>0&255,F=[s,f,u].map(p=>(p/=255,p<=.03928?p/12.92:Math.pow((p+.055)/1.055,2.4)));return F[0]*.2126+F[1]*.7152+F[2]*.0722},n=e(a||"000000"),o=e(r||"FFFFFF"),d=Math.max(n,o),c=Math.min(n,o),l=(d+.05)/(c+.05);l<4.5&&console.warn(`\u26A0\uFE0F ACCESSIBILITY WARN [${t}]: Low contrast ratio (${l.toFixed(2)}). Text: #${a} on Bg: #${r}`);}Qo.exports={checkContrast:Jr};});var $c=x((S0,en)=>{var Qr=R(),{addSlide:ta}=W(),{addText:ea}=I(),{addShape:oa}=_(),{addImage:na}=H(),{addNativeImage:ra}=H(),{addLink:aa}=K(),{addCard:ca}=Q(),{addTable:la}=et(),{addChart:da}=nt(),{applyTheme:ia}=at(),{getTheme:ha,registerTheme:sa}=lt(),{addProgressBar:fa}=it(),{addStatMetric:ua}=st(),{addBadge:xa}=ut(),{addCodeBlock:Fa}=Ft(),{addTimeline:pa}=yt(),{addAvatarGroup:ya}=wt(),{addTestimonialCard:ga}=mt(),{addAlertBox:wa}=Ct(),{addIconList:Sa}=zt(),{addModernBulletList:ma}=Et(),{addList:ba,addUnorderedList:Ca,addOrderedList:Ta,addChecklist:za,BULLET_STYLES:va}=kt(),{addPricingColumn:Ea}=Wt(),{addStepProcess:qa}=Ht(),{addComparisonTable:Da}=Pt(),{addRatingStars:Ma}=Xt(),{addBreadcrumbNav:La}=Gt(),{addTagCloud:Aa}=Ot(),{addKanbanColumn:ka}=Vt(),{addCallToAction:Ba}=jt(),{addOrganicBlob:Wa}=Kt(),{addWaveDecoration:Ia}=Qt(),{addDotPattern:Ha}=ee(),{addBrushStroke:Ya}=ne(),{addGeometricConfetti:Pa}=ae(),{addGradientMesh:$a}=le(),{addSquiggleLine:Xa}=ie(),{addCornerAccent:Na}=se(),{addBrowserWindow:Ga}=ue(),{addSocialBar:Ra}=Fe(),{createGrid:Oa}=ye(),{getSplitScreen:Ua}=we(),{getZPattern:Va}=me(),{getSidebarLayout:_a}=Ce(),{getHeroLayout:ja}=ze(),{getGalleryLayout:Za}=Ee(),{getBentoLayout:Ka}=De(),{getRadialLayout:Ja}=Le(),{getCheckerboardLayout:Qa}=ke(),{getMagazineLayout:tc}=We(),{getFilmStripLayout:ec}=He(),{addFeatureGrid:oc}=Pe(),{addTeamMemberProfile:nc}=Xe(),{addSWOTMatrix:rc}=Ge(),{addProcessCycle:ac}=Oe(),{addFunnelDiagram:cc}=Ve(),{addPyramidHierarchy:lc}=je(),{addDeviceMockup:dc}=Ke(),{addAccordionList:ic}=Qe(),{addTrafficLight:hc}=eo(),{addVennDiagram:sc}=no(),{addOrgChart:fc}=ao(),{addCalendarGrid:uc}=lo(),{addGanttChart:xc}=ho(),{addPersonaCard:Fc}=fo(),{addMatrixGrid:pc}=xo(),{addMindMap:yc}=po(),{addInvoiceTable:gc}=go(),{addCertificateFrame:wc}=So(),{addSaaSFeatureBlock:Sc}=bo(),{addWinLossChart:mc}=To(),{renderMarkdown:bc}=vo(),{addSyntaxBlock:Cc}=qo(),{addToTOC:Tc,addTableOfContents:zc}=Mo(),{applyMaster:vc}=Ao(),{addSmartIcon:Ec}=Bo(),{addSmartText:qc}=Io(),{jsonToTableData:Dc,csvToTableData:Mc,jsonToChartData:Lc}=Yo(),{animate:Ac}=$o(),{debugSlide:kc}=No(),{addSpeakerNotes:Bc}=Ro(),{generateTheme:Wc}=Uo(),{addWatermark:Ic}=_o(),{addCodeDiff:Hc}=Zo(),{addSectionDivider:Yc}=Jo(),{checkContrast:Pc}=tn();en.exports={PPTManager:Qr,addSlide:ta,addText:ea,addShape:oa,addImage:na,addLink:aa,addCard:ca,addTable:la,addChart:da,applyTheme:ia,addBrowserWindow:Ga,addSocialBar:Ra,addProgressBar:fa,addStatMetric:ua,addBadge:xa,addCodeBlock:Fa,addTimeline:pa,addAvatarGroup:ya,addTestimonialCard:ga,addAlertBox:wa,addIconList:Sa,addModernBulletList:ma,addList:ba,addUnorderedList:Ca,addOrderedList:Ta,addChecklist:za,BULLET_STYLES:va,addPricingColumn:Ea,addStepProcess:qa,addComparisonTable:Da,addRatingStars:Ma,addBreadcrumbNav:La,addTagCloud:Aa,addKanbanColumn:ka,addCallToAction:Ba,addOrganicBlob:Wa,addWaveDecoration:Ia,addDotPattern:Ha,addBrushStroke:Ya,addGeometricConfetti:Pa,addGradientMesh:$a,addSquiggleLine:Xa,addCornerAccent:Na,addNativeImage:ra,getTheme:ha,registerTheme:sa,createGrid:Oa,getSplitScreen:Ua,getZPattern:Va,getSidebarLayout:_a,getHeroLayout:ja,getGalleryLayout:Za,addFeatureGrid:oc,addTeamMemberProfile:nc,addSWOTMatrix:rc,addProcessCycle:ac,addFunnelDiagram:cc,addPyramidHierarchy:lc,addDeviceMockup:dc,addAccordionList:ic,addTrafficLight:hc,addVennDiagram:sc,getBentoLayout:Ka,getRadialLayout:Ja,getCheckerboardLayout:Qa,getMagazineLayout:tc,getFilmStripLayout:ec,addOrgChart:fc,addCalendarGrid:uc,addGanttChart:xc,addPersonaCard:Fc,addMatrixGrid:pc,addMindMap:yc,addInvoiceTable:gc,addCertificateFrame:wc,addSaaSFeatureBlock:Sc,addWinLossChart:mc,renderMarkdown:bc,addSyntaxBlock:Cc,addToTOC:Tc,addTableOfContents:zc,applyMaster:vc,addSmartIcon:Ec,addSmartText:qc,jsonToTableData:Dc,csvToTableData:Mc,jsonToChartData:Lc,animate:Ac,debugSlide:kc,addSpeakerNotes:Bc,generateTheme:Wc,addWatermark:Ic,addCodeDiff:Hc,addSectionDivider:Yc,checkContrast:Pc};});var index = $c();module.exports=index;
|
package/dist/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
var k=(t=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(t,{get:(a,r)=>(typeof require<"u"?require:a)[r]}):t)(function(t){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+t+'" is not supported')});var x=(t,a)=>()=>(a||t((a={exports:{}}).exports,a),a.exports);var N=x(($c,G)=>{var cn=k("pptxgenjs"),B=class{constructor(){this.pptx=new cn;}getPptx(){return this.pptx}async save(a="presentation.pptx"){await this.pptx.writeFile({fileName:a});}};G.exports=B;});var W=x((Xc,R)=>{function ln(t,a={}){return t.addSlide(a)}R.exports={addSlide:ln};});var I=x((Gc,O)=>{function dn(t,a,r={}){t.addText(a,{x:r.x??1,y:r.y??1,w:r.w??5,h:r.h??1,fontSize:r.fontSize??18,color:r.color??"000000",bold:r.bold??false,align:r.align??"left",fontFace:r.fontFace??"Arial"});}O.exports={addText:dn};});var V=x((Nc,U)=>{function hn(t,a,r={}){t.addShape(a,{x:r.x??1,y:r.y??1,w:r.w??2,h:r.h??2,fill:r.fill??"FFFFFF",line:r.line??{color:"000000"}});}U.exports={addShape:hn};});var j=x((Rc,_)=>{var sn=k("https"),fn=k("http");function un(t){return new Promise((a,r)=>{(t.startsWith("https")?sn:fn).get(t,n=>{if(n.statusCode!==200){r(new Error(`Failed to fetch image: Status Code ${n.statusCode}`));return}let o=[];n.on("data",d=>o.push(d)),n.on("end",()=>{let c=Buffer.concat(o).toString("base64");a(c);});}).on("error",n=>{r(n);});})}async function xn(t,a,r={}){let e=a.startsWith("http://")||a.startsWith("https://"),n=r.x??1,o=r.y??1,d=r.w??3,c=r.h??3;if(e)try{let l=await un(a),i=a.split(".").pop().split("?")[0]||"png";t.addImage({data:`image/${i};base64,${l}`,x:n,y:o,w:d,h:c});}catch(l){console.error(`Error loading remote image: ${a}`,l),t.addText("Image failed to load",{x:n,y:o,w:d,h:c,color:"FF0000"});}else t.addImage({path:a,x:n,y:o,w:d,h:c});}_.exports={addImage:xn};});var K=x((Oc,Z)=>{function Fn(t,a,r,e={}){t.addText([{text:a,options:{hyperlink:{url:r},color:"0000FF",underline:true}}],{x:e.x??1,y:e.y??1,w:e.w??4,h:e.h??1,fontSize:e.fontSize??14});}Z.exports={addLink:Fn};});var Q=x((Uc,J)=>{function pn(t,a={}){var u,F,p,y;let{x:r,y:e,w:n,h:o,background:d="FFFFFF",border:c="DDDDDD",padding:l=.3,title:i,body:h,theme:s,shapeType:f}=a;if(!f)throw new Error("addCard: shapeType is required (e.g. pptx.ShapeType.rect)");t.addShape(f,{x:r,y:e,w:n,h:o,fill:d,line:{color:c},rounding:f==="roundRect"?.15:void 0}),i&&t.addText(i,{x:r+l,y:e+l,w:n-l*2,fontSize:((u=s==null?void 0:s.heading)==null?void 0:u.fontSize)||16,bold:true,color:((F=s==null?void 0:s.heading)==null?void 0:F.color)||"111111",align:"center"}),h&&t.addText(h,{x:r+l,y:e+l+.6,w:n-l*2,fontSize:((p=s==null?void 0:s.body)==null?void 0:p.fontSize)||12,color:((y=s==null?void 0:s.body)==null?void 0:y.color)||"444444",align:"center"});}J.exports={addCard:pn};});var et=x((Vc,tt)=>{function yn(t,a,r={}){let e=a.map((n,o)=>n.map(d=>({text:String(d),options:{fontSize:r.fontSize||14,bold:o===0&&r.header!==false,fill:o===0?r.headerFill:void 0,color:r.color||"000000"}})));t.addTable(e,{x:r.x??1,y:r.y??1,w:r.w??8,border:r.border??{type:"solid",color:"CCCCCC"},colW:r.colW});}tt.exports={addTable:yn};});var nt=x((_c,ot)=>{function gn(t,a,r,e={}){t.addChart(a,r,{x:e.x??1,y:e.y??1,w:e.w??6,h:e.h??4,title:e.title,showLegend:e.showLegend??true,chartColors:e.colors,animation:e.animation??"fade",showValue:e.showValue??true,showPercent:e.showPercent??false});}ot.exports={addChart:gn};});var at=x((jc,rt)=>{function wn(t,a){a.background&&(t.background={fill:a.background});}rt.exports={applyTheme:wn};});var lt=x((Zc,ct)=>{var T={minimal:{background:"FFFFFF",heading:{fontSize:28,color:"111111",bold:true,fontFace:"Arial"},body:{fontSize:16,color:"444444",fontFace:"Arial"},accent:"E5E7EB"},brand:{background:"F8FAFC",heading:{fontSize:30,color:"0F172A",bold:true,fontFace:"Helvetica"},body:{fontSize:16,color:"334155",fontFace:"Helvetica"},accent:"2563EB"},dark:{background:"020617",heading:{fontSize:30,color:"FFFFFF",bold:true,fontFace:"Verdana"},body:{fontSize:16,color:"CBD5E1",fontFace:"Verdana"},accent:"38BDF8"}};function Sn(t,a){T[t]={...T.minimal,...a,heading:{...T.minimal.heading,...a.heading},body:{...T.minimal.body,...a.body}};}function mn(t="minimal"){return typeof t=="object"?{...T.minimal,...t,heading:{...T.minimal.heading,...t.heading},body:{...T.minimal.body,...t.body}}:T[t]||T.minimal}ct.exports={getTheme:mn,registerTheme:Sn,themes:T};});var it=x((Kc,dt)=>{function bn(t,a={}){let{x:r=1,y:e=1,w:n=5,h:o=.3,percent:d=.5,color:c="007AFF",trackColor:l="E5E5EA",showLabel:i=true}=a;t.addShape("rect",{x:r,y:e,w:n,h:o,fill:l,line:{color:l},rounding:o/2}),d>0&&t.addShape("rect",{x:r,y:e,w:n*d,h:o,fill:c,line:{color:c},rounding:o/2}),i&&t.addText(`${Math.round(d*100)}%`,{x:r+n+.1,y:e,w:1,h:o,fontSize:10,color:"666666",align:"left",valign:"middle"});}dt.exports={addProgressBar:bn};});var st=x((Jc,ht)=>{function Cn(t,a={}){let{x:r=1,y:e=1,w:n=3,h:o=2,value:d="0",label:c="Metric",valueColor:l="000000",labelColor:i="666666",align:h="center"}=a;t.addText(d,{x:r,y:e,w:n,h:o*.6,fontSize:48,bold:true,color:l,align:h,valign:"bottom"}),t.addText(c,{x:r,y:e+o*.6,w:n,h:o*.4,fontSize:14,color:i,align:h,valign:"top"});}ht.exports={addStatMetric:Cn};});var ut=x((Qc,ft)=>{function Tn(t,a,r={}){let{x:e=1,y:n=1,w:o=1.5,h:d=.4,backgroundColor:c="E1F5FE",color:l="0277BD",fontSize:i=10}=r;t.addShape("roundRect",{x:e,y:n,w:o,h:d,fill:c,line:{color:c},rounding:.5}),t.addText(a,{x:e,y:n,w:o,h:d,fontSize:i,color:l,align:"center",valign:"middle",bold:true});}ft.exports={addBadge:Tn};});var Ft=x((tl,xt)=>{function zn(t,a,r={}){let{x:e=1,y:n=1,w:o=6,h:d=3,fontSize:c=11,background:l="1E1E1E",color:i="D4D4D4"}=r;t.addShape("rect",{x:e,y:n,w:o,h:d,fill:l,line:{color:"333333"}}),t.addText(a,{x:e+.2,y:n+.2,w:o-.4,h:d-.4,fontSize:c,color:i,fontFace:"Courier New",align:"left",valign:"top"});}xt.exports={addCodeBlock:zn};});var yt=x((el,pt)=>{function vn(t,a=[],r={}){let{x:e=1,y:n=3,w:o=8,color:d="007AFF",textColor:c="333333"}=r;if(a.length===0)return;let l=o/(a.length-1||1),i=n+.15;a.length>1&&t.addShape("line",{x:e,y:i,w:o,h:0,line:{color:d,width:2}}),a.forEach((h,s)=>{let f=e+s*l;t.addShape("oval",{x:f-.15,y:n,w:.3,h:.3,fill:"FFFFFF",line:{color:d,width:3}}),t.addText(h.title,{x:f-.75,y:n+.4,w:1.5,h:.5,fontSize:12,bold:true,color:c,align:"center",valign:"top"}),h.desc&&t.addText(h.desc,{x:f-.75,y:n+.8,w:1.5,h:1,fontSize:10,color:"666666",align:"center",valign:"top"});});}pt.exports={addTimeline:vn};});var wt=x((ol,gt)=>{function En(t,a=[],r={}){let{x:e=1,y:n=1,radius:o=.5,offset:d=.3,borderColor:c="FFFFFF"}=r;a.forEach((l,i)=>{let h=e+i*(o-d);t.addShape("oval",{x:h-.02,y:n-.02,w:o+.04,h:o+.04,fill:c}),l.image?t.addImage({path:l.image,x:h,y:n,w:o,h:o,sizing:{type:"cover",w:o,h:o},rounding:true}):(t.addShape("oval",{x:h,y:n,w:o,h:o,fill:l.color||"CCCCCC"}),t.addText(l.initials||"U",{x:h,y:n,w:o,h:o,align:"center",valign:"middle",fontSize:10,color:"FFFFFF"}));});}gt.exports={addAvatarGroup:En};});var mt=x((nl,St)=>{function qn(t,a,r,e={}){let{x:n=1,y:o=1,w:d=6,h:c=2.5,bg:l="F9F9F9",accent:i="007AFF"}=e;t.addShape("roundRect",{x:n,y:o,w:d,h:c,fill:l,line:{color:"EFEFEF"},rounding:.2}),t.addText("\u201C",{x:n+.2,y:o+.2,w:1,h:1,fontSize:60,color:i,fontFace:"Georgia"}),t.addText(a,{x:n+.8,y:o+.4,w:d-1,h:c-1,fontSize:14,color:"333333",italic:true,valign:"top"}),t.addText(`\u2014 ${r}`,{x:n+.8,y:o+c-.6,w:d-1,h:.4,fontSize:12,bold:true,color:"555555",align:"right"});}St.exports={addTestimonialCard:qn};});var Ct=x((rl,bt)=>{function Dn(t,a,r="info",e={}){let{x:n=1,y:o=1,w:d=8,h:c=.8}=e,l,i,h;switch(r){case "success":l="E8F5E9",i="4CAF50",h="\u2713";break;case "warning":l="FFF3E0",i="FF9800",h="!";break;case "error":l="FFEBEE",i="F44336",h="\u2715";break;default:l="E3F2FD",i="2196F3",h="i";break}t.addShape("rect",{x:n,y:o,w:d,h:c,fill:l,line:{color:i,width:2}}),t.addShape("rect",{x:n,y:o,w:.6,h:c,fill:i}),t.addText(h,{x:n,y:o,w:.6,h:c,color:"FFFFFF",align:"center",valign:"middle",bold:true,fontSize:18}),t.addText(a,{x:n+.7,y:o,w:d-.8,h:c,color:"333333",valign:"middle",fontSize:12});}bt.exports={addAlertBox:Dn};});var zt=x((al,Tt)=>{function Mn(t,a=[],r={}){let{x:e=1,y:n=1,w:o=5,itemHeight:d=.5,gap:c=.1,iconColor:l="007AFF",textColor:i="333333"}=r;a.forEach((h,s)=>{let f=n+s*(d+c);t.addShape("oval",{x:e,y:f+.1,w:.25,h:.25,fill:l}),t.addText("\u2713",{x:e,y:f+.1,w:.25,h:.25,color:"FFFFFF",fontSize:10,align:"center",valign:"middle"}),t.addText(h,{x:e+.4,y:f,w:o-.4,h:d,fontSize:14,color:i,valign:"middle"});});}Tt.exports={addIconList:Mn};});var Et=x((cl,vt)=>{function Ln(t,a=[],r={}){var s;let{x:e=1,y:n=1,w:o=8,theme:d=r.theme||{},accentColor:c=d.accent||"3F51B5",fontFace:l=((s=d.body)==null?void 0:s.fontFace)||"Inter",itemGap:i=.15}=r,h=n;a.forEach((f,u)=>{let F=typeof f=="string"?f:f.title||"",p=typeof f=="object"?f.desc:null,y=typeof f=="object"?f.icon:null;if(!F&&!p&&!y)return;let g=p?.9:.5;t.addShape("rect",{x:e,y:h,w:o,h:g,fill:{color:"F8F9FA"},line:{color:"E9ECEF",width:1}}),t.addShape("rect",{x:e,y:h,w:.05,h:g,fill:{color:c}});let w=.3,b=e+.15,S=h+g/2-w/2;(y||u>=0)&&t.addText(String(y||u+1),{x:b,y:S,w,h:w,fontSize:12,bold:true,color:c,align:"center",valign:"middle",fontFace:l}),t.addText(String(F),{x:e+.5,y:h+(p?.15:0),w:o-.7,h:.3,fontSize:14,bold:true,color:"212529",fontFace:l,valign:p?"top":"middle"}),p&&t.addText(String(p),{x:e+.5,y:h+.45,w:o-.8,h:.4,fontSize:11,color:"495057",fontFace:l,valign:"top"}),h+=g+i;});}vt.exports={addModernBulletList:Ln};});var kt=x((ll,At)=>{var Lt={disc:"\u2022",circle:"\u25CB",square:"\u25A0",dash:"\u2013",arrow:"\u2192",chevron:"\u203A",check:"\u2713",star:"\u2605",diamond:"\u25C6",triangle:"\u25B8",decimal:"decimal",alpha:"alpha",alphaUpper:"alphaUpper",roman:"roman",romanUpper:"romanUpper"};function qt(t,a=false){let r=[{value:1e3,numeral:"m"},{value:900,numeral:"cm"},{value:500,numeral:"d"},{value:400,numeral:"cd"},{value:100,numeral:"c"},{value:90,numeral:"xc"},{value:50,numeral:"l"},{value:40,numeral:"xl"},{value:10,numeral:"x"},{value:9,numeral:"ix"},{value:5,numeral:"v"},{value:4,numeral:"iv"},{value:1,numeral:"i"}],e="";for(let{value:n,numeral:o}of r)for(;t>=n;)e+=o,t-=n;return a?e.toUpperCase():e}function Dt(t,a=false){let r="";for(;t>0;)t--,r=String.fromCharCode(97+t%26)+r,t=Math.floor(t/26);return a?r.toUpperCase():r}function An(t,a,r=1){let e=r+t;switch(a){case "decimal":return `${e}.`;case "alpha":return `${Dt(e,false)}.`;case "alphaUpper":return `${Dt(e,true)}.`;case "roman":return `${qt(e,false)}.`;case "romanUpper":return `${qt(e,true)}.`;default:return Lt[a]||a||"\u2022"}}function Mt(t){return ["decimal","alpha","alphaUpper","roman","romanUpper"].includes(t)}function D(t,a=[],r={}){var L;let{x:e=1,y:n=1,w:o=8,bulletStyle:d="disc",fontSize:c=14,lineHeight:l=1.5,color:i="333333",bulletColor:h=null,fontFace:s="Arial",bold:f=false,italic:u=false,indent:F=.3,bulletWidth:p=.25,startNumber:y=1,nestedIndent:g=.4,theme:w={}}=r,b=i||w.text||"333333",S=h||w.accent||b,E=s||((L=w.body)==null?void 0:L.fontFace)||"Arial",z=c/72*l,q=n;return a.forEach((m,P)=>{let C=typeof m=="object"&&m!==null,v=C?m.text||m.title||"":String(m),on=C&&m.indent||0,A=C&&m.bulletStyle?m.bulletStyle:d;if(!v)return;let $=on*g,X=e+$,nn=X+p+F,rn=o-$-p-F,an=An(P,A,y);t.addText(an,{x:X,y:q,w:p,h:z,fontSize:c,color:S,fontFace:E,bold:Mt(A)?f:false,align:Mt(A)?"right":"center",valign:"top"}),t.addText(v,{x:nn,y:q,w:rn,h:z,fontSize:c,color:b,fontFace:E,bold:C?m.bold??f:f,italic:C?m.italic??u:u,valign:"top"}),q+=z;}),{endY:q}}function kn(t,a=[],r={}){let e=r.bulletStyle||"disc";return D(t,a,{...r,bulletStyle:e})}function Bn(t,a=[],r={}){let e=r.bulletStyle||"decimal";return D(t,a,{...r,bulletStyle:e})}function Wn(t,a=[],r={}){let e=a.map(n=>{if(typeof n=="object"&&n!==null){let o=n.checked??false;return {...n,bulletStyle:o?"check":"circle"}}return n});return D(t,e,{...r,bulletStyle:"circle"})}At.exports={addList:D,addUnorderedList:kn,addOrderedList:Bn,addChecklist:Wn,BULLET_STYLES:Lt};});var Wt=x((dl,Bt)=>{function In(t,a,r={}){let{x:e=1,y:n=1,w:o=2.5,h:d=4,headerColor:c="333333",priceColor:l="007AFF"}=r;t.addShape("rect",{x:e,y:n,w:o,h:d,line:{color:"DDDDDD"},fill:"FFFFFF"}),t.addShape("rect",{x:e,y:n,w:o,h:.8,fill:c}),t.addText(a.name,{x:e,y:n,w:o,h:.8,color:"FFFFFF",bold:true,align:"center",valign:"middle",fontSize:14}),t.addText(a.price,{x:e,y:n+.9,w:o,h:.6,color:l,bold:true,align:"center",fontSize:24});let i=n+1.6;a.features&&a.features.forEach((h,s)=>{t.addText(h,{x:e+.2,y:i+s*.4,w:o-.4,h:.4,fontSize:10,align:"center",color:"666666"});}),t.addShape("roundRect",{x:e+.4,y:n+d-.7,w:o-.8,h:.4,fill:l,rounding:.5}),t.addText("Select",{x:e+.4,y:n+d-.7,w:o-.8,h:.4,color:"FFFFFF",fontSize:10,bold:true,align:"center",valign:"middle"});}Bt.exports={addPricingColumn:In};});var Ht=x((il,It)=>{function Hn(t,a=[],r={}){let{x:e=1,y:n=1,w:o=4,gap:d=.8,color:c="007AFF"}=r,l=(a.length-1)*d;a.length>1&&t.addShape("line",{x:e+.15,y:n+.15,w:0,h:l,line:{color:"CCCCCC",width:2}}),a.forEach((i,h)=>{let s=n+h*d;t.addShape("oval",{x:e,y:s,w:.3,h:.3,fill:c}),t.addText(String(h+1),{x:e,y:s,w:.3,h:.3,color:"FFFFFF",fontSize:10,bold:true,align:"center",valign:"middle"}),t.addText(i.title,{x:e+.5,y:s-.1,w:o-.5,h:.3,bold:true,fontSize:12}),i.desc&&t.addText(i.desc,{x:e+.5,y:s+.15,w:o-.5,h:.4,fontSize:10,color:"666666"});});}It.exports={addStepProcess:Hn};});var Pt=x((hl,Yt)=>{function Yn(t,a,r,e={}){let{x:n=1,y:o=1,w:d=8,h:c=4,leftColor:l="E8F5E9",rightColor:i="FFEBEE"}=e,h=d/2;t.addShape("rect",{x:n,y:o,w:h,h:c,fill:l}),t.addShape("rect",{x:n+h,y:o,w:h,h:c,fill:i}),t.addText(a.title,{x:n,y:o,w:h,h:.5,bold:true,align:"center",fontSize:16}),t.addText(r.title,{x:n+h,y:o,w:h,h:.5,bold:true,align:"center",fontSize:16});let s={fontSize:12,bullet:true,color:"333333"};a.items.forEach((f,u)=>{t.addText(f,{x:n+.2,y:o+.6+u*.4,w:h-.4,h:.4,...s});}),r.items.forEach((f,u)=>{t.addText(f,{x:n+h+.2,y:o+.6+u*.4,w:h-.4,h:.4,...s});});}Yt.exports={addComparisonTable:Yn};});var Xt=x((sl,$t)=>{function Pn(t,a=0,r={}){let{x:e=1,y:n=1,w:o=2,h:d=.4,max:c=5,fillColor:l="FFD700",emptyColor:i="E0E0E0"}=r,h=d,s=.1;for(let f=1;f<=c;f++){let u=f<=a,F=e+(f-1)*(h+s);t.addText("\u2605",{x:F,y:n,w:h,h,color:u?l:i,fontSize:h*40});}}$t.exports={addRatingStars:Pn};});var Nt=x((fl,Gt)=>{function $n(t,a=[],r={}){let{x:e=.5,y:n=.3,fontSize:o=10,color:d="888888"}=r,c=e;a.forEach((l,i)=>{let h=i===a.length-1,s=l.length*.09;t.addText(l,{x:c,y:n,w:s,h:.3,fontSize:o,color:h?"000000":d,bold:h}),c+=s,h||(t.addText(">",{x:c,y:n,w:.2,h:.3,fontSize:o,color:d,align:"center"}),c+=.2);});}Gt.exports={addBreadcrumbNav:$n};});var Ot=x((ul,Rt)=>{function Xn(t,a=[],r={}){let {x:e=1,y:n=1,w:o=5,bgColors:d=["E3F2FD","E8F5E9","FFF3E0","F3E5F5"],fontSize:c=10}=r,l=e,i=n,h=.4;a.forEach((f,u)=>{let F=f.length*.1+.4;l+F>e+o&&(l=e,i+=h+.1);let p=d[u%d.length];t.addShape("roundRect",{x:l,y:i,w:F,h,fill:p,line:{color:p},rounding:.5}),t.addText(f,{x:l,y:i,w:F,h,fontSize:c,color:"333333",align:"center",valign:"middle"}),l+=F+.1;});}Rt.exports={addTagCloud:Xn};});var Vt=x((xl,Ut)=>{function Gn(t,a,r=[],e={}){let{x:n=1,y:o=1,w:d=3,h:c=5,bgColor:l="F4F5F7"}=e;t.addShape("rect",{x:n,y:o,w:d,h:c,fill:l,rounding:.1}),t.addText(a,{x:n+.1,y:o+.1,w:d-.2,h:.4,bold:true,fontSize:12,color:"172B4D"});let i=o+.6;r.forEach(h=>{t.addShape("rect",{x:n+.1,y:i,w:d-.2,h:.8,fill:"FFFFFF",line:{color:"DFE1E6"}}),t.addText(h,{x:n+.2,y:i,w:d-.4,h:.8,fontSize:10,color:"333333",valign:"middle"}),i+=.9;});}Ut.exports={addKanbanColumn:Gn};});var jt=x((Fl,_t)=>{function Nn(t,a,r,e={}){let{x:n=4,y:o=3,w:d=3,h:c=.6,color:l="007AFF"}=e;t.addShape("roundRect",{x:n,y:o,w:d,h:c,fill:l,line:{color:l},rounding:.5}),t.addText(a,{x:n,y:o,w:d,h:c,color:"FFFFFF",bold:true,fontSize:14,align:"center",valign:"middle",hyperlink:{url:r}});}_t.exports={addCallToAction:Nn};});var Kt=x((pl,Zt)=>{function Rn(t,a={}){let{x:r=1,y:e=1,w:n=4,h:o=4,color:d="F0F4FF",opacity:c=100}=a;t.addShape("oval",{x:r,y:e,w:n,h:o*.8,fill:{color:d,transparency:100-c},line:{color:void 0}}),t.addShape("oval",{x:r-n*.1,y:e+o*.1,w:n*.9,h:o*.9,rotate:45,fill:{color:d,transparency:100-c}}),t.addShape("oval",{x:r+n*.2,y:e-o*.1,w:n*.7,h:o*.7,rotate:-30,fill:{color:d,transparency:100-c}});}Zt.exports={addOrganicBlob:Rn};});var Qt=x((yl,Jt)=>{function On(t,a="bottom",r={}){let{color:e="007AFF",opacity:n=100,slideWidth:o=10,slideHeight:d=5.63,amplitude:c=1.5}=r,l=a==="top",i=o*1.5,h=c*4,s=(o-i)/2,f=l?-(h-c):d-c;t.addShape("oval",{x:s,y:f,w:i,h,fill:{color:e,transparency:100-n},line:{color:void 0}});}Jt.exports={addWaveDecoration:On};});var ee=x((gl,te)=>{function Un(t,a={}){let{x:r=1,y:e=1,w:n=3,h:o=3,color:d="CCCCCC",rows:c=6,cols:l=6,size:i=.05}=a,h=(n-i)/(l-1),s=(o-i)/(c-1);for(let f=0;f<c;f++)for(let u=0;u<l;u++)t.addShape("oval",{x:r+u*h,y:e+f*s,w:i,h:i,fill:d,line:{color:void 0}});}te.exports={addDotPattern:Un};});var ne=x((wl,oe)=>{function Vn(t,a={}){let{x:r=1,y:e=1,w:n=4,h:o=.5,color:d="FFEB3B",opacity:c=50}=a;t.addShape("rect",{x:r,y:e,w:n,h:o,fill:{color:d,transparency:100-c},line:{color:void 0},rounding:1});}oe.exports={addBrushStroke:Vn};});var ae=x((Sl,re)=>{function _n(t,a={}){let{x:r=0,y:e=0,w:n=10,h:o=5.63,count:d=10,colors:c=["FF5722","00BCD4","FFC107"]}=a,l=["triangle","oval","rect","cross"];for(let i=0;i<d;i++){let h=r+Math.random()*n,s=e+Math.random()*o,f=.1+Math.random()*.2,u=l[Math.floor(Math.random()*l.length)],F=c[Math.floor(Math.random()*c.length)],p=Math.random()*360;t.addShape(u,{x:h,y:s,w:f,h:f,fill:F,rotate:p,line:{color:void 0}});}}re.exports={addGeometricConfetti:_n};});var le=x((ml,ce)=>{function jn(t,a={}){let{x:r=0,y:e=0,w:n=5,h:o=5,color:d="007AFF",opacity:c=50}=a;t.addShape("oval",{x:r,y:e,w:n,h:o,fill:{type:"gradient",gradientType:"radial",stops:[{position:0,color:d,alpha:(100-c)/100},{position:1,color:"FFFFFF",alpha:0}]},line:{color:void 0}});}ce.exports={addGradientMesh:jn};});var ie=x((bl,de)=>{function Zn(t,a={}){let{x:r=1,y:e=1,w:n=3,color:o="FF5722",thickness:d=3}=a;t.addShape("wave",{x:r,y:e,w:n,h:.2,fill:{color:void 0},line:{color:o,width:d},flipH:false,flipV:false});}de.exports={addSquiggleLine:Zn};});var se=x((Cl,he)=>{function Kn(t,a="top-right",r={}){let{size:e=2,color:n="FFC107"}=r,o,d,c,l=10,i=5.63;switch(a){case "top-left":o=-e/2,d=-e/2,c=180;break;case "bottom-left":o=-e/2,d=i-e/2,c=270;break;case "bottom-right":o=l-e/2,d=i-e/2,c=0;break;default:o=l-e/2,d=-e/2,c=90;break}t.addShape("rtTriangle",{x:o,y:d,w:e,h:e,fill:n,rotate:c,line:{color:void 0}});}he.exports={addCornerAccent:Kn};});var ue=x((Tl,fe)=>{function Jn(t,a={}){let {x:r=1,y:e=1,w:n=6,h:o=3.5,url:d="https://example.com",imagePath:c=null,barColor:l="E0E0E0",borderColor:i="D0D0D0"}=a,h=.4,s=.12;t.addShape("roundRect",{x:r,y:e,w:n,h:o,fill:"FFFFFF",line:{color:i},rounding:.1}),t.addShape("rect",{x:r,y:e,w:n,h,fill:l,rectRadius:.1}),["FF5F56","FFBD2E","27C93F"].forEach((g,w)=>{t.addShape("oval",{x:r+.15+w*(s+.08),y:e+(h-s)/2,w:s,h:s,fill:g,line:{color:void 0}});});let F=r+.8,p=n-1,y=h*.6;t.addShape("roundRect",{x:F,y:e+(h-y)/2,w:p,h:y,fill:"FFFFFF",line:{color:"CCCCCC",width:1},rounding:.5}),t.addText(d,{x:F+.1,y:e+(h-y)/2,w:p-.2,h:y,fontSize:8,color:"666666",valign:"middle"}),c&&t.addImage({path:c,x:r+.05,y:e+h+.05,w:n-.1,h:o-h-.1,sizing:{type:"contain",w:n-.1,h:o-h-.1}});}fe.exports={addBrowserWindow:Jn};});var Fe=x((zl,xe)=>{function Qn(t,a=[],r={}){let{x:e=1,y:n=5,iconSize:o=.4,gap:d=.2,color:c="555555"}=r,l={linkedin:"M19 0h-14c-2.761 0-5 2.239-5 5v14c0 2.761 2.239 5 5 5h14c2.762 0 5-2.239 5-5v-14c0-2.761-2.238-5-5-5zm-11 19h-3v-11h3v11zm-1.5-12.268c-.966 0-1.75-.79-1.75-1.764s.784-1.764 1.75-1.764 1.75.79 1.75 1.764-.783 1.764-1.75 1.764zm13.5 12.268h-3v-5.604c0-3.368-4-3.113-4 0v5.604h-3v-11h3v1.765c1.396-2.586 7-2.777 7 2.476v6.759z",twitter:"M24 4.557c-.883.392-1.832.656-2.828.775 1.017-.609 1.798-1.574 2.165-2.724-.951.564-2.005.974-3.127 1.195-.897-.957-2.178-1.555-3.594-1.555-3.179 0-5.515 2.966-4.797 6.045-4.091-.205-7.719-2.165-10.148-5.144-1.29 2.213-.669 5.108 1.523 6.574-.806-.026-1.566-.247-2.229-.616-.054 2.281 1.581 4.415 3.949 4.89-.693.188-1.452.232-2.224.084.626 1.956 2.444 3.379 4.6 3.419-2.07 1.623-4.678 2.348-7.29 2.04 2.179 1.397 4.768 2.212 7.548 2.212 9.142 0 14.307-7.721 13.995-14.646.962-.695 1.797-1.562 2.457-2.549z",github:"M12 0c-6.626 0-12 5.373-12 12 0 5.302 3.438 9.8 8.207 11.387.599.111.793-.261.793-.577v-2.234c-3.338.726-4.033-1.416-4.033-1.416-.546-1.387-1.333-1.756-1.333-1.756-1.089-.745.083-.729.083-.729 1.205.084 1.839 1.237 1.839 1.237 1.07 1.834 2.807 1.304 3.492.997.107-.775.418-1.305.762-1.604-2.665-.305-5.467-1.334-5.467-5.931 0-1.311.469-2.381 1.236-3.221-.124-.303-.535-1.524.117-3.176 0 0 1.008-.322 3.301 1.23.957-.266 1.983-.399 3.003-.404 1.02.005 2.047.138 3.006.404 2.291-1.552 3.297-1.23 3.297-1.23.653 1.653.242 2.874.118 3.176.77.84 1.235 1.911 1.235 3.221 0 4.609-2.807 5.624-5.479 5.921.43.372.823 1.102.823 2.222v3.293c0 .319.192.694.801.576 4.765-1.589 8.199-6.086 8.199-11.386 0-6.627-5.373-12-12-12z",web:"M12 0c-6.627 0-12 5.373-12 12s5.373 12 12 12 12-5.373 12-12-5.373-12-12-12zm1 16.057v-3.057h2.994c-.059 1.143-.212 2.183-.442 3.057h-2.552zm-2 0h-2.552c-.23-.874-.383-1.914-.442-3.057h2.994v3.057zm0-5.057v-3h2.994c.059 1.143.212 2.183.442 3h-3.436zm2-5.057v3.057h-2.994c.059-1.143.212-2.183.442-3.057h2.552zm-2 0h-2.552c-.23.874-.383 1.914-.442 3.057h2.994v-3.057zm-5.223 5.057h-2.613c.277-1.206.711-2.22 1.246-3h1.367v3zm2.684-5.057c.23-.874.524-1.66.863-2.348 1.12.564 2.062 1.353 2.766 2.348h-3.629zm5.352 5.057h2.613c-.277-1.206-.711-2.22-1.246-3h-1.367v3zm-5.029 8.057c-.23.874-.524 1.66-.863 2.348-1.12-.564-2.062-1.353-2.766-2.348h3.629zm2.345 2.348c-.339-.688-.633-1.474-.863-2.348h3.629c-.704.995-1.646 1.784-2.766 2.348zm5.297-2.348h2.613c-.277 1.206-.711 2.22-1.246 3h-1.367v-3zm-7.642 0h-2.613c.277 1.206.711 2.22 1.246 3h1.367v-3z",instagram:"M12 2.163c3.204 0 3.584.012 4.85.07 3.252.148 4.771 1.691 4.919 4.919.058 1.265.069 1.645.069 4.849 0 3.205-.012 3.584-.069 4.849-.149 3.225-1.664 4.771-4.919 4.919-1.266.058-1.644.07-4.85.07-3.204 0-3.584-.012-4.849-.07-3.26-.149-4.771-1.699-4.919-4.92-.058-1.265-.07-1.644-.07-4.849 0-3.204.013-3.583.07-4.849.149-3.227 1.664-4.771 4.919-4.919 1.266-.057 1.645-.069 4.849-.069zm0-2.163c-3.259 0-3.667.014-4.947.072-4.358.2-6.78 2.618-6.98 6.98-.059 1.281-.073 1.689-.073 4.948 0 3.259.014 3.668.072 4.948.2 4.358 2.618 6.78 6.98 6.98 1.281.058 1.689.072 4.948.072 3.259 0 3.668-.014 4.948-.072 4.354-.2 6.782-2.618 6.979-6.98.059-1.28.073-1.689.073-4.948 0-3.259-.014-3.667-.072-4.947-.196-4.354-2.617-6.78-6.979-6.98-1.281-.059-1.69-.073-4.949-.073zm0 5.838c-3.403 0-6.162 2.759-6.162 6.162s2.759 6.163 6.162 6.163 6.162-2.759 6.162-6.163c0-3.403-2.759-6.162-6.162-6.162zm0 10.162c-2.209 0-4-1.79-4-4 0-2.209 1.791-4 4-4s4 1.791 4 4c0 2.21-1.791 4-4 4zm6.406-11.845c-.796 0-1.441.645-1.441 1.44s.645 1.44 1.441 1.44c.795 0 1.439-.645 1.439-1.44s-.644-1.44-1.439-1.44z",facebook:"M24 12.073c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.99 4.388 10.954 10.125 11.854v-8.385H7.078v-3.47h3.047V9.43c0-3.007 1.792-4.669 4.533-4.669 1.312 0 2.686.235 2.686.235v2.953H15.83c-1.491 0-1.956.925-1.956 1.874v2.25h3.328l-.532 3.47h-2.796v8.385C19.612 23.027 24 18.062 24 12.073z"};a.forEach((i,h)=>{let s=e+h*(o+d),f=l[i.type.toLowerCase()];if(i.url&&t.addShape("rect",{x:s,y:n,w:o,h:o,fill:{color:"FFFFFF",transparency:99},hyperlink:{url:i.url}}),f){let u=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="#${c}"><path d="${f}"/></svg>`,F=Buffer.from(u).toString("base64");t.addImage({data:`data:image/svg+xml;base64,${F}`,x:s,y:n,w:o,h:o,hyperlink:i.url?{url:i.url}:void 0});}else t.addShape("oval",{x:s,y:n,w:o,h:o,fill:c});});}xe.exports={addSocialBar:Qn};});var ye=x((vl,pe)=>{function tr(t,a={}){let{x:r=0,y:e=0,w:n=10,h:o=5.63,cols:d=2,rows:c=1,gap:l=.2}=a,i=(n-l*(d-1))/d,h=(o-l*(c-1))/c;function s(f,u){return {x:r+f*(i+l),y:e+u*(h+l),w:i,h}}return {getCell:s,colWidth:i,rowHeight:h,cols:d,rows:c}}pe.exports={createGrid:tr};});var we=x((El,ge)=>{function er(t={}){let{type:a="vertical",ratio:r=.5,gutter:e=0,w:n=10,h:o=5.63,x:d=0,y:c=0}=t;if(a==="vertical"){let l=n*r-e/2,i=n*(1-r)-e/2;return {left:{x:d,y:c,w:l,h:o},right:{x:d+l+e,y:c,w:i,h:o}}}else {let l=o*r-e/2,i=o*(1-r)-e/2;return {top:{x:d,y:c,w:n,h:l},bottom:{x:d,y:c+l+e,w:n,h:i}}}}ge.exports={getSplitScreen:er};});var me=x((ql,Se)=>{function or(t={}){let{w:a=10,h:r=5.63,margin:e=.5,gap:n=.4}=t,o=a-e*2,d=r-e*2,c=(o-n)/2,l=(d-n)/2;return {topLeft:{x:e,y:e,w:c,h:l},topRight:{x:e+c+n,y:e,w:c,h:l},bottomLeft:{x:e,y:e+l+n,w:c,h:l},bottomRight:{x:e+c+n,y:e+l+n,w:c,h:l}}}Se.exports={getZPattern:or};});var Ce=x((Dl,be)=>{function nr(t={}){let{position:a="left",width:r=2.5,w:e=10,h:n=5.63}=t;return a==="left"?{sidebar:{x:0,y:0,w:r,h:n},main:{x:r,y:0,w:e-r,h:n}}:{main:{x:0,y:0,w:e-r,h:n},sidebar:{x:e-r,y:0,w:r,h:n}}}be.exports={getSidebarLayout:nr};});var ze=x((Ml,Te)=>{function rr(t={}){let{align:a="center",w:r=10,h:e=5.63,padding:n=1}=t,o={x:0,y:0,w:r,h:e},d,c,l;return a==="center"?(d={x:0,y:e*.35,w:r,h:.8},c={x:0,y:e*.35+.8,w:r,h:.4},l={x:n,y:e*.35+1.3,w:r-n*2,h:1.2}):a==="left"&&(d={x:n,y:e*.35,w:r-n*2,h:.8},c={x:n,y:e*.35+.8,w:r-n*2,h:.4},l={x:n,y:e*.35+1.3,w:r-n*2,h:1.2}),{background:o,title:d,subtitle:c,description:l}}Te.exports={getHeroLayout:rr};});var Ee=x((Ll,ve)=>{function ar(t=6,a={}){let{x:r=.5,y:e=.5,w:n=9,h:o=4.63,gap:d=.2,cols:c=void 0}=a,l=c;l||(t<=3?l=t:t===4?l=2:t<=6?l=3:l=4);let i=Math.ceil(t/l),h=(n-(l-1)*d)/l,s=(o-(i-1)*d)/i,f=[];for(let u=0;u<t;u++){let F=u%l,p=Math.floor(u/l);f.push({x:r+F*(h+d),y:e+p*(s+d),w:h,h:s});}return f}ve.exports={getGalleryLayout:ar};});var De=x((Al,qe)=>{function cr(t="balanced",a={}){let{x:r=.5,y:e=.5,w:n=9,h:o=4.63,gap:d=.2}=a,c=(n-2*d)/3,l=(n-d)/2,i=(o-d)/2,h=o,s={"feature-left":[{x:r,y:e,w:l+c/2,h},{x:r+l+c/2+d,y:e,w:c*.8,h:i},{x:r+l+c/2+d,y:e+i+d,w:c*.8,h:i}],"feature-top":[{x:r,y:e,w:n,h:i},{x:r,y:e+i+d,w:c,h:i},{x:r+c+d,y:e+i+d,w:c,h:i},{x:r+2*(c+d),y:e+i+d,w:c,h:i}],balanced:[{x:r,y:e,w:c,h:i},{x:r+c+d,y:e,w:2*c+d,h:i},{x:r,y:e+i+d,w:2*c+d,h:i},{x:r+2*c+2*d,y:e+i+d,w:c,h:i}]};return s[t]||s.balanced}qe.exports={getBentoLayout:cr};});var Le=x((kl,Me)=>{function lr(t=5,a={}){let{x:r=5,y:e=2.8,radius:n=2,itemSize:o=1}=a,d=[],c=2*Math.PI/t;for(let l=0;l<t;l++){let i=l*c-Math.PI/2,h=r+n*Math.cos(i)-o/2,s=e+n*Math.sin(i)-o/2;d.push({x:h,y:s,w:o,h:o,angle:i*180/Math.PI});}return d}Me.exports={getRadialLayout:lr};});var ke=x((Bl,Ae)=>{function dr(t=2,a={}){let{x:r=.5,y:e=.5,w:n=9,h:o=4.63,gap:d=.5}=a,c=(o-(t-1)*d)/t,l=(n-d)/2,i=[];for(let h=0;h<t;h++){let s=h%2===0,f=e+h*(c+d);s?i.push({text:{x:r,y:f,w:l,h:c},media:{x:r+l+d,y:f,w:l,h:c}}):i.push({media:{x:r,y:f,w:l,h:c},text:{x:r+l+d,y:f,w:l,h:c}});}return i}Ae.exports={getCheckerboardLayout:dr};});var We=x((Wl,Be)=>{function ir(t=3,a={}){let{x:r=.5,y:e=.5,w:n=9,h:o=4.63,gap:d=.2,focusPosition:c="left"}=a,l=n*.6-d,i=n*.4,h=(o-(t-1)*d)/t,s={x:c==="left"?r:r+i+d,y:e,w:l,h:o},f=[],u=c==="left"?r+l+d:r;for(let F=0;F<t;F++)f.push({x:u,y:e+F*(h+d),w:i,h});return {focus:s,side:f}}Be.exports={getMagazineLayout:ir};});var He=x((Il,Ie)=>{function hr(t=5,a={}){let{x:r=0,y:e=2,w:n=10,h:o=1.5,gap:d=.2}=a,c=(t-1)*d,l=(n-r*2-c)/t,i=[];for(let h=0;h<t;h++)i.push({x:r+h*(l+d),y:e,w:l,h:o});return i}Ie.exports={getFilmStripLayout:hr};});var Pe=x((Hl,Ye)=>{function sr(t,a=[],r={}){let{x:e=1,y:n=1,w:o=8,h:d=4,cols:c=3,gap:l=.3,iconColor:i="007AFF"}=r;if(a.length===0)return;let h=Math.ceil(a.length/c),s=(o-(c-1)*l)/c,f=(d-(h-1)*l)/h;a.forEach((u,F)=>{let p=F%c,y=Math.floor(F/c),g=e+p*(s+l),w=n+y*(f+l);t.addShape("oval",{x:g,y:w,w:.5,h:.5,fill:{color:i,transparency:80},line:{color:void 0}});let b=u.icon||u.title[0]||"\u2605";t.addText(b,{x:g,y:w,w:.5,h:.5,color:i,fontSize:14,align:"center",valign:"middle",bold:true}),t.addText(u.title,{x:g+.6,y:w,w:s-.6,h:.3,bold:true,fontSize:12,color:"333333"}),u.desc&&t.addText(u.desc,{x:g+.6,y:w+.3,w:s-.6,h:f-.3,fontSize:10,color:"666666",valign:"top"});});}Ye.exports={addFeatureGrid:sr};});var Xe=x((Yl,$e)=>{function fr(t,a,r={}){let{x:e=1,y:n=1,w:o=2.5,h:d=4,bgColor:c="FFFFFF",borderColor:l="E0E0E0"}=r;t.addShape("rect",{x:e,y:n,w:o,h:d,fill:c,line:{color:l}});let i=o*.5,h=e+(o-i)/2,s=n+.3;a.image?t.addImage({path:a.image,x:h,y:s,w:i,h:i,sizing:{type:"cover",w:i,h:i},rounding:true}):t.addShape("oval",{x:h,y:s,w:i,h:i,fill:"CCCCCC"}),t.addText(a.name,{x:e,y:s+i+.2,w:o,h:.4,bold:true,fontSize:14,align:"center",color:"333333"}),t.addText(a.role,{x:e,y:s+i+.6,w:o,h:.3,fontSize:11,italic:true,align:"center",color:"007AFF"}),a.bio&&t.addText(a.bio,{x:e+.2,y:s+i+1,w:o-.4,h:d-(i+1.2),fontSize:10,align:"center",color:"666666",valign:"top"});}$e.exports={addTeamMemberProfile:fr};});var Ne=x((Pl,Ge)=>{function ur(t,a,r={}){let{x:e=1,y:n=1,w:o=8,h:d=5,gap:c=.1}=r,l=(o-c)/2,i=(d-c)/2;[{type:"Strengths",ox:0,oy:0,color:"E8F5E9",header:"S"},{type:"Weaknesses",ox:l+c,oy:0,color:"FFEBEE",header:"W"},{type:"Opportunities",ox:0,oy:i+c,color:"E3F2FD",header:"O"},{type:"Threats",ox:l+c,oy:i+c,color:"FFF3E0",header:"T"}].forEach(s=>{let f=e+s.ox,u=n+s.oy,F=a[s.type.toLowerCase()]||[];t.addShape("rect",{x:f,y:u,w:l,h:i,fill:s.color}),t.addShape("oval",{x:f+.2,y:u+.2,w:.5,h:.5,fill:"FFFFFF"}),t.addText(s.header,{x:f+.2,y:u+.2,w:.5,h:.5,bold:true,align:"center",valign:"middle",fontSize:14}),t.addText(s.type,{x:f+.8,y:u+.2,w:l-1,h:.5,bold:true,fontSize:14,valign:"middle"}),F.length>0&&t.addText(F.map(p=>`\u2022 ${p}`).join(`
|
|
2
|
-
`),{x:f+.3,y:u+.9,w:l-.6,h:i-1,fontSize:11,color:"333333",valign:"top"});});}Ge.exports={addSWOTMatrix:ur};});var Oe=x(($l,Re)=>{function xr(t,a=[],r={}){let{x:e=3,y:n=3,radius:o=2,color:d="007AFF"}=r;if(a.length===0)return;let c=2*Math.PI/a.length;a.forEach((l,i)=>{let h=i*c-Math.PI/2,s=e+o*Math.cos(h),f=n+o*Math.sin(h),u=1.2;t.addShape("oval",{x:s-u/2,y:f-u/2,w:u,h:u,fill:"FFFFFF",line:{color:d,width:3}}),t.addText(String(i+1),{x:s-u/2,y:f-u/2,w:u,h:.4,align:"center",valign:"bottom",fontSize:14,bold:true,color:d}),t.addText(l,{x:s-u/2+.1,y:f,w:u-.2,h:.5,align:"center",valign:"top",fontSize:10});});}Re.exports={addProcessCycle:xr};});var Ve=x((Xl,Ue)=>{function Fr(t,a=[],r={}){let{x:e=2,y:n=1,w:o=6,h:d=4,colors:c=["003f5c","58508d","bc5090","ff6361","ffa600"]}=r,l=a.length,i=d/l;a.forEach((h,s)=>{let f=n+s*i,u=c[s%c.length],F=o-s*(o*.5)/l;t.addShape("trapezoid",{x:e+(o-F)/2,y:f,w:F,h:i*.9,fill:u}),t.addText(h.label,{x:e,y:f,w:o,h:i*.9,align:"center",valign:"middle",color:"FFFFFF",bold:true}),h.value&&t.addText(h.value,{x:e+o+.2,y:f,w:1.5,h:i*.9,valign:"middle",fontSize:11,color:"666666"});});}Ue.exports={addFunnelDiagram:Fr};});var je=x((Gl,_e)=>{function pr(t,a=[],r={}){let{x:e=3,y:n=1,w:o=4,h:d=4,colors:c=["FFCDD2","EF9A9A","E57373","EF5350","F44336"]}=r,l=a.length,i=d/l;a.forEach((h,s)=>{let f=n+s*i,u=(s+1)/l,F=o*u,p=e+(o-F)/2;t.addShape("rect",{x:p,y:f,w:F,h:i,fill:c[s%c.length],line:{color:"FFFFFF",width:1}}),t.addText(h,{x:p,y:f,w:F,h:i,align:"center",valign:"middle",fontSize:10,bold:true,color:"333333"});});}_e.exports={addPyramidHierarchy:pr};});var Ke=x((Nl,Ze)=>{function yr(t,a,r={}){let{x:e=1,y:n=1,w:o=6,h:d=4,type:c="laptop"}=r,l="333333";c==="laptop"?(t.addShape("roundRect",{x:e,y:n,w:o,h:d*.85,fill:l,rounding:.05}),t.addShape("rect",{x:e+.2,y:n+.2,w:o-.4,h:d*.85-.4,fill:"000000"}),a&&t.addImage({path:a,x:e+.2,y:n+.2,w:o-.4,h:d*.85-.4,sizing:{type:"contain",w:o-.4,h:d*.85-.4}}),t.addShape("trapezoid",{x:e-.4,y:n+d*.85,w:o+.8,h:d*.15,fill:"555555",flipV:true})):(t.addShape("roundRect",{x:e,y:n,w:o,h:d,fill:l,rounding:.1}),t.addShape("rect",{x:e+.3,y:n+.3,w:o-.6,h:d-.6,fill:"000000"}),a&&t.addImage({path:a,x:e+.3,y:n+.3,w:o-.6,h:d-.6,sizing:{type:"cover",w:o-.6,h:d-.6}}));}Ze.exports={addDeviceMockup:yr};});var Qe=x((Rl,Je)=>{function gr(t,a=[],r={}){let{x:e=1,y:n=1,w:o=6,headerColor:d="007AFF",bodyColor:c="F5F5F5"}=r,l=n;a.forEach(i=>{t.addShape("rect",{x:e,y:l,w:o,h:.5,fill:d}),t.addText(`+ ${i.title}`,{x:e+.2,y:l,w:o-.4,h:.5,color:"FFFFFF",bold:true,valign:"middle",fontSize:12}),l+=.5;let h=.8;t.addShape("rect",{x:e,y:l,w:o,h,fill:c,line:{color:"DDDDDD"}}),t.addText(i.content,{x:e+.2,y:l,w:o-.4,h,color:"333333",valign:"top",fontSize:11}),l+=h+.1;});}Je.exports={addAccordionList:gr};});var eo=x((Ol,to)=>{function wr(t,a="green",r={}){let{x:e=1,y:n=1,w:o=1,h:d=3}=r;t.addShape("roundRect",{x:e,y:n,w:o,h:d,fill:"333333",rounding:.2});let c=[{color:"FF0000",id:"red"},{color:"FFA500",id:"amber"},{color:"00FF00",id:"green"}],l=o*.6,i=(d-c.length*l)/4;c.forEach((h,s)=>{let f=h.id===a,u=n+i+s*(l+i);t.addShape("oval",{x:e+(o-l)/2,y:u,w:l,h:l,fill:f?h.color:"#555555",line:{color:"000000",width:1}});});}to.exports={addTrafficLight:wr};});var no=x((Ul,oo)=>{function Sr(t,a=["A","B"],r={}){let{x:e=2,y:n=2,w:o=6,h:d=3,colors:c=["FF0000","0000FF","00FF00"],opacity:l=50}=r,i=2.5,h=.8;a.forEach((s,f)=>{let u=e+f*(i-h),F=n;t.addShape("oval",{x:u,y:F,w:i,h:i,fill:{color:c[f%c.length],transparency:100-l},line:{color:"FFFFFF",width:1}}),t.addText(s,{x:u,y:F+i/2-.2,w:i,h:.4,align:"center",bold:true,fontSize:14});});}oo.exports={addVennDiagram:Sr};});var ao=x((Vl,ro)=>{function mr(t,a,r={}){let{x:e=1,y:n=1,w:o=8,h:d=4,nodeW:c=1.5,nodeH:l=.6,gapX:i=.2,gapY:h=.8,color:s="007AFF"}=r,f=e+(o-c)/2,u=n;if(t.addShape("rect",{x:f,y:u,w:c,h:l,fill:s,line:{color:"FFFFFF"}}),t.addText(a.name,{x:f,y:u,w:c,h:l,color:"FFFFFF",bold:true,align:"center",fontSize:11}),a.role&&t.addText(a.role,{x:f,y:u+.35,w:c,h:.25,color:"E0E0E0",align:"center",fontSize:9}),a.children&&a.children.length>0){let F=a.children.length,p=F*c+(F-1)*i,y=e+(o-p)/2,g=u+l+h;t.addShape("line",{x:f+c/2,y:u+l,w:0,h:h/2,line:{color:"333333",width:1}}),t.addShape("line",{x:y+c/2,y:u+l+h/2,w:p-c,h:0,line:{color:"333333",width:1}}),a.children.forEach((w,b)=>{let S=y+b*(c+i);t.addShape("line",{x:S+c/2,y:u+l+h/2,w:0,h:h/2,line:{color:"333333",width:1}}),t.addShape("rect",{x:S,y:g,w:c,h:l,fill:"FFFFFF",line:{color:s}}),t.addText(w.name,{x:S,y:g,w:c,h:l,color:"333333",bold:true,align:"center",fontSize:10});});}}ro.exports={addOrgChart:mr};});var lo=x((_l,co)=>{function br(t,a,r=[],e={}){let {x:n=1,y:o=1,w:d=5,h:c=4,headerColor:l="D32F2F"}=e,i=7,s=d/i,f=(c-.5)/5;t.addShape("rect",{x:n,y:o,w:d,h:.5,fill:l}),t.addText(a,{x:n,y:o,w:d,h:.5,color:"FFFFFF",bold:true,align:"center"});let u=1;for(let F=0;F<5;F++)for(let p=0;p<7&&!(u>31);p++){let y=n+p*s,g=o+.5+F*f,w=r.find(S=>S.day===u),b=w?w.color||"FFF3E0":"FFFFFF";t.addShape("rect",{x:y,y:g,w:s,h:f,fill:b,line:{color:"CCCCCC"}}),t.addText(String(u),{x:y+.05,y:g+.05,w:.3,h:.3,fontSize:9,color:"666666"}),w&&t.addText(w.title,{x:y,y:g+.2,w:s,h:f-.2,fontSize:8,align:"center",valign:"middle",bold:true}),u++;}}co.exports={addCalendarGrid:br};});var ho=x((jl,io)=>{function Cr(t,a=[],r={}){let{x:e=1,y:n=1,w:o=8,h:d=4,barColor:c="007AFF"}=r;t.addShape("line",{x:e+2,y:n+.4,w:o-2,h:0,line:{color:"CCCCCC"}});let l=(d-.5)/(a.length||1);a.forEach((i,h)=>{let s=n+.5+h*l;t.addText(i.name,{x:e,y:s,w:1.8,h:l*.6,fontSize:10,bold:true,valign:"middle"});let f=e+2+i.start*(o-2),u=(i.end-i.start)*(o-2);t.addShape("rect",{x:f,y:s+.1,w:u,h:l*.4,fill:i.color||c,rounding:.1});});}io.exports={addGanttChart:Cr};});var fo=x((Zl,so)=>{function Tr(t,a,r={}){let{x:e=1,y:n=1,w:o=4,h:d=5,accent:c="9C27B0"}=r;t.addShape("rect",{x:e,y:n,w:o,h:d,fill:"F9F9F9",line:{color:"DDDDDD"}}),t.addShape("rect",{x:e,y:n,w:o,h:.15,fill:c}),t.addShape("oval",{x:e+.3,y:n+.4,w:1,h:1,fill:"CCCCCC"}),t.addText(a.name,{x:e+1.5,y:n+.4,w:o-1.6,h:.5,fontSize:16,bold:true,color:"333333"}),t.addText(a.role,{x:e+1.5,y:n+.8,w:o-1.6,h:.4,fontSize:12,color:c}),t.addText(`"${a.quote}"`,{x:e+.3,y:n+1.6,w:o-.6,h:.6,italic:true,fontSize:11,color:"666666"});let l=(i,h,s)=>{t.addText(i,{x:e+.3,y:s,w:o-.6,h:.3,bold:true,fontSize:10}),h.forEach((f,u)=>{t.addText(`\u2022 ${f}`,{x:e+.3,y:s+.3+u*.25,w:o-.6,h:.25,fontSize:9});});};a.goals&&l("GOALS",a.goals,n+2.4),a.frustrations&&l("FRUSTRATIONS",a.frustrations,n+3.8);}so.exports={addPersonaCard:Tr};});var xo=x((Kl,uo)=>{function zr(t,a=[],r={}){let{x:e=1,y:n=1,w:o=5,h:d=5,xAxis:c="Effort",yAxis:l="Impact"}=r,i=o/2,h=d/2,s=["E3F2FD","E8F5E9","FFF3E0","FFEBEE"];[{ox:0,oy:0},{ox:i,oy:0},{ox:0,oy:h},{ox:i,oy:h}].forEach((u,F)=>{t.addShape("rect",{x:e+u.ox,y:n+u.oy,w:i,h,fill:s[F]}),a[F]&&t.addText(a[F],{x:e+u.ox,y:n+u.oy,w:i,h,align:"center",valign:"middle",bold:true,color:"555555"});}),t.addText(l,{x:e-.6,y:n,w:.5,h:d,rotate:270,align:"center",bold:true}),t.addText(c,{x:e,y:n+d+.1,w:o,h:.5,align:"center",bold:true});}uo.exports={addMatrixGrid:zr};});var po=x((Jl,Fo)=>{function vr(t,a,r=[],e={}){let{x:n=4,y:o=2.5,w:d=6,h:c=4}=e;t.addShape("oval",{x:n,y:o,w:1.5,h:1,fill:"FFFFFF",line:{color:"000000",width:2}}),t.addText(a,{x:n,y:o,w:1.5,h:1,align:"center",valign:"middle",bold:true});let l=2*Math.PI/r.length,i=2.5;r.forEach((h,s)=>{let f=s*l,u=n+.75+Math.cos(f)*i,F=o+.5+Math.sin(f)*i;t.addShape("line",{x:n+.75,y:o+.5,w:u-(n+.75),h:F-(o+.5),line:{color:"666666"}}),t.addShape("roundRect",{x:u-.75,y:F-.3,w:1.5,h:.6,fill:"F0F0F0",line:{color:"999999"}}),t.addText(h,{x:u-.75,y:F-.3,w:1.5,h:.6,align:"center",valign:"middle",fontSize:10});});}Fo.exports={addMindMap:vr};});var go=x((Ql,yo)=>{function Er(t,a=[],r={}){let{x:e=1,y:n=1,w:o=8,currency:d="$"}=r;t.addShape("rect",{x:e,y:n,w:o,h:.5,fill:"333333"}),t.addText("Description",{x:e+.2,y:n,w:o/2,h:.5,color:"FFFFFF",valign:"middle"}),t.addText("Amount",{x:e+o-2,y:n,w:2,h:.5,color:"FFFFFF",valign:"middle",align:"right"});let c=n+.5,l=0;a.forEach((i,h)=>{let s=h%2===0?"F9F9F9":"FFFFFF";t.addShape("rect",{x:e,y:c,w:o,h:.4,fill:s}),t.addText(i.desc,{x:e+.2,y:c,w:o/2,h:.4,valign:"middle",fontSize:11}),t.addText(`${d}${i.amount}`,{x:e+o-2,y:c,w:2,h:.4,valign:"middle",align:"right",fontSize:11}),l+=i.amount,c+=.4;}),t.addShape("line",{x:e,y:c,w:o,h:0,line:{color:"000000"}}),t.addText("TOTAL",{x:e+o-4,y:c+.1,w:2,h:.5,bold:true,align:"right"}),t.addText(`${d}${l}`,{x:e+o-2,y:c+.1,w:2,h:.5,bold:true,align:"right",fontSize:14});}yo.exports={addInvoiceTable:Er};});var So=x((t0,wo)=>{function qr(t,a,r="Certificate of Appreciation",e={}){let{x:n=.5,y:o=.5,w:d=9,h:c=4.63}=e;t.addShape("rect",{x:n,y:o,w:d,h:c,line:{color:"C5A059",width:4},fill:{color:void 0}}),t.addShape("rect",{x:n+.2,y:o+.2,w:d-.4,h:c-.4,line:{color:"C5A059",width:1},fill:{color:void 0}}),t.addText(r,{x:n,y:o+1,w:d,h:1,align:"center",fontFace:"Georgia",fontSize:32,bold:true,color:"333333"}),t.addText("Presented to",{x:n,y:o+2,w:d,h:.5,align:"center",fontSize:14,color:"666666"}),t.addText(a,{x:n,y:o+2.5,w:d,h:1,align:"center",fontFace:"Arial",fontSize:40,bold:true,color:"C5A059"});}wo.exports={addCertificateFrame:qr};});var bo=x((e0,mo)=>{function Dr(t,a,r,e,n={}){let{x:o=1,y:d=1,w:c=8,h:l=3,imagePosition:i="left"}=n,h=c/2,s=i==="left"?o:o+h,f=i==="left"?o+h:o;e?t.addImage({path:e,x:s+.2,y:d+.2,w:h-.4,h:l-.4,sizing:{type:"contain"}}):(t.addShape("rect",{x:s+.2,y:d+.2,w:h-.4,h:l-.4,fill:"EEEEEE"}),t.addText("Image",{x:s,y:d,w:h,h:l,align:"center",valign:"middle"})),t.addText(a,{x:f+.2,y:d+.5,w:h-.4,h:.5,bold:true,fontSize:18,color:"333333"}),t.addText(r,{x:f+.2,y:d+1.2,w:h-.4,h:l-1.2,fontSize:12,color:"666666",valign:"top"});}mo.exports={addSaaSFeatureBlock:Dr};});var To=x((o0,Co)=>{function Mr(t,a=[],r={}){let{x:e=1,y:n=1,w:o=6,h:d=3}=r,c=Math.max(...a.map(s=>Math.abs(s.value))),l=n+d/2,i=o/a.length*.6,h=o/a.length*.4;t.addShape("line",{x:e,y:l,w:o,h:0,line:{color:"333333"}}),a.forEach((s,f)=>{let u=Math.abs(s.value)/c*(d/2-.2),F=e+h/2+f*(i+h),p,y;s.value>=0?(p=l-u,y="4CAF50"):(p=l,y="F44336"),t.addShape("rect",{x:F,y:p,w:i,h:u,fill:y}),t.addText(s.label,{x:F,y:l+(s.value>=0?.1:-0.3),w:i,h:.3,fontSize:9,align:"center",color:"FFFFFF"});});}Co.exports={addWinLossChart:Mr};});var vo=x((n0,zo)=>{var{addSlide:Lr}=W(),{addText:M}=I();function Ar(t,a){let r=t.getPptx();a.split(/\n---\n/).forEach(n=>{let o=Lr(r),d=n.trim().split(`
|
|
3
|
-
`),c=1;d.forEach(l=>{l=l.trim(),l&&(l.startsWith("# ")?(M(o,l.replace("# ",""),{x:.5,y:.5,fontSize:32,bold:true,w:9}),c=1.5):l.startsWith("## ")?(M(o,l.replace("## ",""),{x:.5,y:c,fontSize:20,color:"666666",w:9}),c+=.8):l.startsWith("- ")?(M(o,l.replace("- ",""),{x:1,y:c,fontSize:16,bullet:true,w:8,h:.5}),c+=.6):(M(o,l,{x:1,y:c,fontSize:14,w:8}),c+=.6));});});}zo.exports={renderMarkdown:
|
|
4
|
-
`),s="569CD6",f="CE9178",u="6A9955",F="D4D4D4",p="DCDCAA",y=/\b(const|let|var|function|return|if|else|for|while|import|from|class)\b/g,g=/(['"`].*?['"`])/g,b=/\b([a-zA-Z0-9_]+)(?=\()/g,S=n+.2,E=c*.003;h.forEach(z=>{if(z.trim().startsWith("//"))t.addText(z,{x:e+.2,y:S,w:o-.4,h:E,fontSize:c,color:u,fontFace:"Courier New"});else {let m=[];z.split(/(\s+|[(){},.])/).forEach(C=>{let v=F;y.test(C)?v=s:g.test(C)?v=f:b.test(C)&&(v=p),m.push({text:C,options:{color:v,fontSize:c,fontFace:"Courier New"}});}),t.addText(m,{x:e+.2,y:S,w:o-.4,h:E,align:"left"});}S+=.25;});}Eo.exports={addSyntaxBlock:
|
|
5
|
-
`).map(r=>r.split(",").map(e=>e.trim()))}function
|
|
6
|
-
`),h=n+.2,s=c*.0035;i.forEach(f=>{let u="D4D4D4";f.startsWith("+")?u="4CAF50":f.startsWith("-")?u="F44336":f.startsWith("@@")&&(u="569CD6"),t.addText(f,{x:e+.2,y:h,w:o-.4,h:s,fontFace:"Courier New",fontSize:c,color:u,align:"left"}),h+=.25;});}jo.exports={addCodeDiff:
|
|
1
|
+
var k=(t=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(t,{get:(a,r)=>(typeof require<"u"?require:a)[r]}):t)(function(t){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+t+'" is not supported')});var x=(t,a)=>()=>(a||t((a={exports:{}}).exports,a),a.exports);var R=x((Nc,G)=>{var cn=k("pptxgenjs"),B=class{constructor(){this.pptx=new cn;}getPptx(){return this.pptx}async save(a="presentation.pptx"){await this.pptx.writeFile({fileName:a});}};G.exports=B;});var W=x((Gc,O)=>{function ln(t,a={}){return t.addSlide(a)}O.exports={addSlide:ln};});var I=x((Rc,U)=>{function dn(t,a,r={}){t.addText(a,{x:r.x??1,y:r.y??1,w:r.w??5,h:r.h??1,fontSize:r.fontSize??18,color:r.color??"000000",bold:r.bold??false,align:r.align??"left",fontFace:r.fontFace??"Arial"});}U.exports={addText:dn};});var _=x((Oc,V)=>{function hn(t,a,r={}){t.addShape(a,{x:r.x??1,y:r.y??1,w:r.w??2,h:r.h??2,fill:r.fill??"FFFFFF",line:r.line??{color:"000000"}});}V.exports={addShape:hn};});var H=x((Uc,j)=>{var sn=k("https"),fn=k("http");function un(t){return new Promise((a,r)=>{(t.startsWith("https")?sn:fn).get(t,n=>{if(n.statusCode!==200){r(new Error(`Failed to fetch image: Status Code ${n.statusCode}`));return}let o=[];n.on("data",d=>o.push(d)),n.on("end",()=>{let c=Buffer.concat(o).toString("base64");a(c);});}).on("error",n=>{r(n);});})}async function xn(t,a,r={}){let e=a.startsWith("http://")||a.startsWith("https://"),n=r.x??1,o=r.y??1,d=r.w??3,c=r.h??3;if(e)try{let l=await un(a),i=a.split(".").pop().split("?")[0]||"png";t.addImage({data:`image/${i};base64,${l}`,x:n,y:o,w:d,h:c});}catch(l){console.error(`Error loading remote image: ${a}`,l),t.addText("Image failed to load",{x:n,y:o,w:d,h:c,color:"FF0000"});}else t.addImage({path:a,x:n,y:o,w:d,h:c});}function Fn(t,a,r={}){t.addImage({path:a,x:r.x??1,y:r.y??1,w:r.w??3,h:r.h??3,...r});}j.exports={addImage:xn,addNativeImage:Fn};});var K=x((Vc,Z)=>{function pn(t,a,r,e={}){t.addText([{text:a,options:{hyperlink:{url:r},color:"0000FF",underline:true}}],{x:e.x??1,y:e.y??1,w:e.w??4,h:e.h??1,fontSize:e.fontSize??14});}Z.exports={addLink:pn};});var Q=x((_c,J)=>{function yn(t,a={}){var u,F,p,y;let{x:r,y:e,w:n,h:o,background:d="FFFFFF",border:c="DDDDDD",padding:l=.3,title:i,body:h,theme:s,shapeType:f}=a;if(!f)throw new Error("addCard: shapeType is required (e.g. pptx.ShapeType.rect)");t.addShape(f,{x:r,y:e,w:n,h:o,fill:d,line:{color:c},rounding:f==="roundRect"?.15:void 0}),i&&t.addText(i,{x:r+l,y:e+l,w:n-l*2,fontSize:((u=s==null?void 0:s.heading)==null?void 0:u.fontSize)||16,bold:true,color:((F=s==null?void 0:s.heading)==null?void 0:F.color)||"111111",align:"center"}),h&&t.addText(h,{x:r+l,y:e+l+.6,w:n-l*2,fontSize:((p=s==null?void 0:s.body)==null?void 0:p.fontSize)||12,color:((y=s==null?void 0:s.body)==null?void 0:y.color)||"444444",align:"center"});}J.exports={addCard:yn};});var et=x((jc,tt)=>{function gn(t,a,r={}){let e=a.map((n,o)=>n.map(d=>({text:String(d),options:{fontSize:r.fontSize||14,bold:o===0&&r.header!==false,fill:o===0?r.headerFill:void 0,color:r.color||"000000"}})));t.addTable(e,{x:r.x??1,y:r.y??1,w:r.w??8,border:r.border??{type:"solid",color:"CCCCCC"},colW:r.colW});}tt.exports={addTable:gn};});var nt=x((Zc,ot)=>{function wn(t,a,r,e={}){t.addChart(a,r,{x:e.x??1,y:e.y??1,w:e.w??6,h:e.h??4,title:e.title,showLegend:e.showLegend??true,chartColors:e.colors,animation:e.animation??"fade",showValue:e.showValue??true,showPercent:e.showPercent??false});}ot.exports={addChart:wn};});var at=x((Kc,rt)=>{function Sn(t,a){a.background&&(t.background={fill:a.background});}rt.exports={applyTheme:Sn};});var lt=x((Jc,ct)=>{var T={minimal:{background:"FFFFFF",heading:{fontSize:28,color:"111111",bold:true,fontFace:"Arial"},body:{fontSize:16,color:"444444",fontFace:"Arial"},accent:"E5E7EB"},brand:{background:"F8FAFC",heading:{fontSize:30,color:"0F172A",bold:true,fontFace:"Helvetica"},body:{fontSize:16,color:"334155",fontFace:"Helvetica"},accent:"2563EB"},dark:{background:"020617",heading:{fontSize:30,color:"FFFFFF",bold:true,fontFace:"Verdana"},body:{fontSize:16,color:"CBD5E1",fontFace:"Verdana"},accent:"38BDF8"}};function mn(t,a){T[t]={...T.minimal,...a,heading:{...T.minimal.heading,...a.heading},body:{...T.minimal.body,...a.body}};}function bn(t="minimal"){return typeof t=="object"?{...T.minimal,...t,heading:{...T.minimal.heading,...t.heading},body:{...T.minimal.body,...t.body}}:T[t]||T.minimal}ct.exports={getTheme:bn,registerTheme:mn,themes:T};});var it=x((Qc,dt)=>{function Cn(t,a={}){let{x:r=1,y:e=1,w:n=5,h:o=.3,percent:d=.5,color:c="007AFF",trackColor:l="E5E5EA",showLabel:i=true}=a;t.addShape("rect",{x:r,y:e,w:n,h:o,fill:l,line:{color:l},rounding:o/2}),d>0&&t.addShape("rect",{x:r,y:e,w:n*d,h:o,fill:c,line:{color:c},rounding:o/2}),i&&t.addText(`${Math.round(d*100)}%`,{x:r+n+.1,y:e,w:1,h:o,fontSize:10,color:"666666",align:"left",valign:"middle"});}dt.exports={addProgressBar:Cn};});var st=x((tl,ht)=>{function Tn(t,a={}){let{x:r=1,y:e=1,w:n=3,h:o=2,value:d="0",label:c="Metric",valueColor:l="000000",labelColor:i="666666",align:h="center"}=a;t.addText(d,{x:r,y:e,w:n,h:o*.6,fontSize:48,bold:true,color:l,align:h,valign:"bottom"}),t.addText(c,{x:r,y:e+o*.6,w:n,h:o*.4,fontSize:14,color:i,align:h,valign:"top"});}ht.exports={addStatMetric:Tn};});var ut=x((el,ft)=>{function zn(t,a,r={}){let{x:e=1,y:n=1,w:o=1.5,h:d=.4,backgroundColor:c="E1F5FE",color:l="0277BD",fontSize:i=10}=r;t.addShape("roundRect",{x:e,y:n,w:o,h:d,fill:c,line:{color:c},rounding:.5}),t.addText(a,{x:e,y:n,w:o,h:d,fontSize:i,color:l,align:"center",valign:"middle",bold:true});}ft.exports={addBadge:zn};});var Ft=x((ol,xt)=>{function vn(t,a,r={}){let{x:e=1,y:n=1,w:o=6,h:d=3,fontSize:c=11,background:l="1E1E1E",color:i="D4D4D4"}=r;t.addShape("rect",{x:e,y:n,w:o,h:d,fill:l,line:{color:"333333"}}),t.addText(a,{x:e+.2,y:n+.2,w:o-.4,h:d-.4,fontSize:c,color:i,fontFace:"Courier New",align:"left",valign:"top"});}xt.exports={addCodeBlock:vn};});var yt=x((nl,pt)=>{function En(t,a=[],r={}){let{x:e=1,y:n=3,w:o=8,color:d="007AFF",textColor:c="333333"}=r;if(a.length===0)return;let l=o/(a.length-1||1),i=n+.15;a.length>1&&t.addShape("line",{x:e,y:i,w:o,h:0,line:{color:d,width:2}}),a.forEach((h,s)=>{let f=e+s*l;t.addShape("oval",{x:f-.15,y:n,w:.3,h:.3,fill:"FFFFFF",line:{color:d,width:3}}),t.addText(h.title,{x:f-.75,y:n+.4,w:1.5,h:.5,fontSize:12,bold:true,color:c,align:"center",valign:"top"}),h.desc&&t.addText(h.desc,{x:f-.75,y:n+.8,w:1.5,h:1,fontSize:10,color:"666666",align:"center",valign:"top"});});}pt.exports={addTimeline:En};});var wt=x((rl,gt)=>{function qn(t,a=[],r={}){let{x:e=1,y:n=1,radius:o=.5,offset:d=.3,borderColor:c="FFFFFF"}=r;a.forEach((l,i)=>{let h=e+i*(o-d);t.addShape("oval",{x:h-.02,y:n-.02,w:o+.04,h:o+.04,fill:c}),l.image?t.addImage({path:l.image,x:h,y:n,w:o,h:o,sizing:{type:"cover",w:o,h:o},rounding:true}):(t.addShape("oval",{x:h,y:n,w:o,h:o,fill:l.color||"CCCCCC"}),t.addText(l.initials||"U",{x:h,y:n,w:o,h:o,align:"center",valign:"middle",fontSize:10,color:"FFFFFF"}));});}gt.exports={addAvatarGroup:qn};});var mt=x((al,St)=>{function Dn(t,a,r,e={}){let{x:n=1,y:o=1,w:d=6,h:c=2.5,bg:l="F9F9F9",accent:i="007AFF"}=e;t.addShape("roundRect",{x:n,y:o,w:d,h:c,fill:l,line:{color:"EFEFEF"},rounding:.2}),t.addText("\u201C",{x:n+.2,y:o+.2,w:1,h:1,fontSize:60,color:i,fontFace:"Georgia"}),t.addText(a,{x:n+.8,y:o+.4,w:d-1,h:c-1,fontSize:14,color:"333333",italic:true,valign:"top"}),t.addText(`\u2014 ${r}`,{x:n+.8,y:o+c-.6,w:d-1,h:.4,fontSize:12,bold:true,color:"555555",align:"right"});}St.exports={addTestimonialCard:Dn};});var Ct=x((cl,bt)=>{function Mn(t,a,r="info",e={}){let{x:n=1,y:o=1,w:d=8,h:c=.8}=e,l,i,h;switch(r){case "success":l="E8F5E9",i="4CAF50",h="\u2713";break;case "warning":l="FFF3E0",i="FF9800",h="!";break;case "error":l="FFEBEE",i="F44336",h="\u2715";break;default:l="E3F2FD",i="2196F3",h="i";break}t.addShape("rect",{x:n,y:o,w:d,h:c,fill:l,line:{color:i,width:2}}),t.addShape("rect",{x:n,y:o,w:.6,h:c,fill:i}),t.addText(h,{x:n,y:o,w:.6,h:c,color:"FFFFFF",align:"center",valign:"middle",bold:true,fontSize:18}),t.addText(a,{x:n+.7,y:o,w:d-.8,h:c,color:"333333",valign:"middle",fontSize:12});}bt.exports={addAlertBox:Mn};});var zt=x((ll,Tt)=>{function Ln(t,a=[],r={}){let{x:e=1,y:n=1,w:o=5,itemHeight:d=.5,gap:c=.1,iconColor:l="007AFF",textColor:i="333333"}=r;a.forEach((h,s)=>{let f=n+s*(d+c);t.addShape("oval",{x:e,y:f+.1,w:.25,h:.25,fill:l}),t.addText("\u2713",{x:e,y:f+.1,w:.25,h:.25,color:"FFFFFF",fontSize:10,align:"center",valign:"middle"}),t.addText(h,{x:e+.4,y:f,w:o-.4,h:d,fontSize:14,color:i,valign:"middle"});});}Tt.exports={addIconList:Ln};});var Et=x((dl,vt)=>{function An(t,a=[],r={}){var s;let{x:e=1,y:n=1,w:o=8,theme:d=r.theme||{},accentColor:c=d.accent||"3F51B5",fontFace:l=((s=d.body)==null?void 0:s.fontFace)||"Inter",itemGap:i=.15}=r,h=n;a.forEach((f,u)=>{let F=typeof f=="string"?f:f.title||"",p=typeof f=="object"?f.desc:null,y=typeof f=="object"?f.icon:null;if(!F&&!p&&!y)return;let g=p?.9:.5;t.addShape("rect",{x:e,y:h,w:o,h:g,fill:{color:"F8F9FA"},line:{color:"E9ECEF",width:1}}),t.addShape("rect",{x:e,y:h,w:.05,h:g,fill:{color:c}});let w=.3,b=e+.15,S=h+g/2-w/2;(y||u>=0)&&t.addText(String(y||u+1),{x:b,y:S,w,h:w,fontSize:12,bold:true,color:c,align:"center",valign:"middle",fontFace:l}),t.addText(String(F),{x:e+.5,y:h+(p?.15:0),w:o-.7,h:.3,fontSize:14,bold:true,color:"212529",fontFace:l,valign:p?"top":"middle"}),p&&t.addText(String(p),{x:e+.5,y:h+.45,w:o-.8,h:.4,fontSize:11,color:"495057",fontFace:l,valign:"top"}),h+=g+i;});}vt.exports={addModernBulletList:An};});var kt=x((il,At)=>{var Lt={disc:"\u2022",circle:"\u25CB",square:"\u25A0",dash:"\u2013",arrow:"\u2192",chevron:"\u203A",check:"\u2713",star:"\u2605",diamond:"\u25C6",triangle:"\u25B8",decimal:"decimal",alpha:"alpha",alphaUpper:"alphaUpper",roman:"roman",romanUpper:"romanUpper"};function qt(t,a=false){let r=[{value:1e3,numeral:"m"},{value:900,numeral:"cm"},{value:500,numeral:"d"},{value:400,numeral:"cd"},{value:100,numeral:"c"},{value:90,numeral:"xc"},{value:50,numeral:"l"},{value:40,numeral:"xl"},{value:10,numeral:"x"},{value:9,numeral:"ix"},{value:5,numeral:"v"},{value:4,numeral:"iv"},{value:1,numeral:"i"}],e="";for(let{value:n,numeral:o}of r)for(;t>=n;)e+=o,t-=n;return a?e.toUpperCase():e}function Dt(t,a=false){let r="";for(;t>0;)t--,r=String.fromCharCode(97+t%26)+r,t=Math.floor(t/26);return a?r.toUpperCase():r}function kn(t,a,r=1){let e=r+t;switch(a){case "decimal":return `${e}.`;case "alpha":return `${Dt(e,false)}.`;case "alphaUpper":return `${Dt(e,true)}.`;case "roman":return `${qt(e,false)}.`;case "romanUpper":return `${qt(e,true)}.`;default:return Lt[a]||a||"\u2022"}}function Mt(t){return ["decimal","alpha","alphaUpper","roman","romanUpper"].includes(t)}function D(t,a=[],r={}){var L;let{x:e=1,y:n=1,w:o=8,bulletStyle:d="disc",fontSize:c=14,lineHeight:l=1.5,color:i="333333",bulletColor:h=null,fontFace:s="Arial",bold:f=false,italic:u=false,indent:F=.3,bulletWidth:p=.25,startNumber:y=1,nestedIndent:g=.4,theme:w={}}=r,b=i||w.text||"333333",S=h||w.accent||b,E=s||((L=w.body)==null?void 0:L.fontFace)||"Arial",z=c/72*l,q=n;return a.forEach((m,$)=>{let C=typeof m=="object"&&m!==null,v=C?m.text||m.title||"":String(m),on=C&&m.indent||0,A=C&&m.bulletStyle?m.bulletStyle:d;if(!v)return;let X=on*g,N=e+X,nn=N+p+F,rn=o-X-p-F,an=kn($,A,y);t.addText(an,{x:N,y:q,w:p,h:z,fontSize:c,color:S,fontFace:E,bold:Mt(A)?f:false,align:Mt(A)?"right":"center",valign:"top"}),t.addText(v,{x:nn,y:q,w:rn,h:z,fontSize:c,color:b,fontFace:E,bold:C?m.bold??f:f,italic:C?m.italic??u:u,valign:"top"}),q+=z;}),{endY:q}}function Bn(t,a=[],r={}){let e=r.bulletStyle||"disc";return D(t,a,{...r,bulletStyle:e})}function Wn(t,a=[],r={}){let e=r.bulletStyle||"decimal";return D(t,a,{...r,bulletStyle:e})}function In(t,a=[],r={}){let e=a.map(n=>{if(typeof n=="object"&&n!==null){let o=n.checked??false;return {...n,bulletStyle:o?"check":"circle"}}return n});return D(t,e,{...r,bulletStyle:"circle"})}At.exports={addList:D,addUnorderedList:Bn,addOrderedList:Wn,addChecklist:In,BULLET_STYLES:Lt};});var Wt=x((hl,Bt)=>{function Hn(t,a,r={}){let{x:e=1,y:n=1,w:o=2.5,h:d=4,headerColor:c="333333",priceColor:l="007AFF"}=r;t.addShape("rect",{x:e,y:n,w:o,h:d,line:{color:"DDDDDD"},fill:"FFFFFF"}),t.addShape("rect",{x:e,y:n,w:o,h:.8,fill:c}),t.addText(a.name,{x:e,y:n,w:o,h:.8,color:"FFFFFF",bold:true,align:"center",valign:"middle",fontSize:14}),t.addText(a.price,{x:e,y:n+.9,w:o,h:.6,color:l,bold:true,align:"center",fontSize:24});let i=n+1.6;a.features&&a.features.forEach((h,s)=>{t.addText(h,{x:e+.2,y:i+s*.4,w:o-.4,h:.4,fontSize:10,align:"center",color:"666666"});}),t.addShape("roundRect",{x:e+.4,y:n+d-.7,w:o-.8,h:.4,fill:l,rounding:.5}),t.addText("Select",{x:e+.4,y:n+d-.7,w:o-.8,h:.4,color:"FFFFFF",fontSize:10,bold:true,align:"center",valign:"middle"});}Bt.exports={addPricingColumn:Hn};});var Ht=x((sl,It)=>{function Yn(t,a=[],r={}){let{x:e=1,y:n=1,w:o=4,gap:d=.8,color:c="007AFF"}=r,l=(a.length-1)*d;a.length>1&&t.addShape("line",{x:e+.15,y:n+.15,w:0,h:l,line:{color:"CCCCCC",width:2}}),a.forEach((i,h)=>{let s=n+h*d;t.addShape("oval",{x:e,y:s,w:.3,h:.3,fill:c}),t.addText(String(h+1),{x:e,y:s,w:.3,h:.3,color:"FFFFFF",fontSize:10,bold:true,align:"center",valign:"middle"}),t.addText(i.title,{x:e+.5,y:s-.1,w:o-.5,h:.3,bold:true,fontSize:12}),i.desc&&t.addText(i.desc,{x:e+.5,y:s+.15,w:o-.5,h:.4,fontSize:10,color:"666666"});});}It.exports={addStepProcess:Yn};});var Pt=x((fl,Yt)=>{function Pn(t,a,r,e={}){let{x:n=1,y:o=1,w:d=8,h:c=4,leftColor:l="E8F5E9",rightColor:i="FFEBEE"}=e,h=d/2;t.addShape("rect",{x:n,y:o,w:h,h:c,fill:l}),t.addShape("rect",{x:n+h,y:o,w:h,h:c,fill:i}),t.addText(a.title,{x:n,y:o,w:h,h:.5,bold:true,align:"center",fontSize:16}),t.addText(r.title,{x:n+h,y:o,w:h,h:.5,bold:true,align:"center",fontSize:16});let s={fontSize:12,bullet:true,color:"333333"};a.items.forEach((f,u)=>{t.addText(f,{x:n+.2,y:o+.6+u*.4,w:h-.4,h:.4,...s});}),r.items.forEach((f,u)=>{t.addText(f,{x:n+h+.2,y:o+.6+u*.4,w:h-.4,h:.4,...s});});}Yt.exports={addComparisonTable:Pn};});var Xt=x((ul,$t)=>{function $n(t,a=0,r={}){let{x:e=1,y:n=1,w:o=2,h:d=.4,max:c=5,fillColor:l="FFD700",emptyColor:i="E0E0E0"}=r,h=d,s=.1;for(let f=1;f<=c;f++){let u=f<=a,F=e+(f-1)*(h+s);t.addText("\u2605",{x:F,y:n,w:h,h,color:u?l:i,fontSize:h*40});}}$t.exports={addRatingStars:$n};});var Gt=x((xl,Nt)=>{function Xn(t,a=[],r={}){let{x:e=.5,y:n=.3,fontSize:o=10,color:d="888888"}=r,c=e;a.forEach((l,i)=>{let h=i===a.length-1,s=l.length*.09;t.addText(l,{x:c,y:n,w:s,h:.3,fontSize:o,color:h?"000000":d,bold:h}),c+=s,h||(t.addText(">",{x:c,y:n,w:.2,h:.3,fontSize:o,color:d,align:"center"}),c+=.2);});}Nt.exports={addBreadcrumbNav:Xn};});var Ot=x((Fl,Rt)=>{function Nn(t,a=[],r={}){let {x:e=1,y:n=1,w:o=5,bgColors:d=["E3F2FD","E8F5E9","FFF3E0","F3E5F5"],fontSize:c=10}=r,l=e,i=n,h=.4;a.forEach((f,u)=>{let F=f.length*.1+.4;l+F>e+o&&(l=e,i+=h+.1);let p=d[u%d.length];t.addShape("roundRect",{x:l,y:i,w:F,h,fill:p,line:{color:p},rounding:.5}),t.addText(f,{x:l,y:i,w:F,h,fontSize:c,color:"333333",align:"center",valign:"middle"}),l+=F+.1;});}Rt.exports={addTagCloud:Nn};});var Vt=x((pl,Ut)=>{function Gn(t,a,r=[],e={}){let{x:n=1,y:o=1,w:d=3,h:c=5,bgColor:l="F4F5F7"}=e;t.addShape("rect",{x:n,y:o,w:d,h:c,fill:l,rounding:.1}),t.addText(a,{x:n+.1,y:o+.1,w:d-.2,h:.4,bold:true,fontSize:12,color:"172B4D"});let i=o+.6;r.forEach(h=>{t.addShape("rect",{x:n+.1,y:i,w:d-.2,h:.8,fill:"FFFFFF",line:{color:"DFE1E6"}}),t.addText(h,{x:n+.2,y:i,w:d-.4,h:.8,fontSize:10,color:"333333",valign:"middle"}),i+=.9;});}Ut.exports={addKanbanColumn:Gn};});var jt=x((yl,_t)=>{function Rn(t,a,r,e={}){let{x:n=4,y:o=3,w:d=3,h:c=.6,color:l="007AFF"}=e;t.addShape("roundRect",{x:n,y:o,w:d,h:c,fill:l,line:{color:l},rounding:.5}),t.addText(a,{x:n,y:o,w:d,h:c,color:"FFFFFF",bold:true,fontSize:14,align:"center",valign:"middle",hyperlink:{url:r}});}_t.exports={addCallToAction:Rn};});var Kt=x((gl,Zt)=>{function On(t,a={}){let{x:r=1,y:e=1,w:n=4,h:o=4,color:d="F0F4FF",opacity:c=100}=a;t.addShape("oval",{x:r,y:e,w:n,h:o*.8,fill:{color:d,transparency:100-c},line:{color:void 0}}),t.addShape("oval",{x:r-n*.1,y:e+o*.1,w:n*.9,h:o*.9,rotate:45,fill:{color:d,transparency:100-c}}),t.addShape("oval",{x:r+n*.2,y:e-o*.1,w:n*.7,h:o*.7,rotate:-30,fill:{color:d,transparency:100-c}});}Zt.exports={addOrganicBlob:On};});var Qt=x((wl,Jt)=>{function Un(t,a="bottom",r={}){let{color:e="007AFF",opacity:n=100,slideWidth:o=10,slideHeight:d=5.63,amplitude:c=1.5}=r,l=a==="top",i=o*1.5,h=c*4,s=(o-i)/2,f=l?-(h-c):d-c;t.addShape("oval",{x:s,y:f,w:i,h,fill:{color:e,transparency:100-n},line:{color:void 0}});}Jt.exports={addWaveDecoration:Un};});var ee=x((Sl,te)=>{function Vn(t,a={}){let{x:r=1,y:e=1,w:n=3,h:o=3,color:d="CCCCCC",rows:c=6,cols:l=6,size:i=.05}=a,h=(n-i)/(l-1),s=(o-i)/(c-1);for(let f=0;f<c;f++)for(let u=0;u<l;u++)t.addShape("oval",{x:r+u*h,y:e+f*s,w:i,h:i,fill:d,line:{color:void 0}});}te.exports={addDotPattern:Vn};});var ne=x((ml,oe)=>{function _n(t,a={}){let{x:r=1,y:e=1,w:n=4,h:o=.5,color:d="FFEB3B",opacity:c=50}=a;t.addShape("rect",{x:r,y:e,w:n,h:o,fill:{color:d,transparency:100-c},line:{color:void 0},rounding:1});}oe.exports={addBrushStroke:_n};});var ae=x((bl,re)=>{function jn(t,a={}){let{x:r=0,y:e=0,w:n=10,h:o=5.63,count:d=10,colors:c=["FF5722","00BCD4","FFC107"]}=a,l=["triangle","oval","rect","cross"];for(let i=0;i<d;i++){let h=r+Math.random()*n,s=e+Math.random()*o,f=.1+Math.random()*.2,u=l[Math.floor(Math.random()*l.length)],F=c[Math.floor(Math.random()*c.length)],p=Math.random()*360;t.addShape(u,{x:h,y:s,w:f,h:f,fill:F,rotate:p,line:{color:void 0}});}}re.exports={addGeometricConfetti:jn};});var le=x((Cl,ce)=>{function Zn(t,a={}){let{x:r=0,y:e=0,w:n=5,h:o=5,color:d="007AFF",opacity:c=50}=a;t.addShape("oval",{x:r,y:e,w:n,h:o,fill:{type:"gradient",gradientType:"radial",stops:[{position:0,color:d,alpha:(100-c)/100},{position:1,color:"FFFFFF",alpha:0}]},line:{color:void 0}});}ce.exports={addGradientMesh:Zn};});var ie=x((Tl,de)=>{function Kn(t,a={}){let{x:r=1,y:e=1,w:n=3,color:o="FF5722",thickness:d=3}=a;t.addShape("wave",{x:r,y:e,w:n,h:.2,fill:{color:void 0},line:{color:o,width:d},flipH:false,flipV:false});}de.exports={addSquiggleLine:Kn};});var se=x((zl,he)=>{function Jn(t,a="top-right",r={}){let{size:e=2,color:n="FFC107"}=r,o,d,c,l=10,i=5.63;switch(a){case "top-left":o=-e/2,d=-e/2,c=180;break;case "bottom-left":o=-e/2,d=i-e/2,c=270;break;case "bottom-right":o=l-e/2,d=i-e/2,c=0;break;default:o=l-e/2,d=-e/2,c=90;break}t.addShape("rtTriangle",{x:o,y:d,w:e,h:e,fill:n,rotate:c,line:{color:void 0}});}he.exports={addCornerAccent:Jn};});var ue=x((vl,fe)=>{function Qn(t,a={}){let {x:r=1,y:e=1,w:n=6,h:o=3.5,url:d="https://example.com",imagePath:c=null,barColor:l="E0E0E0",borderColor:i="D0D0D0"}=a,h=.4,s=.12;t.addShape("roundRect",{x:r,y:e,w:n,h:o,fill:"FFFFFF",line:{color:i},rounding:.1}),t.addShape("rect",{x:r,y:e,w:n,h,fill:l,rectRadius:.1}),["FF5F56","FFBD2E","27C93F"].forEach((g,w)=>{t.addShape("oval",{x:r+.15+w*(s+.08),y:e+(h-s)/2,w:s,h:s,fill:g,line:{color:void 0}});});let F=r+.8,p=n-1,y=h*.6;t.addShape("roundRect",{x:F,y:e+(h-y)/2,w:p,h:y,fill:"FFFFFF",line:{color:"CCCCCC",width:1},rounding:.5}),t.addText(d,{x:F+.1,y:e+(h-y)/2,w:p-.2,h:y,fontSize:8,color:"666666",valign:"middle"}),c&&t.addImage({path:c,x:r+.05,y:e+h+.05,w:n-.1,h:o-h-.1,sizing:{type:"contain",w:n-.1,h:o-h-.1}});}fe.exports={addBrowserWindow:Qn};});var Fe=x((El,xe)=>{function tr(t,a=[],r={}){let{x:e=1,y:n=5,iconSize:o=.4,gap:d=.2,color:c="555555"}=r,l={linkedin:"M19 0h-14c-2.761 0-5 2.239-5 5v14c0 2.761 2.239 5 5 5h14c2.762 0 5-2.239 5-5v-14c0-2.761-2.238-5-5-5zm-11 19h-3v-11h3v11zm-1.5-12.268c-.966 0-1.75-.79-1.75-1.764s.784-1.764 1.75-1.764 1.75.79 1.75 1.764-.783 1.764-1.75 1.764zm13.5 12.268h-3v-5.604c0-3.368-4-3.113-4 0v5.604h-3v-11h3v1.765c1.396-2.586 7-2.777 7 2.476v6.759z",twitter:"M24 4.557c-.883.392-1.832.656-2.828.775 1.017-.609 1.798-1.574 2.165-2.724-.951.564-2.005.974-3.127 1.195-.897-.957-2.178-1.555-3.594-1.555-3.179 0-5.515 2.966-4.797 6.045-4.091-.205-7.719-2.165-10.148-5.144-1.29 2.213-.669 5.108 1.523 6.574-.806-.026-1.566-.247-2.229-.616-.054 2.281 1.581 4.415 3.949 4.89-.693.188-1.452.232-2.224.084.626 1.956 2.444 3.379 4.6 3.419-2.07 1.623-4.678 2.348-7.29 2.04 2.179 1.397 4.768 2.212 7.548 2.212 9.142 0 14.307-7.721 13.995-14.646.962-.695 1.797-1.562 2.457-2.549z",github:"M12 0c-6.626 0-12 5.373-12 12 0 5.302 3.438 9.8 8.207 11.387.599.111.793-.261.793-.577v-2.234c-3.338.726-4.033-1.416-4.033-1.416-.546-1.387-1.333-1.756-1.333-1.756-1.089-.745.083-.729.083-.729 1.205.084 1.839 1.237 1.839 1.237 1.07 1.834 2.807 1.304 3.492.997.107-.775.418-1.305.762-1.604-2.665-.305-5.467-1.334-5.467-5.931 0-1.311.469-2.381 1.236-3.221-.124-.303-.535-1.524.117-3.176 0 0 1.008-.322 3.301 1.23.957-.266 1.983-.399 3.003-.404 1.02.005 2.047.138 3.006.404 2.291-1.552 3.297-1.23 3.297-1.23.653 1.653.242 2.874.118 3.176.77.84 1.235 1.911 1.235 3.221 0 4.609-2.807 5.624-5.479 5.921.43.372.823 1.102.823 2.222v3.293c0 .319.192.694.801.576 4.765-1.589 8.199-6.086 8.199-11.386 0-6.627-5.373-12-12-12z",web:"M12 0c-6.627 0-12 5.373-12 12s5.373 12 12 12 12-5.373 12-12-5.373-12-12-12zm1 16.057v-3.057h2.994c-.059 1.143-.212 2.183-.442 3.057h-2.552zm-2 0h-2.552c-.23-.874-.383-1.914-.442-3.057h2.994v3.057zm0-5.057v-3h2.994c.059 1.143.212 2.183.442 3h-3.436zm2-5.057v3.057h-2.994c.059-1.143.212-2.183.442-3.057h2.552zm-2 0h-2.552c-.23.874-.383 1.914-.442 3.057h2.994v-3.057zm-5.223 5.057h-2.613c.277-1.206.711-2.22 1.246-3h1.367v3zm2.684-5.057c.23-.874.524-1.66.863-2.348 1.12.564 2.062 1.353 2.766 2.348h-3.629zm5.352 5.057h2.613c-.277-1.206-.711-2.22-1.246-3h-1.367v3zm-5.029 8.057c-.23.874-.524 1.66-.863 2.348-1.12-.564-2.062-1.353-2.766-2.348h3.629zm2.345 2.348c-.339-.688-.633-1.474-.863-2.348h3.629c-.704.995-1.646 1.784-2.766 2.348zm5.297-2.348h2.613c-.277 1.206-.711 2.22-1.246 3h-1.367v-3zm-7.642 0h-2.613c.277 1.206.711 2.22 1.246 3h1.367v-3z",instagram:"M12 2.163c3.204 0 3.584.012 4.85.07 3.252.148 4.771 1.691 4.919 4.919.058 1.265.069 1.645.069 4.849 0 3.205-.012 3.584-.069 4.849-.149 3.225-1.664 4.771-4.919 4.919-1.266.058-1.644.07-4.85.07-3.204 0-3.584-.012-4.849-.07-3.26-.149-4.771-1.699-4.919-4.92-.058-1.265-.07-1.644-.07-4.849 0-3.204.013-3.583.07-4.849.149-3.227 1.664-4.771 4.919-4.919 1.266-.057 1.645-.069 4.849-.069zm0-2.163c-3.259 0-3.667.014-4.947.072-4.358.2-6.78 2.618-6.98 6.98-.059 1.281-.073 1.689-.073 4.948 0 3.259.014 3.668.072 4.948.2 4.358 2.618 6.78 6.98 6.98 1.281.058 1.689.072 4.948.072 3.259 0 3.668-.014 4.948-.072 4.354-.2 6.782-2.618 6.979-6.98.059-1.28.073-1.689.073-4.948 0-3.259-.014-3.667-.072-4.947-.196-4.354-2.617-6.78-6.979-6.98-1.281-.059-1.69-.073-4.949-.073zm0 5.838c-3.403 0-6.162 2.759-6.162 6.162s2.759 6.163 6.162 6.163 6.162-2.759 6.162-6.163c0-3.403-2.759-6.162-6.162-6.162zm0 10.162c-2.209 0-4-1.79-4-4 0-2.209 1.791-4 4-4s4 1.791 4 4c0 2.21-1.791 4-4 4zm6.406-11.845c-.796 0-1.441.645-1.441 1.44s.645 1.44 1.441 1.44c.795 0 1.439-.645 1.439-1.44s-.644-1.44-1.439-1.44z",facebook:"M24 12.073c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.99 4.388 10.954 10.125 11.854v-8.385H7.078v-3.47h3.047V9.43c0-3.007 1.792-4.669 4.533-4.669 1.312 0 2.686.235 2.686.235v2.953H15.83c-1.491 0-1.956.925-1.956 1.874v2.25h3.328l-.532 3.47h-2.796v8.385C19.612 23.027 24 18.062 24 12.073z"};a.forEach((i,h)=>{let s=e+h*(o+d),f=l[i.type.toLowerCase()];if(i.url&&t.addShape("rect",{x:s,y:n,w:o,h:o,fill:{color:"FFFFFF",transparency:99},hyperlink:{url:i.url}}),f){let u=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="#${c}"><path d="${f}"/></svg>`,F=Buffer.from(u).toString("base64");t.addImage({data:`data:image/svg+xml;base64,${F}`,x:s,y:n,w:o,h:o,hyperlink:i.url?{url:i.url}:void 0});}else t.addShape("oval",{x:s,y:n,w:o,h:o,fill:c});});}xe.exports={addSocialBar:tr};});var ye=x((ql,pe)=>{function er(t,a={}){let{x:r=0,y:e=0,w:n=10,h:o=5.63,cols:d=2,rows:c=1,gap:l=.2}=a,i=(n-l*(d-1))/d,h=(o-l*(c-1))/c;function s(f,u){return {x:r+f*(i+l),y:e+u*(h+l),w:i,h}}return {getCell:s,colWidth:i,rowHeight:h,cols:d,rows:c}}pe.exports={createGrid:er};});var we=x((Dl,ge)=>{function or(t={}){let{type:a="vertical",ratio:r=.5,gutter:e=0,w:n=10,h:o=5.63,x:d=0,y:c=0}=t;if(a==="vertical"){let l=n*r-e/2,i=n*(1-r)-e/2;return {left:{x:d,y:c,w:l,h:o},right:{x:d+l+e,y:c,w:i,h:o}}}else {let l=o*r-e/2,i=o*(1-r)-e/2;return {top:{x:d,y:c,w:n,h:l},bottom:{x:d,y:c+l+e,w:n,h:i}}}}ge.exports={getSplitScreen:or};});var me=x((Ml,Se)=>{function nr(t={}){let{w:a=10,h:r=5.63,margin:e=.5,gap:n=.4}=t,o=a-e*2,d=r-e*2,c=(o-n)/2,l=(d-n)/2;return {topLeft:{x:e,y:e,w:c,h:l},topRight:{x:e+c+n,y:e,w:c,h:l},bottomLeft:{x:e,y:e+l+n,w:c,h:l},bottomRight:{x:e+c+n,y:e+l+n,w:c,h:l}}}Se.exports={getZPattern:nr};});var Ce=x((Ll,be)=>{function rr(t={}){let{position:a="left",width:r=2.5,w:e=10,h:n=5.63}=t;return a==="left"?{sidebar:{x:0,y:0,w:r,h:n},main:{x:r,y:0,w:e-r,h:n}}:{main:{x:0,y:0,w:e-r,h:n},sidebar:{x:e-r,y:0,w:r,h:n}}}be.exports={getSidebarLayout:rr};});var ze=x((Al,Te)=>{function ar(t={}){let{align:a="center",w:r=10,h:e=5.63,padding:n=1}=t,o={x:0,y:0,w:r,h:e},d,c,l;return a==="center"?(d={x:0,y:e*.35,w:r,h:.8},c={x:0,y:e*.35+.8,w:r,h:.4},l={x:n,y:e*.35+1.3,w:r-n*2,h:1.2}):a==="left"&&(d={x:n,y:e*.35,w:r-n*2,h:.8},c={x:n,y:e*.35+.8,w:r-n*2,h:.4},l={x:n,y:e*.35+1.3,w:r-n*2,h:1.2}),{background:o,title:d,subtitle:c,description:l}}Te.exports={getHeroLayout:ar};});var Ee=x((kl,ve)=>{function cr(t=6,a={}){let{x:r=.5,y:e=.5,w:n=9,h:o=4.63,gap:d=.2,cols:c=void 0}=a,l=c;l||(t<=3?l=t:t===4?l=2:t<=6?l=3:l=4);let i=Math.ceil(t/l),h=(n-(l-1)*d)/l,s=(o-(i-1)*d)/i,f=[];for(let u=0;u<t;u++){let F=u%l,p=Math.floor(u/l);f.push({x:r+F*(h+d),y:e+p*(s+d),w:h,h:s});}return f}ve.exports={getGalleryLayout:cr};});var De=x((Bl,qe)=>{function lr(t="balanced",a={}){let{x:r=.5,y:e=.5,w:n=9,h:o=4.63,gap:d=.2}=a,c=(n-2*d)/3,l=(n-d)/2,i=(o-d)/2,h=o,s={"feature-left":[{x:r,y:e,w:l+c/2,h},{x:r+l+c/2+d,y:e,w:c*.8,h:i},{x:r+l+c/2+d,y:e+i+d,w:c*.8,h:i}],"feature-top":[{x:r,y:e,w:n,h:i},{x:r,y:e+i+d,w:c,h:i},{x:r+c+d,y:e+i+d,w:c,h:i},{x:r+2*(c+d),y:e+i+d,w:c,h:i}],balanced:[{x:r,y:e,w:c,h:i},{x:r+c+d,y:e,w:2*c+d,h:i},{x:r,y:e+i+d,w:2*c+d,h:i},{x:r+2*c+2*d,y:e+i+d,w:c,h:i}]};return s[t]||s.balanced}qe.exports={getBentoLayout:lr};});var Le=x((Wl,Me)=>{function dr(t=5,a={}){let{x:r=5,y:e=2.8,radius:n=2,itemSize:o=1}=a,d=[],c=2*Math.PI/t;for(let l=0;l<t;l++){let i=l*c-Math.PI/2,h=r+n*Math.cos(i)-o/2,s=e+n*Math.sin(i)-o/2;d.push({x:h,y:s,w:o,h:o,angle:i*180/Math.PI});}return d}Me.exports={getRadialLayout:dr};});var ke=x((Il,Ae)=>{function ir(t=2,a={}){let{x:r=.5,y:e=.5,w:n=9,h:o=4.63,gap:d=.5}=a,c=(o-(t-1)*d)/t,l=(n-d)/2,i=[];for(let h=0;h<t;h++){let s=h%2===0,f=e+h*(c+d);s?i.push({text:{x:r,y:f,w:l,h:c},media:{x:r+l+d,y:f,w:l,h:c}}):i.push({media:{x:r,y:f,w:l,h:c},text:{x:r+l+d,y:f,w:l,h:c}});}return i}Ae.exports={getCheckerboardLayout:ir};});var We=x((Hl,Be)=>{function hr(t=3,a={}){let{x:r=.5,y:e=.5,w:n=9,h:o=4.63,gap:d=.2,focusPosition:c="left"}=a,l=n*.6-d,i=n*.4,h=(o-(t-1)*d)/t,s={x:c==="left"?r:r+i+d,y:e,w:l,h:o},f=[],u=c==="left"?r+l+d:r;for(let F=0;F<t;F++)f.push({x:u,y:e+F*(h+d),w:i,h});return {focus:s,side:f}}Be.exports={getMagazineLayout:hr};});var He=x((Yl,Ie)=>{function sr(t=5,a={}){let{x:r=0,y:e=2,w:n=10,h:o=1.5,gap:d=.2}=a,c=(t-1)*d,l=(n-r*2-c)/t,i=[];for(let h=0;h<t;h++)i.push({x:r+h*(l+d),y:e,w:l,h:o});return i}Ie.exports={getFilmStripLayout:sr};});var Pe=x((Pl,Ye)=>{function fr(t,a=[],r={}){let{x:e=1,y:n=1,w:o=8,h:d=4,cols:c=3,gap:l=.3,iconColor:i="007AFF"}=r;if(a.length===0)return;let h=Math.ceil(a.length/c),s=(o-(c-1)*l)/c,f=(d-(h-1)*l)/h;a.forEach((u,F)=>{let p=F%c,y=Math.floor(F/c),g=e+p*(s+l),w=n+y*(f+l);t.addShape("oval",{x:g,y:w,w:.5,h:.5,fill:{color:i,transparency:80},line:{color:void 0}});let b=u.icon||u.title[0]||"\u2605";t.addText(b,{x:g,y:w,w:.5,h:.5,color:i,fontSize:14,align:"center",valign:"middle",bold:true}),t.addText(u.title,{x:g+.6,y:w,w:s-.6,h:.3,bold:true,fontSize:12,color:"333333"}),u.desc&&t.addText(u.desc,{x:g+.6,y:w+.3,w:s-.6,h:f-.3,fontSize:10,color:"666666",valign:"top"});});}Ye.exports={addFeatureGrid:fr};});var Xe=x(($l,$e)=>{function ur(t,a,r={}){let{x:e=1,y:n=1,w:o=2.5,h:d=4,bgColor:c="FFFFFF",borderColor:l="E0E0E0"}=r;t.addShape("rect",{x:e,y:n,w:o,h:d,fill:c,line:{color:l}});let i=o*.5,h=e+(o-i)/2,s=n+.3;a.image?t.addImage({path:a.image,x:h,y:s,w:i,h:i,sizing:{type:"cover",w:i,h:i},rounding:true}):t.addShape("oval",{x:h,y:s,w:i,h:i,fill:"CCCCCC"}),t.addText(a.name,{x:e,y:s+i+.2,w:o,h:.4,bold:true,fontSize:14,align:"center",color:"333333"}),t.addText(a.role,{x:e,y:s+i+.6,w:o,h:.3,fontSize:11,italic:true,align:"center",color:"007AFF"}),a.bio&&t.addText(a.bio,{x:e+.2,y:s+i+1,w:o-.4,h:d-(i+1.2),fontSize:10,align:"center",color:"666666",valign:"top"});}$e.exports={addTeamMemberProfile:ur};});var Ge=x((Xl,Ne)=>{function xr(t,a,r={}){let{x:e=1,y:n=1,w:o=8,h:d=5,gap:c=.1}=r,l=(o-c)/2,i=(d-c)/2;[{type:"Strengths",ox:0,oy:0,color:"E8F5E9",header:"S"},{type:"Weaknesses",ox:l+c,oy:0,color:"FFEBEE",header:"W"},{type:"Opportunities",ox:0,oy:i+c,color:"E3F2FD",header:"O"},{type:"Threats",ox:l+c,oy:i+c,color:"FFF3E0",header:"T"}].forEach(s=>{let f=e+s.ox,u=n+s.oy,F=a[s.type.toLowerCase()]||[];t.addShape("rect",{x:f,y:u,w:l,h:i,fill:s.color}),t.addShape("oval",{x:f+.2,y:u+.2,w:.5,h:.5,fill:"FFFFFF"}),t.addText(s.header,{x:f+.2,y:u+.2,w:.5,h:.5,bold:true,align:"center",valign:"middle",fontSize:14}),t.addText(s.type,{x:f+.8,y:u+.2,w:l-1,h:.5,bold:true,fontSize:14,valign:"middle"}),F.length>0&&t.addText(F.map(p=>`\u2022 ${p}`).join(`
|
|
2
|
+
`),{x:f+.3,y:u+.9,w:l-.6,h:i-1,fontSize:11,color:"333333",valign:"top"});});}Ne.exports={addSWOTMatrix:xr};});var Oe=x((Nl,Re)=>{function Fr(t,a=[],r={}){let{x:e=3,y:n=3,radius:o=2,color:d="007AFF"}=r;if(a.length===0)return;let c=2*Math.PI/a.length;a.forEach((l,i)=>{let h=i*c-Math.PI/2,s=e+o*Math.cos(h),f=n+o*Math.sin(h),u=1.2;t.addShape("oval",{x:s-u/2,y:f-u/2,w:u,h:u,fill:"FFFFFF",line:{color:d,width:3}}),t.addText(String(i+1),{x:s-u/2,y:f-u/2,w:u,h:.4,align:"center",valign:"bottom",fontSize:14,bold:true,color:d}),t.addText(l,{x:s-u/2+.1,y:f,w:u-.2,h:.5,align:"center",valign:"top",fontSize:10});});}Re.exports={addProcessCycle:Fr};});var Ve=x((Gl,Ue)=>{function pr(t,a=[],r={}){let{x:e=2,y:n=1,w:o=6,h:d=4,colors:c=["003f5c","58508d","bc5090","ff6361","ffa600"]}=r,l=a.length,i=d/l;a.forEach((h,s)=>{let f=n+s*i,u=c[s%c.length],F=o-s*(o*.5)/l;t.addShape("trapezoid",{x:e+(o-F)/2,y:f,w:F,h:i*.9,fill:u}),t.addText(h.label,{x:e,y:f,w:o,h:i*.9,align:"center",valign:"middle",color:"FFFFFF",bold:true}),h.value&&t.addText(h.value,{x:e+o+.2,y:f,w:1.5,h:i*.9,valign:"middle",fontSize:11,color:"666666"});});}Ue.exports={addFunnelDiagram:pr};});var je=x((Rl,_e)=>{function yr(t,a=[],r={}){let{x:e=3,y:n=1,w:o=4,h:d=4,colors:c=["FFCDD2","EF9A9A","E57373","EF5350","F44336"]}=r,l=a.length,i=d/l;a.forEach((h,s)=>{let f=n+s*i,u=(s+1)/l,F=o*u,p=e+(o-F)/2;t.addShape("rect",{x:p,y:f,w:F,h:i,fill:c[s%c.length],line:{color:"FFFFFF",width:1}}),t.addText(h,{x:p,y:f,w:F,h:i,align:"center",valign:"middle",fontSize:10,bold:true,color:"333333"});});}_e.exports={addPyramidHierarchy:yr};});var Ke=x((Ol,Ze)=>{function gr(t,a,r={}){let{x:e=1,y:n=1,w:o=6,h:d=4,type:c="laptop"}=r,l="333333";c==="laptop"?(t.addShape("roundRect",{x:e,y:n,w:o,h:d*.85,fill:l,rounding:.05}),t.addShape("rect",{x:e+.2,y:n+.2,w:o-.4,h:d*.85-.4,fill:"000000"}),a&&t.addImage({path:a,x:e+.2,y:n+.2,w:o-.4,h:d*.85-.4,sizing:{type:"contain",w:o-.4,h:d*.85-.4}}),t.addShape("trapezoid",{x:e-.4,y:n+d*.85,w:o+.8,h:d*.15,fill:"555555",flipV:true})):(t.addShape("roundRect",{x:e,y:n,w:o,h:d,fill:l,rounding:.1}),t.addShape("rect",{x:e+.3,y:n+.3,w:o-.6,h:d-.6,fill:"000000"}),a&&t.addImage({path:a,x:e+.3,y:n+.3,w:o-.6,h:d-.6,sizing:{type:"cover",w:o-.6,h:d-.6}}));}Ze.exports={addDeviceMockup:gr};});var Qe=x((Ul,Je)=>{function wr(t,a=[],r={}){let{x:e=1,y:n=1,w:o=6,headerColor:d="007AFF",bodyColor:c="F5F5F5"}=r,l=n;a.forEach(i=>{t.addShape("rect",{x:e,y:l,w:o,h:.5,fill:d}),t.addText(`+ ${i.title}`,{x:e+.2,y:l,w:o-.4,h:.5,color:"FFFFFF",bold:true,valign:"middle",fontSize:12}),l+=.5;let h=.8;t.addShape("rect",{x:e,y:l,w:o,h,fill:c,line:{color:"DDDDDD"}}),t.addText(i.content,{x:e+.2,y:l,w:o-.4,h,color:"333333",valign:"top",fontSize:11}),l+=h+.1;});}Je.exports={addAccordionList:wr};});var eo=x((Vl,to)=>{function Sr(t,a="green",r={}){let{x:e=1,y:n=1,w:o=1,h:d=3}=r;t.addShape("roundRect",{x:e,y:n,w:o,h:d,fill:"333333",rounding:.2});let c=[{color:"FF0000",id:"red"},{color:"FFA500",id:"amber"},{color:"00FF00",id:"green"}],l=o*.6,i=(d-c.length*l)/4;c.forEach((h,s)=>{let f=h.id===a,u=n+i+s*(l+i);t.addShape("oval",{x:e+(o-l)/2,y:u,w:l,h:l,fill:f?h.color:"#555555",line:{color:"000000",width:1}});});}to.exports={addTrafficLight:Sr};});var no=x((_l,oo)=>{function mr(t,a=["A","B"],r={}){let{x:e=2,y:n=2,w:o=6,h:d=3,colors:c=["FF0000","0000FF","00FF00"],opacity:l=50}=r,i=2.5,h=.8;a.forEach((s,f)=>{let u=e+f*(i-h),F=n;t.addShape("oval",{x:u,y:F,w:i,h:i,fill:{color:c[f%c.length],transparency:100-l},line:{color:"FFFFFF",width:1}}),t.addText(s,{x:u,y:F+i/2-.2,w:i,h:.4,align:"center",bold:true,fontSize:14});});}oo.exports={addVennDiagram:mr};});var ao=x((jl,ro)=>{function br(t,a,r={}){let{x:e=1,y:n=1,w:o=8,h:d=4,nodeW:c=1.5,nodeH:l=.6,gapX:i=.2,gapY:h=.8,color:s="007AFF"}=r,f=e+(o-c)/2,u=n;if(t.addShape("rect",{x:f,y:u,w:c,h:l,fill:s,line:{color:"FFFFFF"}}),t.addText(a.name,{x:f,y:u,w:c,h:l,color:"FFFFFF",bold:true,align:"center",fontSize:11}),a.role&&t.addText(a.role,{x:f,y:u+.35,w:c,h:.25,color:"E0E0E0",align:"center",fontSize:9}),a.children&&a.children.length>0){let F=a.children.length,p=F*c+(F-1)*i,y=e+(o-p)/2,g=u+l+h;t.addShape("line",{x:f+c/2,y:u+l,w:0,h:h/2,line:{color:"333333",width:1}}),t.addShape("line",{x:y+c/2,y:u+l+h/2,w:p-c,h:0,line:{color:"333333",width:1}}),a.children.forEach((w,b)=>{let S=y+b*(c+i);t.addShape("line",{x:S+c/2,y:u+l+h/2,w:0,h:h/2,line:{color:"333333",width:1}}),t.addShape("rect",{x:S,y:g,w:c,h:l,fill:"FFFFFF",line:{color:s}}),t.addText(w.name,{x:S,y:g,w:c,h:l,color:"333333",bold:true,align:"center",fontSize:10});});}}ro.exports={addOrgChart:br};});var lo=x((Zl,co)=>{function Cr(t,a,r=[],e={}){let {x:n=1,y:o=1,w:d=5,h:c=4,headerColor:l="D32F2F"}=e,i=7,s=d/i,f=(c-.5)/5;t.addShape("rect",{x:n,y:o,w:d,h:.5,fill:l}),t.addText(a,{x:n,y:o,w:d,h:.5,color:"FFFFFF",bold:true,align:"center"});let u=1;for(let F=0;F<5;F++)for(let p=0;p<7&&!(u>31);p++){let y=n+p*s,g=o+.5+F*f,w=r.find(S=>S.day===u),b=w?w.color||"FFF3E0":"FFFFFF";t.addShape("rect",{x:y,y:g,w:s,h:f,fill:b,line:{color:"CCCCCC"}}),t.addText(String(u),{x:y+.05,y:g+.05,w:.3,h:.3,fontSize:9,color:"666666"}),w&&t.addText(w.title,{x:y,y:g+.2,w:s,h:f-.2,fontSize:8,align:"center",valign:"middle",bold:true}),u++;}}co.exports={addCalendarGrid:Cr};});var ho=x((Kl,io)=>{function Tr(t,a=[],r={}){let{x:e=1,y:n=1,w:o=8,h:d=4,barColor:c="007AFF"}=r;t.addShape("line",{x:e+2,y:n+.4,w:o-2,h:0,line:{color:"CCCCCC"}});let l=(d-.5)/(a.length||1);a.forEach((i,h)=>{let s=n+.5+h*l;t.addText(i.name,{x:e,y:s,w:1.8,h:l*.6,fontSize:10,bold:true,valign:"middle"});let f=e+2+i.start*(o-2),u=(i.end-i.start)*(o-2);t.addShape("rect",{x:f,y:s+.1,w:u,h:l*.4,fill:i.color||c,rounding:.1});});}io.exports={addGanttChart:Tr};});var fo=x((Jl,so)=>{function zr(t,a,r={}){let{x:e=1,y:n=1,w:o=4,h:d=5,accent:c="9C27B0"}=r;t.addShape("rect",{x:e,y:n,w:o,h:d,fill:"F9F9F9",line:{color:"DDDDDD"}}),t.addShape("rect",{x:e,y:n,w:o,h:.15,fill:c}),t.addShape("oval",{x:e+.3,y:n+.4,w:1,h:1,fill:"CCCCCC"}),t.addText(a.name,{x:e+1.5,y:n+.4,w:o-1.6,h:.5,fontSize:16,bold:true,color:"333333"}),t.addText(a.role,{x:e+1.5,y:n+.8,w:o-1.6,h:.4,fontSize:12,color:c}),t.addText(`"${a.quote}"`,{x:e+.3,y:n+1.6,w:o-.6,h:.6,italic:true,fontSize:11,color:"666666"});let l=(i,h,s)=>{t.addText(i,{x:e+.3,y:s,w:o-.6,h:.3,bold:true,fontSize:10}),h.forEach((f,u)=>{t.addText(`\u2022 ${f}`,{x:e+.3,y:s+.3+u*.25,w:o-.6,h:.25,fontSize:9});});};a.goals&&l("GOALS",a.goals,n+2.4),a.frustrations&&l("FRUSTRATIONS",a.frustrations,n+3.8);}so.exports={addPersonaCard:zr};});var xo=x((Ql,uo)=>{function vr(t,a=[],r={}){let{x:e=1,y:n=1,w:o=5,h:d=5,xAxis:c="Effort",yAxis:l="Impact"}=r,i=o/2,h=d/2,s=["E3F2FD","E8F5E9","FFF3E0","FFEBEE"];[{ox:0,oy:0},{ox:i,oy:0},{ox:0,oy:h},{ox:i,oy:h}].forEach((u,F)=>{t.addShape("rect",{x:e+u.ox,y:n+u.oy,w:i,h,fill:s[F]}),a[F]&&t.addText(a[F],{x:e+u.ox,y:n+u.oy,w:i,h,align:"center",valign:"middle",bold:true,color:"555555"});}),t.addText(l,{x:e-.6,y:n,w:.5,h:d,rotate:270,align:"center",bold:true}),t.addText(c,{x:e,y:n+d+.1,w:o,h:.5,align:"center",bold:true});}uo.exports={addMatrixGrid:vr};});var po=x((t0,Fo)=>{function Er(t,a,r=[],e={}){let{x:n=4,y:o=2.5,w:d=6,h:c=4}=e;t.addShape("oval",{x:n,y:o,w:1.5,h:1,fill:"FFFFFF",line:{color:"000000",width:2}}),t.addText(a,{x:n,y:o,w:1.5,h:1,align:"center",valign:"middle",bold:true});let l=2*Math.PI/r.length,i=2.5;r.forEach((h,s)=>{let f=s*l,u=n+.75+Math.cos(f)*i,F=o+.5+Math.sin(f)*i;t.addShape("line",{x:n+.75,y:o+.5,w:u-(n+.75),h:F-(o+.5),line:{color:"666666"}}),t.addShape("roundRect",{x:u-.75,y:F-.3,w:1.5,h:.6,fill:"F0F0F0",line:{color:"999999"}}),t.addText(h,{x:u-.75,y:F-.3,w:1.5,h:.6,align:"center",valign:"middle",fontSize:10});});}Fo.exports={addMindMap:Er};});var go=x((e0,yo)=>{function qr(t,a=[],r={}){let{x:e=1,y:n=1,w:o=8,currency:d="$"}=r;t.addShape("rect",{x:e,y:n,w:o,h:.5,fill:"333333"}),t.addText("Description",{x:e+.2,y:n,w:o/2,h:.5,color:"FFFFFF",valign:"middle"}),t.addText("Amount",{x:e+o-2,y:n,w:2,h:.5,color:"FFFFFF",valign:"middle",align:"right"});let c=n+.5,l=0;a.forEach((i,h)=>{let s=h%2===0?"F9F9F9":"FFFFFF";t.addShape("rect",{x:e,y:c,w:o,h:.4,fill:s}),t.addText(i.desc,{x:e+.2,y:c,w:o/2,h:.4,valign:"middle",fontSize:11}),t.addText(`${d}${i.amount}`,{x:e+o-2,y:c,w:2,h:.4,valign:"middle",align:"right",fontSize:11}),l+=i.amount,c+=.4;}),t.addShape("line",{x:e,y:c,w:o,h:0,line:{color:"000000"}}),t.addText("TOTAL",{x:e+o-4,y:c+.1,w:2,h:.5,bold:true,align:"right"}),t.addText(`${d}${l}`,{x:e+o-2,y:c+.1,w:2,h:.5,bold:true,align:"right",fontSize:14});}yo.exports={addInvoiceTable:qr};});var So=x((o0,wo)=>{function Dr(t,a,r="Certificate of Appreciation",e={}){let{x:n=.5,y:o=.5,w:d=9,h:c=4.63}=e;t.addShape("rect",{x:n,y:o,w:d,h:c,line:{color:"C5A059",width:4},fill:{color:void 0}}),t.addShape("rect",{x:n+.2,y:o+.2,w:d-.4,h:c-.4,line:{color:"C5A059",width:1},fill:{color:void 0}}),t.addText(r,{x:n,y:o+1,w:d,h:1,align:"center",fontFace:"Georgia",fontSize:32,bold:true,color:"333333"}),t.addText("Presented to",{x:n,y:o+2,w:d,h:.5,align:"center",fontSize:14,color:"666666"}),t.addText(a,{x:n,y:o+2.5,w:d,h:1,align:"center",fontFace:"Arial",fontSize:40,bold:true,color:"C5A059"});}wo.exports={addCertificateFrame:Dr};});var bo=x((n0,mo)=>{function Mr(t,a,r,e,n={}){let{x:o=1,y:d=1,w:c=8,h:l=3,imagePosition:i="left"}=n,h=c/2,s=i==="left"?o:o+h,f=i==="left"?o+h:o;e?t.addImage({path:e,x:s+.2,y:d+.2,w:h-.4,h:l-.4,sizing:{type:"contain"}}):(t.addShape("rect",{x:s+.2,y:d+.2,w:h-.4,h:l-.4,fill:"EEEEEE"}),t.addText("Image",{x:s,y:d,w:h,h:l,align:"center",valign:"middle"})),t.addText(a,{x:f+.2,y:d+.5,w:h-.4,h:.5,bold:true,fontSize:18,color:"333333"}),t.addText(r,{x:f+.2,y:d+1.2,w:h-.4,h:l-1.2,fontSize:12,color:"666666",valign:"top"});}mo.exports={addSaaSFeatureBlock:Mr};});var To=x((r0,Co)=>{function Lr(t,a=[],r={}){let{x:e=1,y:n=1,w:o=6,h:d=3}=r,c=Math.max(...a.map(s=>Math.abs(s.value))),l=n+d/2,i=o/a.length*.6,h=o/a.length*.4;t.addShape("line",{x:e,y:l,w:o,h:0,line:{color:"333333"}}),a.forEach((s,f)=>{let u=Math.abs(s.value)/c*(d/2-.2),F=e+h/2+f*(i+h),p,y;s.value>=0?(p=l-u,y="4CAF50"):(p=l,y="F44336"),t.addShape("rect",{x:F,y:p,w:i,h:u,fill:y}),t.addText(s.label,{x:F,y:l+(s.value>=0?.1:-0.3),w:i,h:.3,fontSize:9,align:"center",color:"FFFFFF"});});}Co.exports={addWinLossChart:Lr};});var vo=x((a0,zo)=>{var{addSlide:Ar}=W(),{addText:M}=I();function kr(t,a){let r=t.getPptx();a.split(/\n---\n/).forEach(n=>{let o=Ar(r),d=n.trim().split(`
|
|
3
|
+
`),c=1;d.forEach(l=>{l=l.trim(),l&&(l.startsWith("# ")?(M(o,l.replace("# ",""),{x:.5,y:.5,fontSize:32,bold:true,w:9}),c=1.5):l.startsWith("## ")?(M(o,l.replace("## ",""),{x:.5,y:c,fontSize:20,color:"666666",w:9}),c+=.8):l.startsWith("- ")?(M(o,l.replace("- ",""),{x:1,y:c,fontSize:16,bullet:true,w:8,h:.5}),c+=.6):(M(o,l,{x:1,y:c,fontSize:14,w:8}),c+=.6));});});}zo.exports={renderMarkdown:kr};});var qo=x((c0,Eo)=>{function Br(t,a,r={}){let{x:e=1,y:n=1,w:o=6,h:d=3,fontSize:c=11,background:l="1E1E1E"}=r;t.addShape("rect",{x:e,y:n,w:o,h:d,fill:l});let h=a.split(`
|
|
4
|
+
`),s="569CD6",f="CE9178",u="6A9955",F="D4D4D4",p="DCDCAA",y=/\b(const|let|var|function|return|if|else|for|while|import|from|class)\b/g,g=/(['"`].*?['"`])/g,b=/\b([a-zA-Z0-9_]+)(?=\()/g,S=n+.2,E=c*.003;h.forEach(z=>{if(z.trim().startsWith("//"))t.addText(z,{x:e+.2,y:S,w:o-.4,h:E,fontSize:c,color:u,fontFace:"Courier New"});else {let m=[];z.split(/(\s+|[(){},.])/).forEach(C=>{let v=F;y.test(C)?v=s:g.test(C)?v=f:b.test(C)&&(v=p),m.push({text:C,options:{color:v,fontSize:c,fontFace:"Courier New"}});}),t.addText(m,{x:e+.2,y:S,w:o-.4,h:E,align:"left"});}S+=.25;});}Eo.exports={addSyntaxBlock:Br};});var Mo=x((l0,Do)=>{var Y=[];function Wr(t,a){Y.push({title:t,slide:a});}function Ir(t,a={}){let{title:r="Agenda",x:e=1,y:n=1.5,color:o="007AFF"}=a,c=t.getPptx().addSlide();c.addText(r,{x:1,y:.5,fontSize:32,bold:true,color:"111111"}),Y.forEach((l,i)=>{c.addText(`${i+1}. ${l.title}`,{x:e,y:n+i*.6,w:8,h:.5,fontSize:18,color:o,hyperlink:{slide:l.slide}});});}function Hr(){Y=[];}Do.exports={addToTOC:Wr,addTableOfContents:Ir,resetTOC:Hr};});var Ao=x((d0,Lo)=>{function Yr(t,a={}){let{logo:r,footerText:e,showPageNumber:n=true,accentColor:o="007AFF"}=a;r&&t.addImage({path:r,x:9,y:.2,w:.8,h:.8,sizing:{type:"contain",w:.8,h:.8}}),t.addShape("line",{x:.5,y:5.2,w:9,h:0,line:{color:"E0E0E0",width:1}}),e&&t.addText(e,{x:.5,y:5.3,w:6,h:.3,fontSize:10,color:"888888"}),n&&(t.slideNumber={x:9,y:5.3,w:.5,h:.3,fontSize:10,color:o});}Lo.exports={applyMaster:Yr};});var Bo=x((i0,ko)=>{var Pr={user:"M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z",home:"M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8z",settings:"M19.14 12.94c.04-.3.06-.61.06-.94 0-.32-.02-.64-.07-.94l2.03-1.58c.18-.14.23-.41.12-.61l-1.92-3.32c-.12-.22-.37-.29-.59-.22l-2.39.96c-.5-.38-1.03-.7-1.62-.94l-.36-2.54c-.04-.24-.24-.41-.48-.41h-3.84c-.24 0-.43.17-.47.41l-.36 2.54c-.59.24-1.13.57-1.62.94l-2.39-.96c-.22-.08-.47 0-.59.22L2.68 8.87c-.11.21-.06.47.12.61l2.03 1.58c-.05.3-.09.63-.09.94s.02.64.07.94l-2.03 1.58c-.18.14-.23.41-.12.61l1.92 3.32c.12.22.37.29.59.22l2.39-.96c.5.38 1.03.7 1.62.94l.36 2.54c.04.24.24.41.48.41h3.84c.24 0.43-.17.47-.41l.36-2.54c.59-.24 1.13-.57 1.62-.94l2.39.96c.22.08.47 0 .59-.22l1.92-3.32c.11-.21.06-.47-.12-.61l-2.01-1.58zM12 15.6c-1.98 0-3.6-1.62-3.6-3.6s1.62-3.6 3.6-3.6 3.6 1.62 3.6 3.6-1.62 3.6-3.6 3.6z",star:"M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z"};function $r(t,a,r={}){let{x:e=1,y:n=1,size:o=.5,color:d="000000"}=r,c=Pr[a];if(!c){console.warn(`Icon ${a} not found.`);return}let l=`data:image/svg+xml;base64,${Buffer.from(`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="#${d}"><path d="${c}"/></svg>`).toString("base64")}`;t.addImage({data:l,x:e,y:n,w:o,h:o});}ko.exports={addSmartIcon:$r};});var Io=x((h0,Wo)=>{function Xr(t,a,r={}){let{x:e=1,y:n=1,w:o=4,h:d=2,maxFontSize:c=24,minFontSize:l=8,color:i="000000"}=r,h=c,s=a.length;for(;h>l;){let f=h/72*.5,u=h/72*1.2,F=Math.floor(o/f);if(Math.ceil(s/F)*u<=d)break;h-=1;}t.addText(a,{x:e,y:n,w:o,h:d,fontSize:h,color:i});}Wo.exports={addSmartText:Xr};});var Yo=x((s0,Ho)=>{function Nr(t){if(!t||t.length===0)return [];let a=Object.keys(t[0]),r=t.map(e=>Object.values(e));return [a,...r]}function Gr(t){return t.trim().split(`
|
|
5
|
+
`).map(r=>r.split(",").map(e=>e.trim()))}function Rr(t,a,r,e="Series 1"){return [{name:e,labels:t.map(n=>n[a]),values:t.map(n=>n[r])}]}Ho.exports={jsonToTableData:Nr,csvToTableData:Gr,jsonToChartData:Rr};});var $o=x((f0,Po)=>{var P=class{constructor(a){this.slide=a;}addShape(a,r){return this.lastShape=this.slide.addShape(a,r),this}addText(a,r){return this.lastShape=this.slide.addText(a,r),this}withEffect(a="fadeIn",r=1e3){return console.log("Animation metadata attached (Concept only in this wrapper)"),this}};function Or(t){return new P(t)}Po.exports={animate:Or};});var No=x((u0,Xo)=>{function Ur(t,a={}){let{color:r="FF0000",showGrid:e=true,showSafeZone:n=true}=a;if(n&&t.addShape("rect",{x:.5,y:.5,w:9,h:4.63,fill:{color:void 0},line:{color:r,width:1,dashType:"dash"}}),e){for(let o=1;o<10;o++)t.addShape("line",{x:o,y:0,w:0,h:5.63,line:{color:"E0E0E0",width:1}});for(let o=1;o<6;o++)t.addShape("line",{x:0,y:o,w:10,h:0,line:{color:"E0E0E0",width:1}});}t.addShape("line",{x:5,y:2.7,w:0,h:.2,line:{color:r}}),t.addShape("line",{x:4.9,y:2.815,w:.2,h:0,line:{color:r}});}Xo.exports={debugSlide:Ur};});var Ro=x((x0,Go)=>{function Vr(t,a){!t||!a||t.addNotes(a);}Go.exports={addSpeakerNotes:Vr};});var Uo=x((F0,Oo)=>{function _r(t){let a=(r,e)=>"#"+r.replace(/^#/,"").replace(/../g,n=>{let o=parseInt(n,16);return Math.min(255,Math.max(0,o+e)).toString(16).padStart(2,"0")});return {primary:t,light:a(t,150),dark:a(t,-50),muted:a(t,80),border:"E0E0E0"}}Oo.exports={generateTheme:_r};});var _o=x((p0,Vo)=>{function jr(t,a="CONFIDENTIAL",r={}){let{color:e="CCCCCC",opacity:n=20,rotate:o=-45,fontSize:d=60}=r;t.addText(a,{x:1,y:2,w:8,h:2,color:e,transparency:100-n,rotate:o,align:"center",fontSize:d,bold:true});}Vo.exports={addWatermark:jr};});var Zo=x((y0,jo)=>{function Zr(t,a,r={}){let{x:e=1,y:n=1,w:o=8,h:d=4,fontSize:c=12,background:l="1E1E1E"}=r;t.addShape("rect",{x:e,y:n,w:o,h:d,fill:l});let i=a.split(`
|
|
6
|
+
`),h=n+.2,s=c*.0035;i.forEach(f=>{let u="D4D4D4";f.startsWith("+")?u="4CAF50":f.startsWith("-")?u="F44336":f.startsWith("@@")&&(u="569CD6"),t.addText(f,{x:e+.2,y:h,w:o-.4,h:s,fontFace:"Courier New",fontSize:c,color:u,align:"left"}),h+=.25;});}jo.exports={addCodeDiff:Zr};});var Jo=x((g0,Ko)=>{function Kr(t,a,r=""){let n=t.getPptx().addSlide();return n.background={fill:"111111"},n.addText(a,{x:1,y:2,w:8,h:1,fontSize:44,bold:true,color:"FFFFFF",align:"center"}),n.addShape("line",{x:3,y:3.2,w:4,h:0,line:{color:"007AFF",width:3}}),r&&n.addText(r,{x:1,y:3.5,w:8,h:1,fontSize:18,color:"BBBBBB",align:"center",italic:true}),n}Ko.exports={addSectionDivider:Kr};});var tn=x((w0,Qo)=>{function Jr(t,a,r){let e=i=>{let h=parseInt(i.replace("#",""),16),s=h>>16&255,f=h>>8&255,u=h>>0&255,F=[s,f,u].map(p=>(p/=255,p<=.03928?p/12.92:Math.pow((p+.055)/1.055,2.4)));return F[0]*.2126+F[1]*.7152+F[2]*.0722},n=e(a||"000000"),o=e(r||"FFFFFF"),d=Math.max(n,o),c=Math.min(n,o),l=(d+.05)/(c+.05);l<4.5&&console.warn(`\u26A0\uFE0F ACCESSIBILITY WARN [${t}]: Low contrast ratio (${l.toFixed(2)}). Text: #${a} on Bg: #${r}`);}Qo.exports={checkContrast:Jr};});var $c=x((S0,en)=>{var Qr=R(),{addSlide:ta}=W(),{addText:ea}=I(),{addShape:oa}=_(),{addImage:na}=H(),{addNativeImage:ra}=H(),{addLink:aa}=K(),{addCard:ca}=Q(),{addTable:la}=et(),{addChart:da}=nt(),{applyTheme:ia}=at(),{getTheme:ha,registerTheme:sa}=lt(),{addProgressBar:fa}=it(),{addStatMetric:ua}=st(),{addBadge:xa}=ut(),{addCodeBlock:Fa}=Ft(),{addTimeline:pa}=yt(),{addAvatarGroup:ya}=wt(),{addTestimonialCard:ga}=mt(),{addAlertBox:wa}=Ct(),{addIconList:Sa}=zt(),{addModernBulletList:ma}=Et(),{addList:ba,addUnorderedList:Ca,addOrderedList:Ta,addChecklist:za,BULLET_STYLES:va}=kt(),{addPricingColumn:Ea}=Wt(),{addStepProcess:qa}=Ht(),{addComparisonTable:Da}=Pt(),{addRatingStars:Ma}=Xt(),{addBreadcrumbNav:La}=Gt(),{addTagCloud:Aa}=Ot(),{addKanbanColumn:ka}=Vt(),{addCallToAction:Ba}=jt(),{addOrganicBlob:Wa}=Kt(),{addWaveDecoration:Ia}=Qt(),{addDotPattern:Ha}=ee(),{addBrushStroke:Ya}=ne(),{addGeometricConfetti:Pa}=ae(),{addGradientMesh:$a}=le(),{addSquiggleLine:Xa}=ie(),{addCornerAccent:Na}=se(),{addBrowserWindow:Ga}=ue(),{addSocialBar:Ra}=Fe(),{createGrid:Oa}=ye(),{getSplitScreen:Ua}=we(),{getZPattern:Va}=me(),{getSidebarLayout:_a}=Ce(),{getHeroLayout:ja}=ze(),{getGalleryLayout:Za}=Ee(),{getBentoLayout:Ka}=De(),{getRadialLayout:Ja}=Le(),{getCheckerboardLayout:Qa}=ke(),{getMagazineLayout:tc}=We(),{getFilmStripLayout:ec}=He(),{addFeatureGrid:oc}=Pe(),{addTeamMemberProfile:nc}=Xe(),{addSWOTMatrix:rc}=Ge(),{addProcessCycle:ac}=Oe(),{addFunnelDiagram:cc}=Ve(),{addPyramidHierarchy:lc}=je(),{addDeviceMockup:dc}=Ke(),{addAccordionList:ic}=Qe(),{addTrafficLight:hc}=eo(),{addVennDiagram:sc}=no(),{addOrgChart:fc}=ao(),{addCalendarGrid:uc}=lo(),{addGanttChart:xc}=ho(),{addPersonaCard:Fc}=fo(),{addMatrixGrid:pc}=xo(),{addMindMap:yc}=po(),{addInvoiceTable:gc}=go(),{addCertificateFrame:wc}=So(),{addSaaSFeatureBlock:Sc}=bo(),{addWinLossChart:mc}=To(),{renderMarkdown:bc}=vo(),{addSyntaxBlock:Cc}=qo(),{addToTOC:Tc,addTableOfContents:zc}=Mo(),{applyMaster:vc}=Ao(),{addSmartIcon:Ec}=Bo(),{addSmartText:qc}=Io(),{jsonToTableData:Dc,csvToTableData:Mc,jsonToChartData:Lc}=Yo(),{animate:Ac}=$o(),{debugSlide:kc}=No(),{addSpeakerNotes:Bc}=Ro(),{generateTheme:Wc}=Uo(),{addWatermark:Ic}=_o(),{addCodeDiff:Hc}=Zo(),{addSectionDivider:Yc}=Jo(),{checkContrast:Pc}=tn();en.exports={PPTManager:Qr,addSlide:ta,addText:ea,addShape:oa,addImage:na,addLink:aa,addCard:ca,addTable:la,addChart:da,applyTheme:ia,addBrowserWindow:Ga,addSocialBar:Ra,addProgressBar:fa,addStatMetric:ua,addBadge:xa,addCodeBlock:Fa,addTimeline:pa,addAvatarGroup:ya,addTestimonialCard:ga,addAlertBox:wa,addIconList:Sa,addModernBulletList:ma,addList:ba,addUnorderedList:Ca,addOrderedList:Ta,addChecklist:za,BULLET_STYLES:va,addPricingColumn:Ea,addStepProcess:qa,addComparisonTable:Da,addRatingStars:Ma,addBreadcrumbNav:La,addTagCloud:Aa,addKanbanColumn:ka,addCallToAction:Ba,addOrganicBlob:Wa,addWaveDecoration:Ia,addDotPattern:Ha,addBrushStroke:Ya,addGeometricConfetti:Pa,addGradientMesh:$a,addSquiggleLine:Xa,addCornerAccent:Na,addNativeImage:ra,getTheme:ha,registerTheme:sa,createGrid:Oa,getSplitScreen:Ua,getZPattern:Va,getSidebarLayout:_a,getHeroLayout:ja,getGalleryLayout:Za,addFeatureGrid:oc,addTeamMemberProfile:nc,addSWOTMatrix:rc,addProcessCycle:ac,addFunnelDiagram:cc,addPyramidHierarchy:lc,addDeviceMockup:dc,addAccordionList:ic,addTrafficLight:hc,addVennDiagram:sc,getBentoLayout:Ka,getRadialLayout:Ja,getCheckerboardLayout:Qa,getMagazineLayout:tc,getFilmStripLayout:ec,addOrgChart:fc,addCalendarGrid:uc,addGanttChart:xc,addPersonaCard:Fc,addMatrixGrid:pc,addMindMap:yc,addInvoiceTable:gc,addCertificateFrame:wc,addSaaSFeatureBlock:Sc,addWinLossChart:mc,renderMarkdown:bc,addSyntaxBlock:Cc,addToTOC:Tc,addTableOfContents:zc,applyMaster:vc,addSmartIcon:Ec,addSmartText:qc,jsonToTableData:Dc,csvToTableData:Mc,jsonToChartData:Lc,animate:Ac,debugSlide:kc,addSpeakerNotes:Bc,generateTheme:Wc,addWatermark:Ic,addCodeDiff:Hc,addSectionDivider:Yc,checkContrast:Pc};});var index = $c();export{index as default};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "canva-pptx",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.7",
|
|
4
4
|
"description": "A professional, component-based PowerPoint (PPTX) generator for Node.js. Create complex, Canva-style slide decks, business reports, and dashboards programmatically with smart layouts and themes.",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.mjs",
|