PageSourceSearch

https://event-us.kr/Content/dist/js/EvEditor-vue.5c3289c14a70299b.js

js event-us.kr collected 2026-10-01 10:19:37 UTC 19,238 bytes, 1 lines download raw bytes

1"use strict";(self["webpackChunkeventus_ui"]=self["webpackChunkeventus_ui"]||[]).push([[3320],{67208:function(t,e,i){i.r(e),i.d(e,{default:function(){return A}});var o=i(70821);const n={key:0,class:"rounded-md border"},l={class:"flex flex-nowrap items-center space-x-2 overflow-auto bg-gray-50 p-4"},s={key:0,class:"p-0.5"},a=["title","onClick"],r=(0,o.createElementVNode)("div",{class:"border-b"},null,-1),c={class:"hidden"},h=["name","value"];function u(t,e,i,u,d,v){const g=(0,o.resolveComponent)("editor-content"),p=(0,o.resolveDirective)("dompurify-html");return u.editor?((0,o.openBlock)(),(0,o.createElementBlock)("div",n,[(0,o.createElementVNode)("div",l,[((0,o.openBlock)(!0),(0,o.createElementBlock)(o.Fragment,null,(0,o.renderList)(u.menus,((t,e)=>((0,o.openBlock)(),(0,o.createElementBlock)(o.Fragment,{key:e},["divider"===t.type?((0,o.openBlock)(),(0,o.createElementBlock)("div",s)):(0,o.withDirectives)(((0,o.openBlock)(),(0,o.createElementBlock)("button",{key:1,type:"button",class:(0,o.normalizeClass)(["rounded-md border p-1 shadow-sm",[v.isActive(t)?"bg-primary-300 text-white":"bg-white"]]),title:t.title,onClick:e=>v.action(t)},null,10,a)),[[p,t.icon]])],64)))),128))]),r,(0,o.createElementVNode)("div",null,[(0,o.createVNode)(g,{editor:u.editor},null,8,["editor"])]),(0,o.createElementVNode)("div",c,[(0,o.createElementVNode)("input",{ref:"imageInput",class:"hidden",type:"file",accept:"image/png, image/jpeg",hidden:"",onChange:e[0]||(e[0]=(...t)=>v.onFileChange&&v.onFileChange(...t))},null,544),(0,o.createElementVNode)("input",{class:"hidden",name:i.name,value:u.editorValue,hidden:""},null,8,h)])])):(0,o.createCommentVNode)("",!0)}var d=i(96915),v=i(80834),g=i(93237),p=i(96279),m=i(48510),w=i(26761),f=i(50601),H=i(8045),y=i(99404),b={components:{EditorContent:d.kg},props:{name:{type:String,default:null},modelValue:void 0,value:{type:String,default:null},placeholder:{type:String,default:null},minHeight:{type:[Number,String],default:null},maxHeight:{type:[Number,String],default:null},imageresize:{type:Boolean,default:!0},youtubeEnabled:{type:Boolean,default:!0}},emits:["update:modelValue"],setup(t,{emit:e}){const i=(0,o.ref)([]),n=(0,o.ref)(t.value??t.modelValue);function l(t){return"number"===typeof t||t?.match(/^[0-9]+$/)?`${t}px`:t}let s="";t.minHeight&&(s+=`min-height: ${l(t.minHeight)};`),t.maxHeight&&(s+=`max-height: ${l(t.maxHeight)};`);const a=(0,d.jE)({extensions:[v.Z,g.Z.configure({placeholder:t.placeholder}),p.Z.configure({types:["heading","paragraph"]}),m.Z,w.ZP.configure({inline:!0,HTMLAttributes:{style:"max-width: 100%; margin: 0; display: inline-block;"}}),f.ZP.configure({HTMLAttributes:{class:"bg-primary-100"}}),H.Z.configure({HTMLAttributes:{style:"width: 100%"}}),y.ZP.configure({openOnClick:!1})],content:n.value,onUpdate:({editor:t})=>{const i=t.getHTML();e("update:modelValue",i),n.value=i},editorProps:{attributes:{class:"prose max-w-full p-4 outline-none overflow-y-auto",style:s}}});return{editor:a,menus:i,editorValue:n}},mounted(){const t=this;t.$nextTick((()=>{const e=t.editor;t.menus=[{icon:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="20" height="20" fill="currentColor"><path fill="none" d="M0 0h24v24H0z"/><path d="M8 11h4.5a2.5 2.5 0 1 0 0-5H8v5zm10 4.5a4.5 4.5 0 0 1-4.5 4.5H6V4h6.5a4.5 4.5 0 0 1 3.256 7.606A4.498 4.498 0 0 1 18 15.5zM8 13v5h5.5a2.5 2.5 0 1 0 0-5H8z"/></svg>',title:"강조",action:()=>e.chain().focus().toggleBold().run(),isActive:()=>e.isActive("bold")},{icon:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="20" height="20" fill="currentColor"><path fill="none" d="M0 0h24v24H0z"/><path d="M8 3v9a4 4 0 1 0 8 0V3h2v9a6 6 0 1 1-12 0V3h2zM4 20h16v2H4v-2z"/></svg>',title:"밑줄",action:()=>e.chain().focus().toggleUnderline().run(),isActive:()=>e.isActive("underline")},{icon:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="20" height="20" fill="currentColor"><path fill="none" d="M0 0h24v24H0z"/><path d="M17.154 14c.23.516.346 1.09.346 1.72 0 1.342-.524 2.392-1.571 3.147C14.88 19.622 13.433 20 11.586 20c-1.64 0-3.263-.381-4.87-1.144V16.6c1.52.877 3.075 1.316 4.666 1.316 2.551 0 3.83-.732 3.839-2.197a2.21 2.21 0 0 0-.648-1.603l-.12-.117H3v-2h18v2h-3.846zm-4.078-3H7.629a4.086 4.086 0 0 1-.481-.522C6.716 9.92 6.5 9.246 6.5 8.452c0-1.236.466-2.287 1.397-3.153C8.83 4.433 10.271 4 12.222 4c1.471 0 2.879.328 4.222.984v2.152c-1.2-.687-2.515-1.03-3.946-1.03-2.48 0-3.719.782-3.719 2.346 0 .42.218.786.654 1.099.436.313.974.562 1.613.75.62.18 1.297.414 2.03.699z"/></svg>',title:"취소선",action:()=>e.chain().focus().toggleStrike().run(),isActive:()=>e.isActive("strike")},{icon:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="20" height="20" fill="currentColor"><path fill="none" d="M0 0h24v24H0z"/><path d="M15.95 2.393l5.657 5.657a1 1 0 0 1 0 1.414l-7.779 7.779-2.12.707-1.415 1.414a1 1 0 0 1-1.414 0l-4.243-4.243a1 1 0 0 1 0-1.414l1.414-1.414.707-2.121 7.779-7.779a1 1 0 0 1 1.414 0zm.707 3.536l-6.364 6.364 1.414 1.414 6.364-6.364-1.414-1.414zM4.282 16.889l2.829 2.829-1.414 1.414-4.243-1.414 2.828-2.829z"/></svg>',title:"하이라이트",action:()=>e.chain().focus().toggleHighlight({color:"#5c3fbf"}).run(),isActive:()=>e.isActive("highlight")},{type:"divider"},{icon:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="20" height="20" fill="currentColor"><path fill="none" d="M0 0h24v24H0z"/><path d="M3 4h18v2H3V4zm0 15h14v2H3v-2zm0-5h18v2H3v-2zm0-5h14v2H3V9z"/></svg>',title:"왼쪽 정렬",action:()=>e.chain().focus().setTextAlign("left").run(),isActive:()=>e.isActive({textAlign:"left"})},{icon:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="20" height="20" fill="currentColor"><path fill="none" d="M0 0h24v24H0z"/><path d="M3 4h18v2H3V4zm2 15h14v2H5v-2zm-2-5h18v2H3v-2zm2-5h14v2H5V9z"/></svg>',title:"중앙 정렬",action:()=>e.chain().focus().setTextAlign("center").run(),isActive:()=>e.isActive({textAlign:"center"})},{icon:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="20" height="20" fill="currentColor"><path fill="none" d="M0 0h24v24H0z"/><path d="M3 4h18v2H3V4zm4 15h14v2H7v-2zm-4-5h18v2H3v-2zm4-5h14v2H7V9z"/>
1</svg>',title:"오른쪽 정렬",action:()=>e.chain().focus().setTextAlign("right").run(),isActive:()=>e.isActive({textAlign:"right"})},{type:"divider"},{icon:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="20" height="20" fill="currentColor"><path fill="none" d="M0 0H24V24H0z"/><path d="M13 20h-2v-7H4v7H2V4h2v7h7V4h2v16zm8-12v12h-2v-9.796l-2 .536V8.67L19.5 8H21z"/></svg>',title:"가장 크게",action:()=>e.chain().focus().toggleHeading({level:1}).run(),isActive:()=>e.isActive("heading",{level:1})},{icon:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="20" height="20" fill="currentColor"><path fill="none" d="M0 0H24V24H0z"/><path d="M4 4v7h7V4h2v16h-2v-7H4v7H2V4h2zm14.5 4c2.071 0 3.75 1.679 3.75 3.75 0 .857-.288 1.648-.772 2.28l-.148.18L18.034 18H22v2h-7v-1.556l4.82-5.546c.268-.307.43-.709.43-1.148 0-.966-.784-1.75-1.75-1.75-.918 0-1.671.707-1.744 1.606l-.006.144h-2C14.75 9.679 16.429 8 18.5 8z"/></svg>',title:"중간 크게",action:()=>e.chain().focus().toggleHeading({level:2}).run(),isActive:()=>e.isActive("heading",{level:2})},{icon:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="20" height="20" fill="currentColor"><path fill="none" d="M0 0H24V24H0z"/><path d="M22 8l-.002 2-2.505 2.883c1.59.435 2.757 1.89 2.757 3.617 0 2.071-1.679 3.75-3.75 3.75-1.826 0-3.347-1.305-3.682-3.033l1.964-.382c.156.806.866 1.415 1.718 1.415.966 0 1.75-.784 1.75-1.75s-.784-1.75-1.75-1.75c-.286 0-.556.069-.794.19l-1.307-1.547L19.35 10H15V8h7zM4 4v7h7V4h2v16h-2v-7H4v7H2V4h2z"/></svg>',title:"조금 크게",action:()=>e.chain().focus().toggleHeading({level:3}).run(),isActive:()=>e.isActive("heading",{level:3})},{type:"divider"},{icon:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="20" height="20" fill="currentColor"><path fill="none" d="M0 0h24v24H0z"/><path d="M8 4h13v2H8V4zM4.5 6.5a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3zm0 7a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3zm0 6.9a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3zM8 11h13v2H8v-2zm0 7h13v2H8v-2z"/></svg>',title:"순서없는 리스트",action:()=>e.chain().focus().toggleBulletList().run(),isActive:()=>e.isActive("bulletList")},{icon:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="20" height="20" fill="currentColor"><path fill="none" d="M0 0h24v24H0z"/><path d="M8 4h13v2H8V4zM5 3v3h1v1H3V6h1V4H3V3h2zM3 14v-2.5h2V11H3v-1h3v2.5H4v.5h2v1H3zm2 5.5H3v-1h2V18H3v-1h3v4H3v-1h2v-.5zM8 11h13v2H8v-2zm0 7h13v2H8v-2z"/></svg>',title:"순서있는 리스트",action:()=>e.chain().focus().toggleOrderedList().run(),isActive:()=>e.isActive("orderedList")},{type:"divider"},{icon:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="20" height="20" fill="currentColor"><path fill="none" d="M0 0h24v24H0z"/><path d="M4.583 17.321C3.553 16.227 3 15 3 13.011c0-3.5 2.457-6.637 6.03-8.188l.893 1.378c-3.335 1.804-3.987 4.145-4.247 5.621.537-.278 1.24-.375 1.929-.311 1.804.167 3.226 1.648 3.226 3.489a3.5 3.5 0 0 1-3.5 3.5c-1.073 0-2.099-.49-2.748-1.179zm10 0C13.553 16.227 13 15 13 13.011c0-3.5 2.457-6.637 6.03-8.188l.893 1.378c-3.335 1.804-3.987 4.145-4.247 5.621.537-.278 1.24-.375 1.929-.311 1.804.167 3.226 1.648 3.226 3.489a3.5 3.5 0 0 1-3.5 3.5c-1.073 0-2.099-.49-2.748-1.179z"/></svg>',title:"인용문",action:()=>e.chain().focus().toggleBlockquote().run(),isActive:()=>e.isActive("blockquote")},{icon:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="20" height="20" fill="currentColor"><path fill="none" d="M0 0h24v24H0z"/><path d="M17 21v-4H7v4H5v-5a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1v5h-2zM7 3v4h10V3h2v5a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V3h2zM2 9l4 3-4 3V9zm20 0v6l-4-3 4-3z"/></svg>',title:"문단 나누기",action:()=>e.chain().focus().setHorizontalRule().run()},{type:"divider"},{icon:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="20" height="20" fill="currentColor"><path fill="none" d="M0 0h24v24H0z"/><path d="M21 15v3h3v2h-3v3h-2v-3h-3v-2h3v-3h2zm.008-12c.548 0 .992.445.992.993V13h-2V5H4v13.999L14 9l3 3v2.829l-3-3L6.827 19H14v2H2.992A.993.993 0 0 1 2 20.007V3.993A1 1 0 0 1 2.992 3h18.016zM8 7a2 2 0 1 1 0 4 2 2 0 0 1 0-4z"/></svg>',title:"이미지 추가",action:()=>t.setImage(),isActive:()=>e.isActive("image")},...t.youtubeEnabled?[{icon:'<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="currentColor"><path d="M23.5 6.1a3 3 0 0 0-2.2-2.2c-1.7-.4-9.3-.4-9.3-.4s-7.6 0-9.3.4A3 3 0 0 0 .5 6.1C0 8.8 0 12 0 12s0 3.2.5 5.9a3 3 0 0 0 2.2 2.2c1.7.4 9.3.4 9.3.4s7.6 0 9.3-.4a3 3 0 0 0 2.2-2.2c.5-2.7.5-5.9.5-5.9s0-3.2-.5-5.9zM9.9 15.5v-7l6 3.5-6 3.5z"/></svg>',title:"유튜브 추가",action(){const t=prompt("유튜브 주소를 입력해 주세요.");try{const i=new URL(t),o=i.searchParams.get("v")||i.pathname.split("/")[1];if("www.youtube.com"===i.hostname&&("/watch"===i.pathname||i.pathname.startsWith("/live"))||"youtu.be"===i.hostname&&11===o.length){const n="youtu.be"===i.hostname?`https://www.youtube.com/watch?v=${o}`:t;e.chain().focus().setYoutubeVideo({src:n}).run()}else alert("올바른 유튜브 주소를 입력해 주세요.")}catch(i){alert("올바른 유튜브 주소를 입력해 주세요.")}},isActive:()=>e.isActive("youtube")}]:[],{icon:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="20" height="20" fill="currentColor"><path fill-rule="evenodd" d="M19.902 4.098a3.75 3.75 0 00-5.304 0l-4.5 4.5a3.75 3.75 0 001.035 6.037.75.75 0 01-.646 1.353 5.25 5.25 0 01-1.449-8.45l4.5-4.5a5.25 5.25 0 117.424 7.424l-1.757 1.757a.75.75 0 11-1.06-1.06l1.757-1.757a3.75 3.75 0 000-5.304zm-7.389 4.267a.75.75 0 011-.353 5.25 5.25 0 011.449 8.45l-4.5 4.5a5.25 5.25 0 11-7.424-7.424l1.757-1.757a.75.75 0 111.06 1.06l-1.757 1.757a3.75 3.75 0 105.304 5.304l4.5-4.5a3.75 3.75 0 00-1.035-6.037.75.75 0 01-.354-1z" clip-rule="evenodd" /></svg>',title:"링크 추가",action(){const t=e.getAttributes("link").href;if(t)return void e.chain().focus().extendMarkRange("link").toggleLink({href:t}).run();const i=window.prompt("URL");null!==i&&""!==i&&e.chain().focus().extendMarkRange("link").toggleLink({href:i}).run()},isActive:()=>e.isActive("link")},{type:"divider"},{icon:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="20" height="20" fill="currentColor"><path fill="none" d="M0 0h24v24H0z"/><path d="M12 10.586l4.95-4.95 1.414 1.414-4.95 4.95 4.95 4.95-1.414 1.414-4.95-4.95-4.95 4.95-1.414-1.414 4.95-4.95-4.95-4.95L7.05 5.636z"/></svg>',title:"포멧 초기화",action:()=>e.chain().focus().clearNodes().unsetAllMarks().run()},{type:"divider"},{icon:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="20" height="20" fill="currentColor"><path fill="none" d="M0 0h24v24H0z"/>
1<path d="M5.828 7l2.536 2.536L6.95 10.95 2 6l4.95-4.95 1.414 1.414L5.828 5H13a8 8 0 1 1 0 16H4v-2h9a6 6 0 1 0 0-12H5.828z"/></svg>',title:"실행 취소",action:()=>e.chain().focus().undo().run()},{icon:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="20" height="20" fill="currentColor"><path fill="none" d="M0 0h24v24H0z"/><path d="M18.172 7H11a6 6 0 1 0 0 12h9v2h-9a8 8 0 1 1 0-16h7.172l-2.536-2.536L17.05 1.05 22 6l-4.95 4.95-1.414-1.414L18.172 7z"/></svg>',title:"다시 실행",action:()=>e.chain().focus().redo().run()}]}))},methods:{isActive(t){return!!t.isActive&&t.isActive(this.editor)},action(t){t.action&&t.action(this.editor)},setImage(){this.$refs.imageInput.click()},onFileChange(t){const e=this,[i]=t.target.files;if(i){if(!i.type.includes("image"))return void e.onFileError("이미지만 업로드 가능합니다.");if(i.size>3145728)return void e.onFileError("용량이 3mb이하인 파일만 가능합니다.");const o=new FormData;o.append("fileToUpload",i),o.append("location","path"+location.pathname),o.append("resize",e.imageresize),axios.post("/file/UploadImage",o).then((t=>{const{url:i}=t.data;e.editor.chain().focus().setImage({src:i}).run()})),t.target.value=null}},onFileError(t){ui?ui.alert(t):alert(t),this.$refs.imageInput.value=null}}},z=i(83744);const M=(0,z.Z)(b,[["render",u]]);var A=M},26761:function(t,e,i){i.d(e,{ZP:function(){return l}});var o=i(42752);const n=/(?:^|\s)(!\[(.+|:?)]\((\S+)(?:(?:\s+)["'](\S+)["'])?\))$/,l=o.NB.create({name:"image",addOptions(){return{inline:!1,allowBase64:!1,HTMLAttributes:{}}},inline(){return this.options.inline},group(){return this.options.inline?"inline":"block"},draggable:!0,addAttributes(){return{src:{default:null},alt:{default:null},title:{default:null}}},parseHTML(){return[{tag:this.options.allowBase64?"img[src]":'img[src]:not([src^="data:"])'}]},renderHTML({HTMLAttributes:t}){return["img",(0,o.P1)(this.options.HTMLAttributes,t)]},addCommands(){return{setImage:t=>({commands:e})=>e.insertContent({type:this.name,attrs:t})}}
1,addInputRules(){return[(0,o.x2)({find:n,type:this.type,getAttributes:t=>{const[,,e,i,o]=t;return{src:i,alt:e,title:o}}})]}})},48510:function(t,e,i){i.d(e,{Z:function(){return n}});var o=i(42752);const n=o.vc.create({name:"underline",addOptions(){return{HTMLAttributes:{}}},parseHTML(){return[{tag:"u"},{style:"text-decoration",consuming:!1,getAttrs:t=>!!t.includes("underline")&&{}}]},renderHTML({HTMLAttributes:t}){return["u",(0,o.P1)(this.options.HTMLAttributes,t),0]},addCommands(){return{setUnderline:()=>({commands:t})=>t.setMark(this.name),toggleUnderline:()=>({commands:t})=>t.toggleMark(this.name),unsetUnderline:()=>({commands:t})=>t.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-u":()=>this.editor.commands.toggleUnderline(),"Mod-U":()=>this.editor.commands.toggleUnderline()}}})},8045:function(t,e,i){i.d(e,{Z:function(){return c}});var o=i(42752);const n=/^(https?:\/\/)?(www\.|music\.)?(youtube\.com|youtu\.be)(?!.*\/channel\/)(?!\/@)(.+)?$/,l=/^(https?:\/\/)?(www\.|music\.)?(youtube\.com|youtu\.be)(?!.*\/channel\/)(?!\/@)(.+)?$/g,s=t=>t.match(n),a=t=>t?"https://www.youtube-nocookie.com/embed/":"https://www.youtube.com/embed/",r=t=>{const{url:e,allowFullscreen:i,autoplay:o,ccLanguage:n,ccLoadPolicy:l,controls:s,disableKBcontrols:r,enableIFrameApi:c,endTime:h,interfaceLanguage:u,ivLoadPolicy:d,loop:v,modestBranding:g,nocookie:p,origin:m,playlist:w,progressBarColor:f,startAt:H}=t;if(e.includes("/embed/"))return e;if(e.includes("youtu.be")){const t=e.split("/").pop();return t?`${a(p)}${t}`:null}const y=/v=([-\w]+)/gm,b=y.exec(e);if(!b||!b[1])return null;let z=`${a(p)}${b[1]}`;const M=[];return!1===i&&M.push("fs=0"),o&&M.push("autoplay=1"),n&&M.push(`cc_lang_pref=${n}`),l&&M.push("cc_load_policy=1"),s||M.push("controls=0"),r&&M.push("disablekb=1"),c&&M.push("enablejsapi=1"),h&&M.push(`end=${h}`),u&&M.push(`hl=${u}`),d&&M.push(`iv_load_policy=${d}`),v&&M.push("loop=1"),g&&M.push("modestbranding=1"),m&&M.push(`origin=${m}`),w&&M.push(`playlist=${w}`),H&&M.push(`start=${H}`),f&&M.push(`color=${f}`),M.length&&(z+=`?${M.join("&")}`),z},c=o.NB.create({name:"youtube",addOptions(){return{addPasteHandler:!0,allowFullscreen:!0,autoplay:!1,ccLanguage:void 0,ccLoadPolicy:void 0,controls:!0,disableKBcontrols:!1,enableIFrameApi:!1,endTime:0,height:480,interfaceLanguage:void 0,ivLoadPolicy:0,loop:!1,modestBranding:!1,HTMLAttributes:{},inline:!1,nocookie:!1,origin:"",playlist:"",progressBarColor:void 0,width:640}},inline(){return this.options.inline},group(){return this.options.inline?"inline":"block"},draggable:!0,addAttributes(){return{src:{default:null},start:{default:0},width:{default:this.options.width},height:{default:this.options.height}}},parseHTML(){return[{tag:"div[data-youtube-video] iframe"}]},addCommands(){return{setYoutubeVideo:t=>({commands:e})=>!!s(t.src)&&e.insertContent({type:this.name,attrs:t})}},addPasteRules(){return this.options.addPasteHandler?[(0,o.Ss)({find:l,type:this.type,getAttributes:t=>({src:t.input})})]:[]},renderHTML({HTMLAttributes:t}){const e=r({url:t.src,allowFullscreen:this.options.allowFullscreen,autoplay:this.options.autoplay,ccLanguage:this.options.ccLanguage,ccLoadPolicy:this.options.ccLoadPolicy,controls:this.options.controls,disableKBcontrols:this.options.disableKBcontrols,enableIFrameApi:this.options.enableIFrameApi,endTime:this.options.endTime,interfaceLanguage:this.options.interfaceLanguage,ivLoadPolicy:this.options.ivLoadPolicy,loop:this.options.loop,modestBranding:this.options.modestBranding,nocookie:this.options.nocookie,origin:this.options.origin,playlist:this.options.playlist,progressBarColor:this.options.progressBarColor,startAt:t.start||0});return t.src=e,["div",{"data-youtube-video":""},["iframe",(0,o.P1)(this.options.HTMLAttributes,{width:this.options.width,height:this.options.height,allowfullscreen:this.options.allowFullscreen,autoplay:this.options.autoplay,ccLanguage:this.options.ccLanguage,ccLoadPolicy:this.options.ccLoadPolicy,disableKBcontrols:this.options.disableKBcontrols,enableIFrameApi:this.options.enableIFrameApi,endTime:this.options.endTime,interfaceLanguage:this.options.interfaceLanguage,ivLoadPolicy:this.options.ivLoadPolicy,loop:this.options.loop,modestBranding:this.options.modestBranding,origin:this.options.origin,playlist:this.options.playlist,progressBarColor:this.options.progressBarColor},t)]]}})}}]);

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.