1"use strict";(globalThis.webpackChunkwips_components_scripts||=[]).push([[3164],{c68b01fa495f341d(e,t,a){a.r(t),a.d(t,{default:()=>m});var d=a("b641633d6c906d19"),i=a("a54fa6d0a722ba3f"),l=a("99c472be6da17922"),s=a("ab673ee546258fe0"),o=a("0dc5bc842dc3381f"),n=a.n(o);a("7dd246b6095ee159"),a("5d076560f2abe54c"),a("3255d4d284777e9f"),a("35d6c119b2f9ca8f"),a("14f496f464cdc467"),a("79900c0beeb093c8"),n();const c=["aria-disabled"],r={model:{prop:"modelValue",event:"update:modelValue"},props:{disabled:{type:Boolean,default:!1},lang:{type:String,default:()=>"html"},modelValue:{type:String,default:()=>""},height:{type:String,default:()=>"20em"}},emits:["update:modelValue","focus","blur"],data(){let e=()=>{};return{editorInstance:new Promise(t=>{e=t}),editorInstanceResolve:e}},watch:{disabled:{immediate:!0,async handler(){(await this.editorInstance).setReadOnly(this.disabled)}}},computed:{proxiedHtml:{get(){return this.modelValue??""},set(e){this.$emit("update:modelValue",e)}}},methods:{async focus(){(await this.editorInstance).focus()},async editorInit(e){this.editorInstanceResolve(e)}}},u=Object.assign(r,{__name:"SourceEditor",setup:e=>(t,a)=>((0,d.uX)(),(0,d.CE)("div",{class:"html-editor-wrapper","aria-disabled":e.disabled||void 0},[(0,d.bF)((0,i.R1)(s.f),{theme:"chrome",style:(0,l.Tr)({height:e.height,width:"100%"}),value:t.proxiedHtml,"onUpdate:value":a[0]||(a[0]=e=>t.proxiedHtml=e),lang:e.lang,onInit:t.editorInit,onFocus:a[1]||(a[1]=e=>t.$emit("focus")),onBlur:a[2]||(a[2]=e=>t.$emit("blur"))},null,8,["style","value","lang","onInit"])],8,c))}),m=(0,a("461bee8a7784aa7f").A)(u,[["__scopeId","data-v-03c2d199"]])}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.