PageSourceSearch

https://fetedupicodon.com/_app/immutable/chunks/DlQj0AYo.js

js fetedupicodon.com collected 2026-09-24 10:02:19 UTC 2,102 bytes, 1 lines download raw bytes

1import{p as O,c as R,g as r,j as V,w as A,k as B,m as G,z as w,y as Q,B as _,ag as m,P as C,Q as i,bi as k,C as f,T as U,a9 as c,e as D,E as F,f as H,n as J,G as x,ae as K,aa as u,ac as y}from"./PqQgIEx6.js";import M from"./B8SZ6FiH.js";import{p as N}from"./Bg2ZuAf7.js";import"./BPCD1XKA.js";import{R as S}from"./pLzaWmAz.js";var W=x('<button class="v clean"> </button>'),X=x('<div class="b l-ulqg8w"><button class="v clean"> </button> <!></div>'),Y=x('<div class="root l-ulqg8w"><!> <h2 class="h l-ulqg8w">Choisissez un modèle de page</h2> <!></div>');const Z={hash:"l-ulqg8w",code:"@layer components {.root.l-ulqg8w {display:flex;flex-direction:column;gap:1em;width:100%;padding-top:var(--input-pad);justify-content:center;margin:0 auto;background:var(--menu-background);box-shadow:0 8px 24px rgba(0, 0, 0, 0.75);}.b.l-ulqg8w {width:350px;display:flex;gap:15px;justify-content:center;align-self:center;}.h.l-ulqg8w {text-align:center;} }"};function se(v,t){O(t,!0),R(v,Z);const e=()=>F(g,"$pageInCreation",q),[q,P]=H();r("palette"),r("user"),r("showUserView"),r("view");const g=V("pageInCreation",A());let b=B(G(N[0])),d={};function T(a){J(b,a.template,!0)}var o=Y(),h=c(o);S(h,{placeholder:"Titre de la page...",get item(){return d},maxLength:65,validateOnEnter:!0,field:"title",class:"v has-pointer-event",ok:!0,style:"max-width:300px;margin:0 auto",needValue:!0});var I=w(h,4);M(I,{get template(){return U(b)},onchange:T,children:(a,$)=>{var p=X(),s=c(p),j=c(s,!0);u(s);var z=w(s,2);{var L=n=>{var l=W(),E=c(l,!0);u(l),_(()=>y(E,t.context.cancelLabel||"Annuler")),m("click",l,()=>{t.context.abort&&t.context.abort(),k()}),f(n,l)};Q(z,n=>{t.context.noCancel===void 0&&n(L)})}u(p),_(()=>y(j,t.context.confirmLabel||"Ok")),m("click",s,()=>{t.context.confirm&&(console.log("create page from template",e()),d.title&&C(g,i(e).title=d.title,i(e)),e().existingPage&&C(g,i(e).items=[],i(e)),e().items.map(n=>delete n.static),delete e().existingPage,t.context.confirm(e()),k())}),f(a,p)},$$slots:{default:!0}}),u(o),m("click",o,a=>{a.stopPropagation()}),f(v,o),D(),P()}K(["click"]);export{se as default};

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.