@voilabs/mark 0.0.1

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.
Files changed (69) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +728 -0
  3. package/dist/components/Editor.d.ts +31 -0
  4. package/dist/components/Editor.d.ts.map +1 -0
  5. package/dist/components/editor/EditorContext.d.ts +16 -0
  6. package/dist/components/editor/EditorContext.d.ts.map +1 -0
  7. package/dist/components/editor/GlobalDragHandleMenu.d.ts +8 -0
  8. package/dist/components/editor/GlobalDragHandleMenu.d.ts.map +1 -0
  9. package/dist/components/editor/StyleBar.d.ts +26 -0
  10. package/dist/components/editor/StyleBar.d.ts.map +1 -0
  11. package/dist/components/editor/StyleEditPopover.d.ts +19 -0
  12. package/dist/components/editor/StyleEditPopover.d.ts.map +1 -0
  13. package/dist/components/editor/Toolbar.d.ts +21 -0
  14. package/dist/components/editor/Toolbar.d.ts.map +1 -0
  15. package/dist/components/editor/classNames.d.ts +136 -0
  16. package/dist/components/editor/classNames.d.ts.map +1 -0
  17. package/dist/components/editor/extensions/AdvancedImage.d.ts +22 -0
  18. package/dist/components/editor/extensions/AdvancedImage.d.ts.map +1 -0
  19. package/dist/components/editor/extensions/FontFamily.d.ts +14 -0
  20. package/dist/components/editor/extensions/FontFamily.d.ts.map +1 -0
  21. package/dist/components/editor/extensions/FontSize.d.ts +14 -0
  22. package/dist/components/editor/extensions/FontSize.d.ts.map +1 -0
  23. package/dist/components/editor/extensions/ImageNodeView.d.ts +2 -0
  24. package/dist/components/editor/extensions/ImageNodeView.d.ts.map +1 -0
  25. package/dist/components/editor/extensions/TextStyleAttributes.d.ts +10 -0
  26. package/dist/components/editor/extensions/TextStyleAttributes.d.ts.map +1 -0
  27. package/dist/components/editor/extensions/Video.d.ts +21 -0
  28. package/dist/components/editor/extensions/Video.d.ts.map +1 -0
  29. package/dist/components/editor/paragraphStyles.d.ts +42 -0
  30. package/dist/components/editor/paragraphStyles.d.ts.map +1 -0
  31. package/dist/components/editor/slash-command/commands-list.d.ts +27 -0
  32. package/dist/components/editor/slash-command/commands-list.d.ts.map +1 -0
  33. package/dist/components/editor/slash-command/commands.d.ts +15 -0
  34. package/dist/components/editor/slash-command/commands.d.ts.map +1 -0
  35. package/dist/components/editor/slash-command/suggestion.d.ts +38 -0
  36. package/dist/components/editor/slash-command/suggestion.d.ts.map +1 -0
  37. package/dist/components/editor/translations.d.ts +151 -0
  38. package/dist/components/editor/translations.d.ts.map +1 -0
  39. package/dist/components/editor/useStyleStorage.d.ts +19 -0
  40. package/dist/components/editor/useStyleStorage.d.ts.map +1 -0
  41. package/dist/components/editor/utils/upload.d.ts +5 -0
  42. package/dist/components/editor/utils/upload.d.ts.map +1 -0
  43. package/dist/components/ui/Dropdown.d.ts +16 -0
  44. package/dist/components/ui/Dropdown.d.ts.map +1 -0
  45. package/dist/components/ui/DropdownMenu.d.ts +28 -0
  46. package/dist/components/ui/DropdownMenu.d.ts.map +1 -0
  47. package/dist/components/ui/Popover.d.ts +11 -0
  48. package/dist/components/ui/Popover.d.ts.map +1 -0
  49. package/dist/components/ui/Tooltip.d.ts +7 -0
  50. package/dist/components/ui/Tooltip.d.ts.map +1 -0
  51. package/dist/index.cjs.js +151 -0
  52. package/dist/index.d.ts +7 -0
  53. package/dist/index.d.ts.map +1 -0
  54. package/dist/index.es.js +22724 -0
  55. package/dist/lib/utils.d.ts +3 -0
  56. package/dist/lib/utils.d.ts.map +1 -0
  57. package/dist/plugin.cjs.js +10 -0
  58. package/dist/plugin.d.ts +4 -0
  59. package/dist/plugin.d.ts.map +1 -0
  60. package/dist/plugin.es.js +575 -0
  61. package/dist/translations/en-US.cjs.js +1 -0
  62. package/dist/translations/en-US.d.ts +4 -0
  63. package/dist/translations/en-US.d.ts.map +1 -0
  64. package/dist/translations/en-US.es.js +153 -0
  65. package/dist/translations/tr-TR.cjs.js +1 -0
  66. package/dist/translations/tr-TR.d.ts +4 -0
  67. package/dist/translations/tr-TR.d.ts.map +1 -0
  68. package/dist/translations/tr-TR.es.js +153 -0
  69. package/package.json +121 -0
