hojas/node_modules/@marp-team/marp-cli/lib/pptxgen.es-COr4coSU.js

12 lines
364 KiB
JavaScript
Raw Normal View History

2026-05-14 10:56:04 +02:00
"use strict";var e=require("./binary-H3Un9BO3.js"),t=require("./marp-cli-qbOdG7H_.js");function a(e){var t=Object.create(null);return e&&Object.keys(e).forEach(function(a){if("default"!==a){var r=Object.getOwnPropertyDescriptor(e,a);Object.defineProperty(t,a,r.get?r:{enumerable:!0,get:function(){return e[a]}})}}),t.default=e,Object.freeze(t)}require("tty"),require("util"),require("os"),require("node:process"),require("node:os"),require("node:tty"),require("node:fs"),require("node:path"),require("node:fs/promises"),require("path"),require("node:child_process"),require("node:util"),require("fs"),require("child_process"),require("process"),require("events"),require("puppeteer-core"),require("node:events"),require("node:util/types"),require("node:crypto"),require("assert"),require("cosmiconfig"),require("node:url"),require("module"),require("node:assert"),require("node:module"),require("node:v8"),require("url"),require("node:stream/consumers"),require("node:timers/promises"),require("tmp"),require("@marp-team/marpit"),require("chokidar"),require("net"),require("ws"),require("node:querystring"),require("serve-index"),require("@marp-team/marp-core/package.json");var r,o={exports:{}},n=(r||(r=1,o.exports=function e(a,r,o){function n(i,s){if(!r[i]){if(!a[i]){var l="function"==typeof t.c&&t.c;if(!s&&l)return l(i,!0);if(A)return A(i,!0);var c=new Error("Cannot find module '"+i+"'");throw c.code="MODULE_NOT_FOUND",c}var p=r[i]={exports:{}};a[i][0].call(p.exports,function(e){return n(a[i][1][e]||e)},p,p.exports,e,a,r,o)}return r[i].exports}for(var A="function"==typeof t.c&&t.c,i=0;i<o.length;i++)n(o[i]);return n}({1:[function(e,t,a){var r=e("./utils"),o=e("./support"),n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";a.encode=function(e){for(var t,a,o,A,i,s,l,c=[],p=0,d=e.length,h=d,f="string"!==r.getTypeOf(e);p<e.length;)h=d-p,o=f?(t=e[p++],a=p<d?e[p++]:0,p<d?e[p++]:0):(t=e.charCodeAt(p++),a=p<d?e.charCodeAt(p++):0,p<d?e.charCodeAt(p++):0),A=t>>2,i=(3&t)<<4|a>>4,s=1<h?(15&a)<<2|o>>6:64,l=2<h?63&o:64,c.push(n.charAt(A)+n.charAt(i)+n.charAt(s)+n.charAt(l));return c.join("")},a.decode=function(e){var t,a,r,A,i,s,l=0,c=0,p="data:";if(e.substr(0,5)===p)throw new Error("Invalid base64 input, it looks like a data url.");var d,h=3*(e=e.replace(/[^A-Za-z0-9+/=]/g,"")).length/4;if(e.charAt(e.length-1)===n.charAt(64)&&h--,e.charAt(e.length-2)===n.charAt(64)&&h--,h%1!=0)throw new Error("Invalid base64 input, bad content length.");for(d=o.uint8array?new Uint8Array(0|h):new Array(0|h);l<e.length;)t=n.indexOf(e.charAt(l++))<<2|(A=n.indexOf(e.charAt(l++)))>>4,a=(15&A)<<4|(i=n.indexOf(e.charAt(l++)))>>2,r=(3&i)<<6|(s=n.indexOf(e.charAt(l++))),d[c++]=t,64!==i&&(d[c++]=a),64!==s&&(d[c++]=r);return d}},{"./support":30,"./utils":32}],2:[function(e,t,a){var r=e("./external"),o=e("./stream/DataWorker"),n=e("./stream/Crc32Probe"),A=e("./stream/DataLengthProbe");function i(e,t,a,r,o){this.compressedSize=e,this.uncompressedSize=t,this.crc32=a,this.compression=r,this.compressedContent=o}i.prototype={getContentWorker:function(){var e=new o(r.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new A("data_length")),t=this;return e.on("end",function(){if(this.streamInfo.data_length!==t.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")}),e},getCompressedWorker:function(){return new o(r.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},i.createWorkerFrom=function(e,t,a){return e.pipe(new n).pipe(new A("uncompressedSize")).pipe(t.compressWorker(a)).pipe(new A("compressedSize")).withStreamInfo("compression",t)},t.exports=i},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(e,t,a){var r=e("./stream/GenericWorker");a.STORE={magic:"\0\0",compressWorker:function(){return new r("STORE compression")},uncompressWorker:function(){return new r("STORE dec
/*!
JSZip v3.10.1 - A JavaScript class for generating and reading zip files
<http://stuartk.com/jszip>
(c) 2009-2016 Stuart Knightley <stuart [at] stuartk.com>
Dual licenced under the MIT license or GPLv3. See https://raw.github.com/Stuk/jszip/main/LICENSE.markdown.
JSZip uses the library pako released under the MIT license :
https://github.com/nodeca/pako/blob/main/LICENSE
*/function i(e,t,a,r){return new(a||(a=Promise))(function(t,o){function n(e){try{i(r.next(e))}catch(e){o(e)}}function A(e){try{i(r.throw(e))}catch(e){o(e)}}function i(e){var r;e.done?t(e.value):(r=e.value,r instanceof a?r:new a(function(e){e(r)})).then(n,A)}i((r=r.apply(e,[])).next())})}"function"==typeof SuppressedError&&SuppressedError;const s=914400,l=12700,c="\r\n",p=/^[0-9a-fA-F]{6}$/,d="solid",h="666666",f=[.05,.1,.05,.1],u="363636",m="888888",g="000000",b=12,v="LAYOUT_16x9",y="DEFAULT",w="333333",x={type:"outer",blur:3,offset:23e3/12700,angle:90,color:"000000",opacity:.35,rotateWithShape:!0},C=[.5,.5,.5,.5],P="000000",L={size:8,color:"FFFFFF",opacity:.75},B="2094734552",T="2094734553",S="2094734554",E="2094734555",D="2094734556",k="ABCDEFGHIJKLMNOPQRSTUVWXYZ".split(""),N=["C0504D","4F81BD","9BBB59","8064A2","4BACC6","F79646","628FC6","C86360","C0504D","4F81BD","9BBB59","8064A2","4BACC6","F79646","628FC6","C86360"],F=["5DA5DA","FAA43A","60BD68","F17CB0","B2912F","B276B2","DECF3F","F15854","A7A7A7","5DA5DA","FAA43A","60BD68","F17CB0","B2912F","B276B2","DECF3F","F15854","A7A7A7"];var _,I;!function(e){e.left="left",e.center="center",e.right="right",e.justify="justify"}(_||(_={})),function(e){e.b="b",e.ctr="ctr",e.t="t"}(I||(I={}));const R="{F7021451-1387-4CA6-816F-3879F97B5CBC}";var O,M,z,U,j,Q,G,Y,W,X,H,V,q;!function(e){e.arraybuffer="arraybuffer",e.base64="base64",e.binarystring="binarystring",e.blob="blob",e.nodebuffer="nodebuffer",e.uint8array="uint8array"}(O||(O={})),function(e){e.area="area",e.bar="bar",e.bar3d="bar3D",e.bubble="bubble",e.bubble3d="bubble3D",e.doughnut="doughnut",e.line="line",e.pie="pie",e.radar="radar",e.scatter="scatter"}(M||(M={})),function(e){e.accentBorderCallout1="accentBorderCallout1",e.accentBorderCallout2="accentBorderCallout2",e.accentBorderCallout3="accentBorderCallout3",e.accentCallout1="accentCallout1",e.accentCallout2="accentCallout2",e.accentCallout3="accentCallout3",e.actionButtonBackPrevious="actionButtonBackPrevious",e.actionButtonBeginning="actionButtonBeginning",e.actionButtonBlank="actionButtonBlank",e.actionButtonDocument="actionButtonDocument",e.actionButtonEnd="actionButtonEnd",e.actionButtonForwardNext="actionButtonForwardNext",e.actionButtonHelp="actionButtonHelp",e.actionButtonHome="actionButtonHome",e.actionButtonInformation="actionButtonInformation",e.actionButtonMovie="actionButtonMovie",e.actionButtonReturn="actionButtonReturn",e.actionButtonSound="actionButtonSound",e.arc="arc",e.bentArrow="bentArrow",e.bentUpArrow="bentUpArrow",e.bevel="bevel",e.blockArc="blockArc",e.borderCallout1="borderCallout1",e.borderCallout2="borderCallout2",e.borderCallout3="borderCallout3",e.bracePair="bracePair",e.bracketPair="bracketPair",e.callout1="callout1",e.callout2="callout2",e.callout3="callout3",e.can="can",e.chartPlus="chartPlus",e.chartStar="chartStar",e.chartX="chartX",e.chevron="chevron",e.chord="chord",e.circularArrow="circularArrow",e.cloud="cloud",e.cloudCallout="cloudCallout",e.corner="corner",e.cornerTabs="cornerTabs",e.cube="cube",e.curvedDownArrow="curvedDownArrow",e.curvedLeftArrow="curvedLeftArrow",e.curvedRightArrow="curvedRightArrow",e.curvedUpArrow="curvedUpArrow",e.custGeom="custGeom",e.decagon="decagon",e.diagStripe="diagStripe",e.diamond="diamond",e.dodecagon="dodecagon",e.donut="donut",e.doubleWave="doubleWave",e.downArrow="downArrow",e.downArrowCallout="downArrowCallout",e.ellipse="ellipse",e.ellipseRibbon="ellipseRibbon",e.ellipseRibbon2="ellipseRibbon2",e.flowChartAlternateProcess="flowChartAlternateProcess",e.flowChartCollate="flowChartCollate",e.flowChartConnector="flowChartConnector",e.flowChartDecision="flowChartDecision",e.flowChartDelay="flowChartDelay",e.flowChartDisplay="flowChartDisplay",e.flowChartDocument="flowChartDocument",e.flowChartExtract="flowChartExtract",e.flowChartInputOutput="flowChartInputOutput",e.flowChartInternalStorage="flowChartInternalStorage",e.flowChartMagneticDisk="flowChartMagneticDisk",e.flowChartMagneticDrum="flowChartMagneticDrum",e.flowChartMagneticTape="flowChartMagneticTape",e.flowChartManualInput="flowChartManualIn