ep-lib-ts 0.1.24 → 0.1.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/BgAudio-19fc3ef0.js +5 -0
- package/dist/DisplayBox-fa19ab72.js +5 -0
- package/dist/EpAlert-ab232357.js +5 -0
- package/dist/EpAudio-00157c16.js +5 -0
- package/dist/EpBadge-cb10612f.js +5 -0
- package/dist/EpBarChart-83419240.js +5 -0
- package/dist/EpBtn-af008ece.js +5 -0
- package/dist/EpCard-c3b9b7f3.js +5 -0
- package/dist/EpChip-fe638461.js +5 -0
- package/dist/EpContentSlider-3f980aaa.js +5 -0
- package/dist/{EpDivider-742741a0.js → EpDivider-24b9fdae.js} +1 -1
- package/dist/EpEdu-bfa65400.js +5 -0
- package/dist/EpFlex-7055e504.js +5 -0
- package/dist/EpHeader-ccce56a6.js +5 -0
- package/dist/EpIcon-c07e65b8.js +5 -0
- package/dist/EpIframe-8b386b2d.js +5 -0
- package/dist/{EpImg-a108f47c.js → EpImg-c144d3d2.js} +1 -1
- package/dist/{EpInput-66790eca.js → EpInput-e4461512.js} +1 -1
- package/dist/EpLineChart-171befe5.js +5 -0
- package/dist/EpLink-198d821f.js +5 -0
- package/dist/EpLinkVersion-f04da9ef.js +5 -0
- package/dist/EpModal-a0b66d0c.js +5 -0
- package/dist/{EpNothing-c7038703.js → EpNothing-49d6aaf9.js} +1 -1
- package/dist/EpPieChart-582e11c2.js +5 -0
- package/dist/EpQuestion-4bde8b02.js +5 -0
- package/dist/EpQuote-45484b6a.js +5 -0
- package/dist/EpRadio-ae91a584.js +5 -0
- package/dist/EpReading-63a6b4a7.js +5 -0
- package/dist/EpResource-4103b249.js +5 -0
- package/dist/EpScope-737d27a9.js +5 -0
- package/dist/EpSection-7d78ae7e.js +5 -0
- package/dist/{EpSelect-f535f51a.js → EpSelect-16c1dc3e.js} +1 -1
- package/dist/EpSoftware-41e74d15.js +5 -0
- package/dist/EpSpinner-a06a4c1e.js +5 -0
- package/dist/EpSvg-b79609dc.js +5 -0
- package/dist/EpTable-f7a4501f.js +5 -0
- package/dist/EpTerm-51f8798c.js +5 -0
- package/dist/EpText-3c37dea4.js +5 -0
- package/dist/EpTimeLine-fb50cf15.js +5 -0
- package/dist/EpVideo-7c248b82.js +5 -0
- package/dist/EpVideoPanopto-43a49f5c.js +5 -0
- package/dist/ep-lib-ts.js +1 -1
- package/dist/ep-lib-ts.umd.cjs +1 -1
- package/dist/{index-1bf7dd35.js → index-6098179c.js} +13 -10
- package/package.json +1 -1
- package/src/components/medias/EpIframe.vue +12 -2
- package/dist/BgAudio-f51bafb3.js +0 -5
- package/dist/DisplayBox-317fba69.js +0 -5
- package/dist/EpAlert-99444e4e.js +0 -5
- package/dist/EpAudio-7503cfdb.js +0 -5
- package/dist/EpBadge-cb333627.js +0 -5
- package/dist/EpBarChart-442d2832.js +0 -5
- package/dist/EpBtn-5914b35b.js +0 -5
- package/dist/EpCard-fa47b837.js +0 -5
- package/dist/EpChip-97ef0134.js +0 -5
- package/dist/EpContentSlider-f1892b00.js +0 -5
- package/dist/EpEdu-8e19b3df.js +0 -5
- package/dist/EpFlex-fe56942b.js +0 -5
- package/dist/EpHeader-82979dff.js +0 -5
- package/dist/EpIcon-52d5ea7d.js +0 -5
- package/dist/EpIframe-62102493.js +0 -5
- package/dist/EpLineChart-d8e22a0d.js +0 -5
- package/dist/EpLink-df8c0dec.js +0 -5
- package/dist/EpLinkVersion-15da5608.js +0 -5
- package/dist/EpModal-b66c7ba4.js +0 -5
- package/dist/EpPieChart-7436118f.js +0 -5
- package/dist/EpQuestion-4531496a.js +0 -5
- package/dist/EpQuote-afea2bec.js +0 -5
- package/dist/EpRadio-d4efcf58.js +0 -5
- package/dist/EpReading-30f4e498.js +0 -5
- package/dist/EpResource-900d9284.js +0 -5
- package/dist/EpScope-42664ac9.js +0 -5
- package/dist/EpSection-66dd8259.js +0 -5
- package/dist/EpSoftware-97af8b21.js +0 -5
- package/dist/EpSpinner-4feb948b.js +0 -5
- package/dist/EpSvg-84a15dfe.js +0 -5
- package/dist/EpTable-db6fcb2a.js +0 -5
- package/dist/EpTerm-16e3cae0.js +0 -5
- package/dist/EpText-9b184616.js +0 -5
- package/dist/EpTimeLine-5d17460a.js +0 -5
- package/dist/EpVideo-1272566d.js +0 -5
- package/dist/EpVideoPanopto-3df2e2e3.js +0 -5
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { computed as N, toValue as V, unref as f, onMounted as qe, getCurrentInstance as z, watch as I, warn as Ye, provide as Xe, isRef as ue, onBeforeUnmount as Ze, inject as et, ref as re, reactive as tt, onUnmounted as rt, nextTick as nt, defineComponent as ot, toRefs as it, toRef as lt, openBlock as me, createElementBlock as ge, Fragment as at, createTextVNode as ye, toDisplayString as J, createElementVNode as P, createVNode as ut, withDirectives as st, vModelText as ct, createCommentVNode as dt } from "vue";
|
|
2
|
-
import { b as ft, t as vt } from "./index-
|
|
2
|
+
import { b as ft, t as vt } from "./index-6098179c.js";
|
|
3
3
|
function pt() {
|
|
4
4
|
return Ee().__VUE_DEVTOOLS_GLOBAL_HOOK__;
|
|
5
5
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as o, openBlock as t, createElementBlock as a, createElementVNode as e, createVNode as l, unref as n, createStaticVNode as d } from "vue";
|
|
2
|
-
import { b as s, t as b } from "./index-
|
|
2
|
+
import { b as s, t as b } from "./index-6098179c.js";
|
|
3
3
|
const p = { class: "relative h-10 w-72 min-w-[200px]" }, f = ["disabled"], i = /* @__PURE__ */ d('<option value="option">Choisissez une option</option><option value="vanderpoel">Van Der Poel</option><option value="vanaert">Van Aert</option><option value="pogacar">Pogacar</option><option value="evenepoel">Evenepoel</option>', 5), u = [
|
|
4
4
|
i
|
|
5
5
|
], c = /* @__PURE__ */ e("label", { class: "before:content[' '] after:content[' '] pointer-events-none absolute left-0 border-red-500 -top-1.5 flex h-full w-full select-none text-[11px] font-normal leading-tight text-blue-gray-400 transition-all before:pointer-events-none before:mt-[6.5px] before:mr-1 before:box-border before:block before:h-1.5 before:w-2.5 before:rounded-tl-md before:border-t before:border-l before:border-blue-gray-200 before:transition-all after:pointer-events-none after:mt-[6.5px] after:ml-1 after:box-border after:block after:h-1.5 after:w-2.5 after:flex-grow after:rounded-tr-md after:border-t after:border-r after:border-blue-gray-200 after:transition-all peer-placeholder-shown:text-sm peer-placeholder-shown:leading-[3.75] peer-placeholder-shown:text-blue-gray-500 peer-placeholder-shown:before:border-transparent peer-placeholder-shown:after:border-transparent peer-focus:text-[11px] peer-focus:leading-tight peer-focus:text-blue-500 peer-focus:before:border-t-2 peer-focus:before:border-l-2 peer-focus:before:border-blue-500 peer-focus:after:border-t-2 peer-focus:after:border-r-2 peer-focus:after:border-blue-500 peer-disabled:text-transparent peer-disabled:before:border-transparent peer-disabled:after:border-transparent peer-disabled:peer-placeholder-shown:text-blue-gray-500" }, " Quel est le meilleur cycliste ", -1), _ = /* @__PURE__ */ o({
|
package/dist/ep-lib-ts.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { N as E, I as e, y as o, b as r, n as i, c as n, d as t, P as d, e as C, v as c, f as l, q as m, g as u, J as S, h as g, z as h, i as x, Q as T, o as f, A, B, w as I, p as L, x as b, K as k, a as v, r as P, s as Q, j as V, C as w, k as D, D as F, l as H, O as K, E as R, m as j, F as q, G as y, H as z } from "./index-
|
|
1
|
+
import { N as E, I as e, y as o, b as r, n as i, c as n, d as t, P as d, e as C, v as c, f as l, q as m, g as u, J as S, h as g, z as h, i as x, Q as T, o as f, A, B, w as I, p as L, x as b, K as k, a as v, r as P, s as Q, j as V, C as w, k as D, D as F, l as H, O as K, E as R, m as j, F as q, G as y, H as z } from "./index-6098179c.js";
|
|
2
2
|
import "vue";
|
|
3
3
|
export {
|
|
4
4
|
E as EpAccordeon,
|
package/dist/ep-lib-ts.umd.cjs
CHANGED
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
c0,1.6-0.9,2.9-2.2,3.5v-7.1C86.1-60.7,87-59.3,87-57.8 M78.5-60.4l4.4-4.4v14.2l-4.4-4.4H75v-5.3H78.5z"></path></g><g style="opacity:0.1;"><path d="M9.8-115.5c3.5,0.8,6.2,4,6.2,7.8s-2.7,7-6.2,7.8v-1.8c2.6-0.8,4.4-3.1,4.4-5.9s-1.9-5.2-4.4-5.9V-115.5 M12-107.8
|
|
35
35
|
c0,1.6-0.9,2.9-2.2,3.5v-7.1C11.1-110.7,12-109.3,12-107.8 M3.5-110.4l4.4-4.4v14.2l-4.4-4.4H0v-5.3H3.5z"></path></g></g></pattern>`,1),tp=o.createElementVNode("path",{style:{fill:"url(#New_Pattern)"},d:"M639,1v358H1V1H639 M640,0H0v360h640V0L640,0z"},null,-1),rp=o.createElementVNode("g",null,[o.createElementVNode("rect",{x:"0.5",y:"0.5",style:{fill:"url(#New_Pattern)"},width:"639",height:"359"})],-1),np=o.createElementVNode("g",null,[o.createElementVNode("path",{style:{fill:"white"},d:`M310.7,114.7c-31,4.4-53.2,32.4-53.2,63.7v46.8c0,11.5,9.3,20.8,20.8,20.8h20.8v-55.6h-27.8v-12
|
|
36
36
|
c0-24.9,17.9-47.1,42.5-50.1c29.6-3.6,54.7,19.4,54.7,48.3v13.9h-27.8V246h20.8c11.5,0,20.8-9.3,20.8-20.8v-48.6
|
|
37
|
-
C382.5,138.7,349.4,109.1,310.7,114.7z`})],-1),ms=o.defineComponent({__name:"BgAudio",props:{fill:{default:"fill-primary"}},setup(r){const e=r;return(t,n)=>(o.openBlock(),o.createElementBlock("svg",Qf,[ep,o.createElementVNode("g",null,[o.createElementVNode("rect",{class:o.normalizeClass(e.fill),width:"640",height:"360"},null,2),tp]),rp,np]))}}),fo=Object.freeze(Object.defineProperty({__proto__:null,default:ms},Symbol.toStringTag,{value:"Module"})),op=["innerHTML"],ap={class:"max-w-screen-sm mx-auto"},sp=["src"],gs=o.defineComponent({__name:"EpAudio",props:{src:{},title:{},intentions:{},credits:{},labelIntentions:{default:"Intentions d'écoute"},type:{default:"base"},messageError:{default:"Mauvais url"},hideIcon:{type:Boolean,default:!1},mandateLevel:{}},setup(r){const e=r,t=o.computed(()=>!!(e.src.endsWith(".mp3")||e.src.endsWith(".ogg")||e.src.endsWith(".wav"))),n=o.computed(()=>Oe("fill",e.type)),a=o.computed(()=>e.intentions?je(e.intentions)?e.intentions:Ye(e.intentions):null),{src:s,title:l,hideIcon:i,mandateLevel:c}=o.toRefs(e);return(d,f)=>(o.openBlock(),o.createBlock(ve,{title:o.unref(l),type:d.type,hideIcon:o.unref(i),icon:o.unref(md),mandateLevel:o.unref(c)},o.createSlots({content:o.withCtx(()=>[o.createElementVNode("div",ap,[o.createVNode(ms,{fill:n.value},null,8,["fill"]),t.value?(o.openBlock(),o.createElementBlock("audio",{key:0,ref:"video",controls:"",src:o.unref(s),controlsList:"nodownload"},null,8,sp)):(o.openBlock(),o.createBlock(or,{key:1,type:"error",outlined:""},{default:o.withCtx(()=>[o.createElementVNode("p",null,o.toDisplayString(d.messageError),1)]),_:1}))])]),_:2},[a.value?{name:"intentions",fn:o.withCtx(()=>[o.createElementVNode("div",{innerHTML:a.value},null,8,op)]),key:"0"}:void 0]),1032,["title","type","hideIcon","icon","mandateLevel"]))}}),po=Object.freeze(Object.defineProperty({__proto__:null,default:gs},Symbol.toStringTag,{value:"Module"})),lp={key:0},ip={class:"flex items-center justify-center mb-2"},cp={class:"bg-white shadow-xl p-4 max-w-[800px] mx-auto border-solid"},up={class:"max-w-[800px] h-[550px] m-auto relative"},dp={key:0,class:"mt-2 text-sm text-gray-800"},hp={key:1,class:"flex justify-end"},fp=["innerHTML"],pp={class:"flex justify-end"},mp={key:1,class:"flex"},gp=o.defineComponent({__name:"EpCarousel",props:{carrouselImg:{},gallery:{type:Boolean,default:!1},labelRef:{default:"Référence"},labelClose:{default:"Fermer"}},setup(r){const e=r,t=o.ref(0),n=o.ref(!1),a=()=>{const f=t.value===0?e.carrouselImg.length-1:t.value-1;t.value=f},s=()=>{const f=t.value===e.carrouselImg.length-1?0:t.value+1;t.value=f},{carrouselImg:l,labelClose:i,labelRef:c}=o.toRefs(e);return(d,f)=>{var p,b;return d.gallery?(o.openBlock(),o.createElementBlock("div",mp,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(o.unref(l),g=>(o.openBlock(),o.createBlock(At,{key:`image-${g==null?void 0:g.uid}`,src:g.src,bib:g.bib,caption:g.caption,thumbnail:""},null,8,["src","bib","caption"]))),128))])):(o.openBlock(),o.createElementBlock("div",lp,[o.createElementVNode("div",ip,[o.createElementVNode("button",{onClick:a},[o.createVNode(re,{"icon-path":o.unref(dd)},null,8,["icon-path"])]),o.createTextVNode(" "+o.toDisplayString(t.value+1)+"/"+o.toDisplayString(o.unref(l).length)+" ",1),o.createElementVNode("button",{onClick:s},[o.createVNode(re,{"icon-path":o.unref(hd)},null,8,["icon-path"])])]),o.createElementVNode("div",cp,[o.createElementVNode("div",up,[o.createElementVNode("div",{class:"w-full h-full bg-center bg-cover duration-500",style:o.normalizeStyle(`background-image:url('${o.unref(l)[t.value].src}')`)},null,4)]),(p=o.unref(l)[t.value])!=null&&p.caption?(o.openBlock(),o.createElementBlock("div",dp,o.toDisplayString(o.unref(l)[t.value].caption),1)):o.createCommentVNode("",!0),(b=o.unref(l)[t.value])!=null&&b.bib?(o.openBlock(),o.createElementBlock("div",hp,[o.createVNode(Ce,{type:"primary",onClick:f[0]||(f[0]=g=>n.value=!0),dark:""},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(c)),1)]),_:1})])):o.createCommentVNode("",!0)]),o.createVNode(nr,{modelValue:n.value,"onUpdate:modelValue":f[2]||(f[2]=g=>n.value=g),title:"Référence"},{default:o.withCtx(()=>[o.createElementVNode("div",{innerHTML:o.unref(l)[t.value].bib},null,8,fp),o.createElementVNode("div",pp,[o.createVNode(Ce,{onClick:f[1]||(f[1]=g=>n.value=!1),type:"primary",dark:""},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(i)),1)]),_:1})])]),_:1},8,["modelValue"])]))}}}),RX="",bs=Et(gp,[["__scopeId","data-v-049ea2df"]]),mo=Object.freeze(Object.defineProperty({__proto__:null,default:bs},Symbol.toStringTag,{value:"Module"})),bp=["innerHTML"],yp=["src","height"],go=o.defineComponent({__name:"EpIframe",props:{src:{},big:{type:Boolean,default:!1},title:{},intentions:{},hideIcon:{type:Boolean,default:!1},type:{default:"base"},mandateLevel:{}},setup(r){const e=r,t=o.computed(()=>e.intentions?je(e.intentions)?e.intentions:Ye(e.intentions):null),n=o.computed(()=>e.big?"1000":"520"),{src:a,title:s,intentions:l,hideIcon:i}=o.toRefs(e);return(c,d)=>(o.openBlock(),o.createBlock(ve,{title:o.unref(s),type:c.type,hideIcon:o.unref(i),icon:o.unref(J1),mandateLevel:c.mandateLevel},o.createSlots({content:o.withCtx(()=>[o.createElementVNode("iframe",{src:o.unref(a),class:"w-full",height:n.value},null,8,yp)]),_:2},[t.value?{name:"intentions",fn:o.withCtx(()=>[o.createElementVNode("div",{innerHTML:t.value},null,8,bp)]),key:"0"}:void 0]),1032,["title","type","hideIcon","icon","mandateLevel"]))}}),bo=Object.freeze(Object.defineProperty({__proto__:null,default:go},Symbol.toStringTag,{value:"Module"}));class Ve{constructor(e,t,n){this.lexer=void 0,this.start=void 0,this.end=void 0,this.lexer=e,this.start=t,this.end=n}static range(e,t){return t?!e||!e.loc||!t.loc||e.loc.lexer!==t.loc.lexer?null:new Ve(e.loc.lexer,e.loc.start,t.loc.end):e&&e.loc}}class Xe{constructor(e,t){this.text=void 0,this.loc=void 0,this.noexpand=void 0,this.treatAsRelax=void 0,this.text=e,this.loc=t}range(e,t){return new Xe(t,Ve.range(this,e))}}class z{constructor(e,t){this.name=void 0,this.position=void 0,this.length=void 0,this.rawMessage=void 0;var n="KaTeX parse error: "+e,a,s,l=t&&t.loc;if(l&&l.start<=l.end){var i=l.lexer.input;a=l.start,s=l.end,a===i.length?n+=" at end of input: ":n+=" at position "+(a+1)+": ";var c=i.slice(a,s).replace(/[^]/g,"$&̲"),d;a>15?d="…"+i.slice(a-15,a):d=i.slice(0,a);var f;s+15<i.length?f=i.slice(s,s+15)+"…":f=i.slice(s),n+=d+c+f}var p=new Error(n);return p.name="ParseError",p.__proto__=z.prototype,p.position=a,a!=null&&s!=null&&(p.length=s-a),p.rawMessage=e,p}}z.prototype.__proto__=Error.prototype;var vp=function(e,t){return e.indexOf(t)!==-1},xp=function(e,t){return e===void 0?t:e},kp=/([A-Z])/g,wp=function(e){return e.replace(kp,"-$1").toLowerCase()},_p={"&":"&",">":">","<":"<",'"':""","'":"'"},Cp=/[&><"']/g;function Sp(r){return String(r).replace(Cp,e=>_p[e])}var ys=function r(e){return e.type==="ordgroup"||e.type==="color"?e.body.length===1?r(e.body[0]):e:e.type==="font"?r(e.body):e},Ep=function(e){var t=ys(e);return t.type==="mathord"||t.type==="textord"||t.type==="atom"},Ap=function(e){if(!e)throw new Error("Expected non-null, but got "+String(e));return e},Tp=function(e){var t=/^\s*([^\\/#]*?)(?::|�*58|�*3a)/i.exec(e);return t!=null?t[1]:"_relative"},H={contains:vp,deflt:xp,escape:Sp,hyphenate:wp,getBaseElem:ys,isCharacterBox:Ep,protocolFromUrl:Tp},Lr={displayMode:{type:"boolean",description:"Render math in display mode, which puts the math in display style (so \\int and \\sum are large, for example), and centers the math on the page on its own line.",cli:"-d, --display-mode"},output:{type:{enum:["htmlAndMathml","html","mathml"]},description:"Determines the markup language of the output.",cli:"-F, --format <type>"},leqno:{type:"boolean",description:"Render display math in leqno style (left-justified tags)."},fleqn:{type:"boolean",description:"Render display math flush left."},throwOnError:{type:"boolean",default:!0,cli:"-t, --no-throw-on-error",cliDescription:"Render errors (in the color given by --error-color) instead of throwing a ParseError exception when encountering an error."},errorColor:{type:"string",default:"#cc0000",cli:"-c, --error-color <color>",cliDescription:"A color string given in the format 'rgb' or 'rrggbb' (no #). This option determines the color of errors rendered by the -t option.",cliProcessor:r=>"#"+r},macros:{type:"object",cli:"-m, --macro <def>",cliDescription:"Define custom macro of the form '\\foo:expansion' (use multiple -m arguments for multiple macros).",cliDefault:[],cliProcessor:(r,e)=>(e.push(r),e)},minRuleThickness:{type:"number",description:"Specifies a minimum thickness, in ems, for fraction lines, `\\sqrt` top lines, `{array}` vertical lines, `\\hline`, `\\hdashline`, `\\underline`, `\\overline`, and the borders of `\\fbox`, `\\boxed`, and `\\fcolorbox`.",processor:r=>Math.max(0,r),cli:"--min-rule-thickness <size>",cliProcessor:parseFloat},colorIsTextColor:{type:"boolean",description:"Makes \\color behave like LaTeX's 2-argument \\textcolor, instead of LaTeX's one-argument \\color mode change.",cli:"-b, --color-is-text-color"},strict:{type:[{enum:["warn","ignore","error"]},"boolean","function"],description:"Turn on strict / LaTeX faithfulness mode, which throws an error if the input uses features that are not supported by LaTeX.",cli:"-S, --strict",cliDefault:!1},trust:{type:["boolean","function"],description:"Trust the input, enabling all HTML features such as \\url.",cli:"-T, --trust"},maxSize:{type:"number",default:1/0,description:"If non-zero, all user-specified sizes, e.g. in \\rule{500em}{500em}, will be capped to maxSize ems. Otherwise, elements and spaces can be arbitrarily large",processor:r=>Math.max(0,r),cli:"-s, --max-size <n>",cliProcessor:parseInt},maxExpand:{type:"number",default:1e3,description:"Limit the number of macro expansions to the specified number, to prevent e.g. infinite macro loops. If set to Infinity, the macro expander will try to fully expand as in LaTeX.",processor:r=>Math.max(0,r),cli:"-e, --max-expand <n>",cliProcessor:r=>r==="Infinity"?1/0:parseInt(r)},globalGroup:{type:"boolean",cli:!1}};function Bp(r){if(r.default)return r.default;var e=r.type,t=Array.isArray(e)?e[0]:e;if(typeof t!="string")return t.enum[0];switch(t){case"boolean":return!1;case"string":return"";case"number":return 0;case"object":return{}}}class yo{constructor(e){this.displayMode=void 0,this.output=void 0,this.leqno=void 0,this.fleqn=void 0,this.throwOnError=void 0,this.errorColor=void 0,this.macros=void 0,this.minRuleThickness=void 0,this.colorIsTextColor=void 0,this.strict=void 0,this.trust=void 0,this.maxSize=void 0,this.maxExpand=void 0,this.globalGroup=void 0,e=e||{};for(var t in Lr)if(Lr.hasOwnProperty(t)){var n=Lr[t];this[t]=e[t]!==void 0?n.processor?n.processor(e[t]):e[t]:Bp(n)}}reportNonstrict(e,t,n){var a=this.strict;if(typeof a=="function"&&(a=a(e,t,n)),!(!a||a==="ignore")){if(a===!0||a==="error")throw new z("LaTeX-incompatible input and strict mode is set to 'error': "+(t+" ["+e+"]"),n);a==="warn"?typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(t+" ["+e+"]")):typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+a+"': "+t+" ["+e+"]"))}}useStrictBehavior(e,t,n){var a=this.strict;if(typeof a=="function")try{a=a(e,t,n)}catch{a="error"}return!a||a==="ignore"?!1:a===!0||a==="error"?!0:a==="warn"?(typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(t+" ["+e+"]")),!1):(typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+a+"': "+t+" ["+e+"]")),!1)}isTrusted(e){e.url&&!e.protocol&&(e.protocol=H.protocolFromUrl(e.url));var t=typeof this.trust=="function"?this.trust(e):this.trust;return!!t}}class mt{constructor(e,t,n){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=e,this.size=t,this.cramped=n}sup(){return Ke[Mp[this.id]]}sub(){return Ke[Vp[this.id]]}fracNum(){return Ke[Dp[this.id]]}fracDen(){return Ke[qp[this.id]]}cramp(){return Ke[zp[this.id]]}text(){return Ke[Np[this.id]]}isTight(){return this.size>=2}}var vo=0,Rr=1,Ot=2,at=3,ar=4,ze=5,$t=6,ke=7,Ke=[new mt(vo,0,!1),new mt(Rr,0,!0),new mt(Ot,1,!1),new mt(at,1,!0),new mt(ar,2,!1),new mt(ze,2,!0),new mt($t,3,!1),new mt(ke,3,!0)],Mp=[ar,ze,ar,ze,$t,ke,$t,ke],Vp=[ze,ze,ze,ze,ke,ke,ke,ke],Dp=[Ot,at,ar,ze,$t,ke,$t,ke],qp=[at,at,ze,ze,ke,ke,ke,ke],zp=[Rr,Rr,at,at,ze,ze,ke,ke],Np=[vo,Rr,Ot,at,Ot,at,Ot,at],O={DISPLAY:Ke[vo],TEXT:Ke[Ot],SCRIPT:Ke[ar],SCRIPTSCRIPT:Ke[$t]},xo=[{name:"latin",blocks:[[256,591],[768,879]]},{name:"cyrillic",blocks:[[1024,1279]]},{name:"armenian",blocks:[[1328,1423]]},{name:"brahmic",blocks:[[2304,4255]]},{name:"georgian",blocks:[[4256,4351]]},{name:"cjk",blocks:[[12288,12543],[19968,40879],[65280,65376]]},{name:"hangul",blocks:[[44032,55215]]}];function Lp(r){for(var e=0;e<xo.length;e++)for(var t=xo[e],n=0;n<t.blocks.length;n++){var a=t.blocks[n];if(r>=a[0]&&r<=a[1])return t.name}return null}var Fr=[];xo.forEach(r=>r.blocks.forEach(e=>Fr.push(...e)));function vs(r){for(var e=0;e<Fr.length;e+=2)if(r>=Fr[e]&&r<=Fr[e+1])return!0;return!1}var Ht=80,Rp=function(e,t){return"M95,"+(622+e+t)+`
|
|
37
|
+
C382.5,138.7,349.4,109.1,310.7,114.7z`})],-1),ms=o.defineComponent({__name:"BgAudio",props:{fill:{default:"fill-primary"}},setup(r){const e=r;return(t,n)=>(o.openBlock(),o.createElementBlock("svg",Qf,[ep,o.createElementVNode("g",null,[o.createElementVNode("rect",{class:o.normalizeClass(e.fill),width:"640",height:"360"},null,2),tp]),rp,np]))}}),fo=Object.freeze(Object.defineProperty({__proto__:null,default:ms},Symbol.toStringTag,{value:"Module"})),op=["innerHTML"],ap={class:"max-w-screen-sm mx-auto"},sp=["src"],gs=o.defineComponent({__name:"EpAudio",props:{src:{},title:{},intentions:{},credits:{},labelIntentions:{default:"Intentions d'écoute"},type:{default:"base"},messageError:{default:"Mauvais url"},hideIcon:{type:Boolean,default:!1},mandateLevel:{}},setup(r){const e=r,t=o.computed(()=>!!(e.src.endsWith(".mp3")||e.src.endsWith(".ogg")||e.src.endsWith(".wav"))),n=o.computed(()=>Oe("fill",e.type)),a=o.computed(()=>e.intentions?je(e.intentions)?e.intentions:Ye(e.intentions):null),{src:s,title:l,hideIcon:i,mandateLevel:c}=o.toRefs(e);return(d,f)=>(o.openBlock(),o.createBlock(ve,{title:o.unref(l),type:d.type,hideIcon:o.unref(i),icon:o.unref(md),mandateLevel:o.unref(c)},o.createSlots({content:o.withCtx(()=>[o.createElementVNode("div",ap,[o.createVNode(ms,{fill:n.value},null,8,["fill"]),t.value?(o.openBlock(),o.createElementBlock("audio",{key:0,ref:"video",controls:"",src:o.unref(s),controlsList:"nodownload"},null,8,sp)):(o.openBlock(),o.createBlock(or,{key:1,type:"error",outlined:""},{default:o.withCtx(()=>[o.createElementVNode("p",null,o.toDisplayString(d.messageError),1)]),_:1}))])]),_:2},[a.value?{name:"intentions",fn:o.withCtx(()=>[o.createElementVNode("div",{innerHTML:a.value},null,8,op)]),key:"0"}:void 0]),1032,["title","type","hideIcon","icon","mandateLevel"]))}}),po=Object.freeze(Object.defineProperty({__proto__:null,default:gs},Symbol.toStringTag,{value:"Module"})),lp={key:0},ip={class:"flex items-center justify-center mb-2"},cp={class:"bg-white shadow-xl p-4 max-w-[800px] mx-auto border-solid"},up={class:"max-w-[800px] h-[550px] m-auto relative"},dp={key:0,class:"mt-2 text-sm text-gray-800"},hp={key:1,class:"flex justify-end"},fp=["innerHTML"],pp={class:"flex justify-end"},mp={key:1,class:"flex"},gp=o.defineComponent({__name:"EpCarousel",props:{carrouselImg:{},gallery:{type:Boolean,default:!1},labelRef:{default:"Référence"},labelClose:{default:"Fermer"}},setup(r){const e=r,t=o.ref(0),n=o.ref(!1),a=()=>{const f=t.value===0?e.carrouselImg.length-1:t.value-1;t.value=f},s=()=>{const f=t.value===e.carrouselImg.length-1?0:t.value+1;t.value=f},{carrouselImg:l,labelClose:i,labelRef:c}=o.toRefs(e);return(d,f)=>{var p,b;return d.gallery?(o.openBlock(),o.createElementBlock("div",mp,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(o.unref(l),g=>(o.openBlock(),o.createBlock(At,{key:`image-${g==null?void 0:g.uid}`,src:g.src,bib:g.bib,caption:g.caption,thumbnail:""},null,8,["src","bib","caption"]))),128))])):(o.openBlock(),o.createElementBlock("div",lp,[o.createElementVNode("div",ip,[o.createElementVNode("button",{onClick:a},[o.createVNode(re,{"icon-path":o.unref(dd)},null,8,["icon-path"])]),o.createTextVNode(" "+o.toDisplayString(t.value+1)+"/"+o.toDisplayString(o.unref(l).length)+" ",1),o.createElementVNode("button",{onClick:s},[o.createVNode(re,{"icon-path":o.unref(hd)},null,8,["icon-path"])])]),o.createElementVNode("div",cp,[o.createElementVNode("div",up,[o.createElementVNode("div",{class:"w-full h-full bg-center bg-cover duration-500",style:o.normalizeStyle(`background-image:url('${o.unref(l)[t.value].src}')`)},null,4)]),(p=o.unref(l)[t.value])!=null&&p.caption?(o.openBlock(),o.createElementBlock("div",dp,o.toDisplayString(o.unref(l)[t.value].caption),1)):o.createCommentVNode("",!0),(b=o.unref(l)[t.value])!=null&&b.bib?(o.openBlock(),o.createElementBlock("div",hp,[o.createVNode(Ce,{type:"primary",onClick:f[0]||(f[0]=g=>n.value=!0),dark:""},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(c)),1)]),_:1})])):o.createCommentVNode("",!0)]),o.createVNode(nr,{modelValue:n.value,"onUpdate:modelValue":f[2]||(f[2]=g=>n.value=g),title:"Référence"},{default:o.withCtx(()=>[o.createElementVNode("div",{innerHTML:o.unref(l)[t.value].bib},null,8,fp),o.createElementVNode("div",pp,[o.createVNode(Ce,{onClick:f[1]||(f[1]=g=>n.value=!1),type:"primary",dark:""},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(i)),1)]),_:1})])]),_:1},8,["modelValue"])]))}}}),RX="",bs=Et(gp,[["__scopeId","data-v-049ea2df"]]),mo=Object.freeze(Object.defineProperty({__proto__:null,default:bs},Symbol.toStringTag,{value:"Module"})),bp=["innerHTML"],yp=["src","height"],go=o.defineComponent({__name:"EpIframe",props:{src:{},big:{type:Boolean,default:!1},title:{},intentions:{},hideIcon:{type:Boolean,default:!1},type:{default:"base"},mandateLevel:{}},setup(r){const e=r,t=o.computed(()=>e.intentions?je(e.intentions)?e.intentions:Ye(e.intentions):null),n=o.computed(()=>e.big?"1000":"520"),a=o.computed(()=>{let i=e.src[e.src.length-1],c=/^\d+$/.test(i),d=e.src.includes("https://studium.umontreal.ca");return c&&d?e.src+"&embed=1":e.src}),{title:s,hideIcon:l}=o.toRefs(e);return(i,c)=>(o.openBlock(),o.createBlock(ve,{title:o.unref(s),type:i.type,hideIcon:o.unref(l),icon:o.unref(J1),mandateLevel:i.mandateLevel},o.createSlots({content:o.withCtx(()=>[o.createElementVNode("iframe",{src:a.value,class:"w-full",height:n.value},null,8,yp)]),_:2},[t.value?{name:"intentions",fn:o.withCtx(()=>[o.createElementVNode("div",{innerHTML:t.value},null,8,bp)]),key:"0"}:void 0]),1032,["title","type","hideIcon","icon","mandateLevel"]))}}),bo=Object.freeze(Object.defineProperty({__proto__:null,default:go},Symbol.toStringTag,{value:"Module"}));class Ve{constructor(e,t,n){this.lexer=void 0,this.start=void 0,this.end=void 0,this.lexer=e,this.start=t,this.end=n}static range(e,t){return t?!e||!e.loc||!t.loc||e.loc.lexer!==t.loc.lexer?null:new Ve(e.loc.lexer,e.loc.start,t.loc.end):e&&e.loc}}class Xe{constructor(e,t){this.text=void 0,this.loc=void 0,this.noexpand=void 0,this.treatAsRelax=void 0,this.text=e,this.loc=t}range(e,t){return new Xe(t,Ve.range(this,e))}}class z{constructor(e,t){this.name=void 0,this.position=void 0,this.length=void 0,this.rawMessage=void 0;var n="KaTeX parse error: "+e,a,s,l=t&&t.loc;if(l&&l.start<=l.end){var i=l.lexer.input;a=l.start,s=l.end,a===i.length?n+=" at end of input: ":n+=" at position "+(a+1)+": ";var c=i.slice(a,s).replace(/[^]/g,"$&̲"),d;a>15?d="…"+i.slice(a-15,a):d=i.slice(0,a);var f;s+15<i.length?f=i.slice(s,s+15)+"…":f=i.slice(s),n+=d+c+f}var p=new Error(n);return p.name="ParseError",p.__proto__=z.prototype,p.position=a,a!=null&&s!=null&&(p.length=s-a),p.rawMessage=e,p}}z.prototype.__proto__=Error.prototype;var vp=function(e,t){return e.indexOf(t)!==-1},xp=function(e,t){return e===void 0?t:e},kp=/([A-Z])/g,wp=function(e){return e.replace(kp,"-$1").toLowerCase()},_p={"&":"&",">":">","<":"<",'"':""","'":"'"},Cp=/[&><"']/g;function Sp(r){return String(r).replace(Cp,e=>_p[e])}var ys=function r(e){return e.type==="ordgroup"||e.type==="color"?e.body.length===1?r(e.body[0]):e:e.type==="font"?r(e.body):e},Ep=function(e){var t=ys(e);return t.type==="mathord"||t.type==="textord"||t.type==="atom"},Ap=function(e){if(!e)throw new Error("Expected non-null, but got "+String(e));return e},Tp=function(e){var t=/^\s*([^\\/#]*?)(?::|�*58|�*3a)/i.exec(e);return t!=null?t[1]:"_relative"},H={contains:vp,deflt:xp,escape:Sp,hyphenate:wp,getBaseElem:ys,isCharacterBox:Ep,protocolFromUrl:Tp},Lr={displayMode:{type:"boolean",description:"Render math in display mode, which puts the math in display style (so \\int and \\sum are large, for example), and centers the math on the page on its own line.",cli:"-d, --display-mode"},output:{type:{enum:["htmlAndMathml","html","mathml"]},description:"Determines the markup language of the output.",cli:"-F, --format <type>"},leqno:{type:"boolean",description:"Render display math in leqno style (left-justified tags)."},fleqn:{type:"boolean",description:"Render display math flush left."},throwOnError:{type:"boolean",default:!0,cli:"-t, --no-throw-on-error",cliDescription:"Render errors (in the color given by --error-color) instead of throwing a ParseError exception when encountering an error."},errorColor:{type:"string",default:"#cc0000",cli:"-c, --error-color <color>",cliDescription:"A color string given in the format 'rgb' or 'rrggbb' (no #). This option determines the color of errors rendered by the -t option.",cliProcessor:r=>"#"+r},macros:{type:"object",cli:"-m, --macro <def>",cliDescription:"Define custom macro of the form '\\foo:expansion' (use multiple -m arguments for multiple macros).",cliDefault:[],cliProcessor:(r,e)=>(e.push(r),e)},minRuleThickness:{type:"number",description:"Specifies a minimum thickness, in ems, for fraction lines, `\\sqrt` top lines, `{array}` vertical lines, `\\hline`, `\\hdashline`, `\\underline`, `\\overline`, and the borders of `\\fbox`, `\\boxed`, and `\\fcolorbox`.",processor:r=>Math.max(0,r),cli:"--min-rule-thickness <size>",cliProcessor:parseFloat},colorIsTextColor:{type:"boolean",description:"Makes \\color behave like LaTeX's 2-argument \\textcolor, instead of LaTeX's one-argument \\color mode change.",cli:"-b, --color-is-text-color"},strict:{type:[{enum:["warn","ignore","error"]},"boolean","function"],description:"Turn on strict / LaTeX faithfulness mode, which throws an error if the input uses features that are not supported by LaTeX.",cli:"-S, --strict",cliDefault:!1},trust:{type:["boolean","function"],description:"Trust the input, enabling all HTML features such as \\url.",cli:"-T, --trust"},maxSize:{type:"number",default:1/0,description:"If non-zero, all user-specified sizes, e.g. in \\rule{500em}{500em}, will be capped to maxSize ems. Otherwise, elements and spaces can be arbitrarily large",processor:r=>Math.max(0,r),cli:"-s, --max-size <n>",cliProcessor:parseInt},maxExpand:{type:"number",default:1e3,description:"Limit the number of macro expansions to the specified number, to prevent e.g. infinite macro loops. If set to Infinity, the macro expander will try to fully expand as in LaTeX.",processor:r=>Math.max(0,r),cli:"-e, --max-expand <n>",cliProcessor:r=>r==="Infinity"?1/0:parseInt(r)},globalGroup:{type:"boolean",cli:!1}};function Bp(r){if(r.default)return r.default;var e=r.type,t=Array.isArray(e)?e[0]:e;if(typeof t!="string")return t.enum[0];switch(t){case"boolean":return!1;case"string":return"";case"number":return 0;case"object":return{}}}class yo{constructor(e){this.displayMode=void 0,this.output=void 0,this.leqno=void 0,this.fleqn=void 0,this.throwOnError=void 0,this.errorColor=void 0,this.macros=void 0,this.minRuleThickness=void 0,this.colorIsTextColor=void 0,this.strict=void 0,this.trust=void 0,this.maxSize=void 0,this.maxExpand=void 0,this.globalGroup=void 0,e=e||{};for(var t in Lr)if(Lr.hasOwnProperty(t)){var n=Lr[t];this[t]=e[t]!==void 0?n.processor?n.processor(e[t]):e[t]:Bp(n)}}reportNonstrict(e,t,n){var a=this.strict;if(typeof a=="function"&&(a=a(e,t,n)),!(!a||a==="ignore")){if(a===!0||a==="error")throw new z("LaTeX-incompatible input and strict mode is set to 'error': "+(t+" ["+e+"]"),n);a==="warn"?typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(t+" ["+e+"]")):typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+a+"': "+t+" ["+e+"]"))}}useStrictBehavior(e,t,n){var a=this.strict;if(typeof a=="function")try{a=a(e,t,n)}catch{a="error"}return!a||a==="ignore"?!1:a===!0||a==="error"?!0:a==="warn"?(typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(t+" ["+e+"]")),!1):(typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+a+"': "+t+" ["+e+"]")),!1)}isTrusted(e){e.url&&!e.protocol&&(e.protocol=H.protocolFromUrl(e.url));var t=typeof this.trust=="function"?this.trust(e):this.trust;return!!t}}class mt{constructor(e,t,n){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=e,this.size=t,this.cramped=n}sup(){return Ke[Mp[this.id]]}sub(){return Ke[Vp[this.id]]}fracNum(){return Ke[Dp[this.id]]}fracDen(){return Ke[qp[this.id]]}cramp(){return Ke[zp[this.id]]}text(){return Ke[Np[this.id]]}isTight(){return this.size>=2}}var vo=0,Rr=1,Ot=2,at=3,ar=4,ze=5,$t=6,ke=7,Ke=[new mt(vo,0,!1),new mt(Rr,0,!0),new mt(Ot,1,!1),new mt(at,1,!0),new mt(ar,2,!1),new mt(ze,2,!0),new mt($t,3,!1),new mt(ke,3,!0)],Mp=[ar,ze,ar,ze,$t,ke,$t,ke],Vp=[ze,ze,ze,ze,ke,ke,ke,ke],Dp=[Ot,at,ar,ze,$t,ke,$t,ke],qp=[at,at,ze,ze,ke,ke,ke,ke],zp=[Rr,Rr,at,at,ze,ze,ke,ke],Np=[vo,Rr,Ot,at,Ot,at,Ot,at],O={DISPLAY:Ke[vo],TEXT:Ke[Ot],SCRIPT:Ke[ar],SCRIPTSCRIPT:Ke[$t]},xo=[{name:"latin",blocks:[[256,591],[768,879]]},{name:"cyrillic",blocks:[[1024,1279]]},{name:"armenian",blocks:[[1328,1423]]},{name:"brahmic",blocks:[[2304,4255]]},{name:"georgian",blocks:[[4256,4351]]},{name:"cjk",blocks:[[12288,12543],[19968,40879],[65280,65376]]},{name:"hangul",blocks:[[44032,55215]]}];function Lp(r){for(var e=0;e<xo.length;e++)for(var t=xo[e],n=0;n<t.blocks.length;n++){var a=t.blocks[n];if(r>=a[0]&&r<=a[1])return t.name}return null}var Fr=[];xo.forEach(r=>r.blocks.forEach(e=>Fr.push(...e)));function vs(r){for(var e=0;e<Fr.length;e+=2)if(r>=Fr[e]&&r<=Fr[e+1])return!0;return!1}var Ht=80,Rp=function(e,t){return"M95,"+(622+e+t)+`
|
|
38
38
|
c-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,-10,-9.5,-14
|
|
39
39
|
c0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54
|
|
40
40
|
c44.2,-33.3,65.8,-50.3,66.5,-51c1.3,-1.3,3,-2,5,-2c4.7,0,8.7,3.3,12,10
|
|
@@ -6185,7 +6185,7 @@ const rW = /* @__PURE__ */ re({
|
|
|
6185
6185
|
return l.pages = e.pages, l.type = i, i === "clip" && (l.src = l.url), i === "website" && (l.href = l.url, l.label = l.title, l.title = null), i === "book" && e.pages && (l.intentions = e.pages, l.pages = null), l.version_link && (l.url = l.version_link.url), l;
|
|
6186
6186
|
}), n = (i) => {
|
|
6187
6187
|
const l = vn(i);
|
|
6188
|
-
return l.name === "EpNothing" ? Lt(() => import("./EpNothing-
|
|
6188
|
+
return l.name === "EpNothing" ? Lt(() => import("./EpNothing-49d6aaf9.js")) : l.name === "EpReading" ? Lt(() => import("./EpReading-63a6b4a7.js")) : Lt(() => fn(/* @__PURE__ */ Object.assign({ "../basics/EpBadge.vue": () => import("./EpBadge-cb10612f.js"), "../basics/EpBtn.vue": () => import("./EpBtn-af008ece.js"), "../basics/EpCard.vue": () => import("./EpCard-c3b9b7f3.js"), "../basics/EpChip.vue": () => import("./EpChip-fe638461.js"), "../basics/EpDivider.vue": () => import("./EpDivider-24b9fdae.js"), "../basics/EpFlex.vue": () => import("./EpFlex-7055e504.js"), "../basics/EpIcon.vue": () => import("./EpIcon-c07e65b8.js"), "../basics/EpImg.vue": () => import("./EpImg-c144d3d2.js"), "../basics/EpSection.vue": () => import("./EpSection-7d78ae7e.js"), "../basics/EpSpinner.vue": () => import("./EpSpinner-a06a4c1e.js"), "../basics/EpTable.vue": () => import("./EpTable-f7a4501f.js"), "../basics/EpText.vue": () => import("./EpText-3c37dea4.js"), "../charts/EpBarChart.vue": () => import("./EpBarChart-83419240.js"), "../charts/EpLineChart.vue": () => import("./EpLineChart-171befe5.js"), "../charts/EpPieChart.vue": () => import("./EpPieChart-582e11c2.js"), "./EpEdu.vue": () => import("./EpEdu-bfa65400.js"), "./EpReading.vue": () => import("./EpReading-63a6b4a7.js"), "./EpResource.vue": () => import("./EpResource-4103b249.js"), "./EpScope.vue": () => import("./EpScope-737d27a9.js"), "../forms/EpCheckbox.vue": () => import("./EpCheckbox-fe632df9.js"), "../forms/EpInput.vue": () => import("./EpInput-e4461512.js"), "../forms/EpRadio.vue": () => import("./EpRadio-ae91a584.js"), "../forms/EpSelect.vue": () => import("./EpSelect-16c1dc3e.js"), "../forms/EpSwitch.vue": () => import("./EpSwitch-1eaf9d3f.js"), "../forms/EpTextarea.vue": () => import("./EpTextarea-67f751e9.js"), "../forms/EpToggle.vue": () => import("./EpToggle-9755056a.js"), "../interactions/EpAccordeon.vue": () => Promise.resolve().then(() => hn), "../interactions/EpContentSlider.vue": () => import("./EpContentSlider-3f980aaa.js"), "../interactions/EpModal.vue": () => import("./EpModal-a0b66d0c.js"), "../interactions/EpQuestion.vue": () => import("./EpQuestion-4bde8b02.js"), "../interactions/EpTabs.vue": () => Promise.resolve().then(() => gn), "../medias/EpAudio.vue": () => import("./EpAudio-00157c16.js"), "../medias/EpCarousel.vue": () => Promise.resolve().then(() => bn), "../medias/EpIframe.vue": () => import("./EpIframe-8b386b2d.js"), "../medias/EpKatex.vue": () => Promise.resolve().then(() => Hn), "../medias/EpLink.vue": () => import("./EpLink-198d821f.js"), "../medias/EpLinkVersion.vue": () => import("./EpLinkVersion-f04da9ef.js"), "../medias/EpSoftware.vue": () => import("./EpSoftware-41e74d15.js"), "../medias/EpSvg.vue": () => import("./EpSvg-b79609dc.js"), "../medias/EpTerm.vue": () => import("./EpTerm-51f8798c.js"), "../medias/EpTimeLine.vue": () => import("./EpTimeLine-fb50cf15.js"), "../medias/EpVideo.vue": () => import("./EpVideo-7c248b82.js"), "../medias/EpVideoPanopto.vue": () => import("./EpVideoPanopto-43a49f5c.js"), "../signages/EpAlert.vue": () => import("./EpAlert-ab232357.js"), "../signages/EpHeader.vue": () => import("./EpHeader-ccce56a6.js"), "../signages/EpNothing.vue": () => import("./EpNothing-49d6aaf9.js"), "../signages/EpQuote.vue": () => import("./EpQuote-45484b6a.js"), "../tools/BgAudio.vue": () => import("./BgAudio-19fc3ef0.js"), "../tools/DisplayBox.vue": () => import("./DisplayBox-fa19ab72.js"), "../tools/SvgFilter.vue": () => Promise.resolve().then(() => Vn), "../tools/TimelineItem.vue": () => Promise.resolve().then(() => Nn) }), `../${l.path}/${l.name}.vue`));
|
|
6189
6189
|
}, { mandateLevel: s, type: o, pages: a } = ae(e);
|
|
6190
6190
|
return (i, l) => (S(), X(Br(n(t.value.type)), go({ ...t.value }, {
|
|
6191
6191
|
mandateLevel: b(s),
|
|
@@ -6208,10 +6208,10 @@ const rW = /* @__PURE__ */ re({
|
|
|
6208
6208
|
const e = r, t = ye(0), n = I(() => e.slides ? e.slides.length === 0 ? { title: "no data", img: "", uid: 2, content: "" } : e.slides[t.value] : { title: "no data", img: "", uid: 2, content: "" }), s = I(() => {
|
|
6209
6209
|
var m;
|
|
6210
6210
|
if (n.value.img)
|
|
6211
|
-
return Lt(() => import("./EpImg-
|
|
6211
|
+
return Lt(() => import("./EpImg-c144d3d2.js"));
|
|
6212
6212
|
if (n.value.component) {
|
|
6213
6213
|
const f = vn((m = n.value.component) == null ? void 0 : m.type);
|
|
6214
|
-
return Lt(() => fn(/* @__PURE__ */ Object.assign({ "../basics/EpBadge.vue": () => import("./EpBadge-
|
|
6214
|
+
return Lt(() => fn(/* @__PURE__ */ Object.assign({ "../basics/EpBadge.vue": () => import("./EpBadge-cb10612f.js"), "../basics/EpBtn.vue": () => import("./EpBtn-af008ece.js"), "../basics/EpCard.vue": () => import("./EpCard-c3b9b7f3.js"), "../basics/EpChip.vue": () => import("./EpChip-fe638461.js"), "../basics/EpDivider.vue": () => import("./EpDivider-24b9fdae.js"), "../basics/EpFlex.vue": () => import("./EpFlex-7055e504.js"), "../basics/EpIcon.vue": () => import("./EpIcon-c07e65b8.js"), "../basics/EpImg.vue": () => import("./EpImg-c144d3d2.js"), "../basics/EpSection.vue": () => import("./EpSection-7d78ae7e.js"), "../basics/EpSpinner.vue": () => import("./EpSpinner-a06a4c1e.js"), "../basics/EpTable.vue": () => import("./EpTable-f7a4501f.js"), "../basics/EpText.vue": () => import("./EpText-3c37dea4.js"), "../charts/EpBarChart.vue": () => import("./EpBarChart-83419240.js"), "../charts/EpLineChart.vue": () => import("./EpLineChart-171befe5.js"), "../charts/EpPieChart.vue": () => import("./EpPieChart-582e11c2.js"), "../educationals/EpEdu.vue": () => import("./EpEdu-bfa65400.js"), "../educationals/EpReading.vue": () => import("./EpReading-63a6b4a7.js"), "../educationals/EpResource.vue": () => import("./EpResource-4103b249.js"), "../educationals/EpScope.vue": () => import("./EpScope-737d27a9.js"), "../forms/EpCheckbox.vue": () => import("./EpCheckbox-fe632df9.js"), "../forms/EpInput.vue": () => import("./EpInput-e4461512.js"), "../forms/EpRadio.vue": () => import("./EpRadio-ae91a584.js"), "../forms/EpSelect.vue": () => import("./EpSelect-16c1dc3e.js"), "../forms/EpSwitch.vue": () => import("./EpSwitch-1eaf9d3f.js"), "../forms/EpTextarea.vue": () => import("./EpTextarea-67f751e9.js"), "../forms/EpToggle.vue": () => import("./EpToggle-9755056a.js"), "./EpAccordeon.vue": () => Promise.resolve().then(() => hn), "./EpContentSlider.vue": () => import("./EpContentSlider-3f980aaa.js"), "./EpModal.vue": () => import("./EpModal-a0b66d0c.js"), "./EpQuestion.vue": () => import("./EpQuestion-4bde8b02.js"), "./EpTabs.vue": () => Promise.resolve().then(() => gn), "../medias/EpAudio.vue": () => import("./EpAudio-00157c16.js"), "../medias/EpCarousel.vue": () => Promise.resolve().then(() => bn), "../medias/EpIframe.vue": () => import("./EpIframe-8b386b2d.js"), "../medias/EpKatex.vue": () => Promise.resolve().then(() => Hn), "../medias/EpLink.vue": () => import("./EpLink-198d821f.js"), "../medias/EpLinkVersion.vue": () => import("./EpLinkVersion-f04da9ef.js"), "../medias/EpSoftware.vue": () => import("./EpSoftware-41e74d15.js"), "../medias/EpSvg.vue": () => import("./EpSvg-b79609dc.js"), "../medias/EpTerm.vue": () => import("./EpTerm-51f8798c.js"), "../medias/EpTimeLine.vue": () => import("./EpTimeLine-fb50cf15.js"), "../medias/EpVideo.vue": () => import("./EpVideo-7c248b82.js"), "../medias/EpVideoPanopto.vue": () => import("./EpVideoPanopto-43a49f5c.js"), "../signages/EpAlert.vue": () => import("./EpAlert-ab232357.js"), "../signages/EpHeader.vue": () => import("./EpHeader-ccce56a6.js"), "../signages/EpNothing.vue": () => import("./EpNothing-49d6aaf9.js"), "../signages/EpQuote.vue": () => import("./EpQuote-45484b6a.js"), "../tools/BgAudio.vue": () => import("./BgAudio-19fc3ef0.js"), "../tools/DisplayBox.vue": () => import("./DisplayBox-fa19ab72.js"), "../tools/SvgFilter.vue": () => Promise.resolve().then(() => Vn), "../tools/TimelineItem.vue": () => Promise.resolve().then(() => Nn) }), `../${f.path}/${f.name}.vue`));
|
|
6215
6215
|
}
|
|
6216
6216
|
return null;
|
|
6217
6217
|
}), o = I(() => t.value + 1 < e.slides.length), a = I(() => t.value + 1 > 1), i = () => {
|
|
@@ -6477,7 +6477,7 @@ const qP = {
|
|
|
6477
6477
|
});
|
|
6478
6478
|
const m = (A) => {
|
|
6479
6479
|
const T = vn(A);
|
|
6480
|
-
return T.name === "EpNothing" ? Lt(() => import("./EpNothing-
|
|
6480
|
+
return T.name === "EpNothing" ? Lt(() => import("./EpNothing-49d6aaf9.js")) : Lt(() => fn(/* @__PURE__ */ Object.assign({ "../basics/EpBadge.vue": () => import("./EpBadge-cb10612f.js"), "../basics/EpBtn.vue": () => import("./EpBtn-af008ece.js"), "../basics/EpCard.vue": () => import("./EpCard-c3b9b7f3.js"), "../basics/EpChip.vue": () => import("./EpChip-fe638461.js"), "../basics/EpDivider.vue": () => import("./EpDivider-24b9fdae.js"), "../basics/EpFlex.vue": () => import("./EpFlex-7055e504.js"), "../basics/EpIcon.vue": () => import("./EpIcon-c07e65b8.js"), "../basics/EpImg.vue": () => import("./EpImg-c144d3d2.js"), "../basics/EpSection.vue": () => import("./EpSection-7d78ae7e.js"), "../basics/EpSpinner.vue": () => import("./EpSpinner-a06a4c1e.js"), "../basics/EpTable.vue": () => import("./EpTable-f7a4501f.js"), "../basics/EpText.vue": () => import("./EpText-3c37dea4.js"), "../charts/EpBarChart.vue": () => import("./EpBarChart-83419240.js"), "../charts/EpLineChart.vue": () => import("./EpLineChart-171befe5.js"), "../charts/EpPieChart.vue": () => import("./EpPieChart-582e11c2.js"), "../educationals/EpEdu.vue": () => import("./EpEdu-bfa65400.js"), "../educationals/EpReading.vue": () => import("./EpReading-63a6b4a7.js"), "../educationals/EpResource.vue": () => import("./EpResource-4103b249.js"), "../educationals/EpScope.vue": () => import("./EpScope-737d27a9.js"), "../forms/EpCheckbox.vue": () => import("./EpCheckbox-fe632df9.js"), "../forms/EpInput.vue": () => import("./EpInput-e4461512.js"), "../forms/EpRadio.vue": () => import("./EpRadio-ae91a584.js"), "../forms/EpSelect.vue": () => import("./EpSelect-16c1dc3e.js"), "../forms/EpSwitch.vue": () => import("./EpSwitch-1eaf9d3f.js"), "../forms/EpTextarea.vue": () => import("./EpTextarea-67f751e9.js"), "../forms/EpToggle.vue": () => import("./EpToggle-9755056a.js"), "./EpAccordeon.vue": () => Promise.resolve().then(() => hn), "./EpContentSlider.vue": () => import("./EpContentSlider-3f980aaa.js"), "./EpModal.vue": () => import("./EpModal-a0b66d0c.js"), "./EpQuestion.vue": () => import("./EpQuestion-4bde8b02.js"), "./EpTabs.vue": () => Promise.resolve().then(() => gn), "../medias/EpAudio.vue": () => import("./EpAudio-00157c16.js"), "../medias/EpCarousel.vue": () => Promise.resolve().then(() => bn), "../medias/EpIframe.vue": () => import("./EpIframe-8b386b2d.js"), "../medias/EpKatex.vue": () => Promise.resolve().then(() => Hn), "../medias/EpLink.vue": () => import("./EpLink-198d821f.js"), "../medias/EpLinkVersion.vue": () => import("./EpLinkVersion-f04da9ef.js"), "../medias/EpSoftware.vue": () => import("./EpSoftware-41e74d15.js"), "../medias/EpSvg.vue": () => import("./EpSvg-b79609dc.js"), "../medias/EpTerm.vue": () => import("./EpTerm-51f8798c.js"), "../medias/EpTimeLine.vue": () => import("./EpTimeLine-fb50cf15.js"), "../medias/EpVideo.vue": () => import("./EpVideo-7c248b82.js"), "../medias/EpVideoPanopto.vue": () => import("./EpVideoPanopto-43a49f5c.js"), "../signages/EpAlert.vue": () => import("./EpAlert-ab232357.js"), "../signages/EpHeader.vue": () => import("./EpHeader-ccce56a6.js"), "../signages/EpNothing.vue": () => import("./EpNothing-49d6aaf9.js"), "../signages/EpQuote.vue": () => import("./EpQuote-45484b6a.js"), "../tools/BgAudio.vue": () => import("./BgAudio-19fc3ef0.js"), "../tools/DisplayBox.vue": () => import("./DisplayBox-fa19ab72.js"), "../tools/SvgFilter.vue": () => Promise.resolve().then(() => Vn), "../tools/TimelineItem.vue": () => Promise.resolve().then(() => Nn) }), `../${T.path}/${T.name}.vue`));
|
|
6481
6481
|
}, { title: f, intentions: v, hideIcon: w, question: C, src: M } = ae(e);
|
|
6482
6482
|
return (A, T) => (S(), X(Be, {
|
|
6483
6483
|
title: b(f),
|
|
@@ -6808,17 +6808,20 @@ const wG = /* @__PURE__ */ jt(xG, [["__scopeId", "data-v-049ea2df"]]), bn = /* @
|
|
|
6808
6808
|
mandateLevel: {}
|
|
6809
6809
|
},
|
|
6810
6810
|
setup(r) {
|
|
6811
|
-
const e = r, t = I(() => e.intentions ? tt(e.intentions) ? e.intentions : st(e.intentions) : null), n = I(() => e.big ? "1000" : "520"),
|
|
6812
|
-
|
|
6811
|
+
const e = r, t = I(() => e.intentions ? tt(e.intentions) ? e.intentions : st(e.intentions) : null), n = I(() => e.big ? "1000" : "520"), s = I(() => {
|
|
6812
|
+
let i = e.src[e.src.length - 1], l = /^\d+$/.test(i), d = e.src.includes("https://studium.umontreal.ca");
|
|
6813
|
+
return l && d ? e.src + "&embed=1" : e.src;
|
|
6814
|
+
}), { title: o, hideIcon: a } = ae(e);
|
|
6815
|
+
return (i, l) => (S(), X(Be, {
|
|
6813
6816
|
title: b(o),
|
|
6814
|
-
type:
|
|
6815
|
-
hideIcon: b(
|
|
6817
|
+
type: i.type,
|
|
6818
|
+
hideIcon: b(a),
|
|
6816
6819
|
icon: b(jN),
|
|
6817
|
-
mandateLevel:
|
|
6820
|
+
mandateLevel: i.mandateLevel
|
|
6818
6821
|
}, qe({
|
|
6819
6822
|
content: G(() => [
|
|
6820
6823
|
k("iframe", {
|
|
6821
|
-
src:
|
|
6824
|
+
src: s.value,
|
|
6822
6825
|
class: "w-full",
|
|
6823
6826
|
height: n.value
|
|
6824
6827
|
}, null, 8, _G)
|
package/package.json
CHANGED
|
@@ -37,7 +37,17 @@ const height = computed(() => {
|
|
|
37
37
|
return props.big ? "1000" : "520";
|
|
38
38
|
});
|
|
39
39
|
|
|
40
|
-
const
|
|
40
|
+
const _src = computed(()=>{
|
|
41
|
+
let lastLetter = props.src[props.src.length -1]
|
|
42
|
+
let isNum = /^\d+$/.test(lastLetter);
|
|
43
|
+
let studiumUrl = props.src.includes('https://studium.umontreal.ca')
|
|
44
|
+
if(isNum && studiumUrl){
|
|
45
|
+
return props.src + '&embed=1'
|
|
46
|
+
}
|
|
47
|
+
return props.src
|
|
48
|
+
})
|
|
49
|
+
|
|
50
|
+
const { title, hideIcon } = toRefs(props);
|
|
41
51
|
</script>
|
|
42
52
|
|
|
43
53
|
<template>
|
|
@@ -47,7 +57,7 @@ const { src, title, intentions, hideIcon } = toRefs(props);
|
|
|
47
57
|
</template>
|
|
48
58
|
<template #content>
|
|
49
59
|
|
|
50
|
-
<iframe :src="
|
|
60
|
+
<iframe :src="_src" class="w-full" :height="height"></iframe>
|
|
51
61
|
|
|
52
62
|
</template>
|
|
53
63
|
<!-- <template #actions>
|
package/dist/BgAudio-f51bafb3.js
DELETED
package/dist/EpAlert-99444e4e.js
DELETED
package/dist/EpAudio-7503cfdb.js
DELETED
package/dist/EpBadge-cb333627.js
DELETED
package/dist/EpBtn-5914b35b.js
DELETED
package/dist/EpCard-fa47b837.js
DELETED
package/dist/EpChip-97ef0134.js
DELETED
package/dist/EpEdu-8e19b3df.js
DELETED
package/dist/EpFlex-fe56942b.js
DELETED
package/dist/EpIcon-52d5ea7d.js
DELETED
package/dist/EpLink-df8c0dec.js
DELETED
package/dist/EpModal-b66c7ba4.js
DELETED
package/dist/EpQuote-afea2bec.js
DELETED
package/dist/EpRadio-d4efcf58.js
DELETED
package/dist/EpScope-42664ac9.js
DELETED
package/dist/EpSvg-84a15dfe.js
DELETED
package/dist/EpTable-db6fcb2a.js
DELETED
package/dist/EpTerm-16e3cae0.js
DELETED
package/dist/EpText-9b184616.js
DELETED
package/dist/EpVideo-1272566d.js
DELETED