UNPKG

n8n-editor-ui

Version:

Workflow Editor UI for n8n

2 lines 2.33 kB
!function(){try{("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{}).SENTRY_RELEASE={id:"n8n@2.13.4"}}catch(e){}}(),System.register(["./vue.runtime.esm-bundler-legacy-IafOlCW8.js","./_plugin-vue_export-helper-legacy-DEZAmQqp.js"],(function(e,n){var t,o,s,l,i,a,c,r,d,u,f,y,p,g,_;function h(e,n){if(!n)return[{isMatched:!1,content:e}];const t=new RegExp(`(${o=n,o.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")})`,"i");var o;return e.split(t).map((e=>({isMatched:t.test(e),content:e}))).filter((e=>""!==e.content))}return e("n",h),{setters:[function(e){t=e.$,o=e.A,s=e.E,l=e.N,i=e.S,a=e.Sn,c=e.T,r=e._,d=e._n,u=e.rt},function(e){f=e.t}],execute:function(){(y=document.createElement("style")).textContent=":root ._content_1h423_125 ._newLine_1h423_125{font-family:var(--font-family--monospace);color:var(--line-break--color);padding-right:2px}\n/*$vite$:1*/",document.head.appendChild(y);try{n="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},(b=(new n.Error).stack)&&(n._sentryDebugIds=n._sentryDebugIds||{},n._sentryDebugIds[b]="e44087d8-8282-483a-ade6-3ba33279f041",n._sentryDebugIdIdentifier="sentry-dbid-e44087d8-8282-483a-ade6-3ba33279f041")}catch(n){}var n,b;p={key:0},g=["textContent"],_=l({__name:"TextWithHighlights",props:{content:{type:[String,Object,Number,Boolean,null]},search:{}},setup(e){const n=e,l=i((()=>n.search&&"string"==typeof n.content?h(n.content,n.search):[]));return(e,i)=>l.value.length&&"string"==typeof n.content?(t(),s("span",p,[(t(!0),s(r,null,u(l.value,((e,n)=>(t(),s(r,null,[e.isMatched&&e.content?(t(),s("mark",{key:`mark-${n}`},a(e.content),1)):e.content?(t(),s("span",{key:`span-${n}`},a(e.content),1)):c("",!0)],64)))),256))])):(t(),s("span",{key:1,class:d(e.$style.content)},["string"==typeof n.content?(t(!0),s(r,{key:0},u(n.content.split("\n"),((n,l)=>(t(),s("span",{key:`line-${l}`},[l>0?(t(),s("span",{key:0,class:d(e.$style.newLine)},"\\n",2)):c("",!0),o(a(n),1)])))),128)):(t(),s("span",{key:1,textContent:a(n.content)},null,8,g))],2))}}),e("t",f(_,[["__cssModules",{$style:{content:"_content_1h423_125",newLine:"_newLine_1h423_125"}}]]))}}})); //# sourceMappingURL=TextWithHighlights-legacy-SPWDY5kZ.js.map