1import{PageElementBase as a}from"./CdQXFjpm.js";import{t as n}from"./CATxlt2j.js";import"./CXTOca8g.js";import"./0xmjySIm.js";class t extends a{constructor(i="root",e){super(i,e),this.widgetType="PageUnknownElement",this.widgetName="Unknown Element",this.component="PageUnknownElement",this.icon={icon:"empty",pack:"cms"},this.pseudoWidgetType="widget",this.getSidebarTabs=()=>[{name:"Layout",disabled:!0,fields:this.buildLayoutFields()},{name:"Content",fields:this.buildContentFields(),default:!0},{name:"Style",fields:this.buildStyleFields(),disabled:!0}],Object.assign(this,n(e)),this.rawData={...this},this.rawDataString=JSON.stringify({...super.serializeBaseElement(),...this.rawData})}buildContentFields(){return[{heading:"Content",options:[{type:"textarea",attributeKey:"rawDataString"}]}]}duplicateElement(){return new t(this.parentID,{...JSON.parse(this.rawDataString)})}serializeElement(){return{...super.serializeBaseElement(),...JSON.parse(this.rawDataString||"{}")}}}export{t as PageUnknownElementModel};
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.