@nuxtjs/prismic 4.1.0 → 5.0.0
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/LICENSE +1 -1
- package/README.md +18 -32
- package/dist/module.d.mts +48 -75
- package/dist/module.json +3 -3
- package/dist/module.mjs +215 -245
- package/dist/runtime/PrismicPreview.d.vue.ts +3 -0
- package/dist/runtime/PrismicPreview.vue +10 -23
- package/dist/runtime/PrismicPreview.vue.d.ts +3 -0
- package/dist/runtime/plugin.client.js +10 -7
- package/dist/runtime/plugin.js +86 -69
- package/dist/runtime/usePrismicPreview.d.ts +1 -5
- package/dist/runtime/usePrismicPreview.js +2 -2
- package/dist/types.d.mts +3 -1
- package/package.json +42 -44
- package/src/module.ts +382 -190
- package/src/runtime/PrismicPreview.vue +10 -41
- package/src/runtime/plugin.client.ts +13 -13
- package/src/runtime/plugin.ts +114 -103
- package/src/runtime/usePrismicPreview.ts +6 -10
- package/dist/client/200.html +0 -1
- package/dist/client/404.html +0 -1
- package/dist/client/_nuxt/72kwNbQb.js +0 -25
- package/dist/client/_nuxt/BOjifcfq.js +0 -1
- package/dist/client/_nuxt/Cg7-pAa1.js +0 -1
- package/dist/client/_nuxt/DjoQbwig.js +0 -1
- package/dist/client/_nuxt/DlAUqK2U.js +0 -1
- package/dist/client/_nuxt/X01cQnxr.js +0 -1
- package/dist/client/_nuxt/YYRUG_yD.js +0 -1
- package/dist/client/_nuxt/builds/latest.json +0 -1
- package/dist/client/_nuxt/builds/meta/b7611925-2a2f-4b3a-a8ca-80585b109dfa.json +0 -1
- package/dist/client/_nuxt/entry.BC9BDAld.css +0 -1
- package/dist/client/_nuxt/error-404.BgOy5onL.css +0 -1
- package/dist/client/_nuxt/error-500.Di0s_DEL.css +0 -1
- package/dist/client/_nuxt/index.C4BggqQh.css +0 -1
- package/dist/client/index.html +0 -1
- package/dist/module.cjs +0 -5
- package/dist/module.d.ts +0 -136
- package/dist/types.d.ts +0 -1
- package/src/devtools/index.ts +0 -127
- package/src/devtools/types.ts +0 -22
- package/src/lib/fileExists.ts +0 -15
- package/src/lib/index.ts +0 -2
- package/src/lib/logger.ts +0 -3
- package/src/types.ts +0 -137
|
@@ -1 +0,0 @@
|
|
|
1
|
-
:root{--nui-c-context:125,125,125}html{background-color:#fff}html.dark{background-color:#151515;color:#fff;color-scheme:dark}::-moz-selection{background:#8884}::selection{background:#8884}.shiki .line{display:inline-block;position:relative;width:100%}.shiki.diff .line>span{filter:saturate(.75);opacity:.75}.shiki.diff .line-added,.shiki.diff .line-removed{scroll-margin:5em}.shiki.diff .line-added>span,.shiki.diff .line-removed>span{opacity:1!important;position:inherit;scroll-margin:20px;z-index:100}.shiki.diff .line-added>span{color:#218c3b!important}.shiki.diff .line-removed>span{color:#d15547!important}.shiki .line-added:after{background-color:#43885420}.shiki .line-added:after,.shiki .line-removed:after{bottom:0;content:"";display:block;left:0;position:absolute;right:0;top:0}.shiki .line-removed:after{background-color:#8f4c3926}::view-transition-new(root),::view-transition-old(root){animation:none;mix-blend-mode:normal}::view-transition-old(root){z-index:1}::view-transition-new(root){z-index:2147483646}.dark::view-transition-old(root){z-index:2147483646}.dark::view-transition-new(root){z-index:1}*,:after,:before{border-color:var(--un-default-border-color, #e5e7eb);border-style:solid;border-width:0;box-sizing:border-box}:after,:before{--un-content: ""}:host,html{line-height:1.5;-webkit-text-size-adjust:100%;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-feature-settings:normal;font-variation-settings:normal;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-tap-highlight-color:transparent}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{color:inherit;font-family:inherit;font-feature-settings:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{color:#9ca3af;opacity:1}input::placeholder,textarea::placeholder{color:#9ca3af;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]:where(:not([hidden=until-found])){display:none}*,:after,:before{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 transparent;--un-ring-shadow:0 0 transparent;--un-shadow-inset: ;--un-shadow:0 0 transparent;--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgba(147,197,253,.5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }::backdrop{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 transparent;--un-ring-shadow:0 0 transparent;--un-shadow-inset: ;--un-shadow:0 0 transparent;--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgba(147,197,253,.5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }@font-face{font-display:swap;font-family:DM Mono;font-style:normal;font-weight:400;src:url(https://fonts.gstatic.com/s/dmmono/v14/aFTU7PB1QTsUX8KYthSQBK6PYK3EXw.woff2) format("woff2");unicode-range:u+0100-02ba,u+02bd-02c5,u+02c7-02cc,u+02ce-02d7,u+02dd-02ff,u+0304,u+0308,u+0329,u+1d00-1dbf,u+1e00-1e9f,u+1ef2-1eff,u+2020,u+20a0-20ab,u+20ad-20c0,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-display:swap;font-family:DM Mono;font-style:normal;font-weight:400;src:url(https://fonts.gstatic.com/s/dmmono/v14/aFTU7PB1QTsUX8KYthqQBK6PYK0.woff2) format("woff2");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+0304,u+0308,u+0329,u+2000-206f,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-display:swap;font-family:DM Sans;font-style:normal;font-weight:400;src:url(https://fonts.gstatic.com/s/dmsans/v15/rP2tp2ywxg089UriI5-g4vlH9VoD8CmcqZG40F9JadbnoEwAopxRR232RmYJp8I5zzw.woff2) format("woff2");unicode-range:u+0100-02ba,u+02bd-02c5,u+02c7-02cc,u+02ce-02d7,u+02dd-02ff,u+0304,u+0308,u+0329,u+1d00-1dbf,u+1e00-1e9f,u+1ef2-1eff,u+2020,u+20a0-20ab,u+20ad-20c0,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-display:swap;font-family:DM Sans;font-style:normal;font-weight:400;src:url(https://fonts.gstatic.com/s/dmsans/v15/rP2tp2ywxg089UriI5-g4vlH9VoD8CmcqZG40F9JadbnoEwAopxRSW32RmYJp8I5.woff2) format("woff2");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+0304,u+0308,u+0329,u+2000-206f,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}.i-carbon-3d-curve-manual{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 32 32' display='inline-block' vertical-align='middle' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath d='M15 21a3 3 0 0 1-3 3h-.1a5 5 0 1 0 0 2h.1a5 5 0 0 0 5-5zm-8 7a3 3 0 1 1 3-3a3 3 0 0 1-3 3z' fill='currentColor'/%3E%3Cpath d='M15 13h2v6h-2z' fill='currentColor'/%3E%3Cpath d='M25 2a5 5 0 0 0-4.9 4H20a5 5 0 0 0-5 5h2a3 3 0 0 1 3-3h.1A5 5 0 1 0 25 2zm0 8a3 3 0 1 1 3-3a3 3 0 0 1-3 3z' fill='currentColor'/%3E%3C/svg%3E");background-color:currentColor;color:inherit;display:inline-block;height:1.2em;-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;vertical-align:middle;width:1.2em}.i-carbon-book{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 32 32' display='inline-block' vertical-align='middle' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M19 10h7v2h-7zm0 5h7v2h-7zm0 5h7v2h-7zM6 10h7v2H6zm0 5h7v2H6zm0 5h7v2H6z'/%3E%3Cpath fill='currentColor' d='M28 5H4a2 2 0 0 0-2 2v18a2 2 0 0 0 2 2h24a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2M4 7h11v18H4Zm13 18V7h11v18Z'/%3E%3C/svg%3E");background-color:currentColor;color:inherit;display:inline-block;height:1.2em;-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;vertical-align:middle;width:1.2em}.i-carbon-download{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 32 32' display='inline-block' vertical-align='middle' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M26 24v4H6v-4H4v4a2 2 0 0 0 2 2h20a2 2 0 0 0 2-2v-4zm0-10l-1.41-1.41L17 20.17V2h-2v18.17l-7.59-7.58L6 14l10 10z'/%3E%3C/svg%3E");background-color:currentColor;color:inherit;display:inline-block;height:1.2em;-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;vertical-align:middle;width:1.2em}.i-carbon-image{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 32 32' display='inline-block' vertical-align='middle' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M19 14a3 3 0 1 0-3-3a3 3 0 0 0 3 3m0-4a1 1 0 1 1-1 1a1 1 0 0 1 1-1'/%3E%3Cpath fill='currentColor' d='M26 4H6a2 2 0 0 0-2 2v20a2 2 0 0 0 2 2h20a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2m0 22H6v-6l5-5l5.59 5.59a2 2 0 0 0 2.82 0L21 19l5 5Zm0-4.83l-3.59-3.59a2 2 0 0 0-2.82 0L18 19.17l-5.59-5.59a2 2 0 0 0-2.82 0L6 17.17V6h20Z'/%3E%3C/svg%3E");background-color:currentColor;color:inherit;display:inline-block;height:1.2em;-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;vertical-align:middle;width:1.2em}.i-carbon-logo-vue{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 32 32' display='inline-block' vertical-align='middle' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M24.9 3.9L16 19.4L7.1 3.9H2l14 24.3L30 3.9z'/%3E%3Cpath fill='currentColor' d='m16 9.5l-3.2-5.6H8.1L16 17.5l7.9-13.6h-4.6z'/%3E%3C/svg%3E");background-color:currentColor;color:inherit;display:inline-block;height:1.2em;-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;vertical-align:middle;width:1.2em}.i-carbon-paint-brush{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 32 32' display='inline-block' vertical-align='middle' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M28.83 23.17L23 17.33V13a1 1 0 0 0-.29-.71l-10-10a1 1 0 0 0-1.42 0l-9 9a1 1 0 0 0 0 1.42l10 10A1 1 0 0 0 13 23h4.34l5.83 5.84a4 4 0 0 0 5.66-5.66ZM6 10.41l2.29 2.3l1.42-1.42L7.41 9L9 7.41l4.29 4.3l1.42-1.42L10.41 6L12 4.41L18.59 11L11 18.59L4.41 12Zm21.41 17a2 2 0 0 1-2.82 0l-6.13-6.12a1.8 1.8 0 0 0-.71-.29h-4.34l-1-1L20 12.41l1 1v4.34a1 1 0 0 0 .29.7l6.12 6.14a2 2 0 0 1 0 2.82'/%3E%3C/svg%3E");background-color:currentColor;color:inherit;display:inline-block;height:1.2em;-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;vertical-align:middle;width:1.2em}.i-carbon-ruler-alt{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 32 32' display='inline-block' vertical-align='middle' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M29.41 21.67L10.34 2.58a2 2 0 0 0-2.83 0L2.59 7.51a2 2 0 0 0 0 2.82l19.07 19.09a2 2 0 0 0 1.42.58a2 2 0 0 0 1.41-.58l4.92-4.93a2 2 0 0 0 0-2.82M23.08 28L4 8.92L8.92 4l3.79 3.79L10.46 10l1.41 1.41l2.25-2.21l4.13 4.13L16 15.58L17.42 17l2.25-2.25l4.13 4.13l-2.25 2.25L23 22.54l2.25-2.25L28 23.08Z'/%3E%3C/svg%3E");background-color:currentColor;color:inherit;display:inline-block;height:1.2em;-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;vertical-align:middle;width:1.2em}.i-carbon-satellite-radar{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 32 32' display='inline-block' vertical-align='middle' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M30 14h-2A10.01 10.01 0 0 0 18 4V2a12.014 12.014 0 0 1 12 12'/%3E%3Cpath fill='currentColor' d='M26 14h-2a6.007 6.007 0 0 0-6-6V6a8.01 8.01 0 0 1 8 8M16 28v-3.04a9.9 9.9 0 0 0 7.318-2.208a1.85 1.85 0 0 0 .678-1.334a1.8 1.8 0 0 0-.524-1.36L18.414 15L21 12.414L19.586 11L17 13.586l-5.058-5.059a1.82 1.82 0 0 0-1.36-.523a1.85 1.85 0 0 0-1.334.679a9.96 9.96 0 0 0-.513 11.95L6.28 28H2v2h28v-2zm-5.32-17.906L21.906 21.32A8.001 8.001 0 0 1 10.68 10.094M14 28H8.387l1.876-5.627A10 10 0 0 0 14 24.543z'/%3E%3C/svg%3E");background-color:currentColor;color:inherit;display:inline-block;height:1.2em;-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;vertical-align:middle;width:1.2em}.i-carbon-settings{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 32 32' display='inline-block' vertical-align='middle' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M27 16.76v-1.53l1.92-1.68A2 2 0 0 0 29.3 11l-2.36-4a2 2 0 0 0-1.73-1a2 2 0 0 0-.64.1l-2.43.82a11 11 0 0 0-1.31-.75l-.51-2.52a2 2 0 0 0-2-1.61h-4.68a2 2 0 0 0-2 1.61l-.51 2.52a11.5 11.5 0 0 0-1.32.75l-2.38-.86A2 2 0 0 0 6.79 6a2 2 0 0 0-1.73 1L2.7 11a2 2 0 0 0 .41 2.51L5 15.24v1.53l-1.89 1.68A2 2 0 0 0 2.7 21l2.36 4a2 2 0 0 0 1.73 1a2 2 0 0 0 .64-.1l2.43-.82a11 11 0 0 0 1.31.75l.51 2.52a2 2 0 0 0 2 1.61h4.72a2 2 0 0 0 2-1.61l.51-2.52a11.5 11.5 0 0 0 1.32-.75l2.42.82a2 2 0 0 0 .64.1a2 2 0 0 0 1.73-1l2.28-4a2 2 0 0 0-.41-2.51ZM25.21 24l-3.43-1.16a8.9 8.9 0 0 1-2.71 1.57L18.36 28h-4.72l-.71-3.55a9.4 9.4 0 0 1-2.7-1.57L6.79 24l-2.36-4l2.72-2.4a8.9 8.9 0 0 1 0-3.13L4.43 12l2.36-4l3.43 1.16a8.9 8.9 0 0 1 2.71-1.57L13.64 4h4.72l.71 3.55a9.4 9.4 0 0 1 2.7 1.57L25.21 8l2.36 4l-2.72 2.4a8.9 8.9 0 0 1 0 3.13L27.57 20Z'/%3E%3Cpath fill='currentColor' d='M16 22a6 6 0 1 1 6-6a5.94 5.94 0 0 1-6 6m0-10a3.91 3.91 0 0 0-4 4a3.91 3.91 0 0 0 4 4a3.91 3.91 0 0 0 4-4a3.91 3.91 0 0 0-4-4'/%3E%3C/svg%3E");background-color:currentColor;color:inherit;display:inline-block;height:1.2em;-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;vertical-align:middle;width:1.2em}.i-carbon\:notebook-reference{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 32 32' display='inline-block' vertical-align='middle' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M4 20v2h3.586L2 27.586L3.414 29L9 23.414V27h2v-7zm15-10h7v2h-7zm0 5h7v2h-7zm0 5h7v2h-7z'/%3E%3Cpath fill='currentColor' d='M28 5H4a2 2 0 0 0-2 2v10h2V7h11v20h13a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2M17 25V7h11l.002 18Z'/%3E%3C/svg%3E");background-color:currentColor;color:inherit;display:inline-block;height:1.2em;-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;vertical-align:middle;width:1.2em}.i-carbon\:tools-alt{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 32 32' display='inline-block' vertical-align='middle' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='m23.1 16l6.3-6.3c.8-.8.8-2 0-2.8l-4.2-4.2c-.8-.8-2-.8-2.8 0L16 8.9L9.7 2.6c-.8-.8-2-.8-2.8 0L2.6 6.8c-.8.8-.8 2 0 2.8L8.9 16L2 22.9V30h7.1l6.9-6.9l6.3 6.3c.8.8 2 .8 2.8 0l4.2-4.2c.8-.8.8-2 0-2.8zm.7-12L28 8.2l-6.3 6.3l-4.2-4.2zM8.2 28H4v-4.2l6.3-6.3l4.2 4.2zm15.6 0L4 8.2L8.2 4l3.5 3.5l-2.1 2.1L11 11l2.1-2.1l4.2 4.2l-2.1 2.1l1.4 1.4l2.1-2.1l4.2 4.2l-1.9 2.2l1.4 1.4l2.1-2.1l3.5 3.5z'/%3E%3C/svg%3E");background-color:currentColor;color:inherit;display:inline-block;height:1.2em;-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;vertical-align:middle;width:1.2em}.i-simple-icons-nuxtdotjs{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' vertical-align='middle' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M13.464 19.83h8.922c.283 0 .562-.073.807-.21a1.6 1.6 0 0 0 .591-.574a1.53 1.53 0 0 0 .216-.783a1.53 1.53 0 0 0-.217-.782L17.792 7.414a1.6 1.6 0 0 0-.591-.573a1.65 1.65 0 0 0-.807-.21c-.283 0-.562.073-.807.21a1.6 1.6 0 0 0-.59.573L13.463 9.99L10.47 4.953a1.6 1.6 0 0 0-.591-.573a1.65 1.65 0 0 0-.807-.21c-.284 0-.562.073-.807.21a1.6 1.6 0 0 0-.591.573L.216 17.481a1.53 1.53 0 0 0-.217.782c0 .275.074.545.216.783a1.6 1.6 0 0 0 .59.574c.246.137.525.21.808.21h5.6c2.22 0 3.856-.946 4.982-2.79l2.733-4.593l1.464-2.457l4.395 7.382h-5.859Zm-6.341-2.46l-3.908-.002l5.858-9.842l2.923 4.921l-1.957 3.29c-.748 1.196-1.597 1.632-2.916 1.632'/%3E%3C/svg%3E");background-color:currentColor;color:inherit;display:inline-block;height:1.2em;-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;vertical-align:middle;width:1.2em}.i-simple-icons\:prismic{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' vertical-align='middle' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M7.7 0C5.033 0 4.066.278 3.09.8A5.45 5.45 0 0 0 .825 3.07c-.522.977-.8 1.947-.8 4.622v.998c0 .199.078.388.218.529l1.77 1.774a.15.15 0 0 0 .257-.106V8.019c0-2.006.208-2.733.6-3.467A4.1 4.1 0 0 1 4.568 2.85c.731-.392 1.457-.6 3.459-.6h2.164c.199 0 .39-.08.53-.221l1.77-1.772A.15.15 0 0 0 12.387 0zm7.605 0c-.2 0-.392.08-.532.22l-1.769 1.775a.15.15 0 0 0-.044.104c0 .083.068.15.15.15h2.862c2.002 0 2.728.21 3.46.601a4.1 4.1 0 0 1 1.698 1.702c.39.734.599 1.461.599 3.467v2.17c0 .198.078.39.218.53l1.77 1.774a.15.15 0 0 0 .257-.106V7.692c0-2.675-.278-3.645-.8-4.623A5.45 5.45 0 0 0 20.91.801C19.935.278 18.968 0 16.3 0zM6.761 3.75a2.995 2.995 0 0 0-2.993 2.999v5.691a.75.75 0 0 0 .219.529l1.77 1.776a.149.149 0 0 0 .255-.106v-7.14a1.5 1.5 0 0 1 .097-.53c.072-.2.188-.385.348-.545l2.308-2.421a.15.15 0 0 0-.11-.253zm4.802 0c-.2 0-.39.08-.53.22L9.26 5.744A.151.151 0 0 0 9.366 6h7.124q.28.001.528.097c.2.072.386.188.546.347l2.413 2.313a.15.15 0 0 0 .255-.108v-1.9a2.995 2.995 0 0 0-2.993-3zm6.573 5.463a.15.15 0 0 0-.15.15v7.139a1.5 1.5 0 0 1-.095.53a1.5 1.5 0 0 1-.348.546l-2.308 2.42a.15.15 0 0 0 .108.255h1.896a2.997 2.997 0 0 0 2.993-3.002v-5.69a.75.75 0 0 0-.219-.53l-1.77-1.774a.15.15 0 0 0-.107-.044m-17.96 2.25a.15.15 0 0 0-.15.15v4.695c0 2.674.278 3.645.8 4.623a5.44 5.44 0 0 0 2.263 2.267c.976.522 1.943.802 4.612.802h.994c.2 0 .39-.08.53-.22l1.771-1.775a.149.149 0 0 0-.106-.255H8.027c-2.002 0-2.728-.208-3.46-.6a4.1 4.1 0 0 1-1.698-1.702c-.39-.734-.599-1.461-.599-3.467v-2.172a.75.75 0 0 0-.22-.528L.282 11.507a.15.15 0 0 0-.106-.044m21.703 1.5a.15.15 0 0 0-.15.15v2.868c0 2.006-.208 2.733-.6 3.467a4.1 4.1 0 0 1-1.698 1.702c-.731.392-1.457.6-3.459.6h-2.164a.75.75 0 0 0-.532.22l-1.769 1.773a.15.15 0 0 0-.043.107c0 .083.065.15.148.15H16.3c2.67 0 3.636-.28 4.612-.802a5.44 5.44 0 0 0 2.263-2.267c.522-.978.8-1.948.8-4.623v-.998a.75.75 0 0 0-.22-.529l-1.769-1.774a.15.15 0 0 0-.106-.044zm-17.96 2.238a.15.15 0 0 0-.151.15v1.898a2.997 2.997 0 0 0 2.993 3.001h5.676c.2 0 .39-.08.53-.22l1.773-1.775a.15.15 0 0 0 .044-.104a.15.15 0 0 0-.15-.15H7.51a1.5 1.5 0 0 1-.53-.098a1.5 1.5 0 0 1-.546-.347l-2.413-2.313a.15.15 0 0 0-.103-.042z'/%3E%3C/svg%3E");background-color:currentColor;color:inherit;display:inline-block;height:1.2em;-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;vertical-align:middle;width:1.2em}.n-button-icon{font-size:1.1em;margin-left:-.2em;margin-right:.2em}.n-icon-button{align-items:center;aspect-ratio:1/1;border-radius:.25rem;display:flex;height:1.6em;justify-content:center;opacity:.5;width:1.6em}.n-tip-base{align-items:center;background-color:rgba(var(--nui-c-context),.04);border-radius:.25rem;display:flex;gap:.5rem;padding:.4em 1em;--un-text-opacity:1;color:rgba(var(--nui-c-context),var(--un-text-opacity))}.n-button-base{align-items:center;border-color:#9ca3af33;border-radius:.25rem;border-width:1px;display:inline-flex;gap:.25rem;opacity:.8;padding:.25em 1em;touch-action:manipulation;--un-shadow:var(--un-shadow-inset) 0 1px 2px 0 var(--un-shadow-color, rgba(0,0,0,.05));box-shadow:var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow);outline:2px solid transparent!important;outline-offset:2px!important}.n-icon{flex:none}.n-card-base{border-color:#9ca3af33;border-radius:.25rem;border-width:1px;--un-bg-opacity:1;background-color:rgb(255 255 255 / var(--un-bg-opacity));--un-shadow:var(--un-shadow-inset) 0 1px 2px 0 var(--un-shadow-color, rgba(0,0,0,.05));box-shadow:var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow)}.hover\:n-button-hover:hover{--un-border-opacity:1 !important;border-color:rgba(var(--nui-c-context),var(--un-border-opacity))!important;--un-text-opacity:1;color:rgba(var(--nui-c-context),var(--un-text-opacity));opacity:1}.dark .n-bg-base,.dark .n-card-base{--un-bg-opacity:1;background-color:rgb(21 21 21 / var(--un-bg-opacity))}.n-bg-base{--un-bg-opacity:1;background-color:rgb(255 255 255 / var(--un-bg-opacity))}.dark .n-tip-base{background-color:rgba(var(--nui-c-context),.12)}.n-icon-button:hover{background-color:#9ca3af0d;opacity:1}.active\:n-button-active:active{background-color:rgba(var(--nui-c-context),.05);--un-ring-width:3px;--un-ring-offset-shadow:var(--un-ring-inset) 0 0 0 var(--un-ring-offset-width) var(--un-ring-offset-color);--un-ring-shadow:var(--un-ring-inset) 0 0 0 calc(var(--un-ring-width) + var(--un-ring-offset-width)) var(--un-ring-color);box-shadow:var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow);--un-ring-color:rgba(var(--nui-c-context),.1) }.focus-visible\:n-focus-base:focus-visible{--un-ring-width:2px;--un-ring-offset-shadow:var(--un-ring-inset) 0 0 0 var(--un-ring-offset-width) var(--un-ring-offset-color);--un-ring-shadow:var(--un-ring-inset) 0 0 0 calc(var(--un-ring-width) + var(--un-ring-offset-width)) var(--un-ring-color);box-shadow:var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow);--un-ring-color:rgba(var(--nui-c-context),.5) }.n-transition{transition-duration:.15s;transition-duration:.2s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}.fixed{position:fixed}.relative{position:relative}.-bottom-1\/2{bottom:-50%}.left-0{left:0}.right-0{right:0}.z-10{z-index:10}.z-20{z-index:20}.grid{display:grid}.col-span-2{grid-column:span 2 / span 2}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.mb-16{margin-bottom:4rem}.mb-6{margin-bottom:1.5rem}.mb-8{margin-bottom:2rem}.inline-block{display:inline-block}.h-1\/2{height:50%}.h-auto{height:auto}.h1{height:.25rem}.h2{height:.5rem}.h3{height:.75rem}.max-w-520px{max-width:520px}.min-h-screen{min-height:100vh}.w-full{width:100%}.flex{display:flex}.flex-1{flex:1 1 0%}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.cursor-pointer{cursor:pointer}.place-content-center{place-content:center}.items-center{align-items:center}.justify-center{justify-content:center}.gap-2{gap:.5rem}.gap-4{gap:1rem}.space-y-4>:not([hidden])~:not([hidden]){--un-space-y-reverse:0;margin-bottom:calc(1rem*var(--un-space-y-reverse));margin-top:calc(1rem*(1 - var(--un-space-y-reverse)))}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.border,[border=""]{border-width:1px}.border-zinc-600{--un-border-opacity:1;border-color:rgb(82 82 91 / var(--un-border-opacity))}.rounded{border-radius:.25rem}.rounded-t-md{border-top-left-radius:.375rem;border-top-right-radius:.375rem}.bg-black\/5{background-color:#0000000d}.bg-white{--un-bg-opacity:1;background-color:rgb(255 255 255 / var(--un-bg-opacity))}.bg-zinc-900{--un-bg-opacity:1;background-color:rgb(24 24 27 / var(--un-bg-opacity))}.dark .dark\:bg-black{--un-bg-opacity:1;background-color:rgb(0 0 0 / var(--un-bg-opacity))}.dark .dark\:bg-white\/10{background-color:#ffffff1a}.p-1\.5{padding:.375rem}.p-4{padding:1rem}.p-8{padding:2rem}.px-10{padding-left:2.5rem;padding-right:2.5rem}.px-4{padding-left:1rem;padding-right:1rem}.px-8{padding-left:2rem;padding-right:2rem}.py-2{padding-bottom:.5rem;padding-top:.5rem}.pt-14{padding-top:3.5rem}.text-center{text-align:center}.align-sub{vertical-align:sub}.text-6xl{font-size:3.75rem;line-height:1}.text-8xl{font-size:6rem;line-height:1}.text-xl{font-size:1.25rem;line-height:1.75rem}.dark .dark\:text-white{--un-text-opacity:1;color:rgb(255 255 255 / var(--un-text-opacity))}.text-black{--un-text-opacity:1;color:rgb(0 0 0 / var(--un-text-opacity))}.font-bold{font-weight:700}.font-light{font-weight:300}.font-medium{font-weight:500}.leading-tight{line-height:1.25}.tracking-wider{letter-spacing:.05em}.font-mono{font-family:DM Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.font-sans{font-family:DM Sans,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji}.uppercase{text-transform:uppercase}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}[n~=green]{--nui-c-context:74,222,128}[n~=yellow]{--nui-c-context:250,204,21}.n-disabled\:n-disabled[disabled],[disabled] .n-disabled\:n-disabled{filter:saturate(0);opacity:.6;pointer-events:none}@media (min-width:640px){.sm\:px-0{padding-left:0;padding-right:0}.sm\:px-6{padding-left:1.5rem;padding-right:1.5rem}.sm\:py-3{padding-bottom:.75rem;padding-top:.75rem}.sm\:text-2xl{font-size:1.5rem;line-height:2rem}.sm\:text-4xl{font-size:2.25rem;line-height:2.5rem}.sm\:text-8xl{font-size:6rem;line-height:1}.sm\:text-xl{font-size:1.25rem;line-height:1.75rem}}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.spotlight[data-v-88181c70]{background:linear-gradient(45deg,#00dc82,#36e4da 50%,#0047e1);bottom:-30vh;filter:blur(20vh);height:40vh}.gradient-border[data-v-88181c70]{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-radius:.5rem;position:relative}@media (prefers-color-scheme:light){.gradient-border[data-v-88181c70]{background-color:#ffffff4d}.gradient-border[data-v-88181c70]:before{background:linear-gradient(90deg,#e2e2e2,#e2e2e2 25%,#00dc82,#36e4da 75%,#0047e1)}}@media (prefers-color-scheme:dark){.gradient-border[data-v-88181c70]{background-color:#1414144d}.gradient-border[data-v-88181c70]:before{background:linear-gradient(90deg,#303030,#303030 25%,#00dc82,#36e4da 75%,#0047e1)}}.gradient-border[data-v-88181c70]:before{background-size:400% auto;border-radius:.5rem;bottom:0;content:"";left:0;-webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);-webkit-mask-composite:xor;mask-composite:exclude;opacity:.5;padding:2px;position:absolute;right:0;top:0;transition:background-position .3s ease-in-out,opacity .2s ease-in-out;width:100%}.gradient-border[data-v-88181c70]:hover:before{background-position:-50% 0;opacity:1}.fixed[data-v-88181c70]{position:fixed}.left-0[data-v-88181c70]{left:0}.right-0[data-v-88181c70]{right:0}.z-10[data-v-88181c70]{z-index:10}.z-20[data-v-88181c70]{z-index:20}.grid[data-v-88181c70]{display:grid}.mb-16[data-v-88181c70]{margin-bottom:4rem}.mb-8[data-v-88181c70]{margin-bottom:2rem}.max-w-520px[data-v-88181c70]{max-width:520px}.min-h-screen[data-v-88181c70]{min-height:100vh}.w-full[data-v-88181c70]{width:100%}.flex[data-v-88181c70]{display:flex}.cursor-pointer[data-v-88181c70]{cursor:pointer}.place-content-center[data-v-88181c70]{place-content:center}.items-center[data-v-88181c70]{align-items:center}.justify-center[data-v-88181c70]{justify-content:center}.overflow-hidden[data-v-88181c70]{overflow:hidden}.bg-white[data-v-88181c70]{--un-bg-opacity:1;background-color:rgb(255 255 255/var(--un-bg-opacity))}.px-4[data-v-88181c70]{padding-left:1rem;padding-right:1rem}.px-8[data-v-88181c70]{padding-left:2rem;padding-right:2rem}.py-2[data-v-88181c70]{padding-bottom:.5rem;padding-top:.5rem}.text-center[data-v-88181c70]{text-align:center}.text-8xl[data-v-88181c70]{font-size:6rem;line-height:1}.text-xl[data-v-88181c70]{font-size:1.25rem;line-height:1.75rem}.text-black[data-v-88181c70]{--un-text-opacity:1;color:rgb(0 0 0/var(--un-text-opacity))}.font-light[data-v-88181c70]{font-weight:300}.font-medium[data-v-88181c70]{font-weight:500}.leading-tight[data-v-88181c70]{line-height:1.25}.font-sans[data-v-88181c70]{font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji}.antialiased[data-v-88181c70]{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media (prefers-color-scheme:dark){.dark\:bg-black[data-v-88181c70]{--un-bg-opacity:1;background-color:rgb(0 0 0/var(--un-bg-opacity))}.dark\:text-white[data-v-88181c70]{--un-text-opacity:1;color:rgb(255 255 255/var(--un-text-opacity))}}@media (min-width:640px){.sm\:px-0[data-v-88181c70]{padding-left:0;padding-right:0}.sm\:px-6[data-v-88181c70]{padding-left:1.5rem;padding-right:1.5rem}.sm\:py-3[data-v-88181c70]{padding-bottom:.75rem;padding-top:.75rem}.sm\:text-4xl[data-v-88181c70]{font-size:2.25rem;line-height:2.5rem}.sm\:text-xl[data-v-88181c70]{font-size:1.25rem;line-height:1.75rem}}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.spotlight[data-v-4238b515]{background:linear-gradient(45deg,#00dc82,#36e4da 50%,#0047e1);filter:blur(20vh)}.fixed[data-v-4238b515]{position:fixed}.-bottom-1\/2[data-v-4238b515]{bottom:-50%}.left-0[data-v-4238b515]{left:0}.right-0[data-v-4238b515]{right:0}.grid[data-v-4238b515]{display:grid}.mb-16[data-v-4238b515]{margin-bottom:4rem}.mb-8[data-v-4238b515]{margin-bottom:2rem}.h-1\/2[data-v-4238b515]{height:50%}.max-w-520px[data-v-4238b515]{max-width:520px}.min-h-screen[data-v-4238b515]{min-height:100vh}.place-content-center[data-v-4238b515]{place-content:center}.overflow-hidden[data-v-4238b515]{overflow:hidden}.bg-white[data-v-4238b515]{--un-bg-opacity:1;background-color:rgb(255 255 255/var(--un-bg-opacity))}.px-8[data-v-4238b515]{padding-left:2rem;padding-right:2rem}.text-center[data-v-4238b515]{text-align:center}.text-8xl[data-v-4238b515]{font-size:6rem;line-height:1}.text-xl[data-v-4238b515]{font-size:1.25rem;line-height:1.75rem}.text-black[data-v-4238b515]{--un-text-opacity:1;color:rgb(0 0 0/var(--un-text-opacity))}.font-light[data-v-4238b515]{font-weight:300}.font-medium[data-v-4238b515]{font-weight:500}.leading-tight[data-v-4238b515]{line-height:1.25}.font-sans[data-v-4238b515]{font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji}.antialiased[data-v-4238b515]{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media (prefers-color-scheme:dark){.dark\:bg-black[data-v-4238b515]{--un-bg-opacity:1;background-color:rgb(0 0 0/var(--un-bg-opacity))}.dark\:text-white[data-v-4238b515]{--un-text-opacity:1;color:rgb(255 255 255/var(--un-text-opacity))}}@media (min-width:640px){.sm\:px-0[data-v-4238b515]{padding-left:0;padding-right:0}.sm\:text-4xl[data-v-4238b515]{font-size:2.25rem;line-height:2.5rem}}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.heading[data-v-469b968a]{font-weight:700;letter-spacing:.05em;font-family:DM Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;text-transform:uppercase}
|
package/dist/client/index.html
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<!DOCTYPE html><html data-capo=""><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1"><link rel="stylesheet" href="/__prismic-client/_nuxt/entry.BC9BDAld.css" crossorigin><link rel="modulepreload" as="script" crossorigin href="/__prismic-client/_nuxt/72kwNbQb.js"><link rel="prefetch" as="style" crossorigin href="/__prismic-client/_nuxt/error-404.BgOy5onL.css"><link rel="prefetch" as="script" crossorigin href="/__prismic-client/_nuxt/YYRUG_yD.js"><link rel="prefetch" as="script" crossorigin href="/__prismic-client/_nuxt/BOjifcfq.js"><link rel="prefetch" as="script" crossorigin href="/__prismic-client/_nuxt/DlAUqK2U.js"><link rel="prefetch" as="script" crossorigin href="/__prismic-client/_nuxt/Cg7-pAa1.js"><link rel="prefetch" as="style" crossorigin href="/__prismic-client/_nuxt/error-500.Di0s_DEL.css"><link rel="prefetch" as="script" crossorigin href="/__prismic-client/_nuxt/X01cQnxr.js"><script type="module" src="/__prismic-client/_nuxt/72kwNbQb.js" crossorigin></script></head><body><div id="__nuxt"></div><div id="teleports"></div><script type="application/json" data-nuxt-data="nuxt-app" data-ssr="false" id="__NUXT_DATA__">[{"prerenderedAt":1,"serverRendered":2},1740963971397,false]</script><script>window.__NUXT__={};window.__NUXT__.config={public:{},app:{baseURL:"/__prismic-client",buildId:"b7611925-2a2f-4b3a-a8ca-80585b109dfa",buildAssetsDir:"/_nuxt/",cdnURL:""}}</script></body></html>
|
package/dist/module.cjs
DELETED
package/dist/module.d.ts
DELETED
|
@@ -1,136 +0,0 @@
|
|
|
1
|
-
import * as _nuxt_schema from '@nuxt/schema';
|
|
2
|
-
import { PrismicPluginOptions } from '@prismicio/vue';
|
|
3
|
-
|
|
4
|
-
/**
|
|
5
|
-
* `@nuxtjs/prismic` module options.
|
|
6
|
-
*
|
|
7
|
-
* @see Module documentation: {@link https://prismic.nuxtjs.org}
|
|
8
|
-
* @see Prismic documentation: {@link https://prismic.io/docs/nuxt-3-setup}
|
|
9
|
-
*/
|
|
10
|
-
type PrismicModuleOptions = Omit<PrismicPluginOptions, 'endpoint' | 'client' | 'linkResolver' | 'richTextSerializer' | 'components'> & {
|
|
11
|
-
/**
|
|
12
|
-
* A Prismic repository endpoint to init the module's `@prismicio/client`
|
|
13
|
-
* instance used to fetch content from a Prismic repository with.
|
|
14
|
-
*
|
|
15
|
-
* @remarks
|
|
16
|
-
* Said client will be used exposed through `this.$prismic.client` and
|
|
17
|
-
* `usePrismic().client`.
|
|
18
|
-
* @example
|
|
19
|
-
*
|
|
20
|
-
* ```javascript
|
|
21
|
-
* // A repository ID
|
|
22
|
-
* "my-repo";
|
|
23
|
-
*
|
|
24
|
-
* //A full repository endpoint
|
|
25
|
-
* "https://my-repo.cdn.prismic.io/api/v2";
|
|
26
|
-
* ```
|
|
27
|
-
*
|
|
28
|
-
* @see Prismic client documentation {@link https://prismic.io/docs/technical-reference/prismicio-client}
|
|
29
|
-
*/
|
|
30
|
-
endpoint?: string;
|
|
31
|
-
/**
|
|
32
|
-
* The Prismic environment in use by Slice Machine configured through
|
|
33
|
-
* environment variables.
|
|
34
|
-
*
|
|
35
|
-
* @defaultValue `endpoint` value.
|
|
36
|
-
*
|
|
37
|
-
* @internal
|
|
38
|
-
*/
|
|
39
|
-
environment?: string;
|
|
40
|
-
/**
|
|
41
|
-
* An optional path to a file exporting a `@prismicio/client` instance used
|
|
42
|
-
* to fetch content from a Prismic repository to configure the module with.
|
|
43
|
-
*
|
|
44
|
-
* @remarks
|
|
45
|
-
* Said client will be used exposed through `this.$prismic.client` and
|
|
46
|
-
* `usePrismic().client`.
|
|
47
|
-
* @see Prismic client documentation {@link https://prismic.io/docs/technical-reference/prismicio-client}
|
|
48
|
-
*/
|
|
49
|
-
client?: string;
|
|
50
|
-
/**
|
|
51
|
-
* An optional path to a file exporting a link resolver function used to
|
|
52
|
-
* resolve links to Prismic documents when not using the route resolver
|
|
53
|
-
* parameter with `@prismicio/client`.
|
|
54
|
-
*
|
|
55
|
-
* @see Link resolver documentation {@link https://prismic.io/docs/route-resolver#link-resolver}
|
|
56
|
-
*/
|
|
57
|
-
linkResolver?: string;
|
|
58
|
-
/**
|
|
59
|
-
* An optional path to a file exporting an HTML serializer to customize
|
|
60
|
-
* the way rich text fields are rendered.
|
|
61
|
-
*
|
|
62
|
-
* @deprecated Use `components.richTextComponents` instead.
|
|
63
|
-
*
|
|
64
|
-
* @see HTML serializer documentation {@link https://prismic.io/docs/rich-text}
|
|
65
|
-
*/
|
|
66
|
-
richTextSerializer?: string;
|
|
67
|
-
/**
|
|
68
|
-
* Desired path of the preview page used by Prismic to enter preview
|
|
69
|
-
* session.
|
|
70
|
-
*
|
|
71
|
-
* @remarks
|
|
72
|
-
* `false` can be used to disable the preview page.
|
|
73
|
-
*
|
|
74
|
-
* @defaultValue `"/preview"`
|
|
75
|
-
*/
|
|
76
|
-
preview?: string | false;
|
|
77
|
-
/**
|
|
78
|
-
* Whether to inject Prismic toolbar script.
|
|
79
|
-
*
|
|
80
|
-
* @remarks
|
|
81
|
-
* The toolbar script is required for previews to work.
|
|
82
|
-
*
|
|
83
|
-
* @defaultValue `true`
|
|
84
|
-
*/
|
|
85
|
-
toolbar?: boolean;
|
|
86
|
-
/**
|
|
87
|
-
* Whether to enable Prismic Nuxt DevTools integration.
|
|
88
|
-
*
|
|
89
|
-
* @defaultValue `true`
|
|
90
|
-
*/
|
|
91
|
-
devtools?: boolean;
|
|
92
|
-
/**
|
|
93
|
-
* Options used by Prismic Vue components.
|
|
94
|
-
*/
|
|
95
|
-
components?: Omit<Required<PrismicPluginOptions>['components'], 'richTextComponents' | 'linkRel' | 'sliceZoneDefaultComponent' | 'linkInternalComponent' | 'linkExternalComponent'> & {
|
|
96
|
-
/**
|
|
97
|
-
* An optional path to a file exporting the `rel` attribute to apply on links.
|
|
98
|
-
* It can export a function to use the link's metadata to determine the `rel` value.
|
|
99
|
-
*
|
|
100
|
-
* @defaultValue `"noreferrer"` for external links.
|
|
101
|
-
*/
|
|
102
|
-
linkRel?: string;
|
|
103
|
-
/**
|
|
104
|
-
* An optional path to a file exporting a map of Rich Text block types to Vue Components.
|
|
105
|
-
* It is used to render Rich Text or title fields.
|
|
106
|
-
*
|
|
107
|
-
* @see Templating Rich Text and title fields from Prismic {@link https://prismic.io/docs/rich-text}
|
|
108
|
-
*/
|
|
109
|
-
richTextComponents?: string;
|
|
110
|
-
/**
|
|
111
|
-
* An optional path to a file exporting a component or a functional component rendered
|
|
112
|
-
* if a component mapping from the `components` prop cannot be found.
|
|
113
|
-
*
|
|
114
|
-
* @remarks
|
|
115
|
-
* Components will be rendered using the {@link SliceComponentProps} interface.
|
|
116
|
-
*
|
|
117
|
-
* @defaultValue `null` when `process.env.NODE_ENV === "production"` else {@link TODOSliceComponent}
|
|
118
|
-
*/
|
|
119
|
-
sliceZoneDefaultComponent?: string;
|
|
120
|
-
};
|
|
121
|
-
};
|
|
122
|
-
|
|
123
|
-
declare module '@nuxt/schema' {
|
|
124
|
-
interface PublicRuntimeConfig {
|
|
125
|
-
/**
|
|
126
|
-
* `@nuxtjs/prismic` module options.
|
|
127
|
-
*
|
|
128
|
-
* @see Module documentation: {@link https://prismic.nuxtjs.org}
|
|
129
|
-
* @see Prismic documentation: {@link https://prismic.io/docs/nuxt-3-setup}
|
|
130
|
-
*/
|
|
131
|
-
prismic: PrismicModuleOptions;
|
|
132
|
-
}
|
|
133
|
-
}
|
|
134
|
-
declare const _default: _nuxt_schema.NuxtModule<PrismicModuleOptions, PrismicModuleOptions, false>;
|
|
135
|
-
|
|
136
|
-
export { type PrismicModuleOptions as ModuleOptions, type PrismicModuleOptions, _default as default };
|
package/dist/types.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { type ModuleOptions, type PrismicModuleOptions, default } from './module'
|
package/src/devtools/index.ts
DELETED
|
@@ -1,127 +0,0 @@
|
|
|
1
|
-
import { existsSync } from 'node:fs'
|
|
2
|
-
import { readFile } from 'node:fs/promises'
|
|
3
|
-
|
|
4
|
-
import { extendServerRpc, onDevToolsInitialized, startSubprocess } from '@nuxt/devtools-kit'
|
|
5
|
-
import type { Resolver } from '@nuxt/kit'
|
|
6
|
-
import type { Nuxt } from 'nuxt/schema'
|
|
7
|
-
import { resolve } from 'pathe'
|
|
8
|
-
import terminate from 'terminate'
|
|
9
|
-
|
|
10
|
-
import {
|
|
11
|
-
RPC_NAMESPACE,
|
|
12
|
-
SliceMachineStatus,
|
|
13
|
-
type ISlicemachineServerFunctions,
|
|
14
|
-
type ISlicemachineClientFunctions,
|
|
15
|
-
} from './types'
|
|
16
|
-
|
|
17
|
-
const DEVTOOLS_UI_ROUTE = '/__prismic-client'
|
|
18
|
-
const DEVTOOLS_UI_LOCAL_PORT = 5173
|
|
19
|
-
|
|
20
|
-
let subProcess: null | ReturnType<typeof startSubprocess> = null
|
|
21
|
-
|
|
22
|
-
const stopSubprocess = () => {
|
|
23
|
-
if (subProcess) {
|
|
24
|
-
const pid = subProcess.getProcess().pid
|
|
25
|
-
if (pid) {
|
|
26
|
-
terminate(pid)
|
|
27
|
-
}
|
|
28
|
-
subProcess.terminate()
|
|
29
|
-
subProcess = null
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
export const setupDevToolsUI = (nuxt: Nuxt, resolver: Resolver) => {
|
|
34
|
-
const clientPath = resolver.resolve('./client')
|
|
35
|
-
const isProductionBuild = existsSync(clientPath)
|
|
36
|
-
|
|
37
|
-
if (isProductionBuild) {
|
|
38
|
-
// Serve production-built client (used when package is published)
|
|
39
|
-
nuxt.hook('vite:serverCreated', async (server) => {
|
|
40
|
-
const sirv = await import('sirv').then(r => r.default || r)
|
|
41
|
-
server.middlewares.use(
|
|
42
|
-
DEVTOOLS_UI_ROUTE,
|
|
43
|
-
sirv(clientPath, { dev: true, single: true }),
|
|
44
|
-
)
|
|
45
|
-
})
|
|
46
|
-
}
|
|
47
|
-
else {
|
|
48
|
-
// In local development, start a separate Nuxt Server and proxy to serve the client
|
|
49
|
-
nuxt.hook('vite:extendConfig', (config) => {
|
|
50
|
-
config.server = config.server || {}
|
|
51
|
-
config.server.proxy = config.server.proxy || {}
|
|
52
|
-
config.server.proxy[DEVTOOLS_UI_ROUTE] = {
|
|
53
|
-
target: `http://localhost:${DEVTOOLS_UI_LOCAL_PORT}${DEVTOOLS_UI_ROUTE}`,
|
|
54
|
-
changeOrigin: true,
|
|
55
|
-
followRedirects: true,
|
|
56
|
-
ws: true,
|
|
57
|
-
rewrite: path => path.replace(DEVTOOLS_UI_ROUTE, ''),
|
|
58
|
-
}
|
|
59
|
-
})
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
nuxt.hooks.hook('close', () => {
|
|
63
|
-
stopSubprocess()
|
|
64
|
-
})
|
|
65
|
-
process.on('exit', () => {
|
|
66
|
-
stopSubprocess()
|
|
67
|
-
})
|
|
68
|
-
|
|
69
|
-
onDevToolsInitialized(() => {
|
|
70
|
-
const rpc = extendServerRpc<ISlicemachineClientFunctions, ISlicemachineServerFunctions>(
|
|
71
|
-
RPC_NAMESPACE,
|
|
72
|
-
{
|
|
73
|
-
async getSlicemachineConfig() {
|
|
74
|
-
const configPath = resolve(nuxt.options.rootDir, 'slicemachine.config.json')
|
|
75
|
-
|
|
76
|
-
if (existsSync(configPath)) {
|
|
77
|
-
return JSON.parse(await readFile(configPath, 'utf-8'))
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
return null
|
|
81
|
-
},
|
|
82
|
-
|
|
83
|
-
isSliceMachineStarted() {
|
|
84
|
-
return subProcess !== null
|
|
85
|
-
},
|
|
86
|
-
|
|
87
|
-
startSliceMachine() {
|
|
88
|
-
stopSubprocess()
|
|
89
|
-
|
|
90
|
-
subProcess = startSubprocess({
|
|
91
|
-
command: 'npx',
|
|
92
|
-
args: ['start-slicemachine'],
|
|
93
|
-
cwd: nuxt.options.rootDir,
|
|
94
|
-
}, {
|
|
95
|
-
id: 'slicemachine',
|
|
96
|
-
name: 'SliceMachine',
|
|
97
|
-
icon: 'i-simple-icons-prismic',
|
|
98
|
-
}, nuxt)
|
|
99
|
-
|
|
100
|
-
rpc.broadcast.updateStatus(SliceMachineStatus.STARTED)
|
|
101
|
-
return SliceMachineStatus.STARTED
|
|
102
|
-
},
|
|
103
|
-
stopSliceMachine() {
|
|
104
|
-
stopSubprocess()
|
|
105
|
-
|
|
106
|
-
rpc.broadcast.updateStatus(SliceMachineStatus.STOPPED)
|
|
107
|
-
return SliceMachineStatus.STOPPED
|
|
108
|
-
},
|
|
109
|
-
})
|
|
110
|
-
})
|
|
111
|
-
|
|
112
|
-
nuxt.hook('devtools:customTabs', (tabs) => {
|
|
113
|
-
tabs.push({
|
|
114
|
-
// unique identifier
|
|
115
|
-
name: 'prismic',
|
|
116
|
-
// title to display in the tab
|
|
117
|
-
title: 'Prismic',
|
|
118
|
-
// any icon from Iconify, or a URL to an image
|
|
119
|
-
icon: 'i-simple-icons-prismic',
|
|
120
|
-
// iframe view
|
|
121
|
-
view: {
|
|
122
|
-
type: 'iframe',
|
|
123
|
-
src: DEVTOOLS_UI_ROUTE,
|
|
124
|
-
},
|
|
125
|
-
})
|
|
126
|
-
})
|
|
127
|
-
}
|
package/src/devtools/types.ts
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import type { BirpcReturn } from 'birpc'
|
|
2
|
-
|
|
3
|
-
export const RPC_NAMESPACE = 'prismic-slicemachine-rpc'
|
|
4
|
-
|
|
5
|
-
export enum SliceMachineStatus {
|
|
6
|
-
STARTED,
|
|
7
|
-
STOPPED,
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
export interface ISlicemachineClientFunctions {
|
|
11
|
-
updateStatus(status: SliceMachineStatus): void
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
export interface ISlicemachineServerFunctions {
|
|
15
|
-
getSlicemachineConfig(): Promise<object | null>
|
|
16
|
-
isSliceMachineStarted(): boolean
|
|
17
|
-
startSliceMachine(): SliceMachineStatus
|
|
18
|
-
stopSliceMachine(): SliceMachineStatus
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
export type RPCServerType = BirpcReturn<ISlicemachineClientFunctions, ISlicemachineServerFunctions>
|
|
22
|
-
export type RPCClientType = BirpcReturn<ISlicemachineServerFunctions, ISlicemachineClientFunctions>
|
package/src/lib/fileExists.ts
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { existsSync } from 'node:fs'
|
|
2
|
-
|
|
3
|
-
export const fileExists = (path?: string, extensions = ['js', 'ts']): string | null => {
|
|
4
|
-
if (!path) {
|
|
5
|
-
return null
|
|
6
|
-
}
|
|
7
|
-
else if (existsSync(path)) {
|
|
8
|
-
// If path already contains/forces the extension
|
|
9
|
-
return path
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
const extension = extensions.find(extension => existsSync(`${path}.${extension}`))
|
|
13
|
-
|
|
14
|
-
return extension ? `${path}.${extension}` : null
|
|
15
|
-
}
|
package/src/lib/index.ts
DELETED
package/src/lib/logger.ts
DELETED
package/src/types.ts
DELETED
|
@@ -1,137 +0,0 @@
|
|
|
1
|
-
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
2
|
-
import type { PrismicPluginOptions, SliceComponentProps, TODOSliceComponent } from '@prismicio/vue'
|
|
3
|
-
|
|
4
|
-
/**
|
|
5
|
-
* `@nuxtjs/prismic` module options.
|
|
6
|
-
*
|
|
7
|
-
* @see Module documentation: {@link https://prismic.nuxtjs.org}
|
|
8
|
-
* @see Prismic documentation: {@link https://prismic.io/docs/nuxt-3-setup}
|
|
9
|
-
*/
|
|
10
|
-
export type PrismicModuleOptions = Omit<
|
|
11
|
-
PrismicPluginOptions,
|
|
12
|
-
'endpoint' | 'client' | 'linkResolver' | 'richTextSerializer' | 'components'
|
|
13
|
-
> & {
|
|
14
|
-
/**
|
|
15
|
-
* A Prismic repository endpoint to init the module's `@prismicio/client`
|
|
16
|
-
* instance used to fetch content from a Prismic repository with.
|
|
17
|
-
*
|
|
18
|
-
* @remarks
|
|
19
|
-
* Said client will be used exposed through `this.$prismic.client` and
|
|
20
|
-
* `usePrismic().client`.
|
|
21
|
-
* @example
|
|
22
|
-
*
|
|
23
|
-
* ```javascript
|
|
24
|
-
* // A repository ID
|
|
25
|
-
* "my-repo";
|
|
26
|
-
*
|
|
27
|
-
* //A full repository endpoint
|
|
28
|
-
* "https://my-repo.cdn.prismic.io/api/v2";
|
|
29
|
-
* ```
|
|
30
|
-
*
|
|
31
|
-
* @see Prismic client documentation {@link https://prismic.io/docs/technical-reference/prismicio-client}
|
|
32
|
-
*/
|
|
33
|
-
endpoint?: string
|
|
34
|
-
|
|
35
|
-
/**
|
|
36
|
-
* The Prismic environment in use by Slice Machine configured through
|
|
37
|
-
* environment variables.
|
|
38
|
-
*
|
|
39
|
-
* @defaultValue `endpoint` value.
|
|
40
|
-
*
|
|
41
|
-
* @internal
|
|
42
|
-
*/
|
|
43
|
-
environment?: string
|
|
44
|
-
|
|
45
|
-
/**
|
|
46
|
-
* An optional path to a file exporting a `@prismicio/client` instance used
|
|
47
|
-
* to fetch content from a Prismic repository to configure the module with.
|
|
48
|
-
*
|
|
49
|
-
* @remarks
|
|
50
|
-
* Said client will be used exposed through `this.$prismic.client` and
|
|
51
|
-
* `usePrismic().client`.
|
|
52
|
-
* @see Prismic client documentation {@link https://prismic.io/docs/technical-reference/prismicio-client}
|
|
53
|
-
*/
|
|
54
|
-
client?: string
|
|
55
|
-
|
|
56
|
-
/**
|
|
57
|
-
* An optional path to a file exporting a link resolver function used to
|
|
58
|
-
* resolve links to Prismic documents when not using the route resolver
|
|
59
|
-
* parameter with `@prismicio/client`.
|
|
60
|
-
*
|
|
61
|
-
* @see Link resolver documentation {@link https://prismic.io/docs/route-resolver#link-resolver}
|
|
62
|
-
*/
|
|
63
|
-
linkResolver?: string
|
|
64
|
-
|
|
65
|
-
/**
|
|
66
|
-
* An optional path to a file exporting an HTML serializer to customize
|
|
67
|
-
* the way rich text fields are rendered.
|
|
68
|
-
*
|
|
69
|
-
* @deprecated Use `components.richTextComponents` instead.
|
|
70
|
-
*
|
|
71
|
-
* @see HTML serializer documentation {@link https://prismic.io/docs/rich-text}
|
|
72
|
-
*/
|
|
73
|
-
richTextSerializer?: string
|
|
74
|
-
|
|
75
|
-
/**
|
|
76
|
-
* Desired path of the preview page used by Prismic to enter preview
|
|
77
|
-
* session.
|
|
78
|
-
*
|
|
79
|
-
* @remarks
|
|
80
|
-
* `false` can be used to disable the preview page.
|
|
81
|
-
*
|
|
82
|
-
* @defaultValue `"/preview"`
|
|
83
|
-
*/
|
|
84
|
-
preview?: string | false
|
|
85
|
-
|
|
86
|
-
/**
|
|
87
|
-
* Whether to inject Prismic toolbar script.
|
|
88
|
-
*
|
|
89
|
-
* @remarks
|
|
90
|
-
* The toolbar script is required for previews to work.
|
|
91
|
-
*
|
|
92
|
-
* @defaultValue `true`
|
|
93
|
-
*/
|
|
94
|
-
toolbar?: boolean
|
|
95
|
-
|
|
96
|
-
/**
|
|
97
|
-
* Whether to enable Prismic Nuxt DevTools integration.
|
|
98
|
-
*
|
|
99
|
-
* @defaultValue `true`
|
|
100
|
-
*/
|
|
101
|
-
devtools?: boolean
|
|
102
|
-
|
|
103
|
-
/**
|
|
104
|
-
* Options used by Prismic Vue components.
|
|
105
|
-
*/
|
|
106
|
-
components?: Omit<
|
|
107
|
-
Required<PrismicPluginOptions>['components'],
|
|
108
|
-
'richTextComponents' | 'linkRel' | 'sliceZoneDefaultComponent' | 'linkInternalComponent' | 'linkExternalComponent'
|
|
109
|
-
> & {
|
|
110
|
-
/**
|
|
111
|
-
* An optional path to a file exporting the `rel` attribute to apply on links.
|
|
112
|
-
* It can export a function to use the link's metadata to determine the `rel` value.
|
|
113
|
-
*
|
|
114
|
-
* @defaultValue `"noreferrer"` for external links.
|
|
115
|
-
*/
|
|
116
|
-
linkRel?: string
|
|
117
|
-
|
|
118
|
-
/**
|
|
119
|
-
* An optional path to a file exporting a map of Rich Text block types to Vue Components.
|
|
120
|
-
* It is used to render Rich Text or title fields.
|
|
121
|
-
*
|
|
122
|
-
* @see Templating Rich Text and title fields from Prismic {@link https://prismic.io/docs/rich-text}
|
|
123
|
-
*/
|
|
124
|
-
richTextComponents?: string
|
|
125
|
-
|
|
126
|
-
/**
|
|
127
|
-
* An optional path to a file exporting a component or a functional component rendered
|
|
128
|
-
* if a component mapping from the `components` prop cannot be found.
|
|
129
|
-
*
|
|
130
|
-
* @remarks
|
|
131
|
-
* Components will be rendered using the {@link SliceComponentProps} interface.
|
|
132
|
-
*
|
|
133
|
-
* @defaultValue `null` when `process.env.NODE_ENV === "production"` else {@link TODOSliceComponent}
|
|
134
|
-
*/
|
|
135
|
-
sliceZoneDefaultComponent?: string
|
|
136
|
-
}
|
|
137
|
-
}
|