PageSourceSearch

https://academia.jedai.ai/pt/chunk-RKZU7TWX.js

js jedai.ai collected 2026-10-05 12:06:09 UTC 25,153 bytes, 2 lines download raw bytes

1import{a as de}from"./chunk-3BFQXY5X.js";import{a as ce}from"./chunk-KAYYJ6OT.js";import{a as le}from"./chunk-6OB27EWR.js";import{a as se,b as A}from"./chunk-4CBWKLQX.js";import{a as re}from"./chunk-GBYPKJ6E.js";import"./chunk-3P7VEMYE.js";import{a as oe,b as ne,c as ae}from"./chunk-MN6FLHGN.js";import"./chunk-52DWIMBN.js";import"./chunk-Z7PTTW2M.js";import"./chunk-FP6BBJUG.js";import"./chunk-QHDJCWUP.js";import"./chunk-YN5OVBCB.js";import"./chunk-WSYFCTIY.js";import"./chunk-RI3W74IT.js";import"./chunk-X73JX2ZD.js";import"./chunk-TTJEJKDU.js";import{a as ie}from"./chunk-T37WEXDU.js";import"./chunk-RQCUZ2HX.js";import"./chunk-6EZK4KTS.js";import{c as te}from"./chunk-2GS6WRAH.js";import"./chunk-R4S5NFTE.js";import{a as M}from"./chunk-4HNNHUKD.js";import{c as Z}from"./chunk-KZN52UFM.js";import{a as ee}from"./chunk-K36KKFE5.js";import"./chunk-MV3SMTQZ.js";import{a as W}from"./chunk-VWEG7YLE.js";import"./chunk-R3MDAHXH.js";import"./chunk-QDIGEUIK.js";import"./chunk-4ZWVSIQM.js";import"./chunk-DPOFZU3Y.js";import"./chunk-HVUS77Z2.js";import{i as $,w as Y}from"./chunk-5I4RS6EG.js";import{a as q}from"./chunk-N7HVZOJC.js";import"./chunk-AQS244BO.js";import"./chunk-LDAQ74PA.js";import{n as X}from"./chunk-JOMMSI64.js";import{a as H,b as K,e as Q}from"./chunk-MUB5NOV7.js";import{a as R,b as D,c as J,d as U}from"./chunk-GRQW76XQ.js";import"./chunk-UN57DATJ.js";import"./chunk-Z66WPXOS.js";import{f as G,h as F}from"./chunk-L53BAQY2.js";import{Ab as r,Bb as n,Cb as f,Gb as v,Kc as V,Nb as g,Ob as c,Va as s,Xc as L,Yb as l,Zb as N,_a as C,_b as T,db as O,fc as E,gc as z,ha as p,ia as u,ib as b,ob as j,pb as d,v as I,vb as x}from"./chunk-YP33JU3R.js";import{a as P,b as B}from"./chunk-EL7B54VI.js";var ge=o=>({collapsed:o}),pe=()=>[];function _e(o,_){o&1&&(r(0,"div",1),f(1,"jed-spinner",4),r(2,"p"),l(3,"Carregando..."),n()()),o&2&&(s(),d("size",56))}function fe(o,_){if(o&1&&f(0,"jed-app-pending-generation-card",2),o&2){let e=c();d("generationStep",e.generationStep)("stateProgress",e.stateProgress)}}function Ce(o,_){if(o&1){let e=v();r(0,"jed-button",21),g("click",function(){p(e);let i=c(3);return u(i.switchMode())}),l(1," Alternar para Edi\xE7\xE3o Individual "),n()}if(o&2){let e=c(3);d("appearance",e.ButtonAppearance.outline)("iconAppearance",e.IconAppearance.outline)("iconColor",e.Color.primary)("iconPosition",e.IconPosition.left)("icon",e.IconName.edit)}}function xe(o,_){if(o&1){let e=v();r(0,"div",22)(1,"jed-button",21),g("click",function(){p(e);let i=c(3);return u(i.openEditor())}),l(2," Editar Modelo "),n(),r(3,"jed-button",23),g("click",function(){p(e);let i=c(3);return u(i.applyToAllLessons())}),l(4),n()(),f(5,"jed-template-preview",24)}if(o&2){let e=c(3);s(),d("appearance",e.ButtonAppearance.outline)("iconAppearance",e.IconAppearance.outline)("iconColor",e.Color.primary)("iconPosition",e.IconPosition.left)("icon",e.IconName.edit),s(2),d("disabled",e.isSaving||!e.currentBlocks||e.currentBlocks.length===0)("iconAppearance",e.IconAppearance.outline)("iconColor",e.Color.cosmicBlack)("iconPosition",e.IconPosition.left)("icon",e.IconName.check),s(),T(" ",e.isSaving?"Aplicando...":"Aplicar em Todas as Aulas"," "),s(),d("availableBlocks",e.availableBlocks)("availablePrompts",e.availablePrompts)("templateBlocks",e.currentBlocks)("previewBlocks",e.previewBlocks)}}function ve(o,_){if(o&1&&(r(0,"div",11)(1,"div",15)(2,"h2",16),f(3,"jed-icon",17),l(4," Edi\xE7\xE3o Global "),n(),b(5,Ce,2,5,"jed-button",18),n(),r(6,"div",19),f(7,"jed-select",20),n(),b(8,xe,6,15),n()),o&2){let e=c(2);s(3),d("appearance",e.IconAppearance.outline)("color",e.Color.primary)("name",e.IconName.codeBlocks),s(2),x(e.hasExistingConfiguration?5:-1),s(2),d("control",e.templateSelectControl)("options",e.templateOptions),s(),x(e.selectedTemplate?8:-1)}}function be(o,_){if(o&1){let e=v();r(0,"jed-button",21),g("click",function(){p(e);let i=c(4);return u(i.applyToModuleChapters(i.getSelectedModule()))}),l(1," Aplicar no M\xF3dulo "),n()}if(o&2){let e=c(4);d("appearance",e.ButtonAppearance.outline)("iconAppearance",e.IconAppearance.outline)("iconColor",e.Color.primary)("iconPosition",e.IconPosition.left)("icon",e.IconName.listAdd)}}function ke(o,_){if(o&1){let e=v();r(0,"div",35)(1,"div",37)(2,"h3",38),l(3),n(),r(4,"div",39)(5,"jed-button",21),g("click",function(){p(e);let i=c(3);return u(i.editChapterBlocks())}),l(6," Editar Objetos de Aprendizagem desta Aula "),n(),b(7,be,2,5,"jed-button",18),n()(),f(8,"jed-template-preview",24),n()}if(o&2){let e=c(3);s(3),N(e.selectedChapter.title),s(2),d("appearance",e.ButtonAppearance.outline)("iconAppearance",e.IconAppearance.outline)("iconColor",e.Color.primary)("iconPosition",e.IconPosition.left)("icon",e.IconName.edit),s(2),x(e.getSelectedModule()?7:-1),s(),d("availableBlocks",e.availableBlocks)("availablePrompts",e.availablePrompts)("templateBlocks",e.selectedChapter.blocks||E(11,pe))("previewBlocks",e.selectedChapter.previewBlocks||E(12,pe))}}function Se(o,_){if(o&1&&(r(0,"div",36),f(1,"jed-icon",17),r(2,"p"),l(3,"Selecione uma aula para visualizar e editar seus objetos de aprendizagem"),n()()),o&2){let e=c(3);s(),d("appearance",e.IconAppearance.outline)("color",e.Color.muted)("name",e.IconName.info)}}function we(o,_){if(o&1){let e=v();r(0,"div",12)(1,"div",25)(2,"h2",26),f(3,"jed-icon",17),l(4," Edi\xE7\xE3o Indiv
1idual por Aula "),n(),r(5,"jed-button",21),g("click",function(){p(e);let i=c(2);return u(i.switchMode())}),l(6," Alternar para Edi\xE7\xE3o Global "),n()(),r(7,"div",27)(8,"aside",28)(9,"div",29)(10,"div",30)(11,"jed-module-accordion",31),g("chapterAction",function(i){p(e);let a=c(2);return u(a.onChapterAction(i))})("moduleAction",function(i){p(e);let a=c(2);return u(a.onModuleAction(i))}),n()()(),r(12,"button",32),g("click",function(){p(e);let i=c(2);return u(i.collapsed=!i.collapsed)}),f(13,"jed-icon",33),n()(),r(14,"main",34),b(15,ke,9,13,"div",35)(16,Se,4,3,"div",36),n()()()}if(o&2){let e=c(2);s(3),d("appearance",e.IconAppearance.outline)("color",e.Color.primary)("name",e.IconName.edit),s(2),d("appearance",e.ButtonAppearance.outline)("iconAppearance",e.IconAppearance.outline)("iconColor",e.Color.primary)("iconPosition",e.IconPosition.left)("icon",e.IconName.codeBlocks),s(3),d("ngClass",z(19,ge,e.collapsed)),s(3),d("modules",e.modules)("readonly",!0)("selectedChapterId",e.selectedChapterId)("selectedModuleId",e.selectedModuleId),s(),j("aria-expanded",!e.collapsed),s(),d("appearance",e.IconAppearance.outline)("color",e.Color.cosmicBlack)("name",e.collapsed?e.IconName.chevronRight:e.IconName.chevronLeft)("size",16),s(2),x(e.selectedChapter?15:16)}}function Pe(o,_){if(o&1){let e=v();r(0,"div",5)(1,"h3",6),l(2,"Etapa 4: Construtor do Modelo"),n(),r(3,"p",7),l(4," Configure o modelo de conte\xFAdo que ser\xE1 aplicado \xE0s aulas do curso. Voc\xEA pode escolher um modelo global ou personalizar cada aula individualmente. "),n()(),r(5,"section",8)(6,"h5",9),l(7,"Como funciona?"),n(),r(8,"ul",10)(9,"li")(10,"strong"),l(11,"Modo Global:"),n(),l(12," Escolha um modelo da lista e aplique-o em todas as aulas do curso de uma vez. "),n(),r(13,"li")(14,"strong"),l(15,"Modo Individual:"),n(),l(16," Personalize os objetos de aprendizagem de conte\xFAdo de cada aula separadamente. "),n(),r(17,"li")(18,"strong"),l(19,"Objetos de Aprendizagem:"),n(),l(20," Cada objeto de aprendizagem representa um tipo de conte\xFAdo que ser\xE1 gerado pela IA (v\xEDdeos, textos, quizzes, etc). "),n(),r(21,"li")(22,"strong"),l(23,"Conte\xFAdos:"),n(),l(24," Alguns objetos de aprendizagem permitem adicionar conte\xFAdos personalizados para controlar o conte\xFAdo gerado. "),n()()(),b(25,ve,9,7,"div",11)(26,we,17,21,"div",12),r(27,"div",13)(28,"jed-button",14),g("click",function(){p(e);let i=c();return u(i.nextStep())}),l(29),n()()}if(o&2){let e=c();s(25),x(e.editionMode==="global"?25:26),s(3),d("disabled",e.isLoading||e.isSaving||e.generationStepInProgress||!e.hasBlocks||!!e.savingBlocksCounter)("large",!0)("icon",e.IconName.arrowRight)("iconSize",e.IconSize.size24)("iconColor",e.Color.primary)("iconPosition",e.IconPosition.right),s(),T(" ","Avan\xE7ar para Revis\xE3o Final"," ")}}function Be(o,_){if(o&1){let e=v();r(0,"jed-template-editor",40),g("closed",function(){p(e);let i=c();return u(i.onEditorClosed())})("saved",function(i){p(e);let a=c();return u(a.editionMode==="global"?a.onBlocksSaved(i):a.onChapterBlocksSaved(i))}),n()}if(o&2){let e=c();d("blocks",e.currentBlocks)("show",!0)}}var ot=(()=>{class o{constructor(e,t,i,a,m,k,h){this.builderService=e,this.saberService=t,this.generationProgressService=i,this.notificationService=a,this.dialogService=m,this.route=k,this.router=h,this.editionMode="global",this.isLoading=!1,this.isSaving=!1,this.showEditor=!1,this.collapsed=!1,this.blocksChanged=!1,this.hasBlocks=!1,this.templates=[],this.selectedTemplate=null,this.currentBlocks=[],this.previewBlocks=[],this.availableBlocks=[],this.availablePrompts=[],this.modules=[],this.selectedChapterId=null,this.selectedModuleId=null,this.existingConfiguration={},this.hasExistingConfiguration=!1,this.isGenerationPending=!0,this.stateProgress=null,this.generationStep=se.GENERATE_ALL_LESSONS_DETAILS,this.generationStepInProgress=!1,this.generationStepInProgressName="",this.savingBlocksCounter=0,this.IconName=q,this.IconAppearance=D,this.Color=R,this.IconPosition=K,this.ButtonAppearance=H,this.IconSize=J,this.templateSelectControl=new $(null)}get templateOptions(){return this.templates.map(e=>({label:`${e.name}${e.default?" (Padr\xE3o)":""}`,value:e.id,selected:this.selectedTemplate?.id===e.id}))}get selectedChapter(){if(!this.selectedChapterId)return null;for(let e of this.modules){let t=e.chapters.find(i=>i.id===this.selectedChapterId);if(t)return t}return null}getSelectedModule(){return this.selectedModuleId&&this.modules.find(e=>e.id===this.selectedModuleId)||null}
1ngOnInit(){if(this.generationProgressId=this.route.snapshot.paramMap.get("id")||void 0,this.fetchStateProgress(),!this.generationProgressId){this.notificationService.show("ID de gera\xE7\xE3o n\xE3o encontrado",5e3),this.router.navigate(["/"]);return}this.loadTemplates(),this.loadAvailableBlocksAndPrompts(),this.loadModulesAndChapters(),this.checkExistingConfiguration(),this.templateSelectControl.valueChanges.subscribe(e=>{e&&(this.selectTemplate(e),this.blocksChanged=!1)})}loadTemplates(){this.builderService.listTemplates().subscribe({next:e=>{this.templates=e;let t=e.find(i=>i.default);!this.templateSelectControl.value&&t&&this.templateSelectControl.setValue(t.id,{emitEvent:!0})}})}loadAvailableBlocksAndPrompts(){this.builderService.listBlocks().subscribe({next:e=>{this.availableBlocks=e}}),this.builderService.listPrompts().subscribe({next:e=>{this.availablePrompts=e}})}loadModulesAndChapters(){this.generationProgressId&&(this.isLoading=!0,this.saberService.getSaberModuleGenerated(this.generationProgressId).subscribe({next:e=>{let t=this.normalizeGeneratedModuleResponse(e);this.modules=this.mapGeneratedModules(t);let i=this.modules.map(a=>this.saberService.getSaberModuleSummariesGeneratedContent(this.generationProgressId,a.id));if(i.length===0){this.isLoading=!1;return}I(i).subscribe({next:a=>{a.forEach((m,k)=>{this.modules[k].chapters=this.mapGeneratedChapterSummaries(m)}),this.isLoading=!1},error:()=>{this.isLoading=!1,this.notificationService.show("Erro ao carregar aulas",5e3)}})},error:()=>{this.isLoading=!1,this.notificationService.show("Erro ao carregar m\xF3dulos",5e3)}}))}fetchStateProgress(){this.saberService.retrieveStateProgress(this.generationProgressId).subscribe({next:e=>{this.stateProgress=e,e.status===A.DONE||e.status===A.VALIDATE_IN_PROGRESS?(this.generationStepInProgress=!1,this.isGenerationPending=!1,this.generationStepInProgressName=""):(this.generationStepInProgress=!0,this.isGenerationPending=!0,this.generationStepInProgressName=le.get(e.step)||""),this.isLoading=!1}})}checkExistingConfiguration(){this.generationProgressService.retrieveTemplate(this.generationProgressId).subscribe({next:e=>{this.existingConfiguration=e,this.hasExistingConfiguration=Object.keys(e).length>0,this.hasExistingConfiguration&&(this.editionMode="individual",this.hasBlocks=!0)}})}selectTemplate(e){this.builderService.getPreviewTemplate(e).subscribe({next:t=>{this.selectedTemplate=t,this.previewBlocks=[],this.currentBlocks=this.reconstructBlocks(t.value.blocks),t.previewBlocks&&(this.previewBlocks=t.previewBlocks)}})}openEditor(){this.showEditor=!0}onEditorClosed(){this.showEditor=!1}onBlocksSaved(e){this.currentBlocks=e,this.showEditor=!1,this.blocksChanged=!0}applyToAllLessons(){if(!this.currentBlocks||this.currentBlocks.length===0){this.notificationService.show("Selecione um modelo primeiro",3e3);return}if(!this.hasExistingConfiguration){this.applyGlobalTemplate();return}this.dialogService.open(M,{closeOutside:!0,showButtons:!1,title:"Confirmar Aplica\xE7\xE3o",extras:{content:"J\xE1 existe uma configura\xE7\xE3o aplicada. Deseja sobrescrever todas as aulas com este modelo?"}})?.subscribe(()=>{this.applyGlobalTemplate()})}applyGlobalTemplate(){this.isSaving=!0,this.hasBlocks=!0;for(let e of this.modules)for(let t of e.chapters)t.blocks=structuredClone(this.currentBlocks),t.previewBlocks=stru
1cturedClone(this.previewBlocks),this.saveLessonBlocks(t.id,t.blocks);this.isSaving=!1,this.hasExistingConfiguration=!0,this.editionMode="individual",this.blocksChanged&&this.offerToSaveAsNewTemplate()}offerToSaveAsNewTemplate(){this.dialogService.open(M,{closeOutside:!0,showButtons:!1,title:"Salvar como novo modelo?",extras:{content:"Deseja salvar esta configura\xE7\xE3o como um novo modelo de curso para usar no futuro?"}}).subscribe(()=>this.promptForTemplateNameAndSave())}promptForTemplateNameAndSave(){this.dialogService.open(re,{closeOutside:!0,showButtons:!1,title:"Nome do Modelo",extras:{title:"Nome do Modelo",label:"Nome do novo modelo",placeholder:"Digite um nome para o modelo...",required:!0,minLength:3,maxLength:255}}).subscribe(e=>{e?.data&&typeof e.data=="string"&&this.saveAsNewTemplate(e.data.trim())})}saveAsNewTemplate(e){this.isSaving=!0,this.builderService.createTemplate({name:e,description:null,value:{blocks:this.currentBlocks}}).subscribe({next:()=>{this.notificationService.show("Modelo salvo com sucesso!",3e3),this.isSaving=!1,this.loadTemplates()},error:()=>{this.isSaving=!1}})}switchMode(){if(this.editionMode==="global"){if(!this.selectedTemplate){this.notificationService.show("Selecione um modelo primeiro",3e3);return}this.editionMode="individual"}else this.editionMode="global"}onModuleAction(e){e.action==="select"&&e.module&&(this.selectedModuleId=e.module.id,this.selectedChapterId=null)}onChapterAction(e){e.action==="select"&&e.chapter&&this.selectChapter(e.chapter.id)}selectChapter(e){this.selectedChapterId=e;let t=this.selectedChapter;t&&!t.blocks&&(t.blocks=this.getLessonBlocks(e))}editChapterBlocks(){this.selectedChapter&&(this.currentBlocks=structuredClone(this.selectedChapter.blocks||[]),this.showEditor=!0)}onChapterBlocksSaved(e){this.selectedChapter&&(this.selectedChapter.blocks=e,this.saveLessonBlocks(this.selectedChapter.id,e),this.showEditor=!1,this.blocksChanged=!0,this.hasBlocks=!0)}applyToModuleChapters(e){if(!e.chapters||e.chapters.length===0){this.notificationService.show("Este m\xF3dulo n\xE3o possui aulas",3e3);return}let t=this.selectedChapter?.blocks;if(!t||t.length===0){this.notificationService.show("Configure os objetos de aprendizagem desta aula primeiro",3e3);return}this.dialogService.open(M,{closeOutside:!0,showButtons:!1,title:"Confirmar Aplica\xE7\xE3o",extras:{content:`Aplicar a configura\xE7\xE3o de objetos de aprendizagem desta aula em todas as ${e.chapters.length+1} aulas deste m\xF3dulo?`}})?.subscribe(()=>{this.applyBlocksToModule(e,t)})}applyBlocksToModule(e,t){this.isSaving=!0,this.hasBlocks=!0;for(let i of e.chapters)i.blocks=structuredClone(t),this.saveLessonBlocks(i.id,i.blocks);this.isSaving=!1,this.notificationService.show("Configura\xE7\xE3o aplicada em todas as aulas do m\xF3dulo",3e3)}nextStep(){if(this.isLoading||this.isSaving){this.notificationService.show("Aguarde um instante enquanto os dados s\xE3o salvos!",3e3);return}this.router.navigate(["final-review"],{relativeTo:this.route.parent})}normalizeGeneratedModuleResponse(e){return Array.isArray(e)?e.filter(t=>{if(!t||typeof t!="object")return!1;let i=t;return typeof i.uuid=="string"&&typeof i.title=="string"}):[]}mapGeneratedModules(e){return[...e].sort((i,a)=>(i.position??0)-(a.position??0)).map((i,a)=>({id:i.uuid,saberId:i.saberUuid,title:i.title,description:i.description||"",keyConcepts:[],objectives:[],tools:[],duration:"",chapters:[],expanded:a===0}))}mapGeneratedChapterSummaries(e){return Array.isArray(e)?[...e.filter(a=>{if(!a||typeof a!="object")return!1;let m=a;return typeof m.uuid=="string"&&typeof m.title=="string"})].sort((a,m)=>(Number(a.position)||0)-(Number(m.position)||0)).map(a=>{let m=this.getLessonBlocks(a.uuid);return{id:a.uuid,title:a.title,duration:"",resume:a.description||"",objectives:[],topics:[],tools:[],realScenario:"",practicalExercise:"",blocks:m}}):[]}reconstructBlocks(e){return e.map((t,i)=>{let a=this.availableBlocks.find(h=>h.id===t.id);if(!a)return{id:t.id,name:"Objeto de aprendizagem desconhecido",description:"",type:"unknown",subtype:"",resourceType:null,limitedUsage:!1,placeholderText:"",identify:i,configurations:[],prompts:[]};let m=a.configurations.map(h=>{let y=t.configurations?.find(S=>S.identity===h.identity);return B(P({},h),{data:y?.data||h.data})}),k=t.prompts?.map((h,y)=>{let S=this.availablePrompts.find(w=>w.id===h.id);if(!S)return{id:h.id,name:"Conte\xFAdo desconhecido",description:"",type:"content",identify:y,configurations:[]};let ue=S.configurations.map(w=>{let me=h.configurations?.find(he=>he.identity===w.identity);return B(P({},w),{data:me?.data||w.data})});return B(P({},S),{identify:y,configurations:ue})})||[];return B(P({},a),{identify:i,configurations:m,prompts:k})})}getLessonBlocks(e){return this.existingConfiguration[e]||[]}saveLessonBlocks(e,t){let i={[e]:t};this.existingConfiguration[e]=t,this.saveLessonBlocksConfiguration(i)}saveLessonBlocksConfiguration(e){this.savingBlocksCounter++,this.generationProgressService.saveTemplate(this.generationProgressId,e).subscribe({next:()=>{this.savingBlocksCounter--},error:()=>this.savingBlocksCounter--})}static{this.\u0275fac=function(t){return new(t||o)(C(oe),C(te),C(ie),C(X),C(Z),C(G),C(F))}}static{this.\u0275cmp=O({type:o,selectors:[["jed-template-builder"]],decls:5,vars:2,consts:[[1,"template-builder"],[1,"loading-container"],[3,"generationStep","stateProgress"],[3,"blocks","show"],[3,"size"],[1,"header"],[1,"title"],[1,"subtitle"],[1,"how-to-proceed-card"],[1,"how-to-proceed-card__title"],[1,"how-to-proceed-card__list"],[1,"global-edition"],[1,"individual-edition"],[1,"action-section"],["appearance","primary",3,"click","disabled","large","icon","iconSize","iconColor","iconPosition"],[1,"global-edition__header"],[1,"global-edition__title"],[3,"appearance","color","name"],["type","button",3,"appearance","iconAppearance","iconColor","iconPosition","icon"],[1,"global-edition__select"],["label","Selecione um modelo","placeholder","Escolha um modelo...",3,"control","options"],["type","button",3,"click","appearance","iconAppearance","iconColor","iconPosition","icon"],[1,"global-edition__actions"],["appearance","primary","type","button",3,"click","disabled","iconAppearance","iconColor","iconPosition","icon"],[3,"availableBlocks","availablePrompts","templateBlocks","previewBlocks"],[1,"individual-edition__header"],[1,"individual-edition__title"],[1,"content-wrapper"],[1,"sidebar",3,"ngClass"],[1,"sidebar-content"],[1,"sidebar-modules"],[3,"chapterAction","moduleAction","modules","readonly","selectedChapterId","selectedModuleId"],["type","button",1,"collapse-button",3,"click"],[3,"appearance","color","name","size"],[1,"main-content"],[1,"chapter-blocks"],[1,"empty-state"],[1,"chapter-blocks__header"],[1,"chapter-blocks__title"],[1,"chapter-blocks__actions"],[3,"closed","saved","blocks","show"]],template:function(t,i){t&1&&(r(0,"div",0),b(1,_e,4,1,"div",1)(2,fe,1,2,"jed-app-pending-generation-card",2)(3,Pe,30,8)(4,Be,1,2,"jed-template-editor",3),n()),t&2&&(s(),x(i.isLoading?1:i.isGenerationPending?2:3),s(3),x(i.showEditor?4:-1))},dependencies:[L,V,Y,Q,U,ee,ne,ae,de,W,ce],styles:[".template-builder[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:24px;padding-bottom:24px}.header[_ngcontent-%COMP%]{background:linear-gradient(135deg,#ff69b40d,#ff69b405);padding:32px;border-radius:12px;border-left:5px solid var(--pink-saber, #ff69b4);box-shadow:0 2px 8px #0000000a}.header[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{font-weight:700;margin-bottom:12px;font-size:1.75rem;color:var(--cosmic-black, #171819);display:flex;align-items:center;gap:12px}.header[_ngcontent-%COMP%]   .subtitle[_ngcontent-%COMP%]{text-align:left;color:#666;margin-bottom:0;font-size:1rem;line-height:1.6}.how-to-proceed-card[_ngcontent-%COMP%]{background:#f8f9fa;border-radius:10px;padding:22px 28px 18px;box-shadow:0 2px 8px #00000008}.how-to-proceed-card__title[_ngcontent-%COMP%]{color:var(--cosmic-black, #171819);margin-bottom:12px;font-size:1.08rem;font-weight:700}.how-to-proceed-card__list[_ngcontent-%COMP%]{padding:0;margin:0;list-style:none}.how-to-proceed-card__list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{margin-bottom:8px;font-size:.96rem;color:#28292b;line-height:1.5}.how-to-proceed-card__list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   strong[_ngcontent-%COMP%]{color:var(--pink-saber, #ff69b4)}.loading-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;padding:80px 24px;min-height:240px;background-color:var(--white, #ffffff);border:1px solid rgba(23,24,25,.08);border-radius:12px}.loading-container[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{margin:0;color:#666;font-weight:600;letter-spacing:.01em}.global-edition[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:24px}.global-edition__header[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:16px}.global-edition__title[_ngcontent-%COMP%]{display:flex;align-items:center;gap:12px;font-size:1.375rem;font-weight:600;color:var(--cosmic-black, #171819);margin:0}.global-edition__select[_ngcontent-%COMP%]{max-width:400px}.global-edition__actions[_ngcontent-%COMP%]{display:flex;gap:12px;flex-wrap:wrap}.individual-edition[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:24px}.individual-edition__header[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:16px}.individual-edition__title[_ngcontent-%COMP%]{display:flex;align-items:center;gap:12px;font-size:1.375rem;font-weight:600;color:var(--cosmic-black, #171819);margin:0}.content-wrapper[_ngcontent-%COMP%]{display:flex;gap:24px}@media (max-width: 1025px){.content-wrapper[_ngcontent-%COMP%]{flex-direction:column}}.sidebar[_ngcontent-%COMP%]{position:sticky;top:0;width:400px;height:100vh;transition:all .5s ease-in-out}.sidebar.collapsed[_ngcontent-%COMP%]{width:40px}.sidebar.collapsed[_ngcontent-%COMP%]   .sidebar-content[_ngcontent-%COMP%]   *[_ngcontent-%COMP%]{opacity:0}
1@media (max-width: 1025px){.sidebar[_ngcontent-%COMP%]{position:relative;width:100%;height:auto;max-height:300px}}.sidebar-content[_ngcontent-%COMP%]{display:flex;flex-direction:column;height:100%;background-color:var(--white, #ffffff);border-radius:8px;overflow:hidden}.sidebar-modules[_ngcontent-%COMP%]{flex:1;overflow-y:auto;overflow-x:hidden;padding:12px}.collapse-button[_ngcontent-%COMP%]{position:absolute;top:50%;right:-16px;display:flex;align-items:center;justify-content:center;width:32px;height:32px;border:2px solid var(--cosmic-black, #171819);border-radius:50%;background-color:var(--white, #ffffff);cursor:pointer;transition:all .5s ease-in-out}@media (max-width: 1025px){.collapse-button[_ngcontent-%COMP%]{display:none}}.main-content[_ngcontent-%COMP%]{flex:1;min-height:100vh;background-color:var(--white, #ffffff);border-radius:8px;padding:24px}@media (max-width: 1025px){.main-content[_ngcontent-%COMP%]{min-height:calc(100vh - 400px)}}.empty-state[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;min-height:300px;text-align:center}.empty-state[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{margin:0;color:#999;font-size:1rem}.chapter-blocks[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:24px}.chapter-blocks__header[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:16px;padding-bottom:16px;border-bottom:1px solid #e0e0e0}.chapter-blocks__title[_ngcontent-%COMP%]{font-size:1.25rem;font-weight:600;color:var(--cosmic-black, #171819);margin:0}.chapter-blocks__actions[_ngcontent-%COMP%]{display:flex;gap:12px;flex-wrap:wrap}.action-section[_ngcontent-%COMP%]{display:flex;justify-content:center;border-top:2px solid #f0f0f0}.action-section[_ngcontent-%COMP%]   jed-button[_ngcontent-%COMP%]{min-width:240px}"]})}}return o})();export{ot as TemplateBuilderComponent};
2/**i18n:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855*/

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.