DXF 뷰어 문제 수정: drawEntity 함수 참조 오류, OrbitControls 초기화 및 바운딩 박스 안전 처리
This commit is contained in:
5
.gitignore
vendored
5
.gitignore
vendored
@ -78,10 +78,7 @@ cpu.out
|
||||
/yarn.lock
|
||||
/yarn-error.log
|
||||
/npm-debug.log*
|
||||
/public/assets/js
|
||||
/public/assets/css
|
||||
/public/assets/fonts
|
||||
/public/assets/licenses.txt
|
||||
|
||||
/vendor
|
||||
/VERSION
|
||||
/.air
|
||||
|
||||
@ -65,6 +65,14 @@ func (ct SniffedType) IsDwg() bool {
|
||||
strings.Contains(ct.contentType, "image/vnd.dwg")
|
||||
}
|
||||
|
||||
// IsDxf detects if data is a DXF format
|
||||
func (ct SniffedType) IsDxf() bool {
|
||||
return strings.Contains(ct.contentType, "application/dxf") ||
|
||||
strings.Contains(ct.contentType, "application/x-dxf") ||
|
||||
strings.Contains(ct.contentType, "image/vnd.dxf") ||
|
||||
strings.Contains(ct.contentType, "drawing/x-dxf")
|
||||
}
|
||||
|
||||
// IsVideo detects if data is an video format
|
||||
func (ct SniffedType) IsVideo() bool {
|
||||
return strings.Contains(ct.contentType, "video/")
|
||||
|
||||
1
public/assets/css/asciinema-player.4b6c75f8.css
Normal file
1
public/assets/css/asciinema-player.4b6c75f8.css
Normal file
File diff suppressed because one or more lines are too long
1
public/assets/css/code-frequency-graph.e747b28d.css
Normal file
1
public/assets/css/code-frequency-graph.e747b28d.css
Normal file
@ -0,0 +1 @@
|
||||
.main-graph[data-v-35e3815a]{height:440px}
|
||||
1
public/assets/css/colorpicker.ec78e358.css
Normal file
1
public/assets/css/colorpicker.ec78e358.css
Normal file
@ -0,0 +1 @@
|
||||
.js-color-picker-input{display:flex;position:relative}.js-color-picker-input input{padding-top:8px!important;padding-bottom:8px!important;padding-left:32px!important}.js-color-picker-input .preview-square{position:absolute;aspect-ratio:1;height:16px;left:10px;top:50%;transform:translateY(-50%);border-radius:2px;background:repeating-linear-gradient(45deg,#aaa 25%,transparent 25%,transparent 75%,#aaa 75%,#aaa),repeating-linear-gradient(45deg,#aaa 25%,#fff 25% 75%,#aaa 75%,#aaa);background-position:0 0,4px 4px;background-size:8px 8px}.js-color-picker-input .preview-square:after{content:"";position:absolute;width:100%;height:100%;border-radius:inherit;background-color:currentcolor}hex-color-picker{width:180px;height:120px}hex-color-picker::part(hue-pointer),hex-color-picker::part(saturation-pointer){width:22px;height:22px}hex-color-picker::part(hue){flex-basis:16px}
|
||||
1
public/assets/css/contributors-graph.393dea87.css
Normal file
1
public/assets/css/contributors-graph.393dea87.css
Normal file
@ -0,0 +1 @@
|
||||
.main-graph[data-v-34f2cba3]{height:260px;padding-top:2px}.contributor-grid[data-v-34f2cba3]{display:grid;grid-template-columns:repeat(2,1fr);gap:1rem}.contributor-grid[data-v-34f2cba3]>*{min-width:0}@media (max-width: 991.98px){.contributor-grid[data-v-34f2cba3]{grid-template-columns:repeat(1,1fr)}}.contributor-name[data-v-34f2cba3]{margin-bottom:0}
|
||||
1
public/assets/css/dropzone.5a752d14.css
Normal file
1
public/assets/css/dropzone.5a752d14.css
Normal file
@ -0,0 +1 @@
|
||||
@keyframes passing-through{0%{opacity:0;transform:translateY(40px)}30%,70%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(-40px)}}@keyframes slide-in{0%{opacity:0;transform:translateY(40px)}30%{opacity:1;transform:translateY(0)}}@keyframes pulse{0%{transform:scale(1)}10%{transform:scale(1.1)}20%{transform:scale(1)}}.dropzone,.dropzone *{box-sizing:border-box}.dropzone{min-height:150px;border:1px solid rgba(0,0,0,.8);border-radius:5px;padding:20px}.dropzone.dz-clickable{cursor:pointer}.dropzone.dz-clickable *{cursor:default}.dropzone.dz-clickable .dz-message,.dropzone.dz-clickable .dz-message *{cursor:pointer}.dropzone.dz-started .dz-message{display:none}.dropzone.dz-drag-hover{border-style:solid}.dropzone.dz-drag-hover .dz-message{opacity:.5}.dropzone .dz-message{text-align:center;margin:3em 0}.dropzone .dz-message .dz-button{background:none;color:inherit;border:none;padding:0;font:inherit;cursor:pointer;outline:inherit}.dropzone .dz-preview{position:relative;display:inline-block;vertical-align:top;margin:16px;min-height:100px}.dropzone .dz-preview:hover{z-index:1000}.dropzone .dz-preview.dz-file-preview .dz-image{border-radius:20px;background:#999;background:linear-gradient(to bottom,#eee,#ddd)}.dropzone .dz-preview.dz-file-preview .dz-details{opacity:1}.dropzone .dz-preview.dz-image-preview{background:#fff}.dropzone .dz-preview.dz-image-preview .dz-details{transition:opacity .2s linear}.dropzone .dz-preview .dz-remove{font-size:14px;text-align:center;display:block;cursor:pointer;border:none}.dropzone .dz-preview .dz-remove:hover{text-decoration:underline}.dropzone .dz-preview:hover .dz-details{opacity:1}.dropzone .dz-preview .dz-details{z-index:20;position:absolute;top:0;left:0;opacity:0;font-size:13px;min-width:100%;max-width:100%;padding:2em 1em;text-align:center;color:#000000e6;line-height:150%}.dropzone .dz-preview .dz-details .dz-size{margin-bottom:1em;font-size:16px}.dropzone .dz-preview .dz-details .dz-filename{white-space:nowrap}.dropzone .dz-preview .dz-details .dz-filename:hover span{border:1px solid rgba(200,200,200,.8);background-color:#fffc}.dropzone .dz-preview .dz-details .dz-filename:not(:hover){overflow:hidden;text-overflow:ellipsis}.dropzone .dz-preview .dz-details .dz-filename:not(:hover) span{border:1px solid transparent}.dropzone .dz-preview .dz-details .dz-filename span,.dropzone .dz-preview .dz-details .dz-size span{background-color:#fff6;padding:0 .4em;border-radius:3px}.dropzone .dz-preview:hover .dz-image img{transform:scale(1.05);filter:blur(8px)}.dropzone .dz-preview .dz-image{border-radius:20px;overflow:hidden;width:120px;height:120px;position:relative;display:block;z-index:10}.dropzone .dz-preview .dz-image img{display:block}.dropzone .dz-preview.dz-success .dz-success-mark{animation:passing-through 3s cubic-bezier(.77,0,.175,1)}.dropzone .dz-preview.dz-error .dz-error-mark{opacity:1;animation:slide-in 3s cubic-bezier(.77,0,.175,1)}.dropzone .dz-preview .dz-success-mark,.dropzone .dz-preview .dz-error-mark{pointer-events:none;opacity:0;z-index:500;position:absolute;display:block;top:50%;left:50%;margin-left:-27px;margin-top:-27px;background:#000c;border-radius:50%}.dropzone .dz-preview .dz-success-mark svg,.dropzone .dz-preview .dz-error-mark svg{display:block;width:54px;height:54px;fill:#fff}.dropzone .dz-preview.dz-processing .dz-progress{opacity:1;transition:all .2s linear}.dropzone .dz-preview.dz-complete .dz-progress{opacity:0;transition:opacity .4s ease-in}.dropzone .dz-preview:not(.dz-processing) .dz-progress{animation:pulse 6s ease infinite}.dropzone .dz-preview .dz-progress{opacity:1;z-index:1000;pointer-events:none;position:absolute;height:20px;top:50%;margin-top:-10px;left:15%;right:15%;border:3px solid rgba(0,0,0,.8);background:#000c;border-radius:10px;overflow:hidden}.dropzone .dz-preview .dz-progress .dz-upload{background:#fff;display:block;position:relative;height:100%;width:0;transition:width .3s ease-in-out;border-radius:17px}.dropzone .dz-preview.dz-error .dz-error-message{display:block}.dropzone .dz-preview.dz-error:hover .dz-error-message{opacity:1;pointer-events:auto}.dropzone .dz-preview .dz-error-message{pointer-events:none;z-index:1000;position:absolute;display:block;display:none;opacity:0;transition:opacity .3s ease;border-radius:8px;font-size:13px;top:130px;left:-10px;width:140px;background:#b10606;padding:.5em 1em;color:#fff}.dropzone .dz-preview .dz-error-message:after{content:"";position:absolute;top:-6px;left:64px;width:0;height:0;border-left:6px solid transparent;border-right:6px solid transparent;border-bottom:6px solid #b10606}
|
||||
1
public/assets/css/index.css
Normal file
1
public/assets/css/index.css
Normal file
File diff suppressed because one or more lines are too long
1
public/assets/css/katex.faca27c4.css
Normal file
1
public/assets/css/katex.faca27c4.css
Normal file
File diff suppressed because one or more lines are too long
1
public/assets/css/monaco.5612f696.css
Normal file
1
public/assets/css/monaco.5612f696.css
Normal file
File diff suppressed because one or more lines are too long
1
public/assets/css/recent-commits-graph.143690d5.css
Normal file
1
public/assets/css/recent-commits-graph.143690d5.css
Normal file
@ -0,0 +1 @@
|
||||
.main-graph[data-v-25f56b36]{height:250px}
|
||||
1
public/assets/css/swagger.css
Normal file
1
public/assets/css/swagger.css
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
1
public/assets/css/theme-gitea-auto.css
Normal file
1
public/assets/css/theme-gitea-auto.css
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
1
public/assets/css/theme-gitea-dark.css
Normal file
1
public/assets/css/theme-gitea-dark.css
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
1
public/assets/css/theme-gitea-light.css
Normal file
1
public/assets/css/theme-gitea-light.css
Normal file
File diff suppressed because one or more lines are too long
BIN
public/assets/fonts/KaTeX_AMS-Regular.73ea273a.woff2
Normal file
BIN
public/assets/fonts/KaTeX_AMS-Regular.73ea273a.woff2
Normal file
Binary file not shown.
BIN
public/assets/fonts/KaTeX_Caligraphic-Bold.a1abf90d.woff2
Normal file
BIN
public/assets/fonts/KaTeX_Caligraphic-Bold.a1abf90d.woff2
Normal file
Binary file not shown.
BIN
public/assets/fonts/KaTeX_Caligraphic-Regular.d6484fce.woff2
Normal file
BIN
public/assets/fonts/KaTeX_Caligraphic-Regular.d6484fce.woff2
Normal file
Binary file not shown.
BIN
public/assets/fonts/KaTeX_Fraktur-Bold.931d67ea.woff2
Normal file
BIN
public/assets/fonts/KaTeX_Fraktur-Bold.931d67ea.woff2
Normal file
Binary file not shown.
BIN
public/assets/fonts/KaTeX_Fraktur-Regular.172d3529.woff2
Normal file
BIN
public/assets/fonts/KaTeX_Fraktur-Regular.172d3529.woff2
Normal file
Binary file not shown.
BIN
public/assets/fonts/KaTeX_Main-Bold.39890742.woff2
Normal file
BIN
public/assets/fonts/KaTeX_Main-Bold.39890742.woff2
Normal file
Binary file not shown.
BIN
public/assets/fonts/KaTeX_Main-BoldItalic.20f389c4.woff2
Normal file
BIN
public/assets/fonts/KaTeX_Main-BoldItalic.20f389c4.woff2
Normal file
Binary file not shown.
BIN
public/assets/fonts/KaTeX_Main-Italic.fe2176f7.woff2
Normal file
BIN
public/assets/fonts/KaTeX_Main-Italic.fe2176f7.woff2
Normal file
Binary file not shown.
BIN
public/assets/fonts/KaTeX_Main-Regular.f650f111.woff2
Normal file
BIN
public/assets/fonts/KaTeX_Main-Regular.f650f111.woff2
Normal file
Binary file not shown.
BIN
public/assets/fonts/KaTeX_Math-BoldItalic.dcbcbd93.woff2
Normal file
BIN
public/assets/fonts/KaTeX_Math-BoldItalic.dcbcbd93.woff2
Normal file
Binary file not shown.
BIN
public/assets/fonts/KaTeX_Math-Italic.6d3d25f4.woff2
Normal file
BIN
public/assets/fonts/KaTeX_Math-Italic.6d3d25f4.woff2
Normal file
Binary file not shown.
BIN
public/assets/fonts/KaTeX_SansSerif-Bold.95591a92.woff2
Normal file
BIN
public/assets/fonts/KaTeX_SansSerif-Bold.95591a92.woff2
Normal file
Binary file not shown.
BIN
public/assets/fonts/KaTeX_SansSerif-Italic.7d393d38.woff2
Normal file
BIN
public/assets/fonts/KaTeX_SansSerif-Italic.7d393d38.woff2
Normal file
Binary file not shown.
BIN
public/assets/fonts/KaTeX_SansSerif-Regular.cd5e231e.woff2
Normal file
BIN
public/assets/fonts/KaTeX_SansSerif-Regular.cd5e231e.woff2
Normal file
Binary file not shown.
BIN
public/assets/fonts/KaTeX_Script-Regular.c81d1b2a.woff2
Normal file
BIN
public/assets/fonts/KaTeX_Script-Regular.c81d1b2a.woff2
Normal file
Binary file not shown.
BIN
public/assets/fonts/KaTeX_Size1-Regular.6eec866c.woff2
Normal file
BIN
public/assets/fonts/KaTeX_Size1-Regular.6eec866c.woff2
Normal file
Binary file not shown.
BIN
public/assets/fonts/KaTeX_Size2-Regular.2960900c.woff2
Normal file
BIN
public/assets/fonts/KaTeX_Size2-Regular.2960900c.woff2
Normal file
Binary file not shown.
BIN
public/assets/fonts/KaTeX_Size3-Regular.e1951519.woff2
Normal file
BIN
public/assets/fonts/KaTeX_Size3-Regular.e1951519.woff2
Normal file
Binary file not shown.
BIN
public/assets/fonts/KaTeX_Size4-Regular.e418bf25.woff2
Normal file
BIN
public/assets/fonts/KaTeX_Size4-Regular.e418bf25.woff2
Normal file
Binary file not shown.
BIN
public/assets/fonts/KaTeX_Typewriter-Regular.c295e7f7.woff2
Normal file
BIN
public/assets/fonts/KaTeX_Typewriter-Regular.c295e7f7.woff2
Normal file
Binary file not shown.
BIN
public/assets/fonts/codicon.f6283f7c.ttf
Normal file
BIN
public/assets/fonts/codicon.f6283f7c.ttf
Normal file
Binary file not shown.
Binary file not shown.
|
Before Width: | Height: | Size: 4.2 KiB After Width: | Height: | Size: 184 KiB |
BIN
public/assets/img/front.jpg
Normal file
BIN
public/assets/img/front.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 158 KiB |
131
public/assets/js/-----.b048d5a5.js
Normal file
131
public/assets/js/-----.b048d5a5.js
Normal file
File diff suppressed because one or more lines are too long
703
public/assets/js/-.886ed0f2.js
Normal file
703
public/assets/js/-.886ed0f2.js
Normal file
File diff suppressed because one or more lines are too long
7
public/assets/js/asciinema-player.9820fd50.js
Normal file
7
public/assets/js/asciinema-player.9820fd50.js
Normal file
File diff suppressed because one or more lines are too long
11
public/assets/js/citation-js-bibtex.c2c94015.js
Normal file
11
public/assets/js/citation-js-bibtex.c2c94015.js
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
50
public/assets/js/citation-js-csl.fb93f9bb.js
Normal file
50
public/assets/js/citation-js-csl.fb93f9bb.js
Normal file
File diff suppressed because one or more lines are too long
33
public/assets/js/citation-js-formats.63828ec7.js
Normal file
33
public/assets/js/citation-js-formats.63828ec7.js
Normal file
File diff suppressed because one or more lines are too long
1
public/assets/js/code-frequency-graph.3c75a6fe.js
Normal file
1
public/assets/js/code-frequency-graph.3c75a6fe.js
Normal file
@ -0,0 +1 @@
|
||||
"use strict";(self.webpackChunk=self.webpackChunk||[]).push([["code-frequency-graph"],{"./web_src/js/components/RepoCodeFrequency.vue":function(W,p,s){s.d(p,{default:function(){return C}});var e=s("./node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js"),u=s("./node_modules/@vue/shared/dist/shared.esm-bundler.js"),n=s("./node_modules/@vue/reactivity/dist/reactivity.esm-bundler.js"),v=s("./web_src/js/svg.ts"),o=s("./node_modules/chart.js/dist/chart.js"),h=s("./web_src/js/modules/fetch.ts"),y=s("./node_modules/vue-chartjs/dist/index.js"),c=s("./web_src/js/utils/time.ts"),d=s("./web_src/js/utils/color.ts"),f=s("./web_src/js/utils.ts"),X=s("./node_modules/chartjs-adapter-dayjs-4/dist/chartjs-adapter-dayjs-4.esm.js");const j={class:"ui header tw-flex tw-items-center tw-justify-between"},g={class:"tw-flex ui segment main-graph"},b={key:0,class:"gt-tc tw-m-auto"},x={key:0},R={key:1,class:"text red"};var w=(0,e.pM)({__name:"RepoCodeFrequency",props:{locale:{}},setup(N){const{pageData:F}=window.config;o.t1.defaults.color=d.K.text,o.t1.defaults.borderColor=d.K.border,o.t1.register(o.UA,o.kc,o.s$,o.FN,o.No,o.dN);const l=(0,n.KR)(!1),i=(0,n.KR)(""),m=(0,n.KR)(F.repoLink||[]),r=(0,n.KR)([]);(0,e.sV)(()=>{K()});async function K(){l.value=!0;try{let t;do t=await(0,h.fG)(`${m.value}/activity/code-frequency/data`),t.status===202&&await(0,f.yy)(1e3);while(t.status===202);if(t.ok){const a=await t.json(),A=Object.values(a)[0].week,T=(0,c.Z1)(new Date),E=(0,c.Ex)(A,T);r.value=(0,c.a$)(E,a),i.value=""}else i.value=t.statusText}catch(t){i.value=t.message}finally{l.value=!1}}function D(t){return{datasets:[{data:t.map(a=>({x:a.week,y:a.additions})),pointRadius:0,pointHitRadius:0,fill:!0,label:"Additions",backgroundColor:d.K.additions,borderWidth:0,tension:.3},{data:t.map(a=>({x:a.week,y:-a.deletions})),pointRadius:0,pointHitRadius:0,fill:!0,label:"Deletions",backgroundColor:d.K.deletions,borderWidth:0,tension:.3}]}}const L={responsive:!0,maintainAspectRatio:!1,plugins:{legend:{display:!0}},scales:{x:{type:"time",grid:{display:!1},time:{minUnit:"month"},ticks:{maxRotation:0,maxTicksLimit:12}},y:{ticks:{maxTicksLimit:6}}}};return(t,a)=>((0,e.uX)(),(0,e.CE)("div",null,[(0,e.Lk)("div",j,(0,u.v_)(l.value?t.locale.loadingTitle:i.value?t.locale.loadingTitleFailed:`Code frequency over the history of ${m.value.slice(1)}`),1),(0,e.Lk)("div",g,[l.value||i.value!==""?((0,e.uX)(),(0,e.CE)("div",b,[l.value?((0,e.uX)(),(0,e.CE)("div",x,[(0,e.bF)((0,n.R1)(v.Ah),{name:"octicon-sync",class:"tw-mr-2 circular-spin"}),(0,e.eW)(" "+(0,u.v_)(t.locale.loadingInfo),1)])):((0,e.uX)(),(0,e.CE)("div",R,[(0,e.bF)((0,n.R1)(v.Ah),{name:"octicon-x-circle-fill"}),(0,e.eW)(" "+(0,u.v_)(i.value),1)]))])):(0,e.Q3)("v-if",!0),r.value.length!==0?(0,e.bU)(r.value,()=>((0,e.uX)(),(0,e.Wv)((0,n.R1)(y.N1),{key:1,data:D(r.value),options:L},null,8,["data"])),a,0):(0,e.Q3)("v-if",!0)])]))}}),k=s("./node_modules/vue-loader/dist/exportHelper.js"),C=(0,k.A)(w,[["__scopeId","data-v-35e3815a"]])}}]);
|
||||
1
public/assets/js/colorpicker.3006c82d.js
Normal file
1
public/assets/js/colorpicker.3006c82d.js
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
3
public/assets/js/contributors-graph.3180ed40.js
Normal file
3
public/assets/js/contributors-graph.3180ed40.js
Normal file
File diff suppressed because one or more lines are too long
2
public/assets/js/cropperjs.cf55f2af.js
Normal file
2
public/assets/js/cropperjs.cf55f2af.js
Normal file
File diff suppressed because one or more lines are too long
24
public/assets/js/dropzone.6ba4ca5d.js
Normal file
24
public/assets/js/dropzone.6ba4ca5d.js
Normal file
File diff suppressed because one or more lines are too long
95
public/assets/js/easymde.0fe27435.js
Normal file
95
public/assets/js/easymde.0fe27435.js
Normal file
File diff suppressed because one or more lines are too long
1
public/assets/js/eventsource.sharedworker.js
Normal file
1
public/assets/js/eventsource.sharedworker.js
Normal file
@ -0,0 +1 @@
|
||||
(function(){var u=Object.defineProperty,a=(r,t,e)=>t in r?u(r,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):r[t]=e,c=(r,t,e)=>a(r,typeof t!="symbol"?t+"":t,e);class h{constructor(t){c(this,"url"),c(this,"eventSource"),c(this,"listening"),c(this,"clients"),this.url=t,this.eventSource=new EventSource(t),this.listening={},this.clients=[],this.listen("open"),this.listen("close"),this.listen("logout"),this.listen("notification-count"),this.listen("stopwatches"),this.listen("error")}register(t){this.clients.includes(t)||(this.clients.push(t),t.postMessage({type:"status",message:`registered to ${this.url}`}))}deregister(t){const e=this.clients.indexOf(t);return e<0?this.clients.length:(this.clients.splice(e,1),this.clients.length)}close(){this.eventSource&&(this.eventSource.close(),this.eventSource=null)}listen(t){this.listening[t]||(this.listening[t]=!0,this.eventSource.addEventListener(t,e=>{this.notifyClients({type:t,data:e.data})}))}notifyClients(t){for(const e of this.clients)e.postMessage(t)}status(t){t.postMessage({type:"status",message:`url: ${this.url} readyState: ${this.eventSource.readyState}`})}}const o=new Map,n=new Map;self.addEventListener("connect",r=>{for(const t of r.ports)t.addEventListener("message",e=>{if(!self.EventSource){t.postMessage({type:"no-event-source"});return}if(e.data.type==="start"){const s=e.data.url;if(o.get(s)){const l=o.get(s);l.register(t),n.set(t,l);return}let i=n.get(t);if(i){if(i.eventSource&&i.url===s)return;i.deregister(t)===0&&(i.close(),o.set(i.url,null))}i=new h(s),i.register(t),o.set(s,i),n.set(t,i)}else if(e.data.type==="listen")n.get(t).listen(e.data.eventType);else if(e.data.type==="close"){const s=n.get(t);if(!s)return;s.deregister(t)===0&&(s.close(),o.set(s.url,null),n.set(t,null))}else if(e.data.type==="status"){const s=n.get(t);if(!s){t.postMessage({type:"status",message:"not connected"});return}s.status(t)}else t.postMessage({type:"error",message:`received but don't know how to handle: ${e.data}`})}),t.start()})})();
|
||||
239
public/assets/js/index.js
Normal file
239
public/assets/js/index.js
Normal file
File diff suppressed because one or more lines are too long
1
public/assets/js/index.js.4422cda5.map
Normal file
1
public/assets/js/index.js.4422cda5.map
Normal file
File diff suppressed because one or more lines are too long
261
public/assets/js/katex-.27744050.js
Normal file
261
public/assets/js/katex-.27744050.js
Normal file
File diff suppressed because one or more lines are too long
1
public/assets/js/katex.6ad51582.js
Normal file
1
public/assets/js/katex.6ad51582.js
Normal file
@ -0,0 +1 @@
|
||||
"use strict";(self.webpackChunk=self.webpackChunk||[]).push([["katex"],{"./node_modules/katex/dist/katex.css":function(u,e,s){s.r(e)}}]);
|
||||
350
public/assets/js/lib/cad-viewer.js
Normal file
350
public/assets/js/lib/cad-viewer.js
Normal file
@ -0,0 +1,350 @@
|
||||
/**
|
||||
* CAD Viewer - Simple DWG file viewer for Gitea
|
||||
* This library uses ThreeJS and AutoDWG libraries to render DWG files in a browser
|
||||
*/
|
||||
|
||||
class CADViewer {
|
||||
constructor(containerId, options = {}) {
|
||||
this.container = document.getElementById(containerId);
|
||||
if (!this.container) {
|
||||
console.error(`CAD Viewer: Container with ID "${containerId}" not found.`);
|
||||
return;
|
||||
}
|
||||
|
||||
this.options = Object.assign({
|
||||
backgroundColor: '#f5f5f5',
|
||||
gridEnabled: true,
|
||||
zoomSpeed: 1.5,
|
||||
defaultColor: '#000000',
|
||||
width: '100%',
|
||||
height: '600px'
|
||||
}, options);
|
||||
|
||||
this.isInitialized = false;
|
||||
this.isLoading = false;
|
||||
this.dwgData = null;
|
||||
this._setupContainer();
|
||||
}
|
||||
|
||||
_setupContainer() {
|
||||
// Set container dimensions
|
||||
this.container.style.width = this.options.width;
|
||||
this.container.style.height = this.options.height;
|
||||
this.container.style.position = 'relative';
|
||||
this.container.style.overflow = 'hidden';
|
||||
|
||||
// Add loading indicator
|
||||
this.loadingIndicator = document.createElement('div');
|
||||
this.loadingIndicator.className = 'cad-viewer-loading';
|
||||
this.loadingIndicator.innerHTML = 'Loading DWG file...';
|
||||
this.loadingIndicator.style.display = 'none';
|
||||
this.loadingIndicator.style.position = 'absolute';
|
||||
this.loadingIndicator.style.top = '50%';
|
||||
this.loadingIndicator.style.left = '50%';
|
||||
this.loadingIndicator.style.transform = 'translate(-50%, -50%)';
|
||||
this.loadingIndicator.style.padding = '10px 20px';
|
||||
this.loadingIndicator.style.background = 'rgba(0,0,0,0.7)';
|
||||
this.loadingIndicator.style.color = 'white';
|
||||
this.loadingIndicator.style.borderRadius = '4px';
|
||||
this.loadingIndicator.style.zIndex = '1000';
|
||||
this.container.appendChild(this.loadingIndicator);
|
||||
|
||||
// Create canvas for rendering
|
||||
this.canvas = document.createElement('canvas');
|
||||
this.canvas.style.width = '100%';
|
||||
this.canvas.style.height = '100%';
|
||||
this.container.appendChild(this.canvas);
|
||||
|
||||
// Add error display area
|
||||
this.errorDisplay = document.createElement('div');
|
||||
this.errorDisplay.className = 'cad-viewer-error';
|
||||
this.errorDisplay.style.display = 'none';
|
||||
this.errorDisplay.style.position = 'absolute';
|
||||
this.errorDisplay.style.top = '50%';
|
||||
this.errorDisplay.style.left = '50%';
|
||||
this.errorDisplay.style.transform = 'translate(-50%, -50%)';
|
||||
this.errorDisplay.style.padding = '20px';
|
||||
this.errorDisplay.style.background = 'rgba(255,0,0,0.1)';
|
||||
this.errorDisplay.style.border = '1px solid #ff0000';
|
||||
this.errorDisplay.style.color = '#ff0000';
|
||||
this.errorDisplay.style.maxWidth = '80%';
|
||||
this.errorDisplay.style.textAlign = 'center';
|
||||
this.container.appendChild(this.errorDisplay);
|
||||
|
||||
console.log('CAD Viewer: Container setup completed');
|
||||
}
|
||||
|
||||
_showLoading() {
|
||||
this.loadingIndicator.style.display = 'block';
|
||||
this.isLoading = true;
|
||||
}
|
||||
|
||||
_hideLoading() {
|
||||
this.loadingIndicator.style.display = 'none';
|
||||
this.isLoading = false;
|
||||
}
|
||||
|
||||
_showError(message) {
|
||||
this.errorDisplay.innerHTML = message;
|
||||
this.errorDisplay.style.display = 'block';
|
||||
this._hideLoading();
|
||||
}
|
||||
|
||||
_hideError() {
|
||||
this.errorDisplay.style.display = 'none';
|
||||
}
|
||||
|
||||
async initialize() {
|
||||
if (this.isInitialized) {
|
||||
return Promise.resolve();
|
||||
}
|
||||
|
||||
this._showLoading();
|
||||
|
||||
try {
|
||||
// Check if Three.js is available
|
||||
if (typeof THREE === 'undefined') {
|
||||
console.log('CAD Viewer: Loading Three.js');
|
||||
await this._loadScript('https://cdn.jsdelivr.net/npm/three@0.132.2/build/three.min.js');
|
||||
}
|
||||
|
||||
// Load additional dependencies
|
||||
await this._loadScript('https://cdn.jsdelivr.net/npm/three@0.132.2/examples/js/controls/OrbitControls.js');
|
||||
|
||||
// Initialize the Three.js scene
|
||||
this._initScene();
|
||||
|
||||
this.isInitialized = true;
|
||||
console.log('CAD Viewer: Initialization completed');
|
||||
this._hideLoading();
|
||||
return Promise.resolve();
|
||||
} catch (error) {
|
||||
const errorMsg = 'CAD Viewer initialization failed: ' + error.message;
|
||||
console.error(errorMsg);
|
||||
this._showError(errorMsg);
|
||||
return Promise.reject(error);
|
||||
}
|
||||
}
|
||||
|
||||
_loadScript(url) {
|
||||
return new Promise((resolve, reject) => {
|
||||
const script = document.createElement('script');
|
||||
script.src = url;
|
||||
script.onload = resolve;
|
||||
script.onerror = (e) => reject(new Error(`Failed to load script: ${url}`));
|
||||
document.head.appendChild(script);
|
||||
});
|
||||
}
|
||||
|
||||
_initScene() {
|
||||
// Create scene
|
||||
this.scene = new THREE.Scene();
|
||||
this.scene.background = new THREE.Color(this.options.backgroundColor);
|
||||
|
||||
// Create camera
|
||||
this.camera = new THREE.PerspectiveCamera(
|
||||
45, this.container.clientWidth / this.container.clientHeight, 0.1, 1000
|
||||
);
|
||||
this.camera.position.set(10, 10, 10);
|
||||
this.camera.lookAt(0, 0, 0);
|
||||
|
||||
// Create renderer
|
||||
this.renderer = new THREE.WebGLRenderer({
|
||||
canvas: this.canvas,
|
||||
antialias: true
|
||||
});
|
||||
this.renderer.setSize(this.container.clientWidth, this.container.clientHeight);
|
||||
|
||||
// Add grid and axes
|
||||
if (this.options.gridEnabled) {
|
||||
const gridHelper = new THREE.GridHelper(20, 20);
|
||||
this.scene.add(gridHelper);
|
||||
|
||||
const axesHelper = new THREE.AxesHelper(5);
|
||||
this.scene.add(axesHelper);
|
||||
}
|
||||
|
||||
// Add lights
|
||||
const ambientLight = new THREE.AmbientLight(0xffffff, 0.5);
|
||||
this.scene.add(ambientLight);
|
||||
|
||||
const directionalLight = new THREE.DirectionalLight(0xffffff, 0.8);
|
||||
directionalLight.position.set(1, 1, 1);
|
||||
this.scene.add(directionalLight);
|
||||
|
||||
// Add orbit controls
|
||||
this.controls = new THREE.OrbitControls(this.camera, this.renderer.domElement);
|
||||
this.controls.enableDamping = true;
|
||||
this.controls.dampingFactor = 0.05;
|
||||
this.controls.screenSpacePanning = true;
|
||||
|
||||
// Handle window resize
|
||||
window.addEventListener('resize', this._onWindowResize.bind(this), false);
|
||||
|
||||
// Start animation loop
|
||||
this._animate();
|
||||
|
||||
console.log('CAD Viewer: Scene initialized');
|
||||
}
|
||||
|
||||
_onWindowResize() {
|
||||
if (!this.camera || !this.renderer) return;
|
||||
|
||||
this.camera.aspect = this.container.clientWidth / this.container.clientHeight;
|
||||
this.camera.updateProjectionMatrix();
|
||||
this.renderer.setSize(this.container.clientWidth, this.container.clientHeight);
|
||||
}
|
||||
|
||||
_animate() {
|
||||
if (!this.renderer) return;
|
||||
|
||||
requestAnimationFrame(this._animate.bind(this));
|
||||
|
||||
if (this.controls) {
|
||||
this.controls.update();
|
||||
}
|
||||
|
||||
this.renderer.render(this.scene, this.camera);
|
||||
}
|
||||
|
||||
async loadDWG(url) {
|
||||
if (!this.isInitialized) {
|
||||
console.log('CAD Viewer: Not initialized yet, initializing first');
|
||||
await this.initialize();
|
||||
}
|
||||
|
||||
this._hideError();
|
||||
this._showLoading('DWG 파일을 로드하는 중: ' + url);
|
||||
|
||||
console.log('CAD Viewer: Attempting to load DWG from URL:', url);
|
||||
|
||||
try {
|
||||
// API 요청으로 DWG 파일 로드 시도
|
||||
const response = await fetch(url);
|
||||
console.log('CAD Viewer: API response status:', response.status);
|
||||
|
||||
if (!response.ok) {
|
||||
throw new Error(`DWG 파일 로드 실패: HTTP ${response.status} - ${response.statusText}`);
|
||||
}
|
||||
|
||||
// 파일 크기 확인
|
||||
const contentLength = response.headers.get('content-length');
|
||||
console.log('CAD Viewer: File size:', contentLength, 'bytes');
|
||||
|
||||
// 진짜 구현에서는 여기서 DWG 파서 라이브러리를 사용함
|
||||
// 지금은 로딩을 시뮬레이션하고 간단한 와이어프레임 모델을 생성
|
||||
console.log(`CAD Viewer: Loading DWG from URL: ${url}`);
|
||||
|
||||
// Simulate network request delay
|
||||
await new Promise(resolve => setTimeout(resolve, 1000));
|
||||
|
||||
// Clear any existing model
|
||||
this._clearModel();
|
||||
|
||||
// Create a simple wireframe model as placeholder
|
||||
this._createPlaceholderModel();
|
||||
|
||||
this._hideLoading();
|
||||
console.log('CAD Viewer: DWG file loaded successfully');
|
||||
|
||||
} catch (error) {
|
||||
const errorMsg = 'Failed to load DWG file: ' + error.message;
|
||||
console.error(errorMsg);
|
||||
this._showError(errorMsg);
|
||||
}
|
||||
}
|
||||
|
||||
_clearModel() {
|
||||
// Remove any existing model from the scene
|
||||
if (this.model) {
|
||||
this.scene.remove(this.model);
|
||||
this.model = null;
|
||||
}
|
||||
}
|
||||
|
||||
_createPlaceholderModel() {
|
||||
// Create a simple wireframe model to represent a DWG file
|
||||
const geometry = new THREE.BoxGeometry(5, 0.1, 5);
|
||||
const material = new THREE.MeshBasicMaterial({
|
||||
color: this.options.defaultColor,
|
||||
wireframe: true
|
||||
});
|
||||
this.model = new THREE.Mesh(geometry, material);
|
||||
this.scene.add(this.model);
|
||||
|
||||
// Add some additional elements to make it look more like a CAD drawing
|
||||
const lineMaterial = new THREE.LineBasicMaterial({
|
||||
color: this.options.defaultColor
|
||||
});
|
||||
|
||||
// Add some circles - 수정된 버전 (최신 Three.js API 사용)
|
||||
for (let i = 1; i <= 3; i++) {
|
||||
// 코드가 다른 방식으로 작동: 각도로 점을 따로 만들고 그 점들을 연결
|
||||
const radius = i * 0.5;
|
||||
const segments = 32;
|
||||
const points = [];
|
||||
|
||||
for (let j = 0; j < segments; j++) {
|
||||
const theta = (j / segments) * Math.PI * 2;
|
||||
const x = radius * Math.cos(theta);
|
||||
const z = radius * Math.sin(theta);
|
||||
points.push(new THREE.Vector3(x, 0, z));
|
||||
}
|
||||
// 원을 닫기 위해 첫 번째 점을 다시 추가
|
||||
points.push(points[0].clone());
|
||||
|
||||
const circleGeometry = new THREE.BufferGeometry().setFromPoints(points);
|
||||
const circle = new THREE.Line(circleGeometry, lineMaterial);
|
||||
circle.rotation.x = -Math.PI / 2;
|
||||
circle.position.y = 0.05;
|
||||
this.model.add(circle);
|
||||
}
|
||||
|
||||
// Add some lines
|
||||
const lineGeometry = new THREE.BufferGeometry();
|
||||
const lineVertices = new Float32Array([
|
||||
-2, 0.05, -2,
|
||||
2, 0.05, 2,
|
||||
-2, 0.05, 2,
|
||||
2, 0.05, -2,
|
||||
-2, 0.05, 0,
|
||||
2, 0.05, 0,
|
||||
0, 0.05, -2,
|
||||
0, 0.05, 2
|
||||
]);
|
||||
lineGeometry.setAttribute('position', new THREE.BufferAttribute(lineVertices, 3));
|
||||
const lines = new THREE.LineSegments(lineGeometry, lineMaterial);
|
||||
this.model.add(lines);
|
||||
|
||||
// Reset camera position
|
||||
this.camera.position.set(0, 10, 0);
|
||||
this.camera.lookAt(this.model.position);
|
||||
this.controls.update();
|
||||
}
|
||||
|
||||
// Public API methods
|
||||
zoomIn() {
|
||||
if (this.camera) {
|
||||
this.camera.position.z -= this.options.zoomSpeed;
|
||||
this.controls.update();
|
||||
}
|
||||
}
|
||||
|
||||
zoomOut() {
|
||||
if (this.camera) {
|
||||
this.camera.position.z += this.options.zoomSpeed;
|
||||
this.controls.update();
|
||||
}
|
||||
}
|
||||
|
||||
resetView() {
|
||||
if (this.camera && this.model) {
|
||||
this.camera.position.set(0, 10, 0);
|
||||
this.camera.lookAt(this.model.position);
|
||||
this.controls.update();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Global access
|
||||
window.CADViewer = CADViewer;
|
||||
574
public/assets/js/lib/dxf-viewer.js
Normal file
574
public/assets/js/lib/dxf-viewer.js
Normal file
@ -0,0 +1,574 @@
|
||||
// DXF Viewer for Gitea - 캐시 무효화 버전 (2025-06-27 08:00)
|
||||
// Using Three.js and dxf-parser
|
||||
// 캐시버스팅을 위한 고유 주석
|
||||
|
||||
// 메인 뷰어 클래스
|
||||
/* 업데이트 버전: 2025-06-27 - drawEntity 문제 수정 */
|
||||
class DXFViewer {
|
||||
constructor(container) {
|
||||
console.log('뷰어 초기화 시작, 컨테이너:', container);
|
||||
console.log('컨테이너 크기:', container.clientWidth, 'x', container.clientHeight);
|
||||
this.container = container;
|
||||
this.dxfGroup = new THREE.Group();
|
||||
this.init();
|
||||
|
||||
// 디버그용 직접 테스트 호출
|
||||
this.addTestObjects();
|
||||
}
|
||||
|
||||
init() {
|
||||
console.log('초기화 범위:', this.container.offsetWidth, 'x', this.container.offsetHeight);
|
||||
|
||||
// 씬 초기화
|
||||
this.scene = new THREE.Scene();
|
||||
this.scene.background = new THREE.Color(0xf0f0f0);
|
||||
|
||||
// 카메라 초기화
|
||||
const width = this.container.offsetWidth || window.innerWidth;
|
||||
const height = this.container.offsetHeight || window.innerHeight;
|
||||
const aspect = width / height;
|
||||
console.log('화면 비율:', aspect, '크기:', width, 'x', height);
|
||||
|
||||
this.camera = new THREE.PerspectiveCamera(45, aspect, 0.1, 1000);
|
||||
this.camera.position.set(10, 10, 10); // 더 가까운 초기 거리로 설정
|
||||
this.camera.lookAt(0, 0, 0);
|
||||
|
||||
// 렌더러 초기화 - 크기와 스타일 명확히 설정
|
||||
this.renderer = new THREE.WebGLRenderer({ antialias: true });
|
||||
this.renderer.setSize(width, height);
|
||||
this.renderer.setPixelRatio(window.devicePixelRatio);
|
||||
|
||||
// 렌더러 요소 추가 및 스타일 설정
|
||||
const canvas = this.renderer.domElement;
|
||||
canvas.style.display = 'block';
|
||||
this.container.innerHTML = ''; // 기존 콘텐츠 제거
|
||||
this.container.appendChild(canvas);
|
||||
|
||||
// 조명 추가
|
||||
const ambientLight = new THREE.AmbientLight(0x404040, 0.7); // 밝기 증가
|
||||
this.scene.add(ambientLight);
|
||||
|
||||
const directionalLight = new THREE.DirectionalLight(0xffffff, 0.8);
|
||||
directionalLight.position.set(1, 1, 1).normalize();
|
||||
this.scene.add(directionalLight);
|
||||
|
||||
// 카메라 위치 설정
|
||||
this.camera.position.set(50, 50, 50);
|
||||
this.camera.lookAt(0, 0, 0);
|
||||
|
||||
// OrbitControls 초기화 - 여러 방법 시도
|
||||
console.log('OrbitControls 초기화 시도 (버전 08:03)...');
|
||||
try {
|
||||
// 방법 1: 일반 OrbitControls 사용
|
||||
if (typeof OrbitControls !== 'undefined') {
|
||||
console.log('방법 1: 일반 OrbitControls 사용');
|
||||
this.controls = new OrbitControls(this.camera, this.renderer.domElement);
|
||||
this.controls.enableDamping = true;
|
||||
this.controls.dampingFactor = 0.25;
|
||||
this.controls.enableZoom = true;
|
||||
this.controls.minDistance = 1;
|
||||
this.controls.maxDistance = 500;
|
||||
console.log('OrbitControls 초기화 성공 (방법 1)');
|
||||
}
|
||||
// 방법 2: THREE.OrbitControls 사용
|
||||
else if (THREE && THREE.OrbitControls) {
|
||||
console.log('방법 2: THREE.OrbitControls 사용');
|
||||
this.controls = new THREE.OrbitControls(this.camera, this.renderer.domElement);
|
||||
this.controls.enableDamping = true;
|
||||
this.controls.dampingFactor = 0.25;
|
||||
this.controls.enableZoom = true;
|
||||
this.controls.minDistance = 1;
|
||||
this.controls.maxDistance = 500;
|
||||
console.log('OrbitControls 초기화 성공 (방법 2)');
|
||||
}
|
||||
// 실패 시 로그만 출력
|
||||
else {
|
||||
console.warn('OrbitControls를 찾을 수 없습니다. 기본 모드로 실행합니다.');
|
||||
}
|
||||
} catch (error) {
|
||||
console.error('OrbitControls 초기화 오류:', error);
|
||||
}
|
||||
|
||||
// OrbitControls 상태 확인 및 로그 출력
|
||||
if (this.controls) {
|
||||
console.log('OrbitControls 성공적으로 초기화됨');
|
||||
} else {
|
||||
console.warn('OrbitControls 초기화 실패, 기본 카메라 컨트롤만 사용');
|
||||
}
|
||||
|
||||
// dxfGroup 초기화
|
||||
this.dxfGroup = new THREE.Group();
|
||||
this.scene.add(this.dxfGroup);
|
||||
|
||||
// 애니메이션 시작
|
||||
console.log('애니메이션 루프 시작...');
|
||||
this.animate();
|
||||
|
||||
// 윈도우 크기 조절 이벤트 처리
|
||||
console.log('윈도우 리사이즈 이벤트 리스너 추가');
|
||||
window.addEventListener('resize', this.onWindowResize.bind(this), false);
|
||||
}
|
||||
|
||||
onWindowResize() {
|
||||
console.log('윈도우 크기 변경 처리 중...');
|
||||
const width = this.container.offsetWidth || window.innerWidth;
|
||||
const height = this.container.offsetHeight || window.innerHeight;
|
||||
|
||||
console.log('새 크기:', width, 'x', height);
|
||||
|
||||
this.camera.aspect = width / height;
|
||||
this.camera.updateProjectionMatrix();
|
||||
this.renderer.setSize(width, height);
|
||||
|
||||
// 즉시 렌더링 강제
|
||||
this.renderer.render(this.scene, this.camera);
|
||||
}
|
||||
|
||||
animate() {
|
||||
// 너무 많은 로그가 발생하므로 첫 10프레임에만 로그 출력
|
||||
if (!this._frameCount) this._frameCount = 0;
|
||||
if (this._frameCount < 10) {
|
||||
console.log(`애니메이션 프레임 #${this._frameCount}`);
|
||||
this._frameCount++;
|
||||
}
|
||||
|
||||
requestAnimationFrame(this.animate.bind(this));
|
||||
if (this.controls) {
|
||||
this.controls.update();
|
||||
}
|
||||
this.renderer.render(this.scene, this.camera);
|
||||
}
|
||||
|
||||
// 테스트용 객체 추가
|
||||
addTestObjects() {
|
||||
console.log('테스트 객체 추가 중...');
|
||||
|
||||
// 그리드 헬퍼 추가
|
||||
const gridHelper = new THREE.GridHelper(20, 20, 0x0000ff, 0x808080);
|
||||
this.scene.add(gridHelper);
|
||||
|
||||
// 축 헬퍼 추가
|
||||
const axesHelper = new THREE.AxesHelper(10);
|
||||
this.scene.add(axesHelper);
|
||||
|
||||
// 테스트용 큐브 추가
|
||||
const geometry = new THREE.BoxGeometry(5, 5, 5);
|
||||
const material = new THREE.MeshBasicMaterial({
|
||||
color: 0xff0000,
|
||||
wireframe: true,
|
||||
wireframeLinewidth: 2
|
||||
});
|
||||
const cube = new THREE.Mesh(geometry, material);
|
||||
cube.position.set(0, 2.5, 0); // 그리드 위에 위치
|
||||
this.scene.add(cube);
|
||||
|
||||
console.log('테스트 객체 추가 완료');
|
||||
|
||||
// 즉시 렌더링
|
||||
this.renderer.render(this.scene, this.camera);
|
||||
}
|
||||
|
||||
loadDXF(url, options = {}) {
|
||||
// 기존 DXF 엔티티 제거
|
||||
this.clearDXF();
|
||||
|
||||
console.log('DXF 파일 로드 중...', url);
|
||||
|
||||
// dxf-parser 라이브러리는 'window.DxfParser'로 전역 스코프에 추가됩니다
|
||||
if (!window.DxfParser) {
|
||||
console.error('DxfParser 라이브러리를 찾을 수 없습니다');
|
||||
if (options.onError) options.onError(new Error('DxfParser 라이브러리를 찾을 수 없습니다'));
|
||||
return;
|
||||
}
|
||||
|
||||
const parser = new window.DxfParser();
|
||||
|
||||
fetch(url)
|
||||
.then(response => {
|
||||
if (!response.ok) {
|
||||
throw new Error(`HTTP 오류! 상태: ${response.status}`);
|
||||
}
|
||||
console.log('파일 다운로드 성공');
|
||||
return response.text();
|
||||
})
|
||||
.then(data => {
|
||||
console.log('DXF 파일 크기:', data.length, '바이트');
|
||||
try {
|
||||
console.log('DXF 파싱 시작...');
|
||||
const dxf = parser.parseSync(data);
|
||||
console.log('DXF 파싱 완료, 엔티티 수:', dxf.entities ? dxf.entities.length : 0);
|
||||
this.renderDXF(dxf);
|
||||
|
||||
// 성공 콜백 호출
|
||||
if (options.onSuccess) options.onSuccess(dxf);
|
||||
|
||||
} catch (error) {
|
||||
console.error('DXF 파싱 오류:', error);
|
||||
if (options.onError) options.onError(error);
|
||||
}
|
||||
})
|
||||
.catch(error => {
|
||||
console.error('DXF 로딩 오류:', error);
|
||||
if (options.onError) options.onError(error);
|
||||
});
|
||||
}
|
||||
|
||||
clearDXF() {
|
||||
// 그리드와 조명을 제외한 모든 객체 제거
|
||||
this.scene.children = this.scene.children.filter(child =>
|
||||
child instanceof THREE.GridHelper ||
|
||||
child instanceof THREE.Light
|
||||
);
|
||||
}
|
||||
|
||||
renderDXF(dxf) {
|
||||
console.log('DXF 렌더링 시작 - 최신 버전 (캐시버스팅 08:00)...');
|
||||
console.log('이 문구가 콘솔에 표시되면 최신 버전이 로드된 것입니다.');
|
||||
console.log('DXF 객체 내용:', dxf);
|
||||
|
||||
if (!dxf || !dxf.entities || !Array.isArray(dxf.entities)) {
|
||||
console.error('DXF 파일에 유효한 엔티티가 없습니다.');
|
||||
return;
|
||||
}
|
||||
|
||||
console.log('엔티티 수:', dxf.entities.length);
|
||||
console.log('엔티티 유형:', dxf.entities.map(e => e.type).filter((v, i, a) => a.indexOf(v) === i));
|
||||
|
||||
// 범위 계산을 위한 변수 초기화
|
||||
const min = new THREE.Vector3(Infinity, Infinity, Infinity);
|
||||
const max = new THREE.Vector3(-Infinity, -Infinity, -Infinity);
|
||||
|
||||
// 엔티티 로드
|
||||
let loadedEntityCount = 0;
|
||||
let skippedEntities = 0;
|
||||
let entityTypeCount = {};
|
||||
|
||||
// 각 엔티티 처리 디버깅 추가
|
||||
dxf.entities.forEach((entity, index) => {
|
||||
if (index < 10) {
|
||||
console.log(`엔티티 ${index} 정보:`, JSON.stringify(entity).substring(0, 200) + '...');
|
||||
}
|
||||
|
||||
// 엔티티 유형 카운트
|
||||
entityTypeCount[entity.type] = (entityTypeCount[entity.type] || 0) + 1;
|
||||
|
||||
try {
|
||||
const object = this.createObjectFromEntity(entity);
|
||||
if (object) {
|
||||
this.dxfGroup.add(object);
|
||||
loadedEntityCount++;
|
||||
|
||||
// 범위 계산 업데이트
|
||||
if (object.geometry) {
|
||||
object.geometry.computeBoundingBox();
|
||||
min.min(object.geometry.boundingBox.min);
|
||||
max.max(object.geometry.boundingBox.max);
|
||||
}
|
||||
} else {
|
||||
skippedEntities++;
|
||||
}
|
||||
} catch (err) {
|
||||
console.error(`엔티티 ${index} (${entity.type}) 처리 오류:`, err);
|
||||
skippedEntities++;
|
||||
}
|
||||
});
|
||||
|
||||
console.log('로드된 엔티티 수:', loadedEntityCount);
|
||||
console.log('챴너뜨린 엔티티 수:', skippedEntities);
|
||||
console.log('엔티티 유형별 통계:', entityTypeCount);
|
||||
console.log('범위:', 'min:', min.toArray(), 'max:', max.toArray());
|
||||
|
||||
// 더미 오브젝트 추가 - 테스트용
|
||||
console.log('더미 오브젝트 추가...');
|
||||
const geometry = new THREE.BoxGeometry(10, 10, 10);
|
||||
const material = new THREE.MeshBasicMaterial({ color: 0xff0000, wireframe: true });
|
||||
const cube = new THREE.Mesh(geometry, material);
|
||||
this.dxfGroup.add(cube);
|
||||
|
||||
// 좌표축 생성
|
||||
const axesHelper = new THREE.AxesHelper(20);
|
||||
this.dxfGroup.add(axesHelper);
|
||||
|
||||
this.scene.add(this.dxfGroup);
|
||||
|
||||
// 카메라 위치 조정
|
||||
if (loadedEntityCount > 0) {
|
||||
// 바운딩 박스 계산
|
||||
const bbox = {
|
||||
min: new THREE.Vector3(min.x, min.y, min.z),
|
||||
max: new THREE.Vector3(max.x, max.y, max.z)
|
||||
};
|
||||
|
||||
// 유효한 바운딩 박스인지 확인
|
||||
if (isFinite(min.x) && isFinite(max.x) && isFinite(min.y) && isFinite(max.y)) {
|
||||
this.fitCameraToObject(this.dxfGroup, bbox);
|
||||
} else {
|
||||
console.warn('유효한 범위가 계산되지 않음, 기본 카메라 뷰 사용');
|
||||
// 기본 뷰 사용
|
||||
this.camera.position.set(50, 50, 50);
|
||||
this.camera.lookAt(0, 0, 0);
|
||||
}
|
||||
} else {
|
||||
// 엔티티가 없는 경우 기본 뷰 사용
|
||||
this.camera.position.set(50, 50, 50);
|
||||
this.camera.lookAt(0, 0, 0);
|
||||
}
|
||||
|
||||
console.log('DXF 렌더링 완료');
|
||||
}
|
||||
|
||||
getBoundingBox(entities) {
|
||||
// DXF 엔티티의 바운딩 박스 계산
|
||||
const bbox = {
|
||||
min: { x: Infinity, y: Infinity, z: Infinity },
|
||||
max: { x: -Infinity, y: -Infinity, z: -Infinity }
|
||||
};
|
||||
|
||||
entities.forEach(entity => {
|
||||
if (entity.vertices) {
|
||||
entity.vertices.forEach(vertex => {
|
||||
bbox.min.x = Math.min(bbox.min.x, vertex.x);
|
||||
bbox.min.y = Math.min(bbox.min.y, vertex.y);
|
||||
bbox.min.z = Math.min(bbox.min.z, vertex.z || 0);
|
||||
|
||||
bbox.max.x = Math.max(bbox.max.x, vertex.x);
|
||||
bbox.max.y = Math.max(bbox.max.y, vertex.y);
|
||||
bbox.max.z = Math.max(bbox.max.z, vertex.z || 0);
|
||||
});
|
||||
} else if (entity.position) {
|
||||
bbox.min.x = Math.min(bbox.min.x, entity.position.x);
|
||||
bbox.min.y = Math.min(bbox.min.y, entity.position.y);
|
||||
bbox.min.z = Math.min(bbox.min.z, entity.position.z || 0);
|
||||
|
||||
bbox.max.x = Math.max(bbox.max.x, entity.position.x);
|
||||
bbox.max.y = Math.max(bbox.max.y, entity.position.y);
|
||||
bbox.max.z = Math.max(bbox.max.z, entity.position.z || 0);
|
||||
}
|
||||
});
|
||||
|
||||
// 바운딩 박스가 너무 작은 경우 기본값 설정
|
||||
if (!isFinite(bbox.min.x)) {
|
||||
bbox.min = { x: -10, y: -10, z: -10 };
|
||||
bbox.max = { x: 10, y: 10, z: 10 };
|
||||
}
|
||||
|
||||
return bbox;
|
||||
}
|
||||
|
||||
createObjectFromEntity(entity) {
|
||||
const material = new THREE.LineBasicMaterial({ color: 0x0000ff });
|
||||
|
||||
switch (entity.type) {
|
||||
case 'LINE':
|
||||
return this.createLine(entity, material);
|
||||
|
||||
case 'CIRCLE':
|
||||
return this.createCircle(entity, material);
|
||||
|
||||
case 'ARC':
|
||||
return this.createArc(entity, material);
|
||||
|
||||
case 'POLYLINE':
|
||||
case 'LWPOLYLINE':
|
||||
return this.createPolyline(entity, material);
|
||||
|
||||
case 'TEXT':
|
||||
// 텍스트는 현재 구현하지 않음
|
||||
return null;
|
||||
|
||||
default:
|
||||
console.log('미지원 엔티티 타입:', entity.type);
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
createLine(entity, material) {
|
||||
const geometry = new THREE.BufferGeometry().setFromPoints([
|
||||
new THREE.Vector3(entity.vertices[0].x, entity.vertices[0].y, entity.vertices[0].z || 0),
|
||||
new THREE.Vector3(entity.vertices[1].x, entity.vertices[1].y, entity.vertices[1].z || 0)
|
||||
]);
|
||||
|
||||
return new THREE.Line(geometry, material);
|
||||
}
|
||||
|
||||
createCircle(entity, material) {
|
||||
const curve = new THREE.EllipseCurve(
|
||||
entity.center.x, entity.center.y,
|
||||
entity.radius, entity.radius,
|
||||
0, 2 * Math.PI,
|
||||
false,
|
||||
0
|
||||
);
|
||||
|
||||
const points = curve.getPoints(50);
|
||||
const geometry = new THREE.BufferGeometry().setFromPoints(points);
|
||||
|
||||
return new THREE.Line(geometry, material);
|
||||
}
|
||||
|
||||
createArc(entity, material) {
|
||||
const startAngle = entity.startAngle;
|
||||
const endAngle = entity.endAngle;
|
||||
|
||||
const curve = new THREE.EllipseCurve(
|
||||
entity.center.x, entity.center.y,
|
||||
entity.radius, entity.radius,
|
||||
startAngle, endAngle,
|
||||
false,
|
||||
0
|
||||
);
|
||||
|
||||
const points = curve.getPoints(50);
|
||||
const geometry = new THREE.BufferGeometry().setFromPoints(points);
|
||||
|
||||
return new THREE.Line(geometry, material);
|
||||
}
|
||||
|
||||
createPolyline(entity, material) {
|
||||
const points = entity.vertices.map(vertex =>
|
||||
new THREE.Vector3(vertex.x, vertex.y, vertex.z || 0)
|
||||
);
|
||||
|
||||
const geometry = new THREE.BufferGeometry().setFromPoints(points);
|
||||
|
||||
return new THREE.Line(geometry, material);
|
||||
}
|
||||
|
||||
fitCameraToObject(object, bbox) {
|
||||
// 바운딩 박스 안전 검사
|
||||
if (!bbox || !bbox.min || !bbox.max) {
|
||||
console.warn('유효한 바운딩 박스가 없습니다. 기본 카메라 뷰 사용');
|
||||
// 기본 카메라 위치 사용
|
||||
this.camera.position.set(50, 50, 50);
|
||||
this.camera.lookAt(0, 0, 0);
|
||||
if (this.controls) {
|
||||
this.controls.target.set(0, 0, 0);
|
||||
this.controls.update();
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
// controls가 없는 경우 처리
|
||||
if (!this.controls) {
|
||||
console.warn('OrbitControls가 정의되지 않았습니다. 기본 카메라 설정 사용');
|
||||
this.camera.position.set(bbox.max.x, bbox.max.y, bbox.max.z * 3);
|
||||
this.camera.lookAt(new THREE.Vector3(
|
||||
(bbox.min.x + bbox.max.x) / 2,
|
||||
(bbox.min.y + bbox.max.y) / 2,
|
||||
(bbox.min.z + bbox.max.z) / 2
|
||||
));
|
||||
return;
|
||||
}
|
||||
|
||||
const size = new THREE.Vector3(
|
||||
bbox.max.x - bbox.min.x,
|
||||
bbox.max.y - bbox.min.y,
|
||||
bbox.max.z - bbox.min.z
|
||||
);
|
||||
|
||||
const center = new THREE.Vector3(
|
||||
(bbox.min.x + bbox.max.x) / 2,
|
||||
(bbox.min.y + bbox.max.y) / 2,
|
||||
(bbox.min.z + bbox.max.z) / 2
|
||||
);
|
||||
|
||||
// 객체가 너무 작거나 큰 경우 조정
|
||||
const maxSize = Math.max(size.x, size.y, size.z);
|
||||
const fitHeightDistance = maxSize / (2 * Math.atan(Math.PI * this.camera.fov / 360));
|
||||
const fitWidthDistance = fitHeightDistance / this.camera.aspect;
|
||||
const distance = 1.2 * Math.max(fitHeightDistance, fitWidthDistance);
|
||||
|
||||
// 카메라 위치 설정
|
||||
const direction = this.controls.target.clone()
|
||||
.sub(this.camera.position)
|
||||
.normalize()
|
||||
.multiplyScalar(distance);
|
||||
|
||||
this.controls.maxDistance = distance * 10;
|
||||
this.camera.position.copy(center).sub(direction);
|
||||
this.controls.target.copy(center);
|
||||
|
||||
// 컨트롤 업데이트
|
||||
this.camera.near = distance / 100;
|
||||
this.camera.far = distance * 100;
|
||||
this.camera.updateProjectionMatrix();
|
||||
|
||||
this.controls.update();
|
||||
}
|
||||
}
|
||||
|
||||
// 페이지 초기화
|
||||
document.addEventListener('DOMContentLoaded', () => {
|
||||
// 디버깅 정보 출력
|
||||
console.log('DXF 뷰어 초기화 시작');
|
||||
|
||||
// 지정된 컨테이너를 찾아서 뷰어 초기화
|
||||
const container = document.getElementById('dxf-viewer-container');
|
||||
if (!container) {
|
||||
console.error('dxf-viewer-container를 찾을 수 없습니다');
|
||||
return;
|
||||
}
|
||||
|
||||
console.log('컨테이너를 찾음:', container);
|
||||
const viewer = new DXFViewer(container);
|
||||
|
||||
// 다른 뷰어 데이터 소스 시도
|
||||
const viewerData = document.getElementById('dxf-viewer-data');
|
||||
if (viewerData && viewerData.getAttribute('data-url')) {
|
||||
const fileURL = viewerData.getAttribute('data-url');
|
||||
console.log('dxf-viewer-data에서 URL 찾음:', fileURL);
|
||||
viewer.loadDXF(fileURL);
|
||||
}
|
||||
|
||||
// dxf-file-url 메타 태그에서 URL 가져오기
|
||||
console.log('메타 태그에서 DXF 파일 URL 검색 중...');
|
||||
const fileURLMeta = document.querySelector('meta[name="dxf-file-url"]');
|
||||
|
||||
if (fileURLMeta) {
|
||||
const fileURL = fileURLMeta.getAttribute('content');
|
||||
console.log('메타 태그에서 찾은 URL:', fileURL);
|
||||
|
||||
if (fileURL && fileURL.trim() !== '') {
|
||||
console.log('유효한 URL 발견, DXF 파일 로드 시작');
|
||||
|
||||
// URL을 사용하여 DXF 파일 로드
|
||||
viewer.loadDXF(fileURL, {
|
||||
onSuccess: (dxf) => {
|
||||
console.log('DXF 파일 로드 성공:', fileURL);
|
||||
console.log('DXF 엔티티 수:', dxf.entities ? dxf.entities.length : 0);
|
||||
},
|
||||
onError: (error) => {
|
||||
console.error('DXF 파일 로드 실패:', error);
|
||||
// 실패 시 추가적인 방법 시도
|
||||
console.log('대체 URL 형식으로 시도 중...');
|
||||
|
||||
// 기본 URL에서 구성된 대체 URL 생성
|
||||
const commitIdMeta = document.querySelector('meta[name="dxf-commit-id"]');
|
||||
const repoPathMeta = document.querySelector('meta[name="dxf-repo-path"]');
|
||||
const repoLinkMeta = document.querySelector('meta[name="dxf-repo-link"]');
|
||||
|
||||
if (commitIdMeta && repoPathMeta && repoLinkMeta) {
|
||||
const commitId = commitIdMeta.getAttribute('content');
|
||||
const repoPath = repoPathMeta.getAttribute('content');
|
||||
const repoLink = repoLinkMeta.getAttribute('content');
|
||||
|
||||
if (commitId && repoPath && repoLink) {
|
||||
const alternativeURL = `/api/v1/repos${repoLink}/raw/${repoPath}?ref=${commitId}`;
|
||||
console.log('대체 URL:', alternativeURL);
|
||||
|
||||
// 대체 URL로 로드 시도
|
||||
viewer.loadDXF(alternativeURL, {
|
||||
onSuccess: (dxf) => console.log('대체 URL 성공:', dxf.entities ? dxf.entities.length : 0),
|
||||
onError: (err) => console.error('대체 URL 로드 실패:', err)
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
} else {
|
||||
console.error('dxf-file-url 메타 태그의 content가 비어 있습니다');
|
||||
}
|
||||
} else {
|
||||
console.error('dxf-file-url 메타 태그를 찾을 수 없습니다');
|
||||
}
|
||||
});
|
||||
1
public/assets/js/mcaptcha-vanilla-glue.53a504bd.js
Normal file
1
public/assets/js/mcaptcha-vanilla-glue.53a504bd.js
Normal file
@ -0,0 +1 @@
|
||||
(self.webpackChunk=self.webpackChunk||[]).push([["mcaptcha-vanilla-glue"],{"./node_modules/@mcaptcha/vanilla-glue/dist/index.js":function(w){(function(m,d){w.exports=d()})(self,()=>{return m={44:function(f){var t;t=()=>(()=>{"use strict";var a={};return{607:function(c,u){var l,s=this&&this.__extends||(l=function(n,e){return l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,r){i.__proto__=r}||function(i,r){for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(i[o]=r[o])},l(n,e)},function(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function i(){this.constructor=n}l(n,e),n.prototype=e===null?Object.create(e):(i.prototype=e.prototype,new i)});Object.defineProperty(u,"__esModule",{value:!0}),u.ConfigurationError=void 0;var p=function(n){function e(){var i=n!==null&&n.apply(this,arguments)||this;return i.message="Provide either widget link or site key to display mCaptcha widget",i}return s(e,n),e}(Error);u.ConfigurationError=p;var h=function(){function n(e,i){var r=this;if(this.handle=function(o){console.log("message received from ".concat(o.origin," with data: ").concat(o.data.token)),new URL(o.origin).host==r.widgetLink.host?r.updateState(o.data.token):console.error("expected message from ".concat(r.widgetLink.host," but received message from ").concat(o.origin,". Aborting."))},this.updateState=i,e.widgetLink&&e.siteKey)throw new p;if(e.widgetLink)this.widgetLink=e.widgetLink;else{if(!e.siteKey)throw new p;e.siteKey.instanceUrl?(this.widgetLink=e.siteKey.instanceUrl,this.widgetLink.pathname="/widget/",this.widgetLink.search="?sitekey=".concat(e.siteKey.key)):this.widgetLink=new URL("https://demo.mcaptcha.org/widget/?sitekey=".concat(e.siteKey.key))}}return n.prototype.listen=function(){window.addEventListener("message",this.handle)},n.prototype.destroy=function(){window.removeEventListener("message",this.handle)},n}();u.default=h}}[607](0,a),a})(),f.exports=t()},607:function(f,t,a){"use strict";var c=this&&this.__importDefault||function(s){return s&&s.__esModule?s:{default:s}};Object.defineProperty(t,"__esModule",{value:!0}),t.ConfigurationError=t.ID=t.INPUT_NAME=void 0;var u=a(44);Object.defineProperty(t,"ConfigurationError",{enumerable:!0,get:function(){return u.ConfigurationError}});var l=c(a(44));t.INPUT_NAME="mcaptcha__token",t.ID="mcaptcha__widget-container",t.default=function(s){var p=this;this.setToken=function(i){return p.inputElement.value=i},this.receiver=new l.default(s,this.setToken),this.receiver.listen();var h=document.getElementById(t.ID);if(h==null)throw new Error("Element ".concat(t.ID,"'s parent element is undefined"));this.inputElement=document.createElement("input"),this.inputElement.id=t.INPUT_NAME,this.inputElement.name=t.INPUT_NAME,this.inputElement.hidden=!0,this.inputElement.required=!0,h.appendChild(this.inputElement);var n="mcaptcha-widget__iframe",e=document.createElement("iframe");e.title="mCaptcha",e.src=this.receiver.widgetLink.toString(),e.ariaRoleDescription="presentation",e.name=n,e.id=n,e.scrolling="no";try{e.sandbox="allow-same-origin allow-scripts allow-popups"}catch{try{e.sandbox.add("allow-same-origin"),e.sandbox.add("allow-scripts"),e.sandbox.add("allow-popups")}catch{e.setAttribute("sandbox","allow-same-origin allow-scripts allow-popups")}}e.width="100%",e.height="100%",e.frameBorder="0",h.appendChild(e)}}},d={},function f(t){var a=d[t];if(a!==void 0)return a.exports;var c=d[t]={exports:{}};return m[t].call(c.exports,c,c.exports,f),c.exports}(607);var m,d})}}]);
|
||||
206
public/assets/js/mermaid.2fb22ba8.js
Normal file
206
public/assets/js/mermaid.2fb22ba8.js
Normal file
File diff suppressed because one or more lines are too long
124
public/assets/js/monaco-css.77228616.worker.js
Normal file
124
public/assets/js/monaco-css.77228616.worker.js
Normal file
File diff suppressed because one or more lines are too long
57
public/assets/js/monaco-editor.669bd6b3.worker.js
Normal file
57
public/assets/js/monaco-editor.669bd6b3.worker.js
Normal file
File diff suppressed because one or more lines are too long
501
public/assets/js/monaco-html.2f5aec9d.worker.js
Normal file
501
public/assets/js/monaco-html.2f5aec9d.worker.js
Normal file
File diff suppressed because one or more lines are too long
89
public/assets/js/monaco-json.b4f4ced3.worker.js
Normal file
89
public/assets/js/monaco-json.b4f4ced3.worker.js
Normal file
File diff suppressed because one or more lines are too long
1
public/assets/js/monaco-language-abap.9122d2d4.js
Normal file
1
public/assets/js/monaco-language-abap.9122d2d4.js
Normal file
File diff suppressed because one or more lines are too long
1
public/assets/js/monaco-language-apex.610c28c9.js
Normal file
1
public/assets/js/monaco-language-apex.610c28c9.js
Normal file
@ -0,0 +1 @@
|
||||
"use strict";(self.webpackChunk=self.webpackChunk||[]).push([["node_modules_monaco-editor_esm_vs_basic-languages_apex_apex_js"],{"./node_modules/monaco-editor/esm/vs/basic-languages/apex/apex.js":function(c,s,n){n.r(s),n.d(s,{conf:function(){return o},language:function(){return r}});var o={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\#\%\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"<",close:">"}],folding:{markers:{start:new RegExp("^\\s*//\\s*(?:(?:#?region\\b)|(?:<editor-fold\\b))"),end:new RegExp("^\\s*//\\s*(?:(?:#?endregion\\b)|(?:</editor-fold>))")}}},a=["abstract","activate","and","any","array","as","asc","assert","autonomous","begin","bigdecimal","blob","boolean","break","bulk","by","case","cast","catch","char","class","collect","commit","const","continue","convertcurrency","decimal","default","delete","desc","do","double","else","end","enum","exception","exit","export","extends","false","final","finally","float","for","from","future","get","global","goto","group","having","hint","if","implements","import","in","inner","insert","instanceof","int","interface","into","join","last_90_days","last_month","last_n_days","last_week","like","limit","list","long","loop","map","merge","native","new","next_90_days","next_month","next_n_days","next_week","not","null","nulls","number","object","of","on","or","outer","override","package","parallel","pragma","private","protected","public","retrieve","return","returning","rollback","savepoint","search","select","set","short","sort","stat","static","strictfp","super","switch","synchronized","system","testmethod","then","this","this_month","this_week","throw","throws","today","tolabel","tomorrow","transaction","transient","trigger","true","try","type","undelete","update","upsert","using","virtual","void","volatile","webservice","when","where","while","yesterday"],i=e=>e.charAt(0).toUpperCase()+e.substr(1),t=[];a.forEach(e=>{t.push(e),t.push(e.toUpperCase()),t.push(i(e))});var r={defaultToken:"",tokenPostfix:".apex",keywords:t,operators:["=",">","<","!","~","?",":","==","<=",">=","!=","&&","||","++","--","+","-","*","/","&","|","^","%","<<",">>",">>>","+=","-=","*=","/=","&=","|=","^=","%=","<<=",">>=",">>>="],symbols:/[=><!~?:&|+\-*\/\^%]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,digits:/\d+(_+\d+)*/,octaldigits:/[0-7]+(_+[0-7]+)*/,binarydigits:/[0-1]+(_+[0-1]+)*/,hexdigits:/[[0-9a-fA-F]+(_+[0-9a-fA-F]+)*/,tokenizer:{root:[[/[a-z_$][\w$]*/,{cases:{"@keywords":{token:"keyword.$0"},"@default":"identifier"}}],[/[A-Z][\w\$]*/,{cases:{"@keywords":{token:"keyword.$0"},"@default":"type.identifier"}}],{include:"@whitespace"},[/[{}()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/@\s*[a-zA-Z_\$][\w\$]*/,"annotation"],[/(@digits)[eE]([\-+]?(@digits))?[fFdD]?/,"number.float"],[/(@digits)\.(@digits)([eE][\-+]?(@digits))?[fFdD]?/,"number.float"],[/(@digits)[fFdD]/,"number.float"],[/(@digits)[lL]?/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/'([^'\\]|\\.)*$/,"string.invalid"],[/"/,"string",'@string."'],[/'/,"string","@string.'"],[/'[^\\']'/,"string"],[/(')(@escapes)(')/,["string","string.escape","string"]],[/'/,"string.invalid"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*\*(?!\/)/,"comment.doc","@apexdoc"],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],apexdoc:[[/[^\/*]+/,"comment.doc"],[/\*\//,"comment.doc","@pop"],[/[\/*]/,"comment.doc"]],string:[[/[^\\"']+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/["']/,{cases:{"$#==$S2":{token:"string",next:"@pop"},"@default":"string"}}]]}}}}]);
|
||||
1
public/assets/js/monaco-language-azcli.349a5eaa.js
Normal file
1
public/assets/js/monaco-language-azcli.349a5eaa.js
Normal file
@ -0,0 +1 @@
|
||||
"use strict";(self.webpackChunk=self.webpackChunk||[]).push([["node_modules_monaco-editor_esm_vs_basic-languages_azcli_azcli_js"],{"./node_modules/monaco-editor/esm/vs/basic-languages/azcli/azcli.js":function(o,e,n){n.r(e),n.d(e,{conf:function(){return t},language:function(){return s}});var t={comments:{lineComment:"#"}},s={defaultToken:"keyword",ignoreCase:!0,tokenPostfix:".azcli",str:/[^#\s]/,tokenizer:{root:[{include:"@comment"},[/\s-+@str*\s*/,{cases:{"@eos":{token:"key.identifier",next:"@popall"},"@default":{token:"key.identifier",next:"@type"}}}],[/^-+@str*\s*/,{cases:{"@eos":{token:"key.identifier",next:"@popall"},"@default":{token:"key.identifier",next:"@type"}}}]],type:[{include:"@comment"},[/-+@str*\s*/,{cases:{"@eos":{token:"key.identifier",next:"@popall"},"@default":"key.identifier"}}],[/@str+\s*/,{cases:{"@eos":{token:"string",next:"@popall"},"@default":"string"}}]],comment:[[/#.*$/,{cases:{"@eos":{token:"comment",next:"@popall"}}}]]}}}}]);
|
||||
1
public/assets/js/monaco-language-bat.2b9476f0.js
Normal file
1
public/assets/js/monaco-language-bat.2b9476f0.js
Normal file
@ -0,0 +1 @@
|
||||
"use strict";(self.webpackChunk=self.webpackChunk||[]).push([["node_modules_monaco-editor_esm_vs_basic-languages_bat_bat_js"],{"./node_modules/monaco-editor/esm/vs/basic-languages/bat/bat.js":function(t,e,s){s.r(e),s.d(e,{conf:function(){return o},language:function(){return n}});var o={comments:{lineComment:"REM"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'}],surroundingPairs:[{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'}],folding:{markers:{start:new RegExp("^\\s*(::\\s*|REM\\s+)#region"),end:new RegExp("^\\s*(::\\s*|REM\\s+)#endregion")}}},n={defaultToken:"",ignoreCase:!0,tokenPostfix:".bat",brackets:[{token:"delimiter.bracket",open:"{",close:"}"},{token:"delimiter.parenthesis",open:"(",close:")"},{token:"delimiter.square",open:"[",close:"]"}],keywords:/call|defined|echo|errorlevel|exist|for|goto|if|pause|set|shift|start|title|not|pushd|popd/,symbols:/[=><!~?&|+\-*\/\^;\.,]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[[/^(\s*)(rem(?:\s.*|))$/,["","comment"]],[/(\@?)(@keywords)(?!\w)/,[{token:"keyword"},{token:"keyword.$2"}]],[/[ \t\r\n]+/,""],[/setlocal(?!\w)/,"keyword.tag-setlocal"],[/endlocal(?!\w)/,"keyword.tag-setlocal"],[/[a-zA-Z_]\w*/,""],[/:\w*/,"metatag"],[/%[^%]+%/,"variable"],[/%%[\w]+(?!\w)/,"variable"],[/[{}()\[\]]/,"@brackets"],[/@symbols/,"delimiter"],[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float"],[/0[xX][0-9a-fA-F_]*[0-9a-fA-F]/,"number.hex"],[/\d+/,"number"],[/[;,.]/,"delimiter"],[/"/,"string",'@string."'],[/'/,"string","@string.'"]],string:[[/[^\\"'%]+/,{cases:{"@eos":{token:"string",next:"@popall"},"@default":"string"}}],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/%[\w ]+%/,"variable"],[/%%[\w]+(?!\w)/,"variable"],[/["']/,{cases:{"$#==$S2":{token:"string",next:"@pop"},"@default":"string"}}],[/$/,"string","@popall"]]}}}}]);
|
||||
2
public/assets/js/monaco-language-bicep.3e66fac6.js
Normal file
2
public/assets/js/monaco-language-bicep.3e66fac6.js
Normal file
@ -0,0 +1,2 @@
|
||||
"use strict";(self.webpackChunk=self.webpackChunk||[]).push([["node_modules_monaco-editor_esm_vs_basic-languages_bicep_bicep_js"],{"./node_modules/monaco-editor/esm/vs/basic-languages/bicep/bicep.js":function(k,e,n){n.r(e),n.d(e,{conf:function(){return l},language:function(){return m}});var t=u=>`\\b${u}\\b`,o="[_a-zA-Z]",r="[_a-zA-Z0-9]",i=t(`${o}${r}*`),a=["targetScope","resource","module","param","var","output","for","in","if","existing"],s=["true","false","null"],c="[ \\t\\r\\n]",g="[0-9]+",l={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"'",close:"'"},{open:"'''",close:"'''"}],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"'",close:"'",notIn:["string","comment"]},{open:"'''",close:"'''",notIn:["string","comment"]}],autoCloseBefore:`:.,=}])'
|
||||
`,indentationRules:{increaseIndentPattern:new RegExp("^((?!\\/\\/).)*(\\{[^}\"'`]*|\\([^)\"'`]*|\\[[^\\]\"'`]*)$"),decreaseIndentPattern:new RegExp("^((?!.*?\\/\\*).*\\*/)?\\s*[\\}\\]].*$")}},m={defaultToken:"",tokenPostfix:".bicep",brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"}],symbols:/[=><!~?:&|+\-*/^%]+/,keywords:a,namedLiterals:s,escapes:"\\\\(u{[0-9A-Fa-f]+}|n|r|t|\\\\|'|\\${)",tokenizer:{root:[{include:"@expression"},{include:"@whitespace"}],stringVerbatim:[{regex:"(|'|'')[^']",action:{token:"string"}},{regex:"'''",action:{token:"string.quote",next:"@pop"}}],stringLiteral:[{regex:"\\${",action:{token:"delimiter.bracket",next:"@bracketCounting"}},{regex:"[^\\\\'$]+",action:{token:"string"}},{regex:"@escapes",action:{token:"string.escape"}},{regex:"\\\\.",action:{token:"string.escape.invalid"}},{regex:"'",action:{token:"string",next:"@pop"}}],bracketCounting:[{regex:"{",action:{token:"delimiter.bracket",next:"@bracketCounting"}},{regex:"}",action:{token:"delimiter.bracket",next:"@pop"}},{include:"expression"}],comment:[{regex:"[^\\*]+",action:{token:"comment"}},{regex:"\\*\\/",action:{token:"comment",next:"@pop"}},{regex:"[\\/*]",action:{token:"comment"}}],whitespace:[{regex:c},{regex:"\\/\\*",action:{token:"comment",next:"@comment"}},{regex:"\\/\\/.*$",action:{token:"comment"}}],expression:[{regex:"'''",action:{token:"string.quote",next:"@stringVerbatim"}},{regex:"'",action:{token:"string.quote",next:"@stringLiteral"}},{regex:g,action:{token:"number"}},{regex:i,action:{cases:{"@keywords":{token:"keyword"},"@namedLiterals":{token:"keyword"},"@default":{token:"identifier"}}}}]}}}}]);
|
||||
1
public/assets/js/monaco-language-cameligo.445ed0c7.js
Normal file
1
public/assets/js/monaco-language-cameligo.445ed0c7.js
Normal file
@ -0,0 +1 @@
|
||||
"use strict";(self.webpackChunk=self.webpackChunk||[]).push([["node_modules_monaco-editor_esm_vs_basic-languages_cameligo_cameligo_js"],{"./node_modules/monaco-editor/esm/vs/basic-languages/cameligo/cameligo.js":function(s,e,o){o.r(e),o.d(e,{conf:function(){return n},language:function(){return t}});var n={comments:{lineComment:"//",blockComment:["(*","*)"]},brackets:[["{","}"],["[","]"],["(",")"],["<",">"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"},{open:"'",close:"'"},{open:'"',close:'"'},{open:"(*",close:"*)"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"},{open:"'",close:"'"},{open:'"',close:'"'},{open:"(*",close:"*)"}]},t={defaultToken:"",tokenPostfix:".cameligo",ignoreCase:!0,brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"<",close:">",token:"delimiter.angle"}],keywords:["abs","assert","block","Bytes","case","Crypto","Current","else","failwith","false","for","fun","if","in","let","let%entry","let%init","List","list","Map","map","match","match%nat","mod","not","operation","Operation","of","record","Set","set","sender","skip","source","String","then","to","true","type","with"],typeKeywords:["int","unit","string","tz","nat","bool"],operators:["=",">","<","<=",">=","<>",":",":=","and","mod","or","+","-","*","/","@","&","^","%","->","<-","&&","||"],symbols:/[=><:@\^&|+\-*\/\^%]+/,tokenizer:{root:[[/[a-zA-Z_][\w]*/,{cases:{"@keywords":{token:"keyword.$0"},"@default":"identifier"}}],{include:"@whitespace"},[/[{}()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float"],[/\$[0-9a-fA-F]{1,16}/,"number.hex"],[/\d+/,"number"],[/[;,.]/,"delimiter"],[/'([^'\\]|\\.)*$/,"string.invalid"],[/'/,"string","@string"],[/'[^\\']'/,"string"],[/'/,"string.invalid"],[/\#\d+/,"string"]],comment:[[/[^\(\*]+/,"comment"],[/\*\)/,"comment","@pop"],[/\(\*/,"comment"]],string:[[/[^\\']+/,"string"],[/\\./,"string.escape.invalid"],[/'/,{token:"string.quote",bracket:"@close",next:"@pop"}]],whitespace:[[/[ \t\r\n]+/,"white"],[/\(\*/,"comment","@comment"],[/\/\/.*$/,"comment"]]}}}}]);
|
||||
1
public/assets/js/monaco-language-clojure.83dc0bbb.js
Normal file
1
public/assets/js/monaco-language-clojure.83dc0bbb.js
Normal file
File diff suppressed because one or more lines are too long
1
public/assets/js/monaco-language-coffee.387d6c21.js
Normal file
1
public/assets/js/monaco-language-coffee.387d6c21.js
Normal file
@ -0,0 +1 @@
|
||||
"use strict";(self.webpackChunk=self.webpackChunk||[]).push([["node_modules_monaco-editor_esm_vs_basic-languages_coffee_coffee_js"],{"./node_modules/monaco-editor/esm/vs/basic-languages/coffee/coffee.js":function(t,e,n){n.r(e),n.d(e,{conf:function(){return s},language:function(){return r}});var s={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\#%\^\&\*\(\)\=\$\-\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,comments:{blockComment:["###","###"],lineComment:"#"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],folding:{markers:{start:new RegExp("^\\s*#region\\b"),end:new RegExp("^\\s*#endregion\\b")}}},r={defaultToken:"",ignoreCase:!0,tokenPostfix:".coffee",brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"}],regEx:/\/(?!\/\/)(?:[^\/\\]|\\.)*\/[igm]*/,keywords:["and","or","is","isnt","not","on","yes","@","no","off","true","false","null","this","new","delete","typeof","in","instanceof","return","throw","break","continue","debugger","if","else","switch","for","while","do","try","catch","finally","class","extends","super","undefined","then","unless","until","loop","of","by","when"],symbols:/[=><!~?&%|+\-*\/\^\.,\:]+/,escapes:/\\(?:[abfnrtv\\"'$]|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[[/\@[a-zA-Z_]\w*/,"variable.predefined"],[/[a-zA-Z_]\w*/,{cases:{this:"variable.predefined","@keywords":{token:"keyword.$0"},"@default":""}}],[/[ \t\r\n]+/,""],[/###/,"comment","@comment"],[/#.*$/,"comment"],["///",{token:"regexp",next:"@hereregexp"}],[/^(\s*)(@regEx)/,["","regexp"]],[/(\()(\s*)(@regEx)/,["@brackets","","regexp"]],[/(\,)(\s*)(@regEx)/,["delimiter","","regexp"]],[/(\=)(\s*)(@regEx)/,["delimiter","","regexp"]],[/(\:)(\s*)(@regEx)/,["delimiter","","regexp"]],[/(\[)(\s*)(@regEx)/,["@brackets","","regexp"]],[/(\!)(\s*)(@regEx)/,["delimiter","","regexp"]],[/(\&)(\s*)(@regEx)/,["delimiter","","regexp"]],[/(\|)(\s*)(@regEx)/,["delimiter","","regexp"]],[/(\?)(\s*)(@regEx)/,["delimiter","","regexp"]],[/(\{)(\s*)(@regEx)/,["@brackets","","regexp"]],[/(\;)(\s*)(@regEx)/,["","","regexp"]],[/}/,{cases:{"$S2==interpolatedstring":{token:"string",next:"@pop"},"@default":"@brackets"}}],[/[{}()\[\]]/,"@brackets"],[/@symbols/,"delimiter"],[/\d+[eE]([\-+]?\d+)?/,"number.float"],[/\d+\.\d+([eE][\-+]?\d+)?/,"number.float"],[/0[xX][0-9a-fA-F]+/,"number.hex"],[/0[0-7]+(?!\d)/,"number.octal"],[/\d+/,"number"],[/[,.]/,"delimiter"],[/"""/,"string",'@herestring."""'],[/'''/,"string","@herestring.'''"],[/"/,{cases:{"@eos":"string","@default":{token:"string",next:'@string."'}}}],[/'/,{cases:{"@eos":"string","@default":{token:"string",next:"@string.'"}}}]],string:[[/[^"'\#\\]+/,"string"],[/@escapes/,"string.escape"],[/\./,"string.escape.invalid"],[/\./,"string.escape.invalid"],[/#{/,{cases:{'$S2=="':{token:"string",next:"root.interpolatedstring"},"@default":"string"}}],[/["']/,{cases:{"$#==$S2":{token:"string",next:"@pop"},"@default":"string"}}],[/#/,"string"]],herestring:[[/("""|''')/,{cases:{"$1==$S2":{token:"string",next:"@pop"},"@default":"string"}}],[/[^#\\'"]+/,"string"],[/['"]+/,"string"],[/@escapes/,"string.escape"],[/\./,"string.escape.invalid"],[/#{/,{token:"string.quote",next:"root.interpolatedstring"}],[/#/,"string"]],comment:[[/[^#]+/,"comment"],[/###/,"comment","@pop"],[/#/,"comment"]],hereregexp:[[/[^\\\/#]+/,"regexp"],[/\\./,"regexp"],[/#.*$/,"comment"],["///[igm]*",{token:"regexp",next:"@pop"}],[/\//,"regexp"]]}}}}]);
|
||||
1
public/assets/js/monaco-language-cpp.0c19424e.js
Normal file
1
public/assets/js/monaco-language-cpp.0c19424e.js
Normal file
File diff suppressed because one or more lines are too long
1
public/assets/js/monaco-language-csharp.b892b441.js
Normal file
1
public/assets/js/monaco-language-csharp.b892b441.js
Normal file
@ -0,0 +1 @@
|
||||
"use strict";(self.webpackChunk=self.webpackChunk||[]).push([["node_modules_monaco-editor_esm_vs_basic-languages_csharp_csharp_js"],{"./node_modules/monaco-editor/esm/vs/basic-languages/csharp/csharp.js":function(o,e,t){t.r(e),t.d(e,{conf:function(){return n},language:function(){return s}});var n={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\#\$\%\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"'",close:"'",notIn:["string","comment"]},{open:'"',close:'"',notIn:["string","comment"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"},{open:"'",close:"'"},{open:'"',close:'"'}],folding:{markers:{start:new RegExp("^\\s*#region\\b"),end:new RegExp("^\\s*#endregion\\b")}}},s={defaultToken:"",tokenPostfix:".cs",brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"<",close:">",token:"delimiter.angle"}],keywords:["extern","alias","using","bool","decimal","sbyte","byte","short","ushort","int","uint","long","ulong","char","float","double","object","dynamic","string","assembly","is","as","ref","out","this","base","new","typeof","void","checked","unchecked","default","delegate","var","const","if","else","switch","case","while","do","for","foreach","in","break","continue","goto","return","throw","try","catch","finally","lock","yield","from","let","where","join","on","equals","into","orderby","ascending","descending","select","group","by","namespace","partial","class","field","event","method","param","public","protected","internal","private","abstract","sealed","static","struct","readonly","volatile","virtual","override","params","get","set","add","remove","operator","true","false","implicit","explicit","interface","enum","null","async","await","fixed","sizeof","stackalloc","unsafe","nameof","when"],namespaceFollows:["namespace","using"],parenFollows:["if","for","while","switch","foreach","using","catch","when"],operators:["=","??","||","&&","|","^","&","==","!=","<=",">=","<<","+","-","*","/","%","!","~","++","--","+=","-=","*=","/=","%=","&=","|=","^=","<<=",">>=",">>","=>"],symbols:/[=><!~?:&|+\-*\/\^%]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[[/\@?[a-zA-Z_]\w*/,{cases:{"@namespaceFollows":{token:"keyword.$0",next:"@namespace"},"@keywords":{token:"keyword.$0",next:"@qualified"},"@default":{token:"identifier",next:"@qualified"}}}],{include:"@whitespace"},[/}/,{cases:{"$S2==interpolatedstring":{token:"string.quote",next:"@pop"},"$S2==litinterpstring":{token:"string.quote",next:"@pop"},"@default":"@brackets"}}],[/[{}()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/[0-9_]*\.[0-9_]+([eE][\-+]?\d+)?[fFdD]?/,"number.float"],[/0[xX][0-9a-fA-F_]+/,"number.hex"],[/0[bB][01_]+/,"number.hex"],[/[0-9_]+/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"/,{token:"string.quote",next:"@string"}],[/\$\@"/,{token:"string.quote",next:"@litinterpstring"}],[/\@"/,{token:"string.quote",next:"@litstring"}],[/\$"/,{token:"string.quote",next:"@interpolatedstring"}],[/'[^\\']'/,"string"],[/(')(@escapes)(')/,["string","string.escape","string"]],[/'/,"string.invalid"]],qualified:[[/[a-zA-Z_][\w]*/,{cases:{"@keywords":{token:"keyword.$0"},"@default":"identifier"}}],[/\./,"delimiter"],["","","@pop"]],namespace:[{include:"@whitespace"},[/[A-Z]\w*/,"namespace"],[/[\.=]/,"delimiter"],["","","@pop"]],comment:[[/[^\/*]+/,"comment"],["\\*/","comment","@pop"],[/[\/*]/,"comment"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,{token:"string.quote",next:"@pop"}]],litstring:[[/[^"]+/,"string"],[/""/,"string.escape"],[/"/,{token:"string.quote",next:"@pop"}]],litinterpstring:[[/[^"{]+/,"string"],[/""/,"string.escape"],[/{{/,"string.escape"],[/}}/,"string.escape"],[/{/,{token:"string.quote",next:"root.litinterpstring"}],[/"/,{token:"string.quote",next:"@pop"}]],interpolatedstring:[[/[^\\"{]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/{{/,"string.escape"],[/}}/,"string.escape"],[/{/,{token:"string.quote",next:"root.interpolatedstring"}],[/"/,{token:"string.quote",next:"@pop"}]],whitespace:[[/^[ \t\v\f]*#((r)|(load))(?=\s)/,"directive.csx"],[/^[ \t\v\f]*#\w.*$/,"namespace.cpp"],[/[ \t\v\f\r\n]+/,""],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]]}}}}]);
|
||||
1
public/assets/js/monaco-language-csp.57371501.js
Normal file
1
public/assets/js/monaco-language-csp.57371501.js
Normal file
@ -0,0 +1 @@
|
||||
"use strict";(self.webpackChunk=self.webpackChunk||[]).push([["node_modules_monaco-editor_esm_vs_basic-languages_csp_csp_js"],{"./node_modules/monaco-editor/esm/vs/basic-languages/csp/csp.js":function(n,t,s){s.r(t),s.d(t,{conf:function(){return e},language:function(){return r}});var e={brackets:[],autoClosingPairs:[],surroundingPairs:[]},r={keywords:[],typeKeywords:[],tokenPostfix:".csp",operators:[],symbols:/[=><!~?:&|+\-*\/\^%]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[[/child-src/,"string.quote"],[/connect-src/,"string.quote"],[/default-src/,"string.quote"],[/font-src/,"string.quote"],[/frame-src/,"string.quote"],[/img-src/,"string.quote"],[/manifest-src/,"string.quote"],[/media-src/,"string.quote"],[/object-src/,"string.quote"],[/script-src/,"string.quote"],[/style-src/,"string.quote"],[/worker-src/,"string.quote"],[/base-uri/,"string.quote"],[/plugin-types/,"string.quote"],[/sandbox/,"string.quote"],[/disown-opener/,"string.quote"],[/form-action/,"string.quote"],[/frame-ancestors/,"string.quote"],[/report-uri/,"string.quote"],[/report-to/,"string.quote"],[/upgrade-insecure-requests/,"string.quote"],[/block-all-mixed-content/,"string.quote"],[/require-sri-for/,"string.quote"],[/reflected-xss/,"string.quote"],[/referrer/,"string.quote"],[/policy-uri/,"string.quote"],[/'self'/,"string.quote"],[/'unsafe-inline'/,"string.quote"],[/'unsafe-eval'/,"string.quote"],[/'strict-dynamic'/,"string.quote"],[/'unsafe-hashed-attributes'/,"string.quote"]]}}}}]);
|
||||
3
public/assets/js/monaco-language-css.a481ddf7.js
Normal file
3
public/assets/js/monaco-language-css.a481ddf7.js
Normal file
@ -0,0 +1,3 @@
|
||||
"use strict";(self.webpackChunk=self.webpackChunk||[]).push([["node_modules_monaco-editor_esm_vs_basic-languages_css_css_js"],{"./node_modules/monaco-editor/esm/vs/basic-languages/css/css.js":function(i,e,t){t.r(e),t.d(e,{conf:function(){return n},language:function(){return o}});var n={wordPattern:/(#?-?\d*\.\d\w*%?)|((::|[@#.!:])?[\w-?]+%?)|::|[@#.!:]/g,comments:{blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}",notIn:["string","comment"]},{open:"[",close:"]",notIn:["string","comment"]},{open:"(",close:")",notIn:["string","comment"]},{open:'"',close:'"',notIn:["string","comment"]},{open:"'",close:"'",notIn:["string","comment"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],folding:{markers:{start:new RegExp("^\\s*\\/\\*\\s*#region\\b\\s*(.*?)\\s*\\*\\/"),end:new RegExp("^\\s*\\/\\*\\s*#endregion\\b.*\\*\\/")}}},o={defaultToken:"",tokenPostfix:".css",ws:`[
|
||||
\r\f]*`,identifier:"-?-?([a-zA-Z]|(\\\\(([0-9a-fA-F]{1,6}\\s?)|[^[0-9a-fA-F])))([\\w\\-]|(\\\\(([0-9a-fA-F]{1,6}\\s?)|[^[0-9a-fA-F])))*",brackets:[{open:"{",close:"}",token:"delimiter.bracket"},{open:"[",close:"]",token:"delimiter.bracket"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"<",close:">",token:"delimiter.angle"}],tokenizer:{root:[{include:"@selector"}],selector:[{include:"@comments"},{include:"@import"},{include:"@strings"},["[@](keyframes|-webkit-keyframes|-moz-keyframes|-o-keyframes)",{token:"keyword",next:"@keyframedeclaration"}],["[@](page|content|font-face|-moz-document)",{token:"keyword"}],["[@](charset|namespace)",{token:"keyword",next:"@declarationbody"}],["(url-prefix)(\\()",["attribute.value",{token:"delimiter.parenthesis",next:"@urldeclaration"}]],["(url)(\\()",["attribute.value",{token:"delimiter.parenthesis",next:"@urldeclaration"}]],{include:"@selectorname"},["[\\*]","tag"],["[>\\+,]","delimiter"],["\\[",{token:"delimiter.bracket",next:"@selectorattribute"}],["{",{token:"delimiter.bracket",next:"@selectorbody"}]],selectorbody:[{include:"@comments"},["[*_]?@identifier@ws:(?=(\\s|\\d|[^{;}]*[;}]))","attribute.name","@rulevalue"],["}",{token:"delimiter.bracket",next:"@pop"}]],selectorname:[["(\\.|#(?=[^{])|%|(@identifier)|:)+","tag"]],selectorattribute:[{include:"@term"},["]",{token:"delimiter.bracket",next:"@pop"}]],term:[{include:"@comments"},["(url-prefix)(\\()",["attribute.value",{token:"delimiter.parenthesis",next:"@urldeclaration"}]],["(url)(\\()",["attribute.value",{token:"delimiter.parenthesis",next:"@urldeclaration"}]],{include:"@functioninvocation"},{include:"@numbers"},{include:"@name"},{include:"@strings"},["([<>=\\+\\-\\*\\/\\^\\|\\~,])","delimiter"],[",","delimiter"]],rulevalue:[{include:"@comments"},{include:"@strings"},{include:"@term"},["!important","keyword"],[";","delimiter","@pop"],["(?=})",{token:"",next:"@pop"}]],warndebug:[["[@](warn|debug)",{token:"keyword",next:"@declarationbody"}]],import:[["[@](import)",{token:"keyword",next:"@declarationbody"}]],urldeclaration:[{include:"@strings"},[`[^)\r
|
||||
]+`,"string"],["\\)",{token:"delimiter.parenthesis",next:"@pop"}]],parenthizedterm:[{include:"@term"},["\\)",{token:"delimiter.parenthesis",next:"@pop"}]],declarationbody:[{include:"@term"},[";","delimiter","@pop"],["(?=})",{token:"",next:"@pop"}]],comments:[["\\/\\*","comment","@comment"],["\\/\\/+.*","comment"]],comment:[["\\*\\/","comment","@pop"],[/[^*/]+/,"comment"],[/./,"comment"]],name:[["@identifier","attribute.value"]],numbers:[["-?(\\d*\\.)?\\d+([eE][\\-+]?\\d+)?",{token:"attribute.value.number",next:"@units"}],["#[0-9a-fA-F_]+(?!\\w)","attribute.value.hex"]],units:[["(em|ex|ch|rem|fr|vmin|vmax|vw|vh|vm|cm|mm|in|px|pt|pc|deg|grad|rad|turn|s|ms|Hz|kHz|%)?","attribute.value.unit","@pop"]],keyframedeclaration:[["@identifier","attribute.value"],["{",{token:"delimiter.bracket",switchTo:"@keyframebody"}]],keyframebody:[{include:"@term"},["{",{token:"delimiter.bracket",next:"@selectorbody"}],["}",{token:"delimiter.bracket",next:"@pop"}]],functioninvocation:[["@identifier\\(",{token:"attribute.value",next:"@functionarguments"}]],functionarguments:[["\\$@identifier@ws:","attribute.name"],["[,]","delimiter"],{include:"@term"},["\\)",{token:"attribute.value",next:"@pop"}]],strings:[['~?"',{token:"string",next:"@stringenddoublequote"}],["~?'",{token:"string",next:"@stringendquote"}]],stringenddoublequote:[["\\\\.","string"],['"',{token:"string",next:"@pop"}],[/[^\\"]+/,"string"],[".","string"]],stringendquote:[["\\\\.","string"],["'",{token:"string",next:"@pop"}],[/[^\\']+/,"string"],[".","string"]]}}}}]);
|
||||
4
public/assets/js/monaco-language-cssmode.425ace85.js
Normal file
4
public/assets/js/monaco-language-cssmode.425ace85.js
Normal file
File diff suppressed because one or more lines are too long
1
public/assets/js/monaco-language-cypher.dc7676b2.js
Normal file
1
public/assets/js/monaco-language-cypher.dc7676b2.js
Normal file
@ -0,0 +1 @@
|
||||
"use strict";(self.webpackChunk=self.webpackChunk||[]).push([["node_modules_monaco-editor_esm_vs_basic-languages_cypher_cypher_js"],{"./node_modules/monaco-editor/esm/vs/basic-languages/cypher/cypher.js":function(s,e,i){i.r(e),i.d(e,{conf:function(){return n},language:function(){return t}});var n={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"`",close:"`"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"`",close:"`"}]},t={defaultToken:"",tokenPostfix:".cypher",ignoreCase:!0,brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.bracket"},{open:"(",close:")",token:"delimiter.parenthesis"}],keywords:["ALL","AND","AS","ASC","ASCENDING","BY","CALL","CASE","CONTAINS","CREATE","DELETE","DESC","DESCENDING","DETACH","DISTINCT","ELSE","END","ENDS","EXISTS","IN","IS","LIMIT","MANDATORY","MATCH","MERGE","NOT","ON","ON","OPTIONAL","OR","ORDER","REMOVE","RETURN","SET","SKIP","STARTS","THEN","UNION","UNWIND","WHEN","WHERE","WITH","XOR","YIELD"],builtinLiterals:["true","TRUE","false","FALSE","null","NULL"],builtinFunctions:["abs","acos","asin","atan","atan2","avg","ceil","coalesce","collect","cos","cot","count","degrees","e","endNode","exists","exp","floor","head","id","keys","labels","last","left","length","log","log10","lTrim","max","min","nodes","percentileCont","percentileDisc","pi","properties","radians","rand","range","relationships","replace","reverse","right","round","rTrim","sign","sin","size","split","sqrt","startNode","stDev","stDevP","substring","sum","tail","tan","timestamp","toBoolean","toFloat","toInteger","toLower","toString","toUpper","trim","type"],operators:["+","-","*","/","%","^","=","<>","<",">","<=",">=","->","<-","-->","<--"],escapes:/\\(?:[tbnrf\\"'`]|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,digits:/\d+/,octaldigits:/[0-7]+/,hexdigits:/[0-9a-fA-F]+/,tokenizer:{root:[[/[{}[\]()]/,"@brackets"],{include:"common"}],common:[{include:"@whitespace"},{include:"@numbers"},{include:"@strings"},[/:[a-zA-Z_][\w]*/,"type.identifier"],[/[a-zA-Z_][\w]*(?=\()/,{cases:{"@builtinFunctions":"predefined.function"}}],[/[a-zA-Z_$][\w$]*/,{cases:{"@keywords":"keyword","@builtinLiterals":"predefined.literal","@default":"identifier"}}],[/`/,"identifier.escape","@identifierBacktick"],[/[;,.:|]/,"delimiter"],[/[<>=%+\-*/^]+/,{cases:{"@operators":"delimiter","@default":""}}]],numbers:[[/-?(@digits)[eE](-?(@digits))?/,"number.float"],[/-?(@digits)?\.(@digits)([eE]-?(@digits))?/,"number.float"],[/-?0x(@hexdigits)/,"number.hex"],[/-?0(@octaldigits)/,"number.octal"],[/-?(@digits)/,"number"]],strings:[[/"([^"\\]|\\.)*$/,"string.invalid"],[/'([^'\\]|\\.)*$/,"string.invalid"],[/"/,"string","@stringDouble"],[/'/,"string","@stringSingle"]],whitespace:[[/[ \t\r\n]+/,"white"],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/\/\/.*/,"comment"],[/[^/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[/*]/,"comment"]],stringDouble:[[/[^\\"]+/,"string"],[/@escapes/,"string"],[/\\./,"string.invalid"],[/"/,"string","@pop"]],stringSingle:[[/[^\\']+/,"string"],[/@escapes/,"string"],[/\\./,"string.invalid"],[/'/,"string","@pop"]],identifierBacktick:[[/[^\\`]+/,"identifier.escape"],[/@escapes/,"identifier.escape"],[/\\./,"identifier.escape.invalid"],[/`/,"identifier.escape","@pop"]]}}}}]);
|
||||
1
public/assets/js/monaco-language-dart.57075b92.js
Normal file
1
public/assets/js/monaco-language-dart.57075b92.js
Normal file
@ -0,0 +1 @@
|
||||
"use strict";(self.webpackChunk=self.webpackChunk||[]).push([["node_modules_monaco-editor_esm_vs_basic-languages_dart_dart_js"],{"./node_modules/monaco-editor/esm/vs/basic-languages/dart/dart.js":function(s,e,n){n.r(e),n.d(e,{conf:function(){return t},language:function(){return o}});var t={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"'",close:"'",notIn:["string","comment"]},{open:'"',close:'"',notIn:["string"]},{open:"`",close:"`",notIn:["string","comment"]},{open:"/**",close:" */",notIn:["string"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"},{open:"'",close:"'"},{open:"(",close:")"},{open:'"',close:'"'},{open:"`",close:"`"}],folding:{markers:{start:/^\s*\s*#?region\b/,end:/^\s*\s*#?endregion\b/}}},o={defaultToken:"invalid",tokenPostfix:".dart",keywords:["abstract","dynamic","implements","show","as","else","import","static","assert","enum","in","super","async","export","interface","switch","await","extends","is","sync","break","external","library","this","case","factory","mixin","throw","catch","false","new","true","class","final","null","try","const","finally","on","typedef","continue","for","operator","var","covariant","Function","part","void","default","get","rethrow","while","deferred","hide","return","with","do","if","set","yield"],typeKeywords:["int","double","String","bool"],operators:["+","-","*","/","~/","%","++","--","==","!=",">","<",">=","<=","=","-=","/=","%=",">>=","^=","+=","*=","~/=","<<=","&=","!=","||","&&","&","|","^","~","<<",">>","!",">>>","??","?",":","|="],symbols:/[=><!~?:&|+\-*\/\^%]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,digits:/\d+(_+\d+)*/,octaldigits:/[0-7]+(_+[0-7]+)*/,binarydigits:/[0-1]+(_+[0-1]+)*/,hexdigits:/[[0-9a-fA-F]+(_+[0-9a-fA-F]+)*/,regexpctl:/[(){}\[\]\$\^|\-*+?\.]/,regexpesc:/\\(?:[bBdDfnrstvwWn0\\\/]|@regexpctl|c[A-Z]|x[0-9a-fA-F]{2}|u[0-9a-fA-F]{4})/,tokenizer:{root:[[/[{}]/,"delimiter.bracket"],{include:"common"}],common:[[/[a-z_$][\w$]*/,{cases:{"@typeKeywords":"type.identifier","@keywords":"keyword","@default":"identifier"}}],[/[A-Z_$][\w\$]*/,"type.identifier"],{include:"@whitespace"},[/\/(?=([^\\\/]|\\.)+\/([gimsuy]*)(\s*)(\.|;|,|\)|\]|\}|$))/,{token:"regexp",bracket:"@open",next:"@regexp"}],[/@[a-zA-Z]+/,"annotation"],[/[()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/!(?=([^=]|$))/,"delimiter"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/(@digits)[eE]([\-+]?(@digits))?/,"number.float"],[/(@digits)\.(@digits)([eE][\-+]?(@digits))?/,"number.float"],[/0[xX](@hexdigits)n?/,"number.hex"],[/0[oO]?(@octaldigits)n?/,"number.octal"],[/0[bB](@binarydigits)n?/,"number.binary"],[/(@digits)n?/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/'([^'\\]|\\.)*$/,"string.invalid"],[/"/,"string","@string_double"],[/'/,"string","@string_single"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*\*(?!\/)/,"comment.doc","@jsdoc"],[/\/\*/,"comment","@comment"],[/\/\/\/.*$/,"comment.doc"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],jsdoc:[[/[^\/*]+/,"comment.doc"],[/\*\//,"comment.doc","@pop"],[/[\/*]/,"comment.doc"]],regexp:[[/(\{)(\d+(?:,\d*)?)(\})/,["regexp.escape.control","regexp.escape.control","regexp.escape.control"]],[/(\[)(\^?)(?=(?:[^\]\\\/]|\\.)+)/,["regexp.escape.control",{token:"regexp.escape.control",next:"@regexrange"}]],[/(\()(\?:|\?=|\?!)/,["regexp.escape.control","regexp.escape.control"]],[/[()]/,"regexp.escape.control"],[/@regexpctl/,"regexp.escape.control"],[/[^\\\/]/,"regexp"],[/@regexpesc/,"regexp.escape"],[/\\\./,"regexp.invalid"],[/(\/)([gimsuy]*)/,[{token:"regexp",bracket:"@close",next:"@pop"},"keyword.other"]]],regexrange:[[/-/,"regexp.escape.control"],[/\^/,"regexp.invalid"],[/@regexpesc/,"regexp.escape"],[/[^\]]/,"regexp"],[/\]/,{token:"regexp.escape.control",next:"@pop",bracket:"@close"}]],string_double:[[/[^\\"\$]+/,"string"],[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"],[/\$\w+/,"identifier"]],string_single:[[/[^\\'\$]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/'/,"string","@pop"],[/\$\w+/,"identifier"]]}}}}]);
|
||||
1
public/assets/js/monaco-language-dockerfile.f5cfdb39.js
Normal file
1
public/assets/js/monaco-language-dockerfile.f5cfdb39.js
Normal file
@ -0,0 +1 @@
|
||||
"use strict";(self.webpackChunk=self.webpackChunk||[]).push([["node_modules_monaco-editor_esm_vs_basic-languages_dockerfile_dockerfile_js"],{"./node_modules/monaco-editor/esm/vs/basic-languages/dockerfile/dockerfile.js":function(l,e,o){o.r(e),o.d(e,{conf:function(){return s},language:function(){return n}});var s={brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}]},n={defaultToken:"",tokenPostfix:".dockerfile",variable:/\${?[\w]+}?/,tokenizer:{root:[{include:"@whitespace"},{include:"@comment"},[/(ONBUILD)(\s+)/,["keyword",""]],[/(ENV)(\s+)([\w]+)/,["keyword","",{token:"variable",next:"@arguments"}]],[/(FROM|MAINTAINER|RUN|EXPOSE|ENV|ADD|ARG|VOLUME|LABEL|USER|WORKDIR|COPY|CMD|STOPSIGNAL|SHELL|HEALTHCHECK|ENTRYPOINT)/,{token:"keyword",next:"@arguments"}]],arguments:[{include:"@whitespace"},{include:"@strings"},[/(@variable)/,{cases:{"@eos":{token:"variable",next:"@popall"},"@default":"variable"}}],[/\\/,{cases:{"@eos":"","@default":""}}],[/./,{cases:{"@eos":{token:"",next:"@popall"},"@default":""}}]],whitespace:[[/\s+/,{cases:{"@eos":{token:"",next:"@popall"},"@default":""}}]],comment:[[/(^#.*$)/,"comment","@popall"]],strings:[[/\\'$/,"","@popall"],[/\\'/,""],[/'$/,"string","@popall"],[/'/,"string","@stringBody"],[/"$/,"string","@popall"],[/"/,"string","@dblStringBody"]],stringBody:[[/[^\\\$']/,{cases:{"@eos":{token:"string",next:"@popall"},"@default":"string"}}],[/\\./,"string.escape"],[/'$/,"string","@popall"],[/'/,"string","@pop"],[/(@variable)/,"variable"],[/\\$/,"string"],[/$/,"string","@popall"]],dblStringBody:[[/[^\\\$"]/,{cases:{"@eos":{token:"string",next:"@popall"},"@default":"string"}}],[/\\./,"string.escape"],[/"$/,"string","@popall"],[/"/,"string","@pop"],[/(@variable)/,"variable"],[/\\$/,"string"],[/$/,"string","@popall"]]}}}}]);
|
||||
1
public/assets/js/monaco-language-ecl.3f530989.js
Normal file
1
public/assets/js/monaco-language-ecl.3f530989.js
Normal file
File diff suppressed because one or more lines are too long
1
public/assets/js/monaco-language-elixir.230a049c.js
Normal file
1
public/assets/js/monaco-language-elixir.230a049c.js
Normal file
File diff suppressed because one or more lines are too long
1
public/assets/js/monaco-language-flow9.305040be.js
Normal file
1
public/assets/js/monaco-language-flow9.305040be.js
Normal file
@ -0,0 +1 @@
|
||||
"use strict";(self.webpackChunk=self.webpackChunk||[]).push([["node_modules_monaco-editor_esm_vs_basic-languages_flow9_flow9_js"],{"./node_modules/monaco-editor/esm/vs/basic-languages/flow9/flow9.js":function(t,e,o){o.r(e),o.d(e,{conf:function(){return n},language:function(){return s}});var n={comments:{blockComment:["/*","*/"],lineComment:"//"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}",notIn:["string"]},{open:"[",close:"]",notIn:["string"]},{open:"(",close:")",notIn:["string"]},{open:'"',close:'"',notIn:["string"]},{open:"'",close:"'",notIn:["string"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"<",close:">"}]},s={defaultToken:"",tokenPostfix:".flow",keywords:["import","require","export","forbid","native","if","else","cast","unsafe","switch","default"],types:["io","mutable","bool","int","double","string","flow","void","ref","true","false","with"],operators:["=",">","<","<=",">=","==","!","!=",":=","::=","&&","||","+","-","*","/","@","&","%",":","->","\\","$","??","^"],symbols:/[@$=><!~?:&|+\-*\\\/\^%]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[[/[a-zA-Z_]\w*/,{cases:{"@keywords":"keyword","@types":"type","@default":"identifier"}}],{include:"@whitespace"},[/[{}()\[\]]/,"delimiter"],[/[<>](?!@symbols)/,"delimiter"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/((0(x|X)[0-9a-fA-F]*)|(([0-9]+\.?[0-9]*)|(\.[0-9]+))((e|E)(\+|-)?[0-9]+)?)/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"/,"string","@string"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"]]}}}}]);
|
||||
3
public/assets/js/monaco-language-freemarker2.897fc90b.js
Normal file
3
public/assets/js/monaco-language-freemarker2.897fc90b.js
Normal file
File diff suppressed because one or more lines are too long
1
public/assets/js/monaco-language-fsharp.cec45f33.js
Normal file
1
public/assets/js/monaco-language-fsharp.cec45f33.js
Normal file
@ -0,0 +1 @@
|
||||
"use strict";(self.webpackChunk=self.webpackChunk||[]).push([["node_modules_monaco-editor_esm_vs_basic-languages_fsharp_fsharp_js"],{"./node_modules/monaco-editor/esm/vs/basic-languages/fsharp/fsharp.js":function(o,e,n){n.r(e),n.d(e,{conf:function(){return t},language:function(){return s}});var t={comments:{lineComment:"//",blockComment:["(*","*)"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],folding:{markers:{start:new RegExp("^\\s*//\\s*#region\\b|^\\s*\\(\\*\\s*#region(.*)\\*\\)"),end:new RegExp("^\\s*//\\s*#endregion\\b|^\\s*\\(\\*\\s*#endregion\\s*\\*\\)")}}},s={defaultToken:"",tokenPostfix:".fs",keywords:["abstract","and","atomic","as","assert","asr","base","begin","break","checked","component","const","constraint","constructor","continue","class","default","delegate","do","done","downcast","downto","elif","else","end","exception","eager","event","external","extern","false","finally","for","fun","function","fixed","functor","global","if","in","include","inherit","inline","interface","internal","land","lor","lsl","lsr","lxor","lazy","let","match","member","mod","module","mutable","namespace","method","mixin","new","not","null","of","open","or","object","override","private","parallel","process","protected","pure","public","rec","return","static","sealed","struct","sig","then","to","true","tailcall","trait","try","type","upcast","use","val","void","virtual","volatile","when","while","with","yield"],symbols:/[=><!~?:&|+\-*\^%;\.,\/]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,integersuffix:/[uU]?[yslnLI]?/,floatsuffix:/[fFmM]?/,tokenizer:{root:[[/[a-zA-Z_]\w*/,{cases:{"@keywords":{token:"keyword.$0"},"@default":"identifier"}}],{include:"@whitespace"},[/\[<.*>\]/,"annotation"],[/^#(if|else|endif)/,"keyword"],[/[{}()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/@symbols/,"delimiter"],[/\d*\d+[eE]([\-+]?\d+)?(@floatsuffix)/,"number.float"],[/\d*\.\d+([eE][\-+]?\d+)?(@floatsuffix)/,"number.float"],[/0x[0-9a-fA-F]+LF/,"number.float"],[/0x[0-9a-fA-F]+(@integersuffix)/,"number.hex"],[/0b[0-1]+(@integersuffix)/,"number.bin"],[/\d+(@integersuffix)/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"""/,"string",'@string."""'],[/"/,"string",'@string."'],[/\@"/,{token:"string.quote",next:"@litstring"}],[/'[^\\']'B?/,"string"],[/(')(@escapes)(')/,["string","string.escape","string"]],[/'/,"string.invalid"]],whitespace:[[/[ \t\r\n]+/,""],[/\(\*(?!\))/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^*(]+/,"comment"],[/\*\)/,"comment","@pop"],[/\*/,"comment"],[/\(\*\)/,"comment"],[/\(/,"comment"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/("""|"B?)/,{cases:{"$#==$S2":{token:"string",next:"@pop"},"@default":"string"}}]],litstring:[[/[^"]+/,"string"],[/""/,"string.escape"],[/"/,{token:"string.quote",next:"@pop"}]]}}}}]);
|
||||
1
public/assets/js/monaco-language-go.94633690.js
Normal file
1
public/assets/js/monaco-language-go.94633690.js
Normal file
@ -0,0 +1 @@
|
||||
"use strict";(self.webpackChunk=self.webpackChunk||[]).push([["node_modules_monaco-editor_esm_vs_basic-languages_go_go_js"],{"./node_modules/monaco-editor/esm/vs/basic-languages/go/go.js":function(s,e,n){n.r(e),n.d(e,{conf:function(){return o},language:function(){return t}});var o={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"`",close:"`",notIn:["string"]},{open:'"',close:'"',notIn:["string"]},{open:"'",close:"'",notIn:["string","comment"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"`",close:"`"},{open:'"',close:'"'},{open:"'",close:"'"}]},t={defaultToken:"",tokenPostfix:".go",keywords:["break","case","chan","const","continue","default","defer","else","fallthrough","for","func","go","goto","if","import","interface","map","package","range","return","select","struct","switch","type","var","bool","true","false","uint8","uint16","uint32","uint64","int8","int16","int32","int64","float32","float64","complex64","complex128","byte","rune","uint","int","uintptr","string","nil"],operators:["+","-","*","/","%","&","|","^","<<",">>","&^","+=","-=","*=","/=","%=","&=","|=","^=","<<=",">>=","&^=","&&","||","<-","++","--","==","<",">","=","!","!=","<=",">=",":=","...","(",")","","]","{","}",",",";",".",":"],symbols:/[=><!~?:&|+\-*\/\^%]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[[/[a-zA-Z_]\w*/,{cases:{"@keywords":{token:"keyword.$0"},"@default":"identifier"}}],{include:"@whitespace"},[/\[\[.*\]\]/,"annotation"],[/^\s*#\w+/,"keyword"],[/[{}()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/\d*\d+[eE]([\-+]?\d+)?/,"number.float"],[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float"],[/0[xX][0-9a-fA-F']*[0-9a-fA-F]/,"number.hex"],[/0[0-7']*[0-7]/,"number.octal"],[/0[bB][0-1']*[0-1]/,"number.binary"],[/\d[\d']*/,"number"],[/\d/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"/,"string","@string"],[/`/,"string","@rawstring"],[/'[^\\']'/,"string"],[/(')(@escapes)(')/,["string","string.escape","string"]],[/'/,"string.invalid"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*\*(?!\/)/,"comment.doc","@doccomment"],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],doccomment:[[/[^\/*]+/,"comment.doc"],[/\/\*/,"comment.doc.invalid"],[/\*\//,"comment.doc","@pop"],[/[\/*]/,"comment.doc"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"]],rawstring:[[/[^\`]/,"string"],[/`/,"string","@pop"]]}}}}]);
|
||||
1
public/assets/js/monaco-language-graphql.fead87e5.js
Normal file
1
public/assets/js/monaco-language-graphql.fead87e5.js
Normal file
@ -0,0 +1 @@
|
||||
"use strict";(self.webpackChunk=self.webpackChunk||[]).push([["node_modules_monaco-editor_esm_vs_basic-languages_graphql_graphql_js"],{"./node_modules/monaco-editor/esm/vs/basic-languages/graphql/graphql.js":function(s,e,n){n.r(e),n.d(e,{conf:function(){return o},language:function(){return t}});var o={comments:{lineComment:"#"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"""',close:'"""',notIn:["string","comment"]},{open:'"',close:'"',notIn:["string","comment"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"""',close:'"""'},{open:'"',close:'"'}],folding:{offSide:!0}},t={defaultToken:"invalid",tokenPostfix:".gql",keywords:["null","true","false","query","mutation","subscription","extend","schema","directive","scalar","type","interface","union","enum","input","implements","fragment","on"],typeKeywords:["Int","Float","String","Boolean","ID"],directiveLocations:["SCHEMA","SCALAR","OBJECT","FIELD_DEFINITION","ARGUMENT_DEFINITION","INTERFACE","UNION","ENUM","ENUM_VALUE","INPUT_OBJECT","INPUT_FIELD_DEFINITION","QUERY","MUTATION","SUBSCRIPTION","FIELD","FRAGMENT_DEFINITION","FRAGMENT_SPREAD","INLINE_FRAGMENT","VARIABLE_DEFINITION"],operators:["=","!","?",":","&","|"],symbols:/[=!?:&|]+/,escapes:/\\(?:["\\\/bfnrt]|u[0-9A-Fa-f]{4})/,tokenizer:{root:[[/[a-z_][\w$]*/,{cases:{"@keywords":"keyword","@default":"key.identifier"}}],[/[$][\w$]*/,{cases:{"@keywords":"keyword","@default":"argument.identifier"}}],[/[A-Z][\w\$]*/,{cases:{"@typeKeywords":"keyword","@default":"type.identifier"}}],{include:"@whitespace"},[/[{}()\[\]]/,"@brackets"],[/@symbols/,{cases:{"@operators":"operator","@default":""}}],[/@\s*[a-zA-Z_\$][\w\$]*/,{token:"annotation",log:"annotation token: $0"}],[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float"],[/0[xX][0-9a-fA-F]+/,"number.hex"],[/\d+/,"number"],[/[;,.]/,"delimiter"],[/"""/,{token:"string",next:"@mlstring",nextEmbedded:"markdown"}],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"/,{token:"string.quote",bracket:"@open",next:"@string"}]],mlstring:[[/[^"]+/,"string"],['"""',{token:"string",next:"@pop",nextEmbedded:"@pop"}]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,{token:"string.quote",bracket:"@close",next:"@pop"}]],whitespace:[[/[ \t\r\n]+/,""],[/#.*$/,"comment"]]}}}}]);
|
||||
1
public/assets/js/monaco-language-handlebars.7bfbcb54.js
Normal file
1
public/assets/js/monaco-language-handlebars.7bfbcb54.js
Normal file
File diff suppressed because one or more lines are too long
1
public/assets/js/monaco-language-hcl.9153a792.js
Normal file
1
public/assets/js/monaco-language-hcl.9153a792.js
Normal file
@ -0,0 +1 @@
|
||||
"use strict";(self.webpackChunk=self.webpackChunk||[]).push([["node_modules_monaco-editor_esm_vs_basic-languages_hcl_hcl_js"],{"./node_modules/monaco-editor/esm/vs/basic-languages/hcl/hcl.js":function(n,e,s){s.r(e),s.d(e,{conf:function(){return t},language:function(){return o}});var t={comments:{lineComment:"#",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"',notIn:["string"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'}]},o={defaultToken:"",tokenPostfix:".hcl",keywords:["var","local","path","for_each","any","string","number","bool","true","false","null","if ","else ","endif ","for ","in","endfor"],operators:["=",">=","<=","==","!=","+","-","*","/","%","&&","||","!","<",">","?","...",":"],symbols:/[=><!~?:&|+\-*\/\^%]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,terraformFunctions:/(abs|ceil|floor|log|max|min|pow|signum|chomp|format|formatlist|indent|join|lower|regex|regexall|replace|split|strrev|substr|title|trimspace|upper|chunklist|coalesce|coalescelist|compact|concat|contains|distinct|element|flatten|index|keys|length|list|lookup|map|matchkeys|merge|range|reverse|setintersection|setproduct|setunion|slice|sort|transpose|values|zipmap|base64decode|base64encode|base64gzip|csvdecode|jsondecode|jsonencode|urlencode|yamldecode|yamlencode|abspath|dirname|pathexpand|basename|file|fileexists|fileset|filebase64|templatefile|formatdate|timeadd|timestamp|base64sha256|base64sha512|bcrypt|filebase64sha256|filebase64sha512|filemd5|filemd1|filesha256|filesha512|md5|rsadecrypt|sha1|sha256|sha512|uuid|uuidv5|cidrhost|cidrnetmask|cidrsubnet|tobool|tolist|tomap|tonumber|toset|tostring)/,terraformMainBlocks:/(module|data|terraform|resource|provider|variable|output|locals)/,tokenizer:{root:[[/^@terraformMainBlocks([ \t]*)([\w-]+|"[\w-]+"|)([ \t]*)([\w-]+|"[\w-]+"|)([ \t]*)(\{)/,["type","","string","","string","","@brackets"]],[/(\w+[ \t]+)([ \t]*)([\w-]+|"[\w-]+"|)([ \t]*)([\w-]+|"[\w-]+"|)([ \t]*)(\{)/,["identifier","","string","","string","","@brackets"]],[/(\w+[ \t]+)([ \t]*)([\w-]+|"[\w-]+"|)([ \t]*)([\w-]+|"[\w-]+"|)(=)(\{)/,["identifier","","string","","operator","","@brackets"]],{include:"@terraform"}],terraform:[[/@terraformFunctions(\()/,["type","@brackets"]],[/[a-zA-Z_]\w*-*/,{cases:{"@keywords":{token:"keyword.$0"},"@default":"variable"}}],{include:"@whitespace"},{include:"@heredoc"},[/[{}()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"operator","@default":""}}],[/\d*\d+[eE]([\-+]?\d+)?/,"number.float"],[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float"],[/\d[\d']*/,"number"],[/\d/,"number"],[/[;,.]/,"delimiter"],[/"/,"string","@string"],[/'/,"invalid"]],heredoc:[[/<<[-]*\s*["]?([\w\-]+)["]?/,{token:"string.heredoc.delimiter",next:"@heredocBody.$1"}]],heredocBody:[[/([\w\-]+)$/,{cases:{"$1==$S2":[{token:"string.heredoc.delimiter",next:"@popall"}],"@default":"string.heredoc"}}],[/./,"string.heredoc"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"],[/#.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],string:[[/\$\{/,{token:"delimiter",next:"@stringExpression"}],[/[^\\"\$]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@popall"]],stringInsideExpression:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"]],stringExpression:[[/\}/,{token:"delimiter",next:"@pop"}],[/"/,"string","@stringInsideExpression"],{include:"@terraform"}]}}}}]);
|
||||
1
public/assets/js/monaco-language-html.c4cc0f74.js
Normal file
1
public/assets/js/monaco-language-html.c4cc0f74.js
Normal file
File diff suppressed because one or more lines are too long
4
public/assets/js/monaco-language-htmlmode.b6995470.js
Normal file
4
public/assets/js/monaco-language-htmlmode.b6995470.js
Normal file
File diff suppressed because one or more lines are too long
1
public/assets/js/monaco-language-ini.d260907f.js
Normal file
1
public/assets/js/monaco-language-ini.d260907f.js
Normal file
@ -0,0 +1 @@
|
||||
"use strict";(self.webpackChunk=self.webpackChunk||[]).push([["node_modules_monaco-editor_esm_vs_basic-languages_ini_ini_js"],{"./node_modules/monaco-editor/esm/vs/basic-languages/ini/ini.js":function(i,e,n){n.r(e),n.d(e,{conf:function(){return s},language:function(){return o}});var s={comments:{lineComment:"#"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}]},o={defaultToken:"",tokenPostfix:".ini",escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[[/^\[[^\]]*\]/,"metatag"],[/(^\w+)(\s*)(\=)/,["key","","delimiter"]],{include:"@whitespace"},[/\d+/,"number"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/'([^'\\]|\\.)*$/,"string.invalid"],[/"/,"string",'@string."'],[/'/,"string","@string.'"]],whitespace:[[/[ \t\r\n]+/,""],[/^\s*[#;].*$/,"comment"]],string:[[/[^\\"']+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/["']/,{cases:{"$#==$S2":{token:"string",next:"@pop"},"@default":"string"}}]]}}}}]);
|
||||
1
public/assets/js/monaco-language-java.3bfef3f1.js
Normal file
1
public/assets/js/monaco-language-java.3bfef3f1.js
Normal file
@ -0,0 +1 @@
|
||||
"use strict";(self.webpackChunk=self.webpackChunk||[]).push([["node_modules_monaco-editor_esm_vs_basic-languages_java_java_js"],{"./node_modules/monaco-editor/esm/vs/basic-languages/java/java.js":function(o,e,s){s.r(e),s.d(e,{conf:function(){return n},language:function(){return t}});var n={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\#\%\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"<",close:">"}],folding:{markers:{start:new RegExp("^\\s*//\\s*(?:(?:#?region\\b)|(?:<editor-fold\\b))"),end:new RegExp("^\\s*//\\s*(?:(?:#?endregion\\b)|(?:</editor-fold>))")}}},t={defaultToken:"",tokenPostfix:".java",keywords:["abstract","continue","for","new","switch","assert","default","goto","package","synchronized","boolean","do","if","private","this","break","double","implements","protected","throw","byte","else","import","public","throws","case","enum","instanceof","return","transient","catch","extends","int","short","try","char","final","interface","static","void","class","finally","long","strictfp","volatile","const","float","native","super","while","true","false","yield","record","sealed","non-sealed","permits"],operators:["=",">","<","!","~","?",":","==","<=",">=","!=","&&","||","++","--","+","-","*","/","&","|","^","%","<<",">>",">>>","+=","-=","*=","/=","&=","|=","^=","%=","<<=",">>=",">>>="],symbols:/[=><!~?:&|+\-*\/\^%]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,digits:/\d+(_+\d+)*/,octaldigits:/[0-7]+(_+[0-7]+)*/,binarydigits:/[0-1]+(_+[0-1]+)*/,hexdigits:/[[0-9a-fA-F]+(_+[0-9a-fA-F]+)*/,tokenizer:{root:[["non-sealed","keyword.non-sealed"],[/[a-zA-Z_$][\w$]*/,{cases:{"@keywords":{token:"keyword.$0"},"@default":"identifier"}}],{include:"@whitespace"},[/[{}()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/@\s*[a-zA-Z_\$][\w\$]*/,"annotation"],[/(@digits)[eE]([\-+]?(@digits))?[fFdD]?/,"number.float"],[/(@digits)\.(@digits)([eE][\-+]?(@digits))?[fFdD]?/,"number.float"],[/0[xX](@hexdigits)[Ll]?/,"number.hex"],[/0(@octaldigits)[Ll]?/,"number.octal"],[/0[bB](@binarydigits)[Ll]?/,"number.binary"],[/(@digits)[fFdD]/,"number.float"],[/(@digits)[lL]?/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"""/,"string","@multistring"],[/"/,"string","@string"],[/'[^\\']'/,"string"],[/(')(@escapes)(')/,["string","string.escape","string"]],[/'/,"string.invalid"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*\*(?!\/)/,"comment.doc","@javadoc"],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],javadoc:[[/[^\/*]+/,"comment.doc"],[/\/\*/,"comment.doc.invalid"],[/\*\//,"comment.doc","@pop"],[/[\/*]/,"comment.doc"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"]],multistring:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"""/,"string","@pop"],[/./,"string"]]}}}}]);
|
||||
1
public/assets/js/monaco-language-javascript.58403dc3.js
Normal file
1
public/assets/js/monaco-language-javascript.58403dc3.js
Normal file
@ -0,0 +1 @@
|
||||
"use strict";(self.webpackChunk=self.webpackChunk||[]).push([["node_modules_monaco-editor_esm_vs_basic-languages_javascript_javascript_js"],{"./node_modules/monaco-editor/esm/vs/basic-languages/javascript/javascript.js":function(i,a,s){s.r(a),s.d(a,{conf:function(){return t},language:function(){return n}});var e=s("./node_modules/monaco-editor/esm/vs/basic-languages/typescript/typescript.js");var t=e.conf,n={defaultToken:"invalid",tokenPostfix:".js",keywords:["break","case","catch","class","continue","const","constructor","debugger","default","delete","do","else","export","extends","false","finally","for","from","function","get","if","import","in","instanceof","let","new","null","return","set","static","super","switch","symbol","this","throw","true","try","typeof","undefined","var","void","while","with","yield","async","await","of"],typeKeywords:[],operators:e.language.operators,symbols:e.language.symbols,escapes:e.language.escapes,digits:e.language.digits,octaldigits:e.language.octaldigits,binarydigits:e.language.binarydigits,hexdigits:e.language.hexdigits,regexpctl:e.language.regexpctl,regexpesc:e.language.regexpesc,tokenizer:e.language.tokenizer}}}]);
|
||||
10
public/assets/js/monaco-language-jsonmode.a085312b.js
Normal file
10
public/assets/js/monaco-language-jsonmode.a085312b.js
Normal file
File diff suppressed because one or more lines are too long
1
public/assets/js/monaco-language-julia.e8e36d82.js
Normal file
1
public/assets/js/monaco-language-julia.e8e36d82.js
Normal file
File diff suppressed because one or more lines are too long
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user