PageSourceSearch

https://prywatnilublin.org/6079.7375b8613970a65b.js

js prywatnilublin.org collected 2026-10-09 01:54:24 UTC 21,253 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[6079],{8518:(U,b,s)=>{s.d(b,{o:()=>O});var t=s(9671),l=s(2382),P=s(7575),E=s(2483),C=s(5e3),_=s(7438),w=s(225);let O=(()=>{class y{constructor(o,e,c){this.route=o,this.router=e,this.notificationService=c,this.saving=!1,this.entity=null,this.backRoute=[],this.skipFormFields=[],this.initForm()}get c(){return this.form.controls}initForm(){this.form=new l.cw({})}ngOnInit(){var o=this;return(0,t.Z)(function*(){o.route.params.subscribe(o.handleParamChanges.bind(o))})()}handleParamChanges(o){var e=this;return(0,t.Z)(function*(){o.id&&(!e.entity||e.entity.id!==o.id)&&(yield e.loadEntity(o.id))})()}loadEntity(o){var e=this;return(0,t.Z)(function*(){const c=yield e.dataService.get({id:o});return!!c.success&&(e.entity=E.ox.hydrate(e.entity,c.entity),e.setFormValues(),yield e.afterLoad(e.entity,c),c)})()}afterLoad(o,e){return(0,t.Z)(function*(){})()}setFormValues(){for(const o in this.form.controls){if(!this.form.controls.hasOwnProperty(o)||this.skipFormFields.indexOf(o)>=0)continue;const e=this.form.get(o),c=this.entity[o];if(Array.isArray(c)&&e instanceof l.Oe)for(const f of c)if("object"==typeof f){const m={};for(const p in f)!f.hasOwnProperty(p)||(m[p]=new l.NI(f[p]));e.push(new l.cw(m))}else e.push(new l.NI(f));else e.setValue(c instanceof P.ou?c.getString("YYYY-MM-DDTHH:mm",!0):this.entity[o])}}fInvalid(o){const e=this.form.controls[o];return e.touched&&e.invalid}validateForm(){if(!this.form.valid){for(const o of Object.values(this.form.controls))o.markAsTouched();return!1}return!0}translateField(o){return o}translateError(o){if("field-too-short"===o)return"Pole jest zbyt kr\xf3tkie"}save(){var o=this;return(0,t.Z)(function*(e=!0){if(!o.validateForm())return;o.saving=!0;const c=o.form.value,f=yield o.transformFormToData(c),m=yield o.dataService.save(f);if(!m.success){const p=[];if(m.messages&&m.messages.length>0)for(const A of m.messages)p.push(`Pole ${o.translateField(A.field)}: ${o.translateError(A.message)}`);return m.message&&p.push(o.translateError(m.message)),o.notificationService.error({title:"B\u0142\u0105d zapisu",message:p.join(", ")}),void(o.saving=!1)}return o.notificationService.success({title:"Sukces",message:"Zapisano poprawnie!"}),yield o.afterSave(m),e&&(yield o.navigateBack()),o.saving=!1,m}).apply(this,arguments)}saveAndStay(){var o=this;return(0,t.Z)(function*(){const e=yield o.save(!1);o.saving=!0,(null==e?void 0:e.success)&&(yield o.navigateSelf(e.entity.id)),o.saving=!1})()}afterSave(o){return(0,t.Z)(function*(){})()}navigateBack(){var o=this;return(0,t.Z)(function*(){yield o.router.navigate(o.backRoute)})()}navigateSelf(o){var e=this;return(0,t.Z)(function*(){if(!e.selfRoute)throw new Error("self route is not defined");yield e.router.navigate(o?[...e.selfRoute,o]:e.selfRoute)})()}transformFormToData(o){var e=this;return(0,t.Z)(function*(){const c=Object.assign({},o),f=Reflect.getMetadata("FieldType",e.entity),m=E.ox.getClassProperties(e.entity);for(const p of m)f&&f[p]&&"datetime"===f[p].type&&c[p]&&(c[p]=new Date(c[p]).toISOString());return yield e.additionalFormData(o,c),E.ox.hydrate(e.entity,c),E.ox.dehydrate(e.entity)})()}additionalFormData(o,e){return(0,t.Z)(function*(){})()}}return y.\u0275fac=function(o){return new(o||y)(C.Y36(_.gz),C.Y36(_.F0),C.Y36(w.g))},y.\u0275cmp=C.Xpm({type:y,selectors:[["ng-component"]],decls:0,vars:0,template:function(o,e){},encapsulation:2}),y})()},7544:(U,b,s)=>{s.r(b),s.d(b,{ProjectAdminModule:()=>V,routing:()=>R});var t=s(9808),l=s(2382),P=s(7438),E=s(213),C=s(8798),_=s(4537),w=s(9671),O=s(1856),y=s(7838),D=s(2135),o=s(4402),e=s(5e3),c=s(225),f=s(2331);function m(d,v){if(1&d&&e._UZ(0,"img",12),2&d){const a=e.oxw().$implicit;e.Q6J("src",a.mainImageUrl,e.LSH)("alt",a.title)}}function p(d,v){1&d&&(e.TgZ(0,"span",13),e._uU(1,"Tak"),e.qZA())}function A(d,v){1&d&&(e.TgZ(0,"span",14),e._uU(1,"Nie"),e.qZA())}function Z(d,v){if(1&d){const a=e.EpF();
1e.TgZ(0,"tr")(1,"td"),e.YNc(2,m,1,2,"img",6),e.qZA(),e.TgZ(3,"td"),e._uU(4),e.qZA(),e.TgZ(5,"td"),e.YNc(6,p,2,0,"span",7),e.YNc(7,A,2,0,"span",8),e.qZA(),e.TgZ(8,"td")(9,"span",9)(10,"i",10),e.NdJ("click",function(){const n=e.CHM(a).$implicit;return e.oxw().startEdit(n)}),e.qZA(),e.TgZ(11,"i",11),e.NdJ("click",function(){const n=e.CHM(a).$implicit;return e.oxw().startRemove(n)}),e.qZA()()()()}if(2&d){const a=v.$implicit;e.xp6(2),e.Q6J("ngIf",a.mainImageUrl),e.xp6(2),e.hij(" ",a.title," "),e.xp6(2),e.Q6J("ngIf",a.archived),e.xp6(1),e.Q6J("ngIf",!a.archived)}}let z=(()=>{class d extends O.D{constructor(a,r,h,n){super(r,h,n),this.auth=a,this.entities=[],this.entityClass=y.I,this.title="Project",this.navButtons=[{name:"Dodaj",icon:"icon-plus",routerLink:["/admin","project","project-form"]}]}startEdit(a){var r=this;return(0,w.Z)(function*(){yield r.router.navigate(["/admin","project","project-form",a.id])})()}}return d.\u0275fac=function(a){return new(a||d)(e.Y36(o.e),e.Y36(e.zs3),e.Y36(D.m),e.Y36(c.g))},d.\u0275cmp=e.Xpm({type:d,selectors:[["ng-component"]],features:[e.qOj],decls:15,vars:7,consts:[[3,"pager","filterSubject","tableConfig","pageChanged","perPageChanged"],[1,"row"],[1,"col-sm-12","table-responsive"],[1,"table","table-striped","table-bordered"],["role","row"],[4,"ngFor","ngForOf"],["style","max-height: 40px; max-width: 60px",3,"src","alt",4,"ngIf"],["class","badge bg-success",4,"ngIf"],["class","badge bg-danger",4,"ngIf"],[1,"btn-group"],["title","Edytuj",1,"icon-edit","cursor-pointer",3,"click"],["title","Usu\u0144",1,"icon-remove","cursor-pointer",3,"click"],[2,"max-height","40px","max-width","60px",3,"src","alt"],[1,"badge","bg-success"],[1,"badge","bg-danger"]],template:function(a,r){1&a&&(e.TgZ(0,"crud-table-toolbar",0),e.NdJ("pageChanged",function(n){return r.pageChanged(n)})("perPageChanged",function(n){return r.perPageChange(n)}),e.qZA(),e.TgZ(1,"div",1)(2,"div",2)(3,"table",3)(4,"thead")(5,"tr",4),e._UZ(6,"th"),e.TgZ(7,"th"),e._uU(8,"Tytu\u0142"),e.qZA(),e.TgZ(9,"th"),e._uU(10,"Archiwalny"),e.qZA(),e._UZ(11,"th"),e.qZA()(),e.TgZ(12,"tbody"),e.YNc(13,Z,12,4,"tr",5),e.qZA()()()(),e.TgZ(14,"crud-table-toolbar",0),e.NdJ("pageChanged",function(n){return r.pageChanged(n)})("perPageChanged",function(n){return r.perPageChange(n)}),e.qZA()),2&a&&(e.Q6J("pager",r.page)("filterSubject",r.filterSubject)("tableConfig",r.tableConfig),e.xp6(13),e.Q6J("ngForOf",r.entities),e.xp6(1),e.Q6J("pager",r.page)("filterSubject",r.filterSubject)("tableConfig",r.tableConfig))},directives:[f.U,t.sg,t.O5],encapsulation:2}),d})();var I=s(5557),x=s(2483),N=s(8518),Y=s(9698),L=s(7644),J=s(2318),j=s(1908);let k=(()=>{class d extends N.o{constructor(a,r,h,n){super(a,r,h),this.dataService=n,this.entity=new y.I,this.backRoute=["/admin","project","project"],this.title="Dodaj/Edytuj Projekt",this.navButtons=[{name:"Powr\xf3t",icon:"icon-chevron-left",routerLink:this.backRoute}],this.editorConfig=L.O,this.image=null,this.files=[],this.categoryList=[]}initForm(){this.form=new l.cw({title:new l.NI("",[l.kI.required]),slug:new l.NI(""),description:new l.NI("",[l.kI.required]),shortDescription:new l.NI("",[l.kI.required]),url:new l.NI(""),image:new l.NI(null),archived:new l.NI(!0)})}setFormValues(){super.setFormValues(),this.entity.image&&(this.files=[new File([],this.entity.image)])}getImageUrl(a){return Y.v.apiUrl+"/api/forum/category/image/"+a}transformFormToData(a){var r=this;return(0,w.Z)(function*(){x.ox.hydrate(r.entity,a);const h=x.ox.dehydrate(r.entity),n=yield I.T.readFile(r.image);return n?h.image=n:0===r.files.length&&(h.image=null),h})()}imageSelected(a){this.image=a[0]||null}}return d.\u0275fac=function(a){return new(a||d)(e.Y36(P.gz),e.Y36(P.F0),e.Y36(c.g),e.Y36(D.m))},d.\u0275cmp=e.Xpm({type:d,selectors:[["ng-component"]],features:[e.qOj],decls:37,vars:7,consts:[[1,"quick-contact-form","nobottommargin",3,"formGroup","ngSubmit"],[1,"row"],[1,"form-group","col-6"],["for","entity-name"],["id","entity-name","type","text","formControlName","title",1,"form-control"],["for","entity-slug"],["id","entity-slug","type","text","formControlName","slug",1,"form-control"],["for","entity-image"],["dropimage","","id","entity-image","formControlName","image",1,"bg-white",3,"imageUrl","files","filesChange"],["for","entity-url"],["id","entity-url","type","text","formControlName","url",1,"form-control"],[1,"form-group","col-12"],["type","checkbox","formControlName","archived"],[1,"mb-3","col-12"],["for","entity-short-description"],["id","entity-short-description","formControlName","shortDe
1scription",3,"init"],["for","entity-description"],["id","entity-description","formControlName","description",3,"init"],[1,"form-group"],["type","submit",1,"button","button-small","button-3d","mt-3","ml-0"]],template:function(a,r){1&a&&(e.TgZ(0,"form",0),e.NdJ("ngSubmit",function(){return r.save()}),e.TgZ(1,"div",1)(2,"div",2)(3,"label",3),e._uU(4,"Tytu\u0142"),e.qZA(),e._UZ(5,"input",4),e.qZA(),e.TgZ(6,"div",2)(7,"label",5),e._uU(8,"Skr\xf3t"),e.qZA(),e._UZ(9,"input",6),e.qZA()(),e.TgZ(10,"div",1)(11,"div",2)(12,"label",7),e._uU(13,"Obraz g\u0142\xf3wny"),e.qZA(),e.TgZ(14,"div",8),e.NdJ("filesChange",function(n){return r.imageSelected(n)})("filesChange",function(n){return r.files=n}),e.qZA()(),e.TgZ(15,"div",2)(16,"label",9),e._uU(17,"Link zewn\u0119trzny"),e.qZA(),e._UZ(18,"input",10),e.qZA()(),e.TgZ(19,"div",1)(20,"div",11)(21,"label"),e._UZ(22,"input",12),e._uU(23," Archiwalny "),e.qZA()()(),e.TgZ(24,"div",1)(25,"div",13)(26,"label",14),e._uU(27,"Kr\xf3tki Opis"),e.qZA(),e._UZ(28,"editor",15),e.qZA()(),e.TgZ(29,"div",1)(30,"div",13)(31,"label",16),e._uU(32,"Opis"),e.qZA(),e._UZ(33,"editor",17),e.qZA()(),e.TgZ(34,"div",18)(35,"button",19),e._uU(36," Zapisz "),e.qZA()()()),2&a&&(e.Q6J("formGroup",r.form),e.xp6(5),e.ekj("is-invalid",r.fInvalid("title")),e.xp6(9),e.Q6J("imageUrl",r.entity.mainImageUrl?r.entity.mainImageUrl:"")("files",r.files),e.xp6(14),e.Q6J("init",r.editorConfig),e.xp6(5),e.Q6J("init",r.editorConfig))},directives:[l._Y,l.JL,l.sg,l.Fj,l.JJ,l.u,J.x,l.Wl,j.PG],encapsulation:2}),d})();var F=s(7679);const R=P.Bz.forChild([{path:"project",component:z,canActivate:[E.s]},{path:"project-form",component:k,canActivate:[E.s]},{path:"project-form/:id",component:k,canActivate:[E.s]}]);let V=(()=>{class d{}return d.\u0275fac=function(a){return new(a||d)},d.\u0275mod=e.oAB({type:d}),d.\u0275inj=e.cJS({providers:[],imports:[[t.ez,l.u5,l.UX,R,j.Z_,_.A0,C.Z,F.T]]}),d})()},7644:(U,b,s)=>{s.d(b,{O:()=>t});const t={base_url:"/tinymce",suffix:".min",plugins:"print preview paste importcss searchreplace autolink autosave save directionality code visualblocks visualchars fullscreen image link media template codesample table charmap hr pagebreak nonbreaking anchor toc insertdatetime advlist lists wordcount imagetools textpattern noneditable help charmap emoticons",menubar:"file edit view insert format tools table help",toolbar:"undo redo | bold italic underline strikethrough | fontselect fontsizeselect formatselect | alignleft aligncenter alignright al
1ignjustify | outdent indent |  numlist bullist | forecolor backcolor removeformat | pagebreak | charmap emoticons | fullscreen  preview save print | insertfile image media template link anchor codesample | ltr rtl",image_advtab:!0,language:"pl",language_url:"/assets/js/tinymce/pl.js",content_css:["//fonts.googleapis.com/css?family=Lato:300,300i,400,400i"],importcss_append:!0,height:400,template_cdate_format:"[Data Utworzenia: %Y-%m-%d : %H:%M:%S]",template_mdate_format:"[Data Modyfikacji: %Y-%m-%d : %H:%M:%S]",image_caption:!0,quickbars_selection_toolbar:"bold italic | quicklink h2 h3 blockquote quickimage quicktable",noneditable_noneditable_class:"mceNonEditable",toolbar_drawer:"sliding",contextmenu:"link image imagetools table"}},1908:(U,b,s)=>{s.d(b,{PG:()=>r,Z_:()=>h});var t=s(5e3),l=s(9808),P=s(2382);function E(n,u){}const C=()=>{const n="undefined"!=typeof window?window:void 0;return n&&n.tinymce?n.tinymce:null};let w=(()=>{class n{constructor(){this.onBeforePaste=new t.vpe,this.onBlur=new t.vpe,this.onClick=new t.vpe,this.onContextMenu=new t.vpe,this.onCopy=new t.vpe,this.onCut=new t.vpe,this.onDblclick=new t.vpe,this.onDrag=new t.vpe,this.onDragDrop=new t.vpe,this.onDragEnd=new t.vpe,this.onDragGesture=new t.vpe,this.onDragOver=new t.vpe,this.onDrop=new t.vpe,this.onFocus=new t.vpe,this.onFocusIn=new t.vpe,this.onFocusOut=new t.vpe,this.onKeyDown=new t.vpe,this.onKeyPress=new t.vpe,this.onKeyUp=new t.vpe,this.onMouseDown=new t.vpe,this.onMouseEnter=new t.vpe,this.onMouseLeave=new t.vpe,this.onMouseMove=new t.vpe,this.onMouseOut=new t.vpe,this.onMouseOver=new t.vpe,this.onMouseUp=new t.vpe,this.onPaste=new t.vpe,this.onSelectionChange=new t.vpe,this.onActivate=new t.vpe,this.onAddUndo=new t.vpe,this.onBeforeAddUndo=new t.vpe,this.onBeforeExecCommand=new t.vpe,this.onBeforeGetContent=new t.vpe,this.onBeforeRenderUI=new t.vpe,this.onBeforeSetContent=new t.vpe,this.onChange=new t.vpe,this.onClearUndos=new t.vpe,this.onDeactivate=new t.vpe,this.onDirty=new t.vpe,this.onExecCommand=new t.vpe,this.onGetContent=new t.vpe,this.onHide=new t.vpe,this.onInit=new t.vpe,this.onInitNgModel=new t.vpe,this.onLoadContent=new t.vpe,this.onNodeChange=new t.vpe,this.onPostProcess=new t.vpe,this.onPostRender=new t.vpe,this.onPreInit=new t.vpe,this.onPreProcess=new t.vpe,this.onProgressState=new t.vpe,this.onRedo=new t.vpe,this.onRemove=new t.vpe,this.onReset=new t.vpe,this.onResizeEditor=new t.vpe,this.onSaveContent=new t.vpe,this.onSetAttrib=new t.vpe,this.onObjectResizeStart=new t.vpe,this.onObjectResized=new t.vpe,this.onObjectSelected=new t.vpe,this.onSetContent=new t.vpe,this.onShow=new t.vpe,this.onSubmit=new t.vpe,this.onUndo=new t.vpe,this.onVisualAid=new t.vpe}}return n.\u0275fac=function(i){return new(i||n)},n.\u0275dir=t.lG2({type:n,outputs:{onBeforePaste:"onBeforePaste",onBlur:"onBlur",onClick:"onClick",onContextMenu:"onContextMenu",onCopy:"onCopy",onCut:"onCut",onDblclick:"onDblclick",onDrag:"onDrag",onDragDrop:"onDragDrop",onDragEnd:"onDragEnd",onDragGesture:"onDragGesture",onDragOver:"onDragOver",onDrop:"onDrop",onFocus:"onFocus",onFocusIn:"onFocusIn",onFocusOut:"onFocusOut",onKeyDown:"onKeyDown",onKeyPress:"onKeyPress",onKeyUp:"onKeyUp",onMouseDown:"onMouseDown",onMouseEnter:"onMouseEnter",onMouseLeave:"onMouseLeave",onMouseMove:"onMouseMove",onMouseOut:"onMouseOut",onMouseOver:"onMouseOver",onMouseUp:"onMouseUp",onPaste:"onPaste",onSelectionChange:"onSelectionChange",onActivate:"onActivate",onAddUndo:"onAddUndo",onBeforeAddUndo:"onBeforeAddUndo",onBeforeExecCommand:"onBeforeExecCommand",onBeforeGetContent:"onBeforeGetContent",onBeforeRenderUI:"onBeforeRenderUI",onBeforeSetContent:"onBeforeSetContent",onChange:"onChange",onClearUndos:"onClearUndos",onDeactivate:"onDeactivate",onDirty:"onDirty",onExecCommand:"onExecCommand",onGetContent:"onGetContent",onHide:"onHide",onInit:"onInit",onInitNgModel:"onInitNgModel",onLoadContent:"onLoadContent",onNodeChange:"onNodeChange",onPostProcess:"onPostProcess",onPostRender:"onPostRender",onPreInit:"onPreInit",onPreProcess:"onPreProcess",onProgressState:"onProgressState",onRedo:"onRedo",onRemove:"onRemove",onReset:"onReset",onResizeEditor:"onResizeEditor",onSaveContent:"onSaveContent",onSetAttrib:"onSetAttrib",onObjectResizeStart:"onObjectResizeStart",onObjectResized:"onObjectResized",onObjectSelected:"onObjectSelected",onSetContent:"onSetContent",onShow:"onShow",onSubmit:"onSubmit",onUndo:"onUndo",onVisualAid:"onVisualAid"}}),n})();const O=["onActivate","onAddUndo","onBeforeAddUndo","onBeforeExecCommand","onBeforeGetContent","onBeforeRenderUI","onBeforeSetContent","onBeforePaste","onBlur","onChange","onClearUndos","onClick","onContextMenu","onCopy","onCut","onDblclick","onDeactivate","onDirty","onDrag","onDragDrop","onDragEnd","onDragGesture","onDragOver","onDrop","onExecCommand","onFocus","onFocusIn","onFocusOut","onGetContent","onHide","onInit","onKeyDown","onKeyPress","onKeyUp","onLoadContent","onMouseDown","onMouseEnter","onMouseLeave","onMouseMove","onMouseOut","onMouseOver","onMouseUp","onNodeChange","onObjectResizeStart","onObjectResized","onObjectSelected","onPaste","onPostProcess","onPostRender","onPreProcess","onProgressState","onRedo","onRemove","onReset","onResizeEditor","onSaveContent","onSelectionChange","onSetAttrib","onSetContent","onShow","onSubmit","onUndo","onVisualAid"],c=(n,u)=>"string"==typeof n?n.split(",").map(i=>i.trim()):Array.isArray(n)?n:u;let m=0;const p=n=>{const i=(new Date).getTime(),g=Math.floor(1e9*Math.random());return m++,n+"_"+g+m+String(i)},Z=n=>void 0!==n&&"textarea"===n.tagName.toLowerCase(),I=n=>void 0===n||""===n?[]:Array.isArray(n)?n:n.split(" "),N=(n,u)=>I(n).concat(I(u)),L=()=>{},j=n=>null==n,F=()=>({listeners:[],scriptId:p("tiny-script"),scriptLoaded:!1}),d=(()=>{let n=F();return{load:(M,S,B)=>{n.scriptLoaded?B():(n.listeners.push(B),M.getElementById(n.scriptId)||
1((M,S,B,K)=>{const T=S.createElement("script");T.referrerPolicy="origin",T.type="application/javascript",T.id=M,T.src=B;const W=()=>{T.removeEventListener("load",W),n.listeners.forEach(K=>K()),n.scriptLoaded=!0};T.addEventListener("load",W),S.head&&S.head.appendChild(T)})(n.scriptId,M,S))},reinitialize:()=>{n=F()}}})(),v=new t.OlP("TINYMCE_SCRIPT_SRC"),a={provide:P.JU,useExisting:(0,t.Gpc)(()=>r),multi:!0};let r=(()=>{class n extends w{constructor(i,g,M,S){super(),this.platformId=M,this.tinymceScriptSrc=S,this.cloudChannel="5",this.apiKey="no-api-key",this.id="",this.modelEvents="change input undo redo",this.onTouchedCallback=L,this._elementRef=i,this.ngZone=g,this.initialise=this.initialise.bind(this)}set disabled(i){this._disabled=i,this._editor&&this._editor.initialized&&this._editor.setMode(i?"readonly":"design")}get disabled(){return this._disabled}get editor(){return this._editor}writeValue(i){this._editor&&this._editor.initialized?this._editor.setContent(j(i)?"":i):this.initialValue=null===i?void 0:i}registerOnChange(i){this.onChangeCallback=i}registerOnTouched(i){this.onTouchedCallback=i}setDisabledState(i){this._editor?this._editor.setMode(i?"readonly":"design"):i&&(this.init=Object.assign(Object.assign({},this.init),{readonly:!0}))}ngAfterViewInit(){var i;(0,l.NF)(this.platformId)&&(this.id=this.id||p("tiny-angular"),this.inline=void 0!==this.inline?!1!==this.inl
1ine:!!(null===(i=this.init)||void 0===i?void 0:i.inline),this.createElement(),null!==C()?this.initialise():this._element&&this._element.ownerDocument&&d.load(this._element.ownerDocument,this.getScriptSrc(),this.initialise.bind(this)))}ngOnDestroy(){null!==C()&&C().remove(this._editor)}createElement(){this._element=document.createElement(this.inline?"string"==typeof this.tagName?this.tagName:"div":"textarea"),this._element&&(document.getElementById(this.id)&&console.warn(`TinyMCE-Angular: an element with id [${this.id}] already exists. Editors with duplicate Id will not be able to mount`),this._element.id=this.id,Z(this._element)&&(this._element.style.visibility="hidden"),this._elementRef.nativeElement.appendChild(this._element))}initialise(){const i=Object.assign(Object.assign({},this.init),{target:this._element,inline:this.inline,readonly:this.disabled,plugins:N(this.init&&this.init.plugins,this.plugins),toolbar:this.toolbar||this.init&&this.init.toolbar,setup:g=>{this._editor=g,g.on("init",M=>{this.initEditor(g)}),((n,u)=>{(n=>{const u=c(n.ignoreEvents,[]);return c(n.allowedEvents,O).filter(g=>O.includes(g)&&!u.includes(g))})(n).forEach(g=>{const M=n[g];u.on(g.substring(2),S=>n.ngZone.run(()=>M.emit({event:S,editor:u})))})})(this,g),this.init&&"function"==typeof this.init.setup&&this.init.setup(g)}});Z(this._element)&&(this._element.style.visibility=""),this.ngZone.runOutsideAngular(()=>{C().init(i)})}getScriptSrc(){return j(this.tinymceScriptSrc)?`https://cdn.tiny.cloud/1/${this.apiKey}/tinymce/${this.cloudChannel}/tinymce.min.js`:this.tinymceScriptSrc}initEditor(i){i.on("blur",()=>this.ngZone.run(()=>this.onTouchedCallback())),i.on(this.modelEvents,()=>this.ngZone.run(()=>this.emitOnChange(i))),"string"==typeof this.initialValue&&this.ngZone.run(()=>{i.setContent(this.initialValue),i.getContent()!==this.initialValue&&this.emitOnChange(i),void 0!==this.onInitNgModel&&this.onInitNgModel.emit(i)})}emitOnChange(i){this.onChangeCallback&&this.onChangeCallback(i.getContent({format:this.outputFormat}))}}return n.\u0275fac=function(i){return new(i||n)(t.Y36(t.SBq),t.Y36(t.R0b),t.Y36(t.Lbi),t.Y36(v,8))},n.\u0275cmp=t.Xpm({type:n,selectors:[["editor"]],inputs:{cloudChannel:"cloudChannel",apiKey:"apiKey",id:"id",modelEvents:"modelEvents",disabled:"disabled",initialValue:"initialValue",init:"init",inline:"inline",outputFormat:"outputFormat",tagName:"tagName",plugins:"plugins",toolbar:"toolbar",allowedEvents:"allowedEvents",ignoreEvents:"ignoreEvents"},features:[t._Bn([a]),t.qOj],decls:1,vars:0,template:function(i,g){1&i&&t.YNc(0,E,0,0,"ng-template")},styles:["[_nghost-%COMP%] { display: block; }"]}),n})(),h=(()=>{class n{}return n.\u0275fac=function(i){return new(i||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({imports:[[l.ez,P.u5]]}),n})()},1884:(U,b,s)=>{s.d(b,{x:()=>E});var t=s(4671),l=s(4482),P=s(5403);function E(_,w=t.y){return _=null!=_?_:C,(0,l.e)((O,y)=>{let D,o=!0;O.subscribe((0,P.x)(y,e=>{const c=w(e);(o||!_(D,c))&&(o=!1,D=c,y.next(e))}))})}function C(_,w){return _===w}}}]);

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.