@visulima/packem-rollup 1.0.0-alpha.2 → 1.0.0-alpha.21
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/CHANGELOG.md +206 -0
- package/README.md +89 -2
- package/dist/index.d.mts +7 -4
- package/dist/index.d.ts +7 -4
- package/dist/index.mjs +1 -1
- package/dist/packem_shared/cachingPlugin-TWoY5ZxV.mjs +1 -0
- package/dist/packem_shared/dataUriPlugin-BFb7bZZs.mjs +1 -0
- package/dist/packem_shared/debarrelPlugin-BTYc859G.mjs +2 -0
- package/dist/packem_shared/esbuildPlugin-BrFhdKJk.mjs +1 -0
- package/dist/packem_shared/index-QEzU3Fey.mjs +1 -0
- package/dist/packem_shared/index.server.d-DhMawQMd.d.mts +251 -0
- package/dist/packem_shared/index.server.d-DhMawQMd.d.ts +251 -0
- package/dist/packem_shared/isolatedDeclarationsPlugin-B34s_qkE.mjs +3 -0
- package/dist/packem_shared/{metafilePlugin-ObS4J7mO.mjs → metafilePlugin-CVcqFpPJ.mjs} +1 -1
- package/dist/packem_shared/nativeModulesPlugin-D6lO-8g6.mjs +1 -0
- package/dist/packem_shared/rawPlugin-DgRj14Xy.mjs +6 -0
- package/dist/packem_shared/requireCJSTransformerPlugin-BZ49I4kw.mjs +11 -0
- package/dist/packem_shared/resolveTsconfigPathsPlugin-pUcTdE77.mjs +1 -0
- package/dist/packem_shared/{index-IiwweiIe.d.mts → types-BK7k04DQ.d.mts} +2697 -2898
- package/dist/packem_shared/{index-IiwweiIe.d.ts → types-DvaEike_.d.ts} +2697 -2898
- package/dist/packem_shared/urlPlugin-DJJrDWjj.mjs +1 -0
- package/dist/plugins/esbuild/index.d.mts +6 -4
- package/dist/plugins/esbuild/index.d.ts +6 -4
- package/dist/plugins/esbuild/index.mjs +1 -1
- package/dist/plugins/minify-html-literals/index.d.mts +97 -0
- package/dist/plugins/minify-html-literals/index.d.ts +78 -0
- package/dist/plugins/minify-html-literals/index.mjs +3 -0
- package/dist/plugins/oxc/index.d.mts +8 -6
- package/dist/plugins/oxc/index.d.ts +8 -6
- package/dist/plugins/oxc/index.mjs +1 -1
- package/dist/plugins/sucrase/index.d.mts +4 -2
- package/dist/plugins/sucrase/index.d.ts +4 -2
- package/dist/plugins/swc/index.d.mts +8 -6
- package/dist/plugins/swc/index.d.ts +8 -6
- package/dist/plugins/swc/index.mjs +1 -1
- package/dist/plugins/typescript/index.d.mts +5 -3
- package/dist/plugins/typescript/index.d.ts +5 -3
- package/dist/plugins/typescript/index.mjs +1 -1
- package/package.json +128 -175
- package/dist/packem_shared/cachingPlugin-D0BBFJPD.mjs +0 -1
- package/dist/packem_shared/esbuildPlugin-BAwyhG6L.mjs +0 -1
- package/dist/packem_shared/isolatedDeclarationsPlugin-BqP17nSP.mjs +0 -3
- package/dist/packem_shared/rawPlugin-BqlR6ZOI.mjs +0 -1
- package/dist/packem_shared/resolveTsconfigPathsPlugin-Crf4lzxq.mjs +0 -1
- package/dist/packem_shared/urlPlugin-DBgFIkTc.mjs +0 -1
- /package/dist/packem_shared/{resolveFileUrl-BkpjVHeK.mjs → resolveFileUrlPlugin-BkpjVHeK.mjs} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var A=Object.defineProperty;var w=(t,a)=>A(t,"name",{value:a,configurable:!0});import D from"node:crypto";import{createReadStream as S,createWriteStream as j}from"node:fs";import{stat as k,readFile as E}from"node:fs/promises";import{createFilter as O}from"@rollup/pluginutils";import{ensureDir as y}from"@visulima/fs";import{extname as R,basename as P,relative as W,dirname as c,join as u}from"@visulima/path";import{R as z}from"./index-QEzU3Fey.mjs";import{svgEncoder as B}from"@visulima/packem-share/utils";var C=Object.defineProperty,b=w((t,a)=>C(t,"name",{value:a,configurable:!0}),"g");const H=b(async(t,a)=>{await new Promise((p,m)=>{const s=S(t);s.on("error",m);const i=j(a);i.on("error",m),i.on("finish",()=>p(void 0)),s.pipe(i)})},"copy"),M=b(({destDir:t,emitFiles:a,exclude:p,fileName:m,include:s,limit:i,publicPath:x,sourceDir:f})=>{const F=O(s,p),d={};return{async generateBundle(e){if(!a)return;const l=t??e.dir??c(e.file??"");await y(l),await Promise.all(Object.keys(d).map(async n=>{const r=d[n],o=u(l,c(r));await y(o),await H(n,u(l,r))}))},async load(e){if(!F(e))return;this.addWatchFile(e);const[l,n]=await Promise.all([k(e),E(e)]);let r;if(i&&l.size>i||i===0){const o=D.createHash("sha1").update(n).digest("hex").slice(0,16),g=R(e),$=P(e,g),h=f?W(f,c(e)):P(c(e)),v=m.replaceAll("[hash]",o).replaceAll("[extname]",g).replaceAll("[dirname]",h===""?"":`${h}/`).replaceAll("[name]",$);r=u(x??"",v),d[e]=v}else{const o=z.getType(e);if(o===void 0)throw new Error(`Could not determine mimetype for ${e}`);r=o==="image/svg+xml"?B(n):n.toString("base64"),r=`data:${o};base64,${r}`}return`export default "${r}"`},name:"packem:url"}},"urlPlugin");export{M as urlPlugin};
|
|
@@ -1,20 +1,22 @@
|
|
|
1
1
|
export { b as browserslistToEsbuild } from '../../packem_shared/browserslist-to-esbuild-DY9HwYtp.mjs';
|
|
2
|
-
import {
|
|
3
|
-
export {
|
|
4
|
-
import '@rollup/pluginutils';
|
|
5
|
-
import 'rollup';
|
|
2
|
+
import { x as TransformerFn } from '../../packem_shared/types-BK7k04DQ.mjs';
|
|
3
|
+
export { z as EsbuildPluginConfig, B as OptimizeDepsOptions, F as OptimizeDepsResult, A as Optimized, G as Options } from '../../packem_shared/types-BK7k04DQ.mjs';
|
|
6
4
|
import '@rollup/plugin-alias';
|
|
7
5
|
import '@rollup/plugin-commonjs';
|
|
8
6
|
import '@rollup/plugin-json';
|
|
9
7
|
import '@rollup/plugin-node-resolve';
|
|
10
8
|
import '@rollup/plugin-replace';
|
|
11
9
|
import '@rollup/plugin-wasm';
|
|
10
|
+
import '@rollup/pluginutils';
|
|
11
|
+
import 'rollup';
|
|
12
12
|
import 'rollup-plugin-dts';
|
|
13
13
|
import 'rollup-plugin-polyfill-node';
|
|
14
14
|
import 'rollup-plugin-pure';
|
|
15
15
|
import 'rollup-plugin-visualizer';
|
|
16
|
+
import '../../packem_shared/index.server.d-DhMawQMd.mjs';
|
|
16
17
|
import 'esbuild';
|
|
17
18
|
import '@visulima/package';
|
|
19
|
+
import '@visulima/packem-share/types';
|
|
18
20
|
import 'oxc-resolver';
|
|
19
21
|
import 'oxc-transform';
|
|
20
22
|
import 'sucrase';
|
|
@@ -1,20 +1,22 @@
|
|
|
1
1
|
export { b as browserslistToEsbuild } from '../../packem_shared/browserslist-to-esbuild-DY9HwYtp.js';
|
|
2
|
-
import {
|
|
3
|
-
export {
|
|
4
|
-
import '@rollup/pluginutils';
|
|
5
|
-
import 'rollup';
|
|
2
|
+
import { x as TransformerFn } from '../../packem_shared/types-DvaEike_.js';
|
|
3
|
+
export { z as EsbuildPluginConfig, B as OptimizeDepsOptions, F as OptimizeDepsResult, A as Optimized, G as Options } from '../../packem_shared/types-DvaEike_.js';
|
|
6
4
|
import '@rollup/plugin-alias';
|
|
7
5
|
import '@rollup/plugin-commonjs';
|
|
8
6
|
import '@rollup/plugin-json';
|
|
9
7
|
import '@rollup/plugin-node-resolve';
|
|
10
8
|
import '@rollup/plugin-replace';
|
|
11
9
|
import '@rollup/plugin-wasm';
|
|
10
|
+
import '@rollup/pluginutils';
|
|
11
|
+
import 'rollup';
|
|
12
12
|
import 'rollup-plugin-dts';
|
|
13
13
|
import 'rollup-plugin-polyfill-node';
|
|
14
14
|
import 'rollup-plugin-pure';
|
|
15
15
|
import 'rollup-plugin-visualizer';
|
|
16
|
+
import '../../packem_shared/index.server.d-DhMawQMd.js';
|
|
16
17
|
import 'esbuild';
|
|
17
18
|
import '@visulima/package';
|
|
19
|
+
import '@visulima/packem-share/types';
|
|
18
20
|
import 'oxc-resolver';
|
|
19
21
|
import 'oxc-transform';
|
|
20
22
|
import 'sucrase';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{default as l}from"../../packem_shared/browserslistToEsbuild-C0IWmbNe.mjs";import{default as r}from"../../packem_shared/esbuildPlugin-
|
|
1
|
+
import{default as l}from"../../packem_shared/browserslistToEsbuild-C0IWmbNe.mjs";import{default as r}from"../../packem_shared/esbuildPlugin-BrFhdKJk.mjs";export{l as browserslistToEsbuild,r as esbuildPlugin};
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
import { FilterPattern } from '@rollup/pluginutils';
|
|
2
|
+
import { P as PailServerType } from '../../packem_shared/index.server.d-DhMawQMd.mjs';
|
|
3
|
+
import { Plugin } from 'rollup';
|
|
4
|
+
import { SourceMapOptions } from 'magic-string';
|
|
5
|
+
import { MinifierOptions } from 'html-minifier-next';
|
|
6
|
+
|
|
7
|
+
interface Template {
|
|
8
|
+
parts: TemplatePart[];
|
|
9
|
+
tag?: string;
|
|
10
|
+
}
|
|
11
|
+
interface TemplatePart {
|
|
12
|
+
end: number;
|
|
13
|
+
start: number;
|
|
14
|
+
text: string;
|
|
15
|
+
}
|
|
16
|
+
interface Strategy$1<N = unknown> {
|
|
17
|
+
getRootNode: (source: string, fileName?: string) => N;
|
|
18
|
+
getTaggedTemplateTemplate: (node: N) => unknown;
|
|
19
|
+
getTagText: (node: N) => string;
|
|
20
|
+
getTemplateParts: (node: N) => TemplatePart[];
|
|
21
|
+
isTaggedTemplate: (node: N) => boolean;
|
|
22
|
+
isTemplate: (node: N) => boolean;
|
|
23
|
+
walkNodes: (parent: N, visit: (child: N) => void) => void;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
interface ParseLiteralsOptions {
|
|
27
|
+
fileName?: string;
|
|
28
|
+
strategy?: Partial<Strategy$1<unknown>>;
|
|
29
|
+
}
|
|
30
|
+
declare const parseLiterals: (source: string, options?: ParseLiteralsOptions) => Template[];
|
|
31
|
+
|
|
32
|
+
interface Strategy<O = unknown, C = unknown> {
|
|
33
|
+
combineHTMLStrings: (parts: TemplatePart[], placeholder: string) => string;
|
|
34
|
+
getPlaceholder: (parts: TemplatePart[]) => string;
|
|
35
|
+
minifyCSS?: (css: string, options?: C) => string;
|
|
36
|
+
minifyHTML: (html: string, options?: O) => string | Promise<string>;
|
|
37
|
+
splitHTMLByPlaceholder: (html: string, placeholder: string) => string[];
|
|
38
|
+
}
|
|
39
|
+
declare const defaultMinifyOptions: MinifierOptions;
|
|
40
|
+
|
|
41
|
+
type Options = DefaultOptions | CustomOptions<unknown>;
|
|
42
|
+
interface DefaultOptions extends BaseOptions {
|
|
43
|
+
minifyOptions?: Partial<typeof defaultMinifyOptions>;
|
|
44
|
+
}
|
|
45
|
+
interface CustomOptions<S extends Strategy | unknown> extends BaseOptions {
|
|
46
|
+
minifyOptions?: S extends Strategy<infer O> ? Partial<O> : never;
|
|
47
|
+
strategy: S;
|
|
48
|
+
}
|
|
49
|
+
interface BaseOptions {
|
|
50
|
+
fileName?: string;
|
|
51
|
+
generateSourceMap?: ((ms: MagicStringLike, fileName: string) => SourceMap | undefined) | false;
|
|
52
|
+
MagicString?: new (source: string) => MagicStringLike;
|
|
53
|
+
parseLiterals?: typeof parseLiterals;
|
|
54
|
+
parseLiteralsOptions?: Partial<ParseLiteralsOptions>;
|
|
55
|
+
shouldMinify?: (template: Template) => boolean;
|
|
56
|
+
shouldMinifyCSS?: (template: Template) => boolean;
|
|
57
|
+
validate?: Validation | false;
|
|
58
|
+
}
|
|
59
|
+
interface MagicStringLike {
|
|
60
|
+
generateMap: (options?: Partial<SourceMapOptions>) => SourceMap;
|
|
61
|
+
overwrite: (start: number, end: number, content: string) => unknown;
|
|
62
|
+
toString: () => string;
|
|
63
|
+
}
|
|
64
|
+
interface SourceMap {
|
|
65
|
+
file?: string;
|
|
66
|
+
mappings: string;
|
|
67
|
+
names: string[];
|
|
68
|
+
sources: string[];
|
|
69
|
+
sourcesContent?: string[];
|
|
70
|
+
toString: () => string;
|
|
71
|
+
toUrl: () => string;
|
|
72
|
+
version: number;
|
|
73
|
+
}
|
|
74
|
+
interface Validation {
|
|
75
|
+
ensureHTMLPartsValid: (parts: TemplatePart[], htmlParts: string[]) => void;
|
|
76
|
+
ensurePlaceholderValid: (placeholder: unknown) => void;
|
|
77
|
+
}
|
|
78
|
+
interface Result {
|
|
79
|
+
code: string;
|
|
80
|
+
map: SourceMap | undefined;
|
|
81
|
+
}
|
|
82
|
+
declare function minifyHTMLLiterals(source: string, options?: DefaultOptions): Promise<Result | null>;
|
|
83
|
+
declare function minifyHTMLLiterals<S extends Strategy>(source: string, options?: CustomOptions<S>): Promise<Result | null>;
|
|
84
|
+
|
|
85
|
+
interface MinifyHTMLLiteralsOptions {
|
|
86
|
+
exclude?: FilterPattern;
|
|
87
|
+
failOnError?: boolean;
|
|
88
|
+
include?: FilterPattern;
|
|
89
|
+
minifyHTMLLiterals?: typeof minifyHTMLLiterals;
|
|
90
|
+
options?: Partial<Options>;
|
|
91
|
+
}
|
|
92
|
+
declare const minifyHTMLLiteralsPlugin: ({ exclude, failOnError, include, logger, minifyHTMLLiterals, options, }: MinifyHTMLLiteralsOptions & {
|
|
93
|
+
logger: PailServerType;
|
|
94
|
+
}) => Plugin;
|
|
95
|
+
|
|
96
|
+
export { minifyHTMLLiteralsPlugin as default, minifyHTMLLiteralsPlugin };
|
|
97
|
+
export type { MinifyHTMLLiteralsOptions };
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
// @ts-ignore
|
|
2
|
+
minifyHTMLLiteralsPlugin;
|
|
3
|
+
export { minifyHTMLLiteralsPlugin };
|
|
4
|
+
declare namespace minifyHTMLLiteralsPlugin {
|
|
5
|
+
export interface Template {
|
|
6
|
+
parts: TemplatePart[];
|
|
7
|
+
tag?: string; }
|
|
8
|
+
export interface TemplatePart {
|
|
9
|
+
end: number;
|
|
10
|
+
start: number;
|
|
11
|
+
text: string; }
|
|
12
|
+
export interface Strategy$1<N = unknown> {
|
|
13
|
+
getRootNode: (source: string, fileName?: string) => N;
|
|
14
|
+
getTaggedTemplateTemplate: (node: N) => unknown;
|
|
15
|
+
getTagText: (node: N) => string;
|
|
16
|
+
getTemplateParts: (node: N) => TemplatePart[];
|
|
17
|
+
isTaggedTemplate: (node: N) => boolean;
|
|
18
|
+
isTemplate: (node: N) => boolean;
|
|
19
|
+
walkNodes: (parent: N, visit: (child: N) => void) => void; }
|
|
20
|
+
export interface ParseLiteralsOptions {
|
|
21
|
+
fileName?: string;
|
|
22
|
+
strategy?: Partial<Strategy$1<unknown>>; }
|
|
23
|
+
export const parseLiterals: (source: string, options?: ParseLiteralsOptions) => Template[];
|
|
24
|
+
export interface Strategy<O = unknown, C = unknown> {
|
|
25
|
+
combineHTMLStrings: (parts: TemplatePart[], placeholder: string) => string;
|
|
26
|
+
getPlaceholder: (parts: TemplatePart[]) => string;
|
|
27
|
+
minifyCSS?: (css: string, options?: C) => string;
|
|
28
|
+
minifyHTML: (html: string, options?: O) => string | Promise<string>;
|
|
29
|
+
splitHTMLByPlaceholder: (html: string, placeholder: string) => string[]; }
|
|
30
|
+
export const defaultMinifyOptions: MinifierOptions;
|
|
31
|
+
export type Options = DefaultOptions | CustomOptions<unknown>;
|
|
32
|
+
export interface DefaultOptions extends BaseOptions {
|
|
33
|
+
minifyOptions?: Partial<typeof defaultMinifyOptions>; }
|
|
34
|
+
export interface CustomOptions<S extends Strategy | unknown> extends BaseOptions {
|
|
35
|
+
minifyOptions?: S extends Strategy<infer O> ? Partial<O> : never;
|
|
36
|
+
strategy: S; }
|
|
37
|
+
export interface BaseOptions {
|
|
38
|
+
fileName?: string;
|
|
39
|
+
generateSourceMap?: ((ms: MagicStringLike, fileName: string) => SourceMap | undefined) | false;
|
|
40
|
+
MagicString?: new (source: string) => MagicStringLike;
|
|
41
|
+
parseLiterals?: typeof parseLiterals;
|
|
42
|
+
parseLiteralsOptions?: Partial<ParseLiteralsOptions>;
|
|
43
|
+
shouldMinify?: (template: Template) => boolean;
|
|
44
|
+
shouldMinifyCSS?: (template: Template) => boolean;
|
|
45
|
+
validate?: Validation | false; }
|
|
46
|
+
export interface MagicStringLike {
|
|
47
|
+
generateMap: (options?: Partial<SourceMapOptions>) => SourceMap;
|
|
48
|
+
overwrite: (start: number, end: number, content: string) => unknown;
|
|
49
|
+
toString: () => string; }
|
|
50
|
+
export interface SourceMap {
|
|
51
|
+
file?: string;
|
|
52
|
+
mappings: string;
|
|
53
|
+
names: string[];
|
|
54
|
+
sources: string[];
|
|
55
|
+
sourcesContent?: string[];
|
|
56
|
+
toString: () => string;
|
|
57
|
+
toUrl: () => string;
|
|
58
|
+
version: number; }
|
|
59
|
+
export interface Validation {
|
|
60
|
+
ensureHTMLPartsValid: (parts: TemplatePart[], htmlParts: string[]) => void;
|
|
61
|
+
ensurePlaceholderValid: (placeholder: unknown) => void; }
|
|
62
|
+
export interface Result {
|
|
63
|
+
code: string;
|
|
64
|
+
map: SourceMap | undefined; }
|
|
65
|
+
export function minifyHTMLLiterals<S extends Strategy>(source: string, options?: CustomOptions<S>): Promise<Result | null>;
|
|
66
|
+
export interface MinifyHTMLLiteralsOptions {
|
|
67
|
+
exclude?: FilterPattern;
|
|
68
|
+
failOnError?: boolean;
|
|
69
|
+
include?: FilterPattern;
|
|
70
|
+
minifyHTMLLiterals?: typeof minifyHTMLLiterals;
|
|
71
|
+
options?: Partial<Options>; }
|
|
72
|
+
export const minifyHTMLLiteralsPlugin: ({ exclude, failOnError, include, logger, minifyHTMLLiterals, options, }: MinifyHTMLLiteralsOptions & {
|
|
73
|
+
logger: PailServerType;
|
|
74
|
+
}) => Plugin;
|
|
75
|
+
import _default = minifyHTMLLiteralsPlugin;
|
|
76
|
+
export { _default as default };
|
|
77
|
+
}
|
|
78
|
+
export = minifyHTMLLiteralsPlugin;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
var b=Object.defineProperty;var g=(t,e)=>b(t,"name",{value:e,configurable:!0});import{createFilter as E}from"@rollup/pluginutils";import H from"magic-string";import p from"typescript";import N from"clean-css";import{minify as j}from"html-minifier-next";let y;const A={getHeadTemplatePart(t){const e=t.getFullText(y),i=e.indexOf("`")+1,r=p.isTemplateHead(t)?-2:-1;return{end:t.end+r,start:t.pos+i,text:e.slice(i,e.length+r)}},getMiddleTailTemplatePart(t){const e=t.getText(y),i=p.isTemplateMiddle(t)?2:1;return{end:t.end-i,start:t.getStart(y)+1,text:e.slice(1,e.length-i)}},getRootNode(t,e=""){return p.createSourceFile(e,t,p.ScriptTarget.ESNext)},getTaggedTemplateTemplate(t){return t.template},getTagText(t){return t.tag.getText(y)},getTemplateParts(t){return p.isNoSubstitutionTemplateLiteral(t)?[this.getHeadTemplatePart(t)]:[this.getHeadTemplatePart(t.head),...t.templateSpans.map(e=>this.getMiddleTailTemplatePart(e.literal))]},isTaggedTemplate:p.isTaggedTemplateExpression,isTemplate:p.isTemplateLiteral,walkChildNodes(t,e){e(t),p.forEachChild(t,i=>{this.walkChildNodes(i,e)})},walkNodes(t,e){y=t,this.walkChildNodes(t,e),y=void 0}};var k=Object.defineProperty,V=g((t,e)=>k(t,"name",{value:e,configurable:!0}),"i");const W=V((t,e={})=>{const i={...A,...e.strategy},r=[],s=[];return i.walkNodes(i.getRootNode(t,e.fileName),n=>{if(i.isTaggedTemplate(n)){const a=i.getTaggedTemplateTemplate(n);s.push(a),r.push({parts:i.getTemplateParts(a),tag:i.getTagText(n)})}else i.isTemplate(n)&&!s.includes(n)&&r.push({parts:i.getTemplateParts(n)})}),r},"parseLiterals");var $=Object.defineProperty,C=g((t,e)=>$(t,"name",{value:e,configurable:!0}),"f");const S={One:"1",Two:"2",Zero:"0"},F=C(t=>{const e={[S.One]:{tidySelectors:!1,transform:void 0},[S.Two]:{tidySelectors:!1,transform:void 0},[S.Zero]:{}};if(t===void 0)return e;if(typeof t=="number"){const i=t.toString();return{...e,[i]:{...e[i]}}}return t},"optimizationLevelFrom"),R={},B={caseSensitive:!0,collapseWhitespace:!0,decodeEntities:!0,minifyCSS:R,minifyJS:!0,processConditionalComments:!0,removeAttributeQuotes:!1,removeComments:!0,removeEmptyAttributes:!0,removeScriptTypeAttributes:!0,removeStyleLinkTypeAttributes:!0,useShortDoctype:!0},_={combineHTMLStrings(t,e){return t.map(i=>i.text).join(e)},getPlaceholder(t){let e="@TEMPLATE_EXPRESSION";for(;t.some(i=>i.text.includes(e+"();"));)e+="_";return e+"();"},minifyCSS(t,e={}){const i=P(e),r=new N(i).minify(t);if(r.errors&&r.errors.length>0)throw new Error(r.errors.join(`
|
|
2
|
+
|
|
3
|
+
`));return i.level[S.One].tidySelectors&&(r.styles=x(t,r.styles)),r.styles},async minifyHTML(t,e={}){let i;e.minifyCSS?i=e.minifyCSS!==!0&&typeof e.minifyCSS!="function"?{...e.minifyCSS}:{}:i=!1;let r=!1;i&&(r=P(i));let s=await j(t,{...e,minifyCSS:r});if(e.collapseWhitespace){const n=[...s.matchAll(/<svg/g)].reverse();for(const a of n){const o=a.index,f=s.indexOf("</svg",o);if(f===-1)continue;const u=s.slice(0,Math.max(0,o));let l=s.substring(o,f);const d=s.slice(Math.max(0,f));l=l.replaceAll(/\r?\n/g,""),s=u+l+d}}return r&&r.level[S.One].tidySelectors&&(s=x(t,s)),s},splitHTMLByPlaceholder(t,e){const i=t.split(e);if(e.endsWith(";")){const r=e.slice(0,Math.max(0,e.length-1));for(let s=i.length-1;s>=0;s--){const n=i[s];n!==void 0&&i.splice(s,1,...n.split(r))}}return i}},P=C((t={})=>{const e=F(t.level),i=typeof t.level=="object"&&t.level[1]&&t.level[1].transform;return e[S.One].transform=(r,s)=>s.startsWith("@TEMPLATE_EXPRESSION")&&!s.endsWith(";")?s=`${s};`:i?i(r,s):s,{...t,level:e}},"adjustMinifyCSSOptions"),x=C((t,e)=>{const i=/(:.+\((.*)\))\s*\{/g;let r;for(;(r=i.exec(t))!=null;){const s=r[1],n=r[2];if(!s||!n||!/\s/.test(n))continue;const a=n.replaceAll(/\s/g,""),o=s.replace(n,a),f=e.indexOf(o);if(f===-1)continue;const u=f+o.length;e=e.slice(0,Math.max(0,f))+s+e.slice(Math.max(0,u))}return e},"fixCleanCssTidySelectors");var G=Object.defineProperty,M=g((t,e)=>G(t,"name",{value:e,configurable:!0}),"l");const I=M((t,e)=>t.generateMap({file:`${e}.map`,hires:!0,source:e}),"defaultGenerateSourceMap"),X=M(t=>{const e=t.tag&&t.tag.toLowerCase();return!!e&&(e.includes("html")||e.includes("svg"))},"defaultShouldMinify"),Z=M(t=>!!t.tag&&t.tag.toLowerCase().includes("css"),"defaultShouldMinifyCSS"),z={ensureHTMLPartsValid(t,e){if(t.length!==e.length)throw new Error("splitHTMLByPlaceholder() must return same number of strings as template parts")},ensurePlaceholderValid(t){if(typeof t!="string"||t.length===0)throw new Error("getPlaceholder() must return a non-empty string")}};async function w(t,e={}){e.minifyOptions={...B,...e.minifyOptions},e.MagicString||(e.MagicString=H),e.parseLiterals||(e.parseLiterals=W),e.shouldMinify||(e.shouldMinify=X),e.shouldMinifyCSS||(e.shouldMinifyCSS=Z),e.parseLiteralsOptions={fileName:e.fileName,...e.parseLiteralsOptions};const i=e.parseLiterals(t,e.parseLiteralsOptions),r=e.strategy||_,{shouldMinify:s,shouldMinifyCSS:n}=e;let a;e.validate!==!1&&(a=e.validate||z);const o=new e.MagicString(t);for(const l of i){const d=s(l),O=!!r.minifyCSS&&n(l);if(d||O){const v=r.getPlaceholder(l.parts);a&&a.ensurePlaceholderValid(v);const T=r.combineHTMLStrings(l.parts,v);let h;if(O){const c=(e.minifyOptions||{}).minifyCSS;if(typeof c=="function"){const m=c(T);h=typeof m=="string"?m:await m}else if(c===!1)h=T;else{const m=typeof c=="object"?c:void 0;h=await r.minifyCSS(T,m)}}else h=await r.minifyHTML(T,e.minifyOptions);const L=r.splitHTMLByPlaceholder(h,v);a&&a.ensureHTMLPartsValid(l.parts,L),l.parts.forEach((c,m)=>{c.start<c.end&&L[m]!==void 0&&o.overwrite(c.start,c.end,L[m])})}}const f=o.toString();if(t===f)return null;let u;return e.generateSourceMap!==!1&&(u=(e.generateSourceMap||I)(o,e.fileName??"")),{code:f,map:u}}g(w,"minifyHTMLLiterals");M(w,"minifyHTMLLiterals");var D=Object.defineProperty,J=g((t,e)=>D(t,"name",{value:e,configurable:!0}),"o");const te=J(({exclude:t,failOnError:e=!1,include:i,logger:r,minifyHTMLLiterals:s,options:n})=>{s||(s=w);const a=E(i,t),o=n||{};return{name:"packem:minify-html-literals",async transform(f,u){if(a(u))try{return await s(f,{...o,fileName:u})}catch(l){const d=l instanceof Error?l.message:l;e?this.error(d):r.warn({message:d,prefix:"plugin:minify-html-literals"})}}}},"minifyHTMLLiteralsPlugin");export{te as default,te as minifyHTMLLiteralsPlugin};
|
|
@@ -1,27 +1,29 @@
|
|
|
1
|
-
import { G as OxcResolveOptions, P as PailServerType, T as TransformerFn, k as IsolatedDeclarationsResult } from '../../packem_shared/index-IiwweiIe.mjs';
|
|
2
|
-
export { H as InternalOXCTransformPluginConfig, K as OXCTransformPluginConfig } from '../../packem_shared/index-IiwweiIe.mjs';
|
|
3
|
-
import { Plugin } from 'rollup';
|
|
4
1
|
import { IsolatedDeclarationsOptions } from 'oxc-transform';
|
|
5
|
-
import '
|
|
2
|
+
import { t as IsolatedDeclarationsResult, X as OxcResolveOptions, x as TransformerFn } from '../../packem_shared/types-BK7k04DQ.mjs';
|
|
3
|
+
export { Y as InternalOXCTransformPluginConfig, Z as OXCTransformPluginConfig } from '../../packem_shared/types-BK7k04DQ.mjs';
|
|
4
|
+
import { P as PailServerType } from '../../packem_shared/index.server.d-DhMawQMd.mjs';
|
|
5
|
+
import { Plugin } from 'rollup';
|
|
6
6
|
import '@rollup/plugin-alias';
|
|
7
7
|
import '@rollup/plugin-commonjs';
|
|
8
8
|
import '@rollup/plugin-json';
|
|
9
9
|
import '@rollup/plugin-node-resolve';
|
|
10
10
|
import '@rollup/plugin-replace';
|
|
11
11
|
import '@rollup/plugin-wasm';
|
|
12
|
+
import '@rollup/pluginutils';
|
|
12
13
|
import 'rollup-plugin-dts';
|
|
13
14
|
import 'rollup-plugin-polyfill-node';
|
|
14
15
|
import 'rollup-plugin-pure';
|
|
15
16
|
import 'rollup-plugin-visualizer';
|
|
16
17
|
import 'esbuild';
|
|
17
18
|
import '@visulima/package';
|
|
19
|
+
import '@visulima/packem-share/types';
|
|
18
20
|
import 'oxc-resolver';
|
|
19
21
|
import 'sucrase';
|
|
20
22
|
|
|
23
|
+
declare const isolatedDeclarationsOxcTransformer: (id: string, code: string, sourceMap?: boolean, transformOptions?: Omit<IsolatedDeclarationsOptions, "sourcemap">) => IsolatedDeclarationsResult;
|
|
24
|
+
|
|
21
25
|
declare const oxcResolvePlugin: (options: OxcResolveOptions, rootDirectory: string, logger: PailServerType, tsconfigPath?: string) => Plugin;
|
|
22
26
|
|
|
23
27
|
declare const oxcTransformPlugin: TransformerFn;
|
|
24
28
|
|
|
25
|
-
declare const isolatedDeclarationsOxcTransformer: (id: string, code: string, sourceMap?: boolean, transformOptions?: Omit<IsolatedDeclarationsOptions, "sourcemap">) => IsolatedDeclarationsResult;
|
|
26
|
-
|
|
27
29
|
export { OxcResolveOptions, isolatedDeclarationsOxcTransformer, oxcResolvePlugin, oxcTransformPlugin };
|
|
@@ -1,27 +1,29 @@
|
|
|
1
|
-
import { G as OxcResolveOptions, P as PailServerType, T as TransformerFn, k as IsolatedDeclarationsResult } from '../../packem_shared/index-IiwweiIe.js';
|
|
2
|
-
export { H as InternalOXCTransformPluginConfig, K as OXCTransformPluginConfig } from '../../packem_shared/index-IiwweiIe.js';
|
|
3
|
-
import { Plugin } from 'rollup';
|
|
4
1
|
import { IsolatedDeclarationsOptions } from 'oxc-transform';
|
|
5
|
-
import '
|
|
2
|
+
import { t as IsolatedDeclarationsResult, X as OxcResolveOptions, x as TransformerFn } from '../../packem_shared/types-DvaEike_.js';
|
|
3
|
+
export { Y as InternalOXCTransformPluginConfig, Z as OXCTransformPluginConfig } from '../../packem_shared/types-DvaEike_.js';
|
|
4
|
+
import { P as PailServerType } from '../../packem_shared/index.server.d-DhMawQMd.js';
|
|
5
|
+
import { Plugin } from 'rollup';
|
|
6
6
|
import '@rollup/plugin-alias';
|
|
7
7
|
import '@rollup/plugin-commonjs';
|
|
8
8
|
import '@rollup/plugin-json';
|
|
9
9
|
import '@rollup/plugin-node-resolve';
|
|
10
10
|
import '@rollup/plugin-replace';
|
|
11
11
|
import '@rollup/plugin-wasm';
|
|
12
|
+
import '@rollup/pluginutils';
|
|
12
13
|
import 'rollup-plugin-dts';
|
|
13
14
|
import 'rollup-plugin-polyfill-node';
|
|
14
15
|
import 'rollup-plugin-pure';
|
|
15
16
|
import 'rollup-plugin-visualizer';
|
|
16
17
|
import 'esbuild';
|
|
17
18
|
import '@visulima/package';
|
|
19
|
+
import '@visulima/packem-share/types';
|
|
18
20
|
import 'oxc-resolver';
|
|
19
21
|
import 'sucrase';
|
|
20
22
|
|
|
23
|
+
declare const isolatedDeclarationsOxcTransformer: (id: string, code: string, sourceMap?: boolean, transformOptions?: Omit<IsolatedDeclarationsOptions, "sourcemap">) => IsolatedDeclarationsResult;
|
|
24
|
+
|
|
21
25
|
declare const oxcResolvePlugin: (options: OxcResolveOptions, rootDirectory: string, logger: PailServerType, tsconfigPath?: string) => Plugin;
|
|
22
26
|
|
|
23
27
|
declare const oxcTransformPlugin: TransformerFn;
|
|
24
28
|
|
|
25
|
-
declare const isolatedDeclarationsOxcTransformer: (id: string, code: string, sourceMap?: boolean, transformOptions?: Omit<IsolatedDeclarationsOptions, "sourcemap">) => IsolatedDeclarationsResult;
|
|
26
|
-
|
|
27
29
|
export { OxcResolveOptions, isolatedDeclarationsOxcTransformer, oxcResolvePlugin, oxcTransformPlugin };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{default as a}from"../../packem_shared/
|
|
1
|
+
import{default as a}from"../../packem_shared/isolatedDeclarationsOxcTransformer-WbfE6cGu.mjs";import{default as f}from"../../packem_shared/oxcResolvePlugin-BJpi-eSG.mjs";import{default as s}from"../../packem_shared/oxcTransformPlugin-DfVQouIB.mjs";export{a as isolatedDeclarationsOxcTransformer,f as oxcResolvePlugin,s as oxcTransformPlugin};
|
|
@@ -1,18 +1,20 @@
|
|
|
1
1
|
import '@rollup/pluginutils';
|
|
2
2
|
import 'sucrase';
|
|
3
|
-
export {
|
|
4
|
-
import 'rollup';
|
|
3
|
+
export { _ as SucrasePluginConfig, $ as sucrasePlugin } from '../../packem_shared/types-BK7k04DQ.mjs';
|
|
5
4
|
import '@rollup/plugin-alias';
|
|
6
5
|
import '@rollup/plugin-commonjs';
|
|
7
6
|
import '@rollup/plugin-json';
|
|
8
7
|
import '@rollup/plugin-node-resolve';
|
|
9
8
|
import '@rollup/plugin-replace';
|
|
10
9
|
import '@rollup/plugin-wasm';
|
|
10
|
+
import 'rollup';
|
|
11
11
|
import 'rollup-plugin-dts';
|
|
12
12
|
import 'rollup-plugin-polyfill-node';
|
|
13
13
|
import 'rollup-plugin-pure';
|
|
14
14
|
import 'rollup-plugin-visualizer';
|
|
15
|
+
import '../../packem_shared/index.server.d-DhMawQMd.mjs';
|
|
15
16
|
import 'esbuild';
|
|
16
17
|
import '@visulima/package';
|
|
18
|
+
import '@visulima/packem-share/types';
|
|
17
19
|
import 'oxc-resolver';
|
|
18
20
|
import 'oxc-transform';
|
|
@@ -1,18 +1,20 @@
|
|
|
1
1
|
import '@rollup/pluginutils';
|
|
2
2
|
import 'sucrase';
|
|
3
|
-
export {
|
|
4
|
-
import 'rollup';
|
|
3
|
+
export { _ as SucrasePluginConfig, $ as sucrasePlugin } from '../../packem_shared/types-DvaEike_.js';
|
|
5
4
|
import '@rollup/plugin-alias';
|
|
6
5
|
import '@rollup/plugin-commonjs';
|
|
7
6
|
import '@rollup/plugin-json';
|
|
8
7
|
import '@rollup/plugin-node-resolve';
|
|
9
8
|
import '@rollup/plugin-replace';
|
|
10
9
|
import '@rollup/plugin-wasm';
|
|
10
|
+
import 'rollup';
|
|
11
11
|
import 'rollup-plugin-dts';
|
|
12
12
|
import 'rollup-plugin-polyfill-node';
|
|
13
13
|
import 'rollup-plugin-pure';
|
|
14
14
|
import 'rollup-plugin-visualizer';
|
|
15
|
+
import '../../packem_shared/index.server.d-DhMawQMd.js';
|
|
15
16
|
import 'esbuild';
|
|
16
17
|
import '@visulima/package';
|
|
18
|
+
import '@visulima/packem-share/types';
|
|
17
19
|
import 'oxc-resolver';
|
|
18
20
|
import 'oxc-transform';
|
|
@@ -1,25 +1,27 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export {
|
|
3
|
-
import '@rollup/pluginutils';
|
|
4
|
-
import 'rollup';
|
|
1
|
+
import { t as IsolatedDeclarationsResult, x as TransformerFn } from '../../packem_shared/types-BK7k04DQ.mjs';
|
|
2
|
+
export { H as SwcPluginConfig } from '../../packem_shared/types-BK7k04DQ.mjs';
|
|
5
3
|
import '@rollup/plugin-alias';
|
|
6
4
|
import '@rollup/plugin-commonjs';
|
|
7
5
|
import '@rollup/plugin-json';
|
|
8
6
|
import '@rollup/plugin-node-resolve';
|
|
9
7
|
import '@rollup/plugin-replace';
|
|
10
8
|
import '@rollup/plugin-wasm';
|
|
9
|
+
import '@rollup/pluginutils';
|
|
10
|
+
import 'rollup';
|
|
11
11
|
import 'rollup-plugin-dts';
|
|
12
12
|
import 'rollup-plugin-polyfill-node';
|
|
13
13
|
import 'rollup-plugin-pure';
|
|
14
14
|
import 'rollup-plugin-visualizer';
|
|
15
|
+
import '../../packem_shared/index.server.d-DhMawQMd.mjs';
|
|
15
16
|
import 'esbuild';
|
|
16
17
|
import '@visulima/package';
|
|
18
|
+
import '@visulima/packem-share/types';
|
|
17
19
|
import 'oxc-resolver';
|
|
18
20
|
import 'oxc-transform';
|
|
19
21
|
import 'sucrase';
|
|
20
22
|
|
|
21
|
-
declare const _default: TransformerFn;
|
|
22
|
-
|
|
23
23
|
declare const isolatedDeclarationsSwcTransformer: (id: string, code: string, sourceMap?: boolean) => Promise<IsolatedDeclarationsResult>;
|
|
24
24
|
|
|
25
|
+
declare const _default: TransformerFn;
|
|
26
|
+
|
|
25
27
|
export { isolatedDeclarationsSwcTransformer, _default as swcPlugin };
|
|
@@ -1,25 +1,27 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export {
|
|
3
|
-
import '@rollup/pluginutils';
|
|
4
|
-
import 'rollup';
|
|
1
|
+
import { t as IsolatedDeclarationsResult, x as TransformerFn } from '../../packem_shared/types-DvaEike_.js';
|
|
2
|
+
export { H as SwcPluginConfig } from '../../packem_shared/types-DvaEike_.js';
|
|
5
3
|
import '@rollup/plugin-alias';
|
|
6
4
|
import '@rollup/plugin-commonjs';
|
|
7
5
|
import '@rollup/plugin-json';
|
|
8
6
|
import '@rollup/plugin-node-resolve';
|
|
9
7
|
import '@rollup/plugin-replace';
|
|
10
8
|
import '@rollup/plugin-wasm';
|
|
9
|
+
import '@rollup/pluginutils';
|
|
10
|
+
import 'rollup';
|
|
11
11
|
import 'rollup-plugin-dts';
|
|
12
12
|
import 'rollup-plugin-polyfill-node';
|
|
13
13
|
import 'rollup-plugin-pure';
|
|
14
14
|
import 'rollup-plugin-visualizer';
|
|
15
|
+
import '../../packem_shared/index.server.d-DhMawQMd.js';
|
|
15
16
|
import 'esbuild';
|
|
16
17
|
import '@visulima/package';
|
|
18
|
+
import '@visulima/packem-share/types';
|
|
17
19
|
import 'oxc-resolver';
|
|
18
20
|
import 'oxc-transform';
|
|
19
21
|
import 'sucrase';
|
|
20
22
|
|
|
21
|
-
declare const _default: TransformerFn;
|
|
22
|
-
|
|
23
23
|
declare const isolatedDeclarationsSwcTransformer: (id: string, code: string, sourceMap?: boolean) => Promise<IsolatedDeclarationsResult>;
|
|
24
24
|
|
|
25
|
+
declare const _default: TransformerFn;
|
|
26
|
+
|
|
25
27
|
export { isolatedDeclarationsSwcTransformer, _default as swcPlugin };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{default as e}from"../../packem_shared/
|
|
1
|
+
import{default as e}from"../../packem_shared/isolatedDeclarationsSwcTransformer-Ch2AgtWC.mjs";import{default as s}from"../../packem_shared/swcPlugin-Boip4lWG.mjs";export{e as isolatedDeclarationsSwcTransformer,s as swcPlugin};
|
|
@@ -1,20 +1,22 @@
|
|
|
1
1
|
import { TranspileOptions } from 'typescript';
|
|
2
|
-
import {
|
|
3
|
-
export {
|
|
2
|
+
import { t as IsolatedDeclarationsResult, K as TsConfigResult } from '../../packem_shared/types-BK7k04DQ.mjs';
|
|
3
|
+
export { M as PatchTypesOptions, V as TsconfigPathsPluginOptions, Q as patchTypescriptTypes, Q as patchTypescriptTypesPlugin, W as resolveTsconfigPathsPlugin } from '../../packem_shared/types-BK7k04DQ.mjs';
|
|
4
|
+
import { P as PailServerType } from '../../packem_shared/index.server.d-DhMawQMd.mjs';
|
|
4
5
|
import { Plugin } from 'rollup';
|
|
5
|
-
import '@rollup/pluginutils';
|
|
6
6
|
import '@rollup/plugin-alias';
|
|
7
7
|
import '@rollup/plugin-commonjs';
|
|
8
8
|
import '@rollup/plugin-json';
|
|
9
9
|
import '@rollup/plugin-node-resolve';
|
|
10
10
|
import '@rollup/plugin-replace';
|
|
11
11
|
import '@rollup/plugin-wasm';
|
|
12
|
+
import '@rollup/pluginutils';
|
|
12
13
|
import 'rollup-plugin-dts';
|
|
13
14
|
import 'rollup-plugin-polyfill-node';
|
|
14
15
|
import 'rollup-plugin-pure';
|
|
15
16
|
import 'rollup-plugin-visualizer';
|
|
16
17
|
import 'esbuild';
|
|
17
18
|
import '@visulima/package';
|
|
19
|
+
import '@visulima/packem-share/types';
|
|
18
20
|
import 'oxc-resolver';
|
|
19
21
|
import 'oxc-transform';
|
|
20
22
|
import 'sucrase';
|
|
@@ -1,20 +1,22 @@
|
|
|
1
1
|
import { TranspileOptions } from 'typescript';
|
|
2
|
-
import {
|
|
3
|
-
export {
|
|
2
|
+
import { t as IsolatedDeclarationsResult, K as TsConfigResult } from '../../packem_shared/types-DvaEike_.js';
|
|
3
|
+
export { M as PatchTypesOptions, V as TsconfigPathsPluginOptions, Q as patchTypescriptTypes, Q as patchTypescriptTypesPlugin, W as resolveTsconfigPathsPlugin } from '../../packem_shared/types-DvaEike_.js';
|
|
4
|
+
import { P as PailServerType } from '../../packem_shared/index.server.d-DhMawQMd.js';
|
|
4
5
|
import { Plugin } from 'rollup';
|
|
5
|
-
import '@rollup/pluginutils';
|
|
6
6
|
import '@rollup/plugin-alias';
|
|
7
7
|
import '@rollup/plugin-commonjs';
|
|
8
8
|
import '@rollup/plugin-json';
|
|
9
9
|
import '@rollup/plugin-node-resolve';
|
|
10
10
|
import '@rollup/plugin-replace';
|
|
11
11
|
import '@rollup/plugin-wasm';
|
|
12
|
+
import '@rollup/pluginutils';
|
|
12
13
|
import 'rollup-plugin-dts';
|
|
13
14
|
import 'rollup-plugin-polyfill-node';
|
|
14
15
|
import 'rollup-plugin-pure';
|
|
15
16
|
import 'rollup-plugin-visualizer';
|
|
16
17
|
import 'esbuild';
|
|
17
18
|
import '@visulima/package';
|
|
19
|
+
import '@visulima/packem-share/types';
|
|
18
20
|
import 'oxc-resolver';
|
|
19
21
|
import 'oxc-transform';
|
|
20
22
|
import 'sucrase';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{default as s}from"../../packem_shared/isolatedDeclarationsTypescriptTransformer-DkuEkofo.mjs";import{patchTypescriptTypes as o,patchTypescriptTypes as p}from"../../packem_shared/patchTypescriptTypes-BEdkvKxL.mjs";import{resolveTsconfigPathsPlugin as i}from"../../packem_shared/resolveTsconfigPathsPlugin-
|
|
1
|
+
import{default as s}from"../../packem_shared/isolatedDeclarationsTypescriptTransformer-DkuEkofo.mjs";import{patchTypescriptTypes as o,patchTypescriptTypes as p}from"../../packem_shared/patchTypescriptTypes-BEdkvKxL.mjs";import{resolveTsconfigPathsPlugin as i}from"../../packem_shared/resolveTsconfigPathsPlugin-pUcTdE77.mjs";import{default as l}from"../../packem_shared/resolveTsconfigRootDirectoriesPlugin-_93afm2q.mjs";import{default as T}from"../../packem_shared/resolveTypescriptMjsCtsPlugin-DcZrZTmM.mjs";export{s as isolatedDeclarationsTypescriptTransformer,o as patchTypescriptTypes,p as patchTypescriptTypesPlugin,i as resolveTsconfigPathsPlugin,l as resolveTsconfigRootDirectoriesPlugin,T as resolveTypescriptMjsCtsPlugin};
|