@@ -0,0 +1,3 @@
1
+ import { type ClassValue } from "clsx";
2
+ export declare function cn(...inputs: ClassValue[]): string;
3
+ //# sourceMappingURL=utils.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../src/lib/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,UAAU,EAAQ,MAAM,MAAM,CAAC;AAG7C,wBAAgB,EAAE,CAAC,GAAG,MAAM,EAAE,UAAU,EAAE,UAEzC"}
@@ -0,0 +1,10 @@
1
+ "use strict";var ir=Object.create;var Z=Object.defineProperty;var or=Object.getOwnPropertyDescriptor;var sr=Object.getOwnPropertyNames;var ur=Object.getPrototypeOf,fr=Object.prototype.hasOwnProperty;var ar=(u,f,g,b)=>{if(f&&typeof f=="object"||typeof f=="function")for(let j of sr(f))!fr.call(u,j)&&j!==g&&Z(u,j,{get:()=>f[j],enumerable:!(b=or(f,j))||b.enumerable});return u};var lr=(u,f,g)=>(g=u!=null?ir(ur(u)):{},ar(f||!u||!u.__esModule?Z(g,"default",{value:u,enumerable:!0}):g,u));function Y(u,f){return{handler:u,config:f}}Y.withOptions=function(u,f=()=>({})){function g(b){return{handler:u(b),config:f(b)}}return g.__isOptionsFunction=!0,g};var cr=Y,pr=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function gr(u){return u&&u.__esModule&&Object.prototype.hasOwnProperty.call(u,"default")?u.default:u}var U={exports:{}},H={},J,W;function dr(){return W||(W=1,J=function(f){return f&&typeof f=="object"&&typeof f.copy=="function"&&typeof f.fill=="function"&&typeof f.readUInt8=="function"}),J}var I={exports:{}},V;function yr(){return V||(V=1,typeof Object.create=="function"?I.exports=function(f,g){f.super_=g,f.prototype=Object.create(g.prototype,{constructor:{value:f,enumerable:!1,writable:!0,configurable:!0}})}:I.exports=function(f,g){f.super_=g;var b=function(){};b.prototype=g.prototype,f.prototype=new b,f.prototype.constructor=f}),I.exports}var K;function mr(){return K||(K=1,(function(u){var f=/%[sdj%]/g;u.format=function(r){if(!d(r)){for(var t=[],s=0;s<arguments.length;s++)t.push(j(arguments[s]));return t.join(" ")}for(var s=1,p=arguments,E=p.length,m=String(r).replace(f,function(h){if(h==="%%")return"%";if(s>=E)return h;switch(h){case"%s":return String(p[s++]);case"%d":return Number(p[s++]);case"%j":try{return JSON.stringify(p[s++])}catch{return"[Circular]"}default:return h}}),l=p[s];s<E;l=p[++s])o(l)||!A(l)?m+=" "+l:m+=" "+j(l);return m},u.deprecate=function(r,t){if(S(pr.process))return function(){return u.deprecate(r,t).apply(this,arguments)};if(process.noDeprecation===!0)return r;var s=!1;function p(){if(!s){if(process.throwDeprecation)throw new Error(t);process.traceDeprecation?console.trace(t):console.error(t),s=!0}return r.apply(this,arguments)}return p};var g={},b;u.debuglog=function(r){if(S(b)&&(b=process.env.NODE_DEBUG||""),r=r.toUpperCase(),!g[r])if(new RegExp("\\b"+r+"\\b","i").test(b)){var t=process.pid;g[r]=function(){var s=u.format.apply(u,arguments);console.error("%s %d: %s",r,t,s)}}else g[r]=function(){};return g[r]};function j(r,t){var s={seen:[],stylize:y};return arguments.length>=3&&(s.depth=arguments[2]),arguments.length>=4&&(s.colors=arguments[3]),i(t)?s.showHidden=t:t&&u._extend(s,t),S(s.showHidden)&&(s.showHidden=!1),S(s.depth)&&(s.depth=2),S(s.colors)&&(s.colors=!1),S(s.customInspect)&&(s.customInspect=!0),s.colors&&(s.stylize=L),O(s,r,s.depth)}u.inspect=j,j.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},j.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function L(r,t){var s=j.styles[t];return s?"\x1B["+j.colors[s][0]+"m"+r+"\x1B["+j.colors[s][1]+"m":r}function y(r,t){return r}function _(r){var t={};return r.forEach(function(s,p){t[s]=!0}),t}function O(r,t,s){if(r.customInspect&&t&&q(t.inspect)&&t.inspect!==u.inspect&&!(t.constructor&&t.constructor.prototype===t)){var p=t.inspect(s,r);return d(p)||(p=O(r,p,s)),p}var E=R(r,t);if(E)return E;var m=Object.keys(t),l=_(m);if(r.showHidden&&(m=Object.getOwnPropertyNames(t)),C(t)&&(m.indexOf("message")>=0||m.indexOf("description")>=0))return N(t);if(m.length===0){if(q(t)){var h=t.name?": "+t.name:"";return r.stylize("[Function"+h+"]","special")}if(P(t))return r.stylize(RegExp.prototype.toString.call(t),"regexp");if($(t))return r.stylize(Date.prototype.toString.call(t),"date");if(C(t))return N(t)}var w="",T=!1,B=["{","}"];if(n(t)&&(T=!0,B=["[","]"]),q(t)){var nr=t.name?": "+t.name:"";w=" [Function"+nr+"]"}if(P(t)&&(w=" "+RegExp.prototype.toString.call(t)),$(t)&&(w=" "+Date.prototype.toUTCString.call(t)),C(t)&&(w=" "+N(t)),m.length===0&&(!T||t.length==0))return B[0]+w+B[1];if(s<0)return P(t)?r.stylize(RegExp.prototype.toString.call(t),"regexp"):r.stylize("[Object]","special");r.seen.push(t);var M;return T?M=v(r,t,s,l,m):M=m.map(function(tr){return D(r,t,s,l,tr,T)}),r.seen.pop(),e(M,w,B)}function R(r,t){if(S(t))return r.stylize("undefined","undefined");if(d(t)){var s="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return r.stylize(s,"string")}if(c(t))return r.stylize(""+t,"number");if(i(t))return r.stylize(""+t,"boolean");if(o(t))return r.stylize("null","null")}function N(r){return"["+Error.prototype.toString.call(r)+"]"}function v(r,t,s,p,E){for(var m=[],l=0,h=t.length;l<h;++l)G(t,String(l))?m.push(D(r,t,s,p,String(l),!0)):m.push("");return E.forEach(function(w){w.match(/^\d+$/)||m.push(D(r,t,s,p,w,!0))}),m}function D(r,t,s,p,E,m){var l,h,w;if(w=Object.getOwnPropertyDescriptor(t,E)||{value:t[E]},w.get?w.set?h=r.stylize("[Getter/Setter]","special"):h=r.stylize("[Getter]","special"):w.set&&(h=r.stylize("[Setter]","special")),G(p,E)||(l="["+E+"]"),h||(r.seen.indexOf(w.value)<0?(o(s)?h=O(r,w.value,null):h=O(r,w.value,s-1),h.indexOf(`
2
+ `)>-1&&(m?h=h.split(`
3
+ `).map(function(T){return" "+T}).join(`
4
+ `).substr(2):h=`
5
+ `+h.split(`
6
+ `).map(function(T){return" "+T}).join(`
7
+ `))):h=r.stylize("[Circular]","special")),S(l)){if(m&&E.match(/^\d+$/))return h;l=JSON.stringify(""+E),l.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(l=l.substr(1,l.length-2),l=r.stylize(l,"name")):(l=l.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),l=r.stylize(l,"string"))}return l+": "+h}function e(r,t,s){var p=r.reduce(function(E,m){return m.indexOf(`
8
+ `)>=0,E+m.replace(/\u001b\[\d\d?m/g,"").length+1},0);return p>60?s[0]+(t===""?"":t+`
9
+ `)+" "+r.join(`,
10
+ `)+" "+s[1]:s[0]+t+" "+r.join(", ")+" "+s[1]}function n(r){return Array.isArray(r)}u.isArray=n;function i(r){return typeof r=="boolean"}u.isBoolean=i;function o(r){return r===null}u.isNull=o;function a(r){return r==null}u.isNullOrUndefined=a;function c(r){return typeof r=="number"}u.isNumber=c;function d(r){return typeof r=="string"}u.isString=d;function z(r){return typeof r=="symbol"}u.isSymbol=z;function S(r){return r===void 0}u.isUndefined=S;function P(r){return A(r)&&F(r)==="[object RegExp]"}u.isRegExp=P;function A(r){return typeof r=="object"&&r!==null}u.isObject=A;function $(r){return A(r)&&F(r)==="[object Date]"}u.isDate=$;function C(r){return A(r)&&(F(r)==="[object Error]"||r instanceof Error)}u.isError=C;function q(r){return typeof r=="function"}u.isFunction=q;function x(r){return r===null||typeof r=="boolean"||typeof r=="number"||typeof r=="string"||typeof r=="symbol"||typeof r>"u"}u.isPrimitive=x,u.isBuffer=dr();function F(r){return Object.prototype.toString.call(r)}function k(r){return r<10?"0"+r.toString(10):r.toString(10)}var rr=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function er(){var r=new Date,t=[k(r.getHours()),k(r.getMinutes()),k(r.getSeconds())].join(":");return[r.getDate(),rr[r.getMonth()],t].join(" ")}u.log=function(){console.log("%s - %s",er(),u.format.apply(u,arguments))},u.inherits=yr(),u._extend=function(r,t){if(!t||!A(t))return r;for(var s=Object.keys(t),p=s.length;p--;)r[s[p]]=t[s[p]];return r};function G(r,t){return Object.prototype.hasOwnProperty.call(r,t)}})(H)),H}var Q;function hr(){if(Q)return U.exports;Q=1;var u=process.platform==="win32",f=mr();function g(e,n){for(var i=[],o=0;o<e.length;o++){var a=e[o];!a||a==="."||(a===".."?i.length&&i[i.length-1]!==".."?i.pop():n&&i.push(".."):i.push(a))}return i}function b(e){for(var n=e.length-1,i=0;i<=n&&!e[i];i++);for(var o=n;o>=0&&!e[o];o--);return i===0&&o===n?e:i>o?[]:e.slice(i,o+1)}var j=/^([a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/]+[^\\\/]+)?([\\\/])?([\s\S]*?)$/,L=/^([\s\S]*?)((?:\.{1,2}|[^\\\/]+?|)(\.[^.\/\\]*|))(?:[\\\/]*)$/,y={};function _(e){var n=j.exec(e),i=(n[1]||"")+(n[2]||""),o=n[3]||"",a=L.exec(o),c=a[1],d=a[2],z=a[3];return[i,c,d,z]}function O(e){var n=j.exec(e),i=n[1]||"",o=!!i&&i[1]!==":";return{device:i,isUnc:o,isAbsolute:o||!!n[2],tail:n[3]}}function R(e){return"\\\\"+e.replace(/^[\\\/]+/,"").replace(/[\\\/]+/g,"\\")}y.resolve=function(){for(var e="",n="",i=!1,o=arguments.length-1;o>=-1;o--){var a;if(o>=0?a=arguments[o]:e?(a=process.env["="+e],(!a||a.substr(0,3).toLowerCase()!==e.toLowerCase()+"\\")&&(a=e+"\\")):a=process.cwd(),f.isString(a)){if(!a)continue}else throw new TypeError("Arguments to path.resolve must be strings");var c=O(a),d=c.device,z=c.isUnc,S=c.isAbsolute,P=c.tail;if(!(d&&e&&d.toLowerCase()!==e.toLowerCase())&&(e||(e=d),i||(n=P+"\\"+n,i=S),e&&i))break}return z&&(e=R(e)),n=g(n.split(/[\\\/]+/),!i).join("\\"),e+(i?"\\":"")+n||"."},y.normalize=function(e){var n=O(e),i=n.device,o=n.isUnc,a=n.isAbsolute,c=n.tail,d=/[\\\/]$/.test(c);return c=g(c.split(/[\\\/]+/),!a).join("\\"),!c&&!a&&(c="."),c&&d&&(c+="\\"),o&&(i=R(i)),i+(a?"\\":"")+c},y.isAbsolute=function(e){return O(e).isAbsolute},y.join=function(){for(var e=[],n=0;n<arguments.length;n++){var i=arguments[n];if(!f.isString(i))throw new TypeError("Arguments to path.join must be strings");i&&e.push(i)}var o=e.join("\\");return/^[\\\/]{2}[^\\\/]/.test(e[0])||(o=o.replace(/^[\\\/]{2,}/,"\\")),y.normalize(o)},y.relative=function(e,n){e=y.resolve(e),n=y.resolve(n);for(var i=e.toLowerCase(),o=n.toLowerCase(),a=b(n.split("\\")),c=b(i.split("\\")),d=b(o.split("\\")),z=Math.min(c.length,d.length),S=z,P=0;P<z;P++)if(c[P]!==d[P]){S=P;break}if(S==0)return n;for(var A=[],P=S;P<c.length;P++)A.push("..");return A=A.concat(a.slice(S)),A.join("\\")},y._makeLong=function(e){if(!f.isString(e))return e;if(!e)return"";var n=y.resolve(e);return/^[a-zA-Z]\:\\/.test(n)?"\\\\?\\"+n:/^\\\\[^?.]/.test(n)?"\\\\?\\UNC\\"+n.substring(2):e},y.dirname=function(e){var n=_(e),i=n[0],o=n[1];return!i&&!o?".":(o&&(o=o.substr(0,o.length-1)),i+o)},y.basename=function(e,n){var i=_(e)[2];return n&&i.substr(-1*n.length)===n&&(i=i.substr(0,i.length-n.length)),i},y.extname=function(e){return _(e)[3]},y.format=function(e){if(!f.isObject(e))throw new TypeError("Parameter 'pathObject' must be an object, not "+typeof e);var n=e.root||"";if(!f.isString(n))throw new TypeError("'pathObject.root' must be a string or undefined, not "+typeof e.root);var i=e.dir,o=e.base||"";return i?i[i.length-1]===y.sep?i+o:i+y.sep+o:o},y.parse=function(e){if(!f.isString(e))throw new TypeError("Parameter 'pathString' must be a string, not "+typeof e);var n=_(e);if(!n||n.length!==4)throw new TypeError("Invalid path '"+e+"'");return{root:n[0],dir:n[0]+n[1].slice(0,-1),base:n[2],ext:n[3],name:n[2].slice(0,n[2].length-n[3].length)}},y.sep="\\",y.delimiter=";";var N=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/,v={};function D(e){return N.exec(e).slice(1)}return v.resolve=function(){for(var e="",n=!1,i=arguments.length-1;i>=-1&&!n;i--){var o=i>=0?arguments[i]:process.cwd();if(f.isString(o)){if(!o)continue}else throw new TypeError("Arguments to path.resolve must be strings");e=o+"/"+e,n=o[0]==="/"}return e=g(e.split("/"),!n).join("/"),(n?"/":"")+e||"."},v.normalize=function(e){var n=v.isAbsolute(e),i=e&&e[e.length-1]==="/";return e=g(e.split("/"),!n).join("/"),!e&&!n&&(e="."),e&&i&&(e+="/"),(n?"/":"")+e},v.isAbsolute=function(e){return e.charAt(0)==="/"},v.join=function(){for(var e="",n=0;n<arguments.length;n++){var i=arguments[n];if(!f.isString(i))throw new TypeError("Arguments to path.join must be strings");i&&(e?e+="/"+i:e+=i)}return v.normalize(e)},v.relative=function(e,n){e=v.resolve(e).substr(1),n=v.resolve(n).substr(1);for(var i=b(e.split("/")),o=b(n.split("/")),a=Math.min(i.length,o.length),c=a,d=0;d<a;d++)if(i[d]!==o[d]){c=d;break}for(var z=[],d=c;d<i.length;d++)z.push("..");return z=z.concat(o.slice(c)),z.join("/")},v._makeLong=function(e){return e},v.dirname=function(e){var n=D(e),i=n[0],o=n[1];return!i&&!o?".":(o&&(o=o.substr(0,o.length-1)),i+o)},v.basename=function(e,n){var i=D(e)[2];return n&&i.substr(-1*n.length)===n&&(i=i.substr(0,i.length-n.length)),i},v.extname=function(e){return D(e)[3]},v.format=function(e){if(!f.isObject(e))throw new TypeError("Parameter 'pathObject' must be an object, not "+typeof e);var n=e.root||"";if(!f.isString(n))throw new TypeError("'pathObject.root' must be a string or undefined, not "+typeof e.root);var i=e.dir?e.dir+v.sep:"",o=e.base||"";return i+o},v.parse=function(e){if(!f.isString(e))throw new TypeError("Parameter 'pathString' must be a string, not "+typeof e);var n=D(e);if(!n||n.length!==4)throw new TypeError("Invalid path '"+e+"'");return n[1]=n[1]||"",n[2]=n[2]||"",n[3]=n[3]||"",{root:n[0],dir:n[0]+n[1].slice(0,-1),base:n[2],ext:n[3],name:n[2].slice(0,n[2].length-n[3].length)}},v.sep="/",v.delimiter=":",u?U.exports=y:U.exports=v,U.exports.posix=v,U.exports.win32=y,U.exports}var vr=hr();const X=gr(vr);function br(){try{const u=X.dirname(require.resolve("@voilabs/mark/package.json"));return X.join(u,"dist/**/*.{js,ts,jsx,tsx}")}catch{return"./node_modules/@voilabs/mark/dist/**/*.{js,ts,jsx,tsx}"}}const wr=cr(function({addBase:u,theme:f}){u({})},{content:[br()],plugins:[require("tailwindcss-animate"),require("@tailwindcss/typography")]});module.exports=wr;
@@ -0,0 +1,4 @@
1
+ import plugin from "tailwindcss/plugin";
2
+ declare const tailwindPlugin: ReturnType<typeof plugin>;
3
+ export default tailwindPlugin;
4
+ //# sourceMappingURL=plugin.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"plugin.d.ts","sourceRoot":"","sources":["../src/plugin.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,oBAAoB,CAAC;AAcxC,QAAA,MAAM,cAAc,EAAE,UAAU,CAAC,OAAO,MAAM,CAW7C,CAAC;AAEF,eAAe,cAAc,CAAC"}
@@ -0,0 +1,575 @@
1
+ function X(u, f) {
2
+ return { handler: u, config: f };
3
+ }
4
+ X.withOptions = function(u, f = () => ({})) {
5
+ function v(S) {
6
+ return { handler: u(S), config: f(S) };
7
+ }
8
+ return v.__isOptionsFunction = !0, v;
9
+ };
10
+ var tr = X, ir = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
11
+ function or(u) {
12
+ return u && u.__esModule && Object.prototype.hasOwnProperty.call(u, "default") ? u.default : u;
13
+ }
14
+ var U = { exports: {} }, H = {}, J, Z;
15
+ function sr() {
16
+ return Z || (Z = 1, J = function(f) {
17
+ return f && typeof f == "object" && typeof f.copy == "function" && typeof f.fill == "function" && typeof f.readUInt8 == "function";
18
+ }), J;
19
+ }
20
+ var I = { exports: {} }, W;
21
+ function ur() {
22
+ return W || (W = 1, typeof Object.create == "function" ? I.exports = function(f, v) {
23
+ f.super_ = v, f.prototype = Object.create(v.prototype, {
24
+ constructor: {
25
+ value: f,
26
+ enumerable: !1,
27
+ writable: !0,
28
+ configurable: !0
29
+ }
30
+ });
31
+ } : I.exports = function(f, v) {
32
+ f.super_ = v;
33
+ var S = function() {
34
+ };
35
+ S.prototype = v.prototype, f.prototype = new S(), f.prototype.constructor = f;
36
+ }), I.exports;
37
+ }
38
+ var V;
39
+ function fr() {
40
+ return V || (V = 1, (function(u) {
41
+ var f = /%[sdj%]/g;
42
+ u.format = function(r) {
43
+ if (!g(r)) {
44
+ for (var t = [], s = 0; s < arguments.length; s++)
45
+ t.push(z(arguments[s]));
46
+ return t.join(" ");
47
+ }
48
+ for (var s = 1, p = arguments, j = p.length, y = String(r).replace(f, function(m) {
49
+ if (m === "%%") return "%";
50
+ if (s >= j) return m;
51
+ switch (m) {
52
+ case "%s":
53
+ return String(p[s++]);
54
+ case "%d":
55
+ return Number(p[s++]);
56
+ case "%j":
57
+ try {
58
+ return JSON.stringify(p[s++]);
59
+ } catch {
60
+ return "[Circular]";
61
+ }
62
+ default:
63
+ return m;
64
+ }
65
+ }), l = p[s]; s < j; l = p[++s])
66
+ o(l) || !A(l) ? y += " " + l : y += " " + z(l);
67
+ return y;
68
+ }, u.deprecate = function(r, t) {
69
+ if (w(ir.process))
70
+ return function() {
71
+ return u.deprecate(r, t).apply(this, arguments);
72
+ };
73
+ if (process.noDeprecation === !0)
74
+ return r;
75
+ var s = !1;
76
+ function p() {
77
+ if (!s) {
78
+ if (process.throwDeprecation)
79
+ throw new Error(t);
80
+ process.traceDeprecation ? console.trace(t) : console.error(t), s = !0;
81
+ }
82
+ return r.apply(this, arguments);
83
+ }
84
+ return p;
85
+ };
86
+ var v = {}, S;
87
+ u.debuglog = function(r) {
88
+ if (w(S) && (S = process.env.NODE_DEBUG || ""), r = r.toUpperCase(), !v[r])
89
+ if (new RegExp("\\b" + r + "\\b", "i").test(S)) {
90
+ var t = process.pid;
91
+ v[r] = function() {
92
+ var s = u.format.apply(u, arguments);
93
+ console.error("%s %d: %s", r, t, s);
94
+ };
95
+ } else
96
+ v[r] = function() {
97
+ };
98
+ return v[r];
99
+ };
100
+ function z(r, t) {
101
+ var s = {
102
+ seen: [],
103
+ stylize: d
104
+ };
105
+ return arguments.length >= 3 && (s.depth = arguments[2]), arguments.length >= 4 && (s.colors = arguments[3]), i(t) ? s.showHidden = t : t && u._extend(s, t), w(s.showHidden) && (s.showHidden = !1), w(s.depth) && (s.depth = 2), w(s.colors) && (s.colors = !1), w(s.customInspect) && (s.customInspect = !0), s.colors && (s.stylize = L), O(s, r, s.depth);
106
+ }
107
+ u.inspect = z, z.colors = {
108
+ bold: [1, 22],
109
+ italic: [3, 23],
110
+ underline: [4, 24],
111
+ inverse: [7, 27],
112
+ white: [37, 39],
113
+ grey: [90, 39],
114
+ black: [30, 39],
115
+ blue: [34, 39],
116
+ cyan: [36, 39],
117
+ green: [32, 39],
118
+ magenta: [35, 39],
119
+ red: [31, 39],
120
+ yellow: [33, 39]
121
+ }, z.styles = {
122
+ special: "cyan",
123
+ number: "yellow",
124
+ boolean: "yellow",
125
+ undefined: "grey",
126
+ null: "bold",
127
+ string: "green",
128
+ date: "magenta",
129
+ // "name": intentionally not styling
130
+ regexp: "red"
131
+ };
132
+ function L(r, t) {
133
+ var s = z.styles[t];
134
+ return s ? "\x1B[" + z.colors[s][0] + "m" + r + "\x1B[" + z.colors[s][1] + "m" : r;
135
+ }
136
+ function d(r, t) {
137
+ return r;
138
+ }
139
+ function _(r) {
140
+ var t = {};
141
+ return r.forEach(function(s, p) {
142
+ t[s] = !0;
143
+ }), t;
144
+ }
145
+ function O(r, t, s) {
146
+ if (r.customInspect && t && q(t.inspect) && // Filter out the util module, it's inspect function is special
147
+ t.inspect !== u.inspect && // Also filter out any prototype objects using the circular check.
148
+ !(t.constructor && t.constructor.prototype === t)) {
149
+ var p = t.inspect(s, r);
150
+ return g(p) || (p = O(r, p, s)), p;
151
+ }
152
+ var j = R(r, t);
153
+ if (j)
154
+ return j;
155
+ var y = Object.keys(t), l = _(y);
156
+ if (r.showHidden && (y = Object.getOwnPropertyNames(t)), C(t) && (y.indexOf("message") >= 0 || y.indexOf("description") >= 0))
157
+ return N(t);
158
+ if (y.length === 0) {
159
+ if (q(t)) {
160
+ var m = t.name ? ": " + t.name : "";
161
+ return r.stylize("[Function" + m + "]", "special");
162
+ }
163
+ if (E(t))
164
+ return r.stylize(RegExp.prototype.toString.call(t), "regexp");
165
+ if ($(t))
166
+ return r.stylize(Date.prototype.toString.call(t), "date");
167
+ if (C(t))
168
+ return N(t);
169
+ }
170
+ var b = "", T = !1, B = ["{", "}"];
171
+ if (n(t) && (T = !0, B = ["[", "]"]), q(t)) {
172
+ var er = t.name ? ": " + t.name : "";
173
+ b = " [Function" + er + "]";
174
+ }
175
+ if (E(t) && (b = " " + RegExp.prototype.toString.call(t)), $(t) && (b = " " + Date.prototype.toUTCString.call(t)), C(t) && (b = " " + N(t)), y.length === 0 && (!T || t.length == 0))
176
+ return B[0] + b + B[1];
177
+ if (s < 0)
178
+ return E(t) ? r.stylize(RegExp.prototype.toString.call(t), "regexp") : r.stylize("[Object]", "special");
179
+ r.seen.push(t);
180
+ var M;
181
+ return T ? M = h(r, t, s, l, y) : M = y.map(function(nr) {
182
+ return D(r, t, s, l, nr, T);
183
+ }), r.seen.pop(), e(M, b, B);
184
+ }
185
+ function R(r, t) {
186
+ if (w(t))
187
+ return r.stylize("undefined", "undefined");
188
+ if (g(t)) {
189
+ var s = "'" + JSON.stringify(t).replace(/^"|"$/g, "").replace(/'/g, "\\'").replace(/\\"/g, '"') + "'";
190
+ return r.stylize(s, "string");
191
+ }
192
+ if (c(t))
193
+ return r.stylize("" + t, "number");
194
+ if (i(t))
195
+ return r.stylize("" + t, "boolean");
196
+ if (o(t))
197
+ return r.stylize("null", "null");
198
+ }
199
+ function N(r) {
200
+ return "[" + Error.prototype.toString.call(r) + "]";
201
+ }
202
+ function h(r, t, s, p, j) {
203
+ for (var y = [], l = 0, m = t.length; l < m; ++l)
204
+ G(t, String(l)) ? y.push(D(
205
+ r,
206
+ t,
207
+ s,
208
+ p,
209
+ String(l),
210
+ !0
211
+ )) : y.push("");
212
+ return j.forEach(function(b) {
213
+ b.match(/^\d+$/) || y.push(D(
214
+ r,
215
+ t,
216
+ s,
217
+ p,
218
+ b,
219
+ !0
220
+ ));
221
+ }), y;
222
+ }
223
+ function D(r, t, s, p, j, y) {
224
+ var l, m, b;
225
+ if (b = Object.getOwnPropertyDescriptor(t, j) || { value: t[j] }, b.get ? b.set ? m = r.stylize("[Getter/Setter]", "special") : m = r.stylize("[Getter]", "special") : b.set && (m = r.stylize("[Setter]", "special")), G(p, j) || (l = "[" + j + "]"), m || (r.seen.indexOf(b.value) < 0 ? (o(s) ? m = O(r, b.value, null) : m = O(r, b.value, s - 1), m.indexOf(`
226
+ `) > -1 && (y ? m = m.split(`
227
+ `).map(function(T) {
228
+ return " " + T;
229
+ }).join(`
230
+ `).substr(2) : m = `
231
+ ` + m.split(`
232
+ `).map(function(T) {
233
+ return " " + T;
234
+ }).join(`
235
+ `))) : m = r.stylize("[Circular]", "special")), w(l)) {
236
+ if (y && j.match(/^\d+$/))
237
+ return m;
238
+ l = JSON.stringify("" + j), l.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/) ? (l = l.substr(1, l.length - 2), l = r.stylize(l, "name")) : (l = l.replace(/'/g, "\\'").replace(/\\"/g, '"').replace(/(^"|"$)/g, "'"), l = r.stylize(l, "string"));
239
+ }
240
+ return l + ": " + m;
241
+ }
242
+ function e(r, t, s) {
243
+ var p = r.reduce(function(j, y) {
244
+ return y.indexOf(`
245
+ `) >= 0, j + y.replace(/\u001b\[\d\d?m/g, "").length + 1;
246
+ }, 0);
247
+ return p > 60 ? s[0] + (t === "" ? "" : t + `
248
+ `) + " " + r.join(`,
249
+ `) + " " + s[1] : s[0] + t + " " + r.join(", ") + " " + s[1];
250
+ }
251
+ function n(r) {
252
+ return Array.isArray(r);
253
+ }
254
+ u.isArray = n;
255
+ function i(r) {
256
+ return typeof r == "boolean";
257
+ }
258
+ u.isBoolean = i;
259
+ function o(r) {
260
+ return r === null;
261
+ }
262
+ u.isNull = o;
263
+ function a(r) {
264
+ return r == null;
265
+ }
266
+ u.isNullOrUndefined = a;
267
+ function c(r) {
268
+ return typeof r == "number";
269
+ }
270
+ u.isNumber = c;
271
+ function g(r) {
272
+ return typeof r == "string";
273
+ }
274
+ u.isString = g;
275
+ function P(r) {
276
+ return typeof r == "symbol";
277
+ }
278
+ u.isSymbol = P;
279
+ function w(r) {
280
+ return r === void 0;
281
+ }
282
+ u.isUndefined = w;
283
+ function E(r) {
284
+ return A(r) && F(r) === "[object RegExp]";
285
+ }
286
+ u.isRegExp = E;
287
+ function A(r) {
288
+ return typeof r == "object" && r !== null;
289
+ }
290
+ u.isObject = A;
291
+ function $(r) {
292
+ return A(r) && F(r) === "[object Date]";
293
+ }
294
+ u.isDate = $;
295
+ function C(r) {
296
+ return A(r) && (F(r) === "[object Error]" || r instanceof Error);
297
+ }
298
+ u.isError = C;
299
+ function q(r) {
300
+ return typeof r == "function";
301
+ }
302
+ u.isFunction = q;
303
+ function Y(r) {
304
+ return r === null || typeof r == "boolean" || typeof r == "number" || typeof r == "string" || typeof r == "symbol" || // ES6 symbol
305
+ typeof r > "u";
306
+ }
307
+ u.isPrimitive = Y, u.isBuffer = sr();
308
+ function F(r) {
309
+ return Object.prototype.toString.call(r);
310
+ }
311
+ function k(r) {
312
+ return r < 10 ? "0" + r.toString(10) : r.toString(10);
313
+ }
314
+ var x = [
315
+ "Jan",
316
+ "Feb",
317
+ "Mar",
318
+ "Apr",
319
+ "May",
320
+ "Jun",
321
+ "Jul",
322
+ "Aug",
323
+ "Sep",
324
+ "Oct",
325
+ "Nov",
326
+ "Dec"
327
+ ];
328
+ function rr() {
329
+ var r = /* @__PURE__ */ new Date(), t = [
330
+ k(r.getHours()),
331
+ k(r.getMinutes()),
332
+ k(r.getSeconds())
333
+ ].join(":");
334
+ return [r.getDate(), x[r.getMonth()], t].join(" ");
335
+ }
336
+ u.log = function() {
337
+ console.log("%s - %s", rr(), u.format.apply(u, arguments));
338
+ }, u.inherits = ur(), u._extend = function(r, t) {
339
+ if (!t || !A(t)) return r;
340
+ for (var s = Object.keys(t), p = s.length; p--; )
341
+ r[s[p]] = t[s[p]];
342
+ return r;
343
+ };
344
+ function G(r, t) {
345
+ return Object.prototype.hasOwnProperty.call(r, t);
346
+ }
347
+ })(H)), H;
348
+ }
349
+ var K;
350
+ function ar() {
351
+ if (K) return U.exports;
352
+ K = 1;
353
+ var u = process.platform === "win32", f = fr();
354
+ function v(e, n) {
355
+ for (var i = [], o = 0; o < e.length; o++) {
356
+ var a = e[o];
357
+ !a || a === "." || (a === ".." ? i.length && i[i.length - 1] !== ".." ? i.pop() : n && i.push("..") : i.push(a));
358
+ }
359
+ return i;
360
+ }
361
+ function S(e) {
362
+ for (var n = e.length - 1, i = 0; i <= n && !e[i]; i++)
363
+ ;
364
+ for (var o = n; o >= 0 && !e[o]; o--)
365
+ ;
366
+ return i === 0 && o === n ? e : i > o ? [] : e.slice(i, o + 1);
367
+ }
368
+ var z = /^([a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/]+[^\\\/]+)?([\\\/])?([\s\S]*?)$/, L = /^([\s\S]*?)((?:\.{1,2}|[^\\\/]+?|)(\.[^.\/\\]*|))(?:[\\\/]*)$/, d = {};
369
+ function _(e) {
370
+ var n = z.exec(e), i = (n[1] || "") + (n[2] || ""), o = n[3] || "", a = L.exec(o), c = a[1], g = a[2], P = a[3];
371
+ return [i, c, g, P];
372
+ }
373
+ function O(e) {
374
+ var n = z.exec(e), i = n[1] || "", o = !!i && i[1] !== ":";
375
+ return {
376
+ device: i,
377
+ isUnc: o,
378
+ isAbsolute: o || !!n[2],
379
+ // UNC paths are always absolute
380
+ tail: n[3]
381
+ };
382
+ }
383
+ function R(e) {
384
+ return "\\\\" + e.replace(/^[\\\/]+/, "").replace(/[\\\/]+/g, "\\");
385
+ }
386
+ d.resolve = function() {
387
+ for (var e = "", n = "", i = !1, o = arguments.length - 1; o >= -1; o--) {
388
+ var a;
389
+ if (o >= 0 ? a = arguments[o] : e ? (a = process.env["=" + e], (!a || a.substr(0, 3).toLowerCase() !== e.toLowerCase() + "\\") && (a = e + "\\")) : a = process.cwd(), f.isString(a)) {
390
+ if (!a)
391
+ continue;
392
+ } else throw new TypeError("Arguments to path.resolve must be strings");
393
+ var c = O(a), g = c.device, P = c.isUnc, w = c.isAbsolute, E = c.tail;
394
+ if (!(g && e && g.toLowerCase() !== e.toLowerCase()) && (e || (e = g), i || (n = E + "\\" + n, i = w), e && i))
395
+ break;
396
+ }
397
+ return P && (e = R(e)), n = v(
398
+ n.split(/[\\\/]+/),
399
+ !i
400
+ ).join("\\"), e + (i ? "\\" : "") + n || ".";
401
+ }, d.normalize = function(e) {
402
+ var n = O(e), i = n.device, o = n.isUnc, a = n.isAbsolute, c = n.tail, g = /[\\\/]$/.test(c);
403
+ return c = v(c.split(/[\\\/]+/), !a).join("\\"), !c && !a && (c = "."), c && g && (c += "\\"), o && (i = R(i)), i + (a ? "\\" : "") + c;
404
+ }, d.isAbsolute = function(e) {
405
+ return O(e).isAbsolute;
406
+ }, d.join = function() {
407
+ for (var e = [], n = 0; n < arguments.length; n++) {
408
+ var i = arguments[n];
409
+ if (!f.isString(i))
410
+ throw new TypeError("Arguments to path.join must be strings");
411
+ i && e.push(i);
412
+ }
413
+ var o = e.join("\\");
414
+ return /^[\\\/]{2}[^\\\/]/.test(e[0]) || (o = o.replace(/^[\\\/]{2,}/, "\\")), d.normalize(o);
415
+ }, d.relative = function(e, n) {
416
+ e = d.resolve(e), n = d.resolve(n);
417
+ for (var i = e.toLowerCase(), o = n.toLowerCase(), a = S(n.split("\\")), c = S(i.split("\\")), g = S(o.split("\\")), P = Math.min(c.length, g.length), w = P, E = 0; E < P; E++)
418
+ if (c[E] !== g[E]) {
419
+ w = E;
420
+ break;
421
+ }
422
+ if (w == 0)
423
+ return n;
424
+ for (var A = [], E = w; E < c.length; E++)
425
+ A.push("..");
426
+ return A = A.concat(a.slice(w)), A.join("\\");
427
+ }, d._makeLong = function(e) {
428
+ if (!f.isString(e))
429
+ return e;
430
+ if (!e)
431
+ return "";
432
+ var n = d.resolve(e);
433
+ return /^[a-zA-Z]\:\\/.test(n) ? "\\\\?\\" + n : /^\\\\[^?.]/.test(n) ? "\\\\?\\UNC\\" + n.substring(2) : e;
434
+ }, d.dirname = function(e) {
435
+ var n = _(e), i = n[0], o = n[1];
436
+ return !i && !o ? "." : (o && (o = o.substr(0, o.length - 1)), i + o);
437
+ }, d.basename = function(e, n) {
438
+ var i = _(e)[2];
439
+ return n && i.substr(-1 * n.length) === n && (i = i.substr(0, i.length - n.length)), i;
440
+ }, d.extname = function(e) {
441
+ return _(e)[3];
442
+ }, d.format = function(e) {
443
+ if (!f.isObject(e))
444
+ throw new TypeError(
445
+ "Parameter 'pathObject' must be an object, not " + typeof e
446
+ );
447
+ var n = e.root || "";
448
+ if (!f.isString(n))
449
+ throw new TypeError(
450
+ "'pathObject.root' must be a string or undefined, not " + typeof e.root
451
+ );
452
+ var i = e.dir, o = e.base || "";
453
+ return i ? i[i.length - 1] === d.sep ? i + o : i + d.sep + o : o;
454
+ }, d.parse = function(e) {
455
+ if (!f.isString(e))
456
+ throw new TypeError(
457
+ "Parameter 'pathString' must be a string, not " + typeof e
458
+ );
459
+ var n = _(e);
460
+ if (!n || n.length !== 4)
461
+ throw new TypeError("Invalid path '" + e + "'");
462
+ return {
463
+ root: n[0],
464
+ dir: n[0] + n[1].slice(0, -1),
465
+ base: n[2],
466
+ ext: n[3],
467
+ name: n[2].slice(0, n[2].length - n[3].length)
468
+ };
469
+ }, d.sep = "\\", d.delimiter = ";";
470
+ var N = /^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/, h = {};
471
+ function D(e) {
472
+ return N.exec(e).slice(1);
473
+ }
474
+ return h.resolve = function() {
475
+ for (var e = "", n = !1, i = arguments.length - 1; i >= -1 && !n; i--) {
476
+ var o = i >= 0 ? arguments[i] : process.cwd();
477
+ if (f.isString(o)) {
478
+ if (!o)
479
+ continue;
480
+ } else throw new TypeError("Arguments to path.resolve must be strings");
481
+ e = o + "/" + e, n = o[0] === "/";
482
+ }
483
+ return e = v(
484
+ e.split("/"),
485
+ !n
486
+ ).join("/"), (n ? "/" : "") + e || ".";
487
+ }, h.normalize = function(e) {
488
+ var n = h.isAbsolute(e), i = e && e[e.length - 1] === "/";
489
+ return e = v(e.split("/"), !n).join("/"), !e && !n && (e = "."), e && i && (e += "/"), (n ? "/" : "") + e;
490
+ }, h.isAbsolute = function(e) {
491
+ return e.charAt(0) === "/";
492
+ }, h.join = function() {
493
+ for (var e = "", n = 0; n < arguments.length; n++) {
494
+ var i = arguments[n];
495
+ if (!f.isString(i))
496
+ throw new TypeError("Arguments to path.join must be strings");
497
+ i && (e ? e += "/" + i : e += i);
498
+ }
499
+ return h.normalize(e);
500
+ }, h.relative = function(e, n) {
501
+ e = h.resolve(e).substr(1), n = h.resolve(n).substr(1);
502
+ for (var i = S(e.split("/")), o = S(n.split("/")), a = Math.min(i.length, o.length), c = a, g = 0; g < a; g++)
503
+ if (i[g] !== o[g]) {
504
+ c = g;
505
+ break;
506
+ }
507
+ for (var P = [], g = c; g < i.length; g++)
508
+ P.push("..");
509
+ return P = P.concat(o.slice(c)), P.join("/");
510
+ }, h._makeLong = function(e) {
511
+ return e;
512
+ }, h.dirname = function(e) {
513
+ var n = D(e), i = n[0], o = n[1];
514
+ return !i && !o ? "." : (o && (o = o.substr(0, o.length - 1)), i + o);
515
+ }, h.basename = function(e, n) {
516
+ var i = D(e)[2];
517
+ return n && i.substr(-1 * n.length) === n && (i = i.substr(0, i.length - n.length)), i;
518
+ }, h.extname = function(e) {
519
+ return D(e)[3];
520
+ }, h.format = function(e) {
521
+ if (!f.isObject(e))
522
+ throw new TypeError(
523
+ "Parameter 'pathObject' must be an object, not " + typeof e
524
+ );
525
+ var n = e.root || "";
526
+ if (!f.isString(n))
527
+ throw new TypeError(
528
+ "'pathObject.root' must be a string or undefined, not " + typeof e.root
529
+ );
530
+ var i = e.dir ? e.dir + h.sep : "", o = e.base || "";
531
+ return i + o;
532
+ }, h.parse = function(e) {
533
+ if (!f.isString(e))
534
+ throw new TypeError(
535
+ "Parameter 'pathString' must be a string, not " + typeof e
536
+ );
537
+ var n = D(e);
538
+ if (!n || n.length !== 4)
539
+ throw new TypeError("Invalid path '" + e + "'");
540
+ return n[1] = n[1] || "", n[2] = n[2] || "", n[3] = n[3] || "", {
541
+ root: n[0],
542
+ dir: n[0] + n[1].slice(0, -1),
543
+ base: n[2],
544
+ ext: n[3],
545
+ name: n[2].slice(0, n[2].length - n[3].length)
546
+ };
547
+ }, h.sep = "/", h.delimiter = ":", u ? U.exports = d : U.exports = h, U.exports.posix = h, U.exports.win32 = d, U.exports;
548
+ }
549
+ var lr = ar();
550
+ const Q = /* @__PURE__ */ or(lr);
551
+ function cr() {
552
+ try {
553
+ const u = Q.dirname(
554
+ require.resolve("@voilabs/mark/package.json")
555
+ );
556
+ return Q.join(u, "dist/**/*.{js,ts,jsx,tsx}");
557
+ } catch {
558
+ return "./node_modules/@voilabs/mark/dist/**/*.{js,ts,jsx,tsx}";
559
+ }
560
+ }
561
+ const pr = tr(
562
+ function({ addBase: u, theme: f }) {
563
+ u({});
564
+ },
565
+ {
566
+ content: [cr()],
567
+ plugins: [
568
+ require("tailwindcss-animate"),
569
+ require("@tailwindcss/typography")
570
+ ]
571
+ }
572
+ );
573
+ export {
574
+ pr as default
575
+ };
@@ -0,0 +1 @@
1
+ "use strict";const e={placeholder:"Type '/' for commands",placeholderHeading:"Heading",placeholderQuote:"Quote",word:"word",words:"words",zoomIn:"Zoom in",zoomOut:"Zoom out",resetZoom:"Reset zoom",fullscreen:"Fullscreen",exitFullscreen:"Exit fullscreen",lightTheme:"Light theme",darkTheme:"Dark theme",toggleTheme:"Toggle theme",paragraphStyle:"Paragraph style",fontFamily:"Font family",editStyle:"Edit Style",styleName:"Name",styleFontSize:"Font Size",styleFontWeight:"Weight",styleFontFamily:"Font Family",styleFontStyle:"Style",styleTextTransform:"Transform",styleColor:"Color",styleLetterSpacing:"Letter Spacing",styleLineHeight:"Line Height",saveStyle:"Save",resetStyle:"Reset",heading:"Heading",list:"List",undo:"Undo",redo:"Redo",bold:"Bold",italic:"Italic",underline:"Underline",strikethrough:"Strikethrough",code:"Code",inlineCode:"Inline Code",codeBlock:"Code Block",highlight:"Highlight",highlightPalette:"Highlight colors",clearHighlight:"Clear highlight",fontSize:"Font size",increaseFontSize:"Increase font size",decreaseFontSize:"Decrease font size",resetFontSize:"Reset font size",superscript:"Superscript",subscript:"Subscript",link:"Link",insertLink:"Insert link",linkPlaceholder:"https://...",altText:"Alt text",altTextPlaceholder:"Describe the image",clearAltText:"Clear",apply:"Apply",cancel:"Cancel",image:"Insert Image",video:"Insert Video",upload:"Upload",uploadMedia:"Upload image or video",table:"Table",alignLeft:"Align Left",alignCenter:"Align Center",alignRight:"Align Right",alignJustify:"Justify",imageUrlPrompt:"Image URL",imageAlt:"Image",imagePanHint:"Ctrl+drag to pan",imageFrameModeHint:"Frame mode (Shift+drag to resize; Ctrl+drag to pan)",imageNaturalModeHint:"Natural mode (drag to resize; Shift+drag for frame)",rotate:"Rotate",crop:"Crop",turnInto:"Turn into",text:"Text",heading1:"Heading 1",heading2:"Heading 2",heading3:"Heading 3",heading4:"Heading 4",heading5:"Heading 5",bulletList:"Bullet List",numberedList:"Numbered List",quote:"Quote",color:"Color",textColor:"Text Color",background:"Background",resetFormatting:"Reset formatting",defaultText:"Default text",grayText:"Gray text",brownText:"Brown text",orangeText:"Orange text",yellowText:"Yellow text",greenText:"Green text",blueText:"Blue text",purpleText:"Purple text",pinkText:"Pink text",redText:"Red text",defaultBackground:"Default background",grayBackground:"Gray background",brownBackground:"Brown background",orangeBackground:"Orange background",yellowBackground:"Yellow background",greenBackground:"Green background",blueBackground:"Blue background",purpleBackground:"Purple background",pinkBackground:"Pink background",redBackground:"Red background",highlightYellow:"Yellow highlight",highlightAmber:"Amber highlight",highlightOrange:"Orange highlight",highlightRed:"Red highlight",highlightPink:"Pink highlight",highlightPurple:"Purple highlight",highlightBlue:"Blue highlight",highlightCyan:"Cyan highlight",highlightTeal:"Teal highlight",highlightGreen:"Green highlight",highlightLime:"Lime highlight",highlightSlate:"Slate highlight",addBlockBelow:"Add block below",options:"Options",download:"Download",duplicateNode:"Duplicate Node",copyToClipboard:"Copy to clipboard",copyAnchorLink:"Copy anchor link",delete:"Delete",createTable:"Create Table (3x3)",addColumnBefore:"Add Column Before",addColumnAfter:"Add Column After",deleteColumn:"Delete Column",addRowBefore:"Add Row Before",addRowAfter:"Add Row After",deleteRow:"Delete Row",deleteTable:"Delete Table",slashTextDesc:"Just start typing with plain text.",slashHeading1Desc:"Big section heading.",slashHeading2Desc:"Medium section heading.",slashHeading3Desc:"Small section heading.",slashBulletListDesc:"Create a simple bulleted list.",slashNumberedListDesc:"Create a list with numbering.",slashTaskList:"Task List",slashTaskListDesc:"Track tasks with a to-do list.",slashQuoteDesc:"Capture a quote.",slashCodeDesc:"Capture a code snippet.",slashImageDesc:"Upload an image.",slashVideoDesc:"Embed a YouTube/Vimeo video.",slashTableDesc:"Add a table.",slashDivider:"Divider",slashDividerDesc:"Visually divide blocks.",noResults:"No results"};module.exports=e;
@@ -0,0 +1,4 @@
1
+ import { EditorTranslations } from "../components/editor/translations";
2
+ declare const _default: EditorTranslations;
3
+ export default _default;
4
+ //# sourceMappingURL=en-US.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"en-US.d.ts","sourceRoot":"","sources":["../../src/translations/en-US.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,mCAAmC,CAAC;;AAEvE,wBAqJwB"}