notes plugin allows messsages from current/upcoming slide windows
This commit is contained in:
1 parent
31407082eb
commit
0247ae7582
4 files changed
+9
-5
No files matched your search
@@ -1 +1 @@
|
||||
var t="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},e=function(t){return t&&t.Math==Math&&t},n=e("object"==typeof globalThis&&globalThis)||e("object"==typeof window&&window)||e("object"==typeof self&&self)||e("object"==typeof t&&t)||function(){return this}()||Function("return this")(),r={},i=function(t){try{return!!t()}catch(t){return!0}},u=!i((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),a={},o={}.propertyIsEnumerable,s=Object.getOwnPropertyDescriptor,l=s&&!o.call({1:2},1);a.f=l?function(t){var e=s(this,t);return!!e&&e.enumerable}:o;var c=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},p={}.toString,d=function(t){return p.call(t).slice(8,-1)},f=d,h="".split,g=i((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==f(t)?h.call(t,""):Object(t)}:Object,D=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t},m=g,v=D,y=function(t){return m(v(t))},k=function(t){return"object"==typeof t?null!==t:"function"==typeof t},E=k,x=function(t,e){if(!E(t))return t;var n,r;if(e&&"function"==typeof(n=t.toString)&&!E(r=n.call(t)))return r;if("function"==typeof(n=t.valueOf)&&!E(r=n.call(t)))return r;if(!e&&"function"==typeof(n=t.toString)&&!E(r=n.call(t)))return r;throw TypeError("Can't convert object to primitive value")},A=D,b=function(t){return Object(A(t))},w=b,C={}.hasOwnProperty,F=function(t,e){return C.call(w(t),e)},S=k,B=n.document,T=S(B)&&S(B.createElement),_=function(t){return T?B.createElement(t):{}},z=_,R=!u&&!i((function(){return 7!=Object.defineProperty(z("div"),"a",{get:function(){return 7}}).a})),I=u,L=a,O=c,$=y,P=x,M=F,j=R,N=Object.getOwnPropertyDescriptor;r.f=I?N:function(t,e){if(t=$(t),e=P(e,!0),j)try{return N(t,e)}catch(t){}if(M(t,e))return O(!L.f.call(t,e),t[e])};var U={},q=k,Z=function(t){if(!q(t))throw TypeError(String(t)+" is not an object");return t},H=u,J=R,V=Z,K=x,Q=Object.defineProperty;U.f=H?Q:function(t,e,n){if(V(t),e=K(e,!0),V(n),J)try{return Q(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(t[e]=n.value),t};var W=U,G=c,Y=u?function(t,e,n){return W.f(t,e,G(1,n))}:function(t,e,n){return t[e]=n,t},X={exports:{}},tt=n,et=Y,nt=function(t,e){try{et(tt,t,e)}catch(n){tt[t]=e}return e},rt=nt,it=n["__core-js_shared__"]||rt("__core-js_shared__",{}),ut=it,at=Function.toString;"function"!=typeof ut.inspectSource&&(ut.inspectSource=function(t){return at.call(t)});var ot=ut.inspectSource,st=ot,lt=n.WeakMap,ct="function"==typeof lt&&/native code/.test(st(lt)),pt={exports:{}},dt=it;(pt.exports=function(t,e){return dt[t]||(dt[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.12.1",mode:"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"});var ft,ht,gt,Dt=0,mt=Math.random(),vt=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++Dt+mt).toString(36)},yt=pt.exports,kt=vt,Et=yt("keys"),xt=function(t){return Et[t]||(Et[t]=kt(t))},At={},bt=ct,wt=k,Ct=Y,Ft=F,St=it,Bt=xt,Tt=At,_t=n.WeakMap;if(bt||St.state){var zt=St.state||(St.state=new _t),Rt=zt.get,It=zt.has,Lt=zt.set;ft=function(t,e){if(It.call(zt,t))throw new TypeError("Object already initialized");return e.facade=t,Lt.call(zt,t,e),e},ht=function(t){return Rt.call(zt,t)||{}},gt=function(t){return It.call(zt,t)}}else{var Ot=Bt("state");Tt[Ot]=!0,ft=function(t,e){if(Ft(t,Ot))throw new TypeError("Object already initialized");return e.facade=t,Ct(t,Ot,e),e},ht=function(t){return Ft(t,Ot)?t[Ot]:{}},gt=function(t){return Ft(t,Ot)}}var $t={set:ft,get:ht,has:gt,enforce:function(t){return gt(t)?ht(t):ft(t,{})},getterFor:function(t){return function(e){var n;if(!wt(e)||(n=ht(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return n}}},Pt=n,Mt=Y,jt=F,Nt=nt,Ut=ot,qt=$t.get,Zt=$t.enforce,Ht=String(String).split("String");(X.exports=function(t,e,n,r){var i,u=!!r&&!!r.unsafe,a=!!r&&!!r.enumerable,o=!!r&&!!r.noTargetGet;"function"==typeof n&&("string"!=typeof e||jt(n,"name")||Mt(n,"name",e),(i=Zt(n)).source||(i.source=Ht.join("string"==typeof e?e:""))),t!==Pt?(u?!o&&t[e]&&(a=!0):delete t[e],a?t[e]=n:Mt(t,e,n)):a?t[e]=n:Nt(e,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&qt(this).source||Ut(this)}));var Jt=n,Vt=n,Kt=function(t){return"function"==typeof t?t:void 0},Qt=function(t,e){return arguments.length<2?Kt(Jt[t])||Kt(Vt[t]):Jt[t]&&Jt[t][e]||Vt[t]&&Vt[t][e]},Wt={},Gt=Math.ceil,Yt=Math.floor,Xt=function(t){return isNaN(t=+t)?0:(t>0?Yt:Gt)(t)},te=Xt,ee=Math.min,ne=function(t){return t>0?ee(te(t),9007199254740991):0},re=Xt,ie=Math.max,ue=Math.min,ae=function(t,e){var n=re(t);return n<0?ie(n+e,0):ue(n,e)},oe=y,se=ne,le=ae,ce=function(t){return function(e,n,r){var i,u=oe(e),a=se(u.length),o=le(r,a);if(t&&n!=n){for(;a>o;)if((i=u[o++])!=i)return!0}else for(;a>o;o++)if((t||o in u)&&u[o]===n)return t||o||0;return!t&&-1}},pe={includes:ce(!0),indexLine truncated
|
||||
var t="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},e=function(t){return t&&t.Math==Math&&t},n=e("object"==typeof globalThis&&globalThis)||e("object"==typeof window&&window)||e("object"==typeof self&&self)||e("object"==typeof t&&t)||function(){return this}()||Function("return this")(),r={},i=function(t){try{return!!t()}catch(t){return!0}},u=!i((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),a={},o={}.propertyIsEnumerable,s=Object.getOwnPropertyDescriptor,l=s&&!o.call({1:2},1);a.f=l?function(t){var e=s(this,t);return!!e&&e.enumerable}:o;var c=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},p={}.toString,d=function(t){return p.call(t).slice(8,-1)},f=d,h="".split,g=i((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==f(t)?h.call(t,""):Object(t)}:Object,D=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t},m=g,v=D,y=function(t){return m(v(t))},k=function(t){return"object"==typeof t?null!==t:"function"==typeof t},E=k,x=function(t,e){if(!E(t))return t;var n,r;if(e&&"function"==typeof(n=t.toString)&&!E(r=n.call(t)))return r;if("function"==typeof(n=t.valueOf)&&!E(r=n.call(t)))return r;if(!e&&"function"==typeof(n=t.toString)&&!E(r=n.call(t)))return r;throw TypeError("Can't convert object to primitive value")},A=D,b=function(t){return Object(A(t))},w=b,C={}.hasOwnProperty,F=function(t,e){return C.call(w(t),e)},S=k,B=n.document,T=S(B)&&S(B.createElement),_=function(t){return T?B.createElement(t):{}},z=_,R=!u&&!i((function(){return 7!=Object.defineProperty(z("div"),"a",{get:function(){return 7}}).a})),I=u,L=a,O=c,$=y,P=x,M=F,j=R,N=Object.getOwnPropertyDescriptor;r.f=I?N:function(t,e){if(t=$(t),e=P(e,!0),j)try{return N(t,e)}catch(t){}if(M(t,e))return O(!L.f.call(t,e),t[e])};var U={},q=k,Z=function(t){if(!q(t))throw TypeError(String(t)+" is not an object");return t},H=u,W=R,J=Z,V=x,K=Object.defineProperty;U.f=H?K:function(t,e,n){if(J(t),e=V(e,!0),J(n),W)try{return K(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(t[e]=n.value),t};var Q=U,G=c,Y=u?function(t,e,n){return Q.f(t,e,G(1,n))}:function(t,e,n){return t[e]=n,t},X={exports:{}},tt=n,et=Y,nt=function(t,e){try{et(tt,t,e)}catch(n){tt[t]=e}return e},rt=nt,it=n["__core-js_shared__"]||rt("__core-js_shared__",{}),ut=it,at=Function.toString;"function"!=typeof ut.inspectSource&&(ut.inspectSource=function(t){return at.call(t)});var ot=ut.inspectSource,st=ot,lt=n.WeakMap,ct="function"==typeof lt&&/native code/.test(st(lt)),pt={exports:{}},dt=it;(pt.exports=function(t,e){return dt[t]||(dt[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.12.1",mode:"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"});var ft,ht,gt,Dt=0,mt=Math.random(),vt=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++Dt+mt).toString(36)},yt=pt.exports,kt=vt,Et=yt("keys"),xt=function(t){return Et[t]||(Et[t]=kt(t))},At={},bt=ct,wt=k,Ct=Y,Ft=F,St=it,Bt=xt,Tt=At,_t=n.WeakMap;if(bt||St.state){var zt=St.state||(St.state=new _t),Rt=zt.get,It=zt.has,Lt=zt.set;ft=function(t,e){if(It.call(zt,t))throw new TypeError("Object already initialized");return e.facade=t,Lt.call(zt,t,e),e},ht=function(t){return Rt.call(zt,t)||{}},gt=function(t){return It.call(zt,t)}}else{var Ot=Bt("state");Tt[Ot]=!0,ft=function(t,e){if(Ft(t,Ot))throw new TypeError("Object already initialized");return e.facade=t,Ct(t,Ot,e),e},ht=function(t){return Ft(t,Ot)?t[Ot]:{}},gt=function(t){return Ft(t,Ot)}}var $t={set:ft,get:ht,has:gt,enforce:function(t){return gt(t)?ht(t):ft(t,{})},getterFor:function(t){return function(e){var n;if(!wt(e)||(n=ht(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return n}}},Pt=n,Mt=Y,jt=F,Nt=nt,Ut=ot,qt=$t.get,Zt=$t.enforce,Ht=String(String).split("String");(X.exports=function(t,e,n,r){var i,u=!!r&&!!r.unsafe,a=!!r&&!!r.enumerable,o=!!r&&!!r.noTargetGet;"function"==typeof n&&("string"!=typeof e||jt(n,"name")||Mt(n,"name",e),(i=Zt(n)).source||(i.source=Ht.join("string"==typeof e?e:""))),t!==Pt?(u?!o&&t[e]&&(a=!0):delete t[e],a?t[e]=n:Mt(t,e,n)):a?t[e]=n:Nt(e,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&qt(this).source||Ut(this)}));var Wt=n,Jt=n,Vt=function(t){return"function"==typeof t?t:void 0},Kt=function(t,e){return arguments.length<2?Vt(Wt[t])||Vt(Jt[t]):Wt[t]&&Wt[t][e]||Jt[t]&&Jt[t][e]},Qt={},Gt=Math.ceil,Yt=Math.floor,Xt=function(t){return isNaN(t=+t)?0:(t>0?Yt:Gt)(t)},te=Xt,ee=Math.min,ne=function(t){return t>0?ee(te(t),9007199254740991):0},re=Xt,ie=Math.max,ue=Math.min,ae=function(t,e){var n=re(t);return n<0?ie(n+e,0):ue(n,e)},oe=y,se=ne,le=ae,ce=function(t){return function(e,n,r){var i,u=oe(e),a=se(u.length),o=le(r,a);if(t&&n!=n){for(;a>o;)if((i=u[o++])!=i)return!0}else for(;a>o;o++)if((t||o in u)&&u[o]===n)return t||o||0;return!t&&-1}},pe={includes:ce(!0),indexLine truncated
|
||||
@@ -1 +1 @@
|
||||
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t="undefined"!=typeof globalThis?globalThis:t||self).RevealNotes=e()}(this,(function(){"use strict";var t="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},e=function(t){return t&&t.Math==Math&&t},n=e("object"==typeof globalThis&&globalThis)||e("object"==typeof window&&window)||e("object"==typeof self&&self)||e("object"==typeof t&&t)||function(){return this}()||Function("return this")(),r={},i=function(t){try{return!!t()}catch(t){return!0}},u=!i((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),a={},o={}.propertyIsEnumerable,s=Object.getOwnPropertyDescriptor,l=s&&!o.call({1:2},1);a.f=l?function(t){var e=s(this,t);return!!e&&e.enumerable}:o;var c=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},p={}.toString,d=function(t){return p.call(t).slice(8,-1)},f=d,h="".split,g=i((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==f(t)?h.call(t,""):Object(t)}:Object,D=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t},m=g,v=D,y=function(t){return m(v(t))},k=function(t){return"object"==typeof t?null!==t:"function"==typeof t},E=k,x=function(t,e){if(!E(t))return t;var n,r;if(e&&"function"==typeof(n=t.toString)&&!E(r=n.call(t)))return r;if("function"==typeof(n=t.valueOf)&&!E(r=n.call(t)))return r;if(!e&&"function"==typeof(n=t.toString)&&!E(r=n.call(t)))return r;throw TypeError("Can't convert object to primitive value")},A=D,b=function(t){return Object(A(t))},w=b,C={}.hasOwnProperty,F=function(t,e){return C.call(w(t),e)},S=k,B=n.document,T=S(B)&&S(B.createElement),_=function(t){return T?B.createElement(t):{}},z=_,R=!u&&!i((function(){return 7!=Object.defineProperty(z("div"),"a",{get:function(){return 7}}).a})),I=u,L=a,O=c,$=y,P=x,M=F,j=R,N=Object.getOwnPropertyDescriptor;r.f=I?N:function(t,e){if(t=$(t),e=P(e,!0),j)try{return N(t,e)}catch(t){}if(M(t,e))return O(!L.f.call(t,e),t[e])};var U={},q=k,Z=function(t){if(!q(t))throw TypeError(String(t)+" is not an object");return t},H=u,J=R,V=Z,K=x,Q=Object.defineProperty;U.f=H?Q:function(t,e,n){if(V(t),e=K(e,!0),V(n),J)try{return Q(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(t[e]=n.value),t};var W=U,G=c,Y=u?function(t,e,n){return W.f(t,e,G(1,n))}:function(t,e,n){return t[e]=n,t},X={exports:{}},tt=n,et=Y,nt=function(t,e){try{et(tt,t,e)}catch(n){tt[t]=e}return e},rt=nt,it="__core-js_shared__",ut=n[it]||rt(it,{}),at=ut,ot=Function.toString;"function"!=typeof at.inspectSource&&(at.inspectSource=function(t){return ot.call(t)});var st=at.inspectSource,lt=st,ct=n.WeakMap,pt="function"==typeof ct&&/native code/.test(lt(ct)),dt={exports:{}},ft=ut;(dt.exports=function(t,e){return ft[t]||(ft[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.12.1",mode:"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"});var ht,gt,Dt,mt=0,vt=Math.random(),yt=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++mt+vt).toString(36)},kt=dt.exports,Et=yt,xt=kt("keys"),At=function(t){return xt[t]||(xt[t]=Et(t))},bt={},wt=pt,Ct=k,Ft=Y,St=F,Bt=ut,Tt=At,_t=bt,zt="Object already initialized",Rt=n.WeakMap;if(wt||Bt.state){var It=Bt.state||(Bt.state=new Rt),Lt=It.get,Ot=It.has,$t=It.set;ht=function(t,e){if(Ot.call(It,t))throw new TypeError(zt);return e.facade=t,$t.call(It,t,e),e},gt=function(t){return Lt.call(It,t)||{}},Dt=function(t){return Ot.call(It,t)}}else{var Pt=Tt("state");_t[Pt]=!0,ht=function(t,e){if(St(t,Pt))throw new TypeError(zt);return e.facade=t,Ft(t,Pt,e),e},gt=function(t){return St(t,Pt)?t[Pt]:{}},Dt=function(t){return St(t,Pt)}}var Mt={set:ht,get:gt,has:Dt,enforce:function(t){return Dt(t)?gt(t):ht(t,{})},getterFor:function(t){return function(e){var n;if(!Ct(e)||(n=gt(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return n}}},jt=n,Nt=Y,Ut=F,qt=nt,Zt=st,Ht=Mt.get,Jt=Mt.enforce,Vt=String(String).split("String");(X.exports=function(t,e,n,r){var i,u=!!r&&!!r.unsafe,a=!!r&&!!r.enumerable,o=!!r&&!!r.noTargetGet;"function"==typeof n&&("string"!=typeof e||Ut(n,"name")||Nt(n,"name",e),(i=Jt(n)).source||(i.source=Vt.join("string"==typeof e?e:""))),t!==jt?(u?!o&&t[e]&&(a=!0):delete t[e],a?t[e]=n:Nt(t,e,n)):a?t[e]=n:qt(e,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&Ht(this).source||Zt(this)}));var Kt=n,Qt=n,Wt=function(t){return"function"==typeof t?t:void 0},Gt=function(t,e){return arguments.length<2?Wt(Kt[t])||Wt(Qt[t]):Kt[t]&&Kt[t][e]||Qt[t]&&Qt[t][e]},Yt={},Xt=Math.ceil,te=Math.floor,ee=function(t){return isNaN(t=+t)?0:(t>0?te:Xt)(t)},ne=ee,re=Math.min,ie=function(t){return t>0?re(ne(t),9007199254740991):0},ue=ee,ae=Math.max,oe=Math.min,se=function(t,e){var n=ue(t);return n<0?ae(n+e,0):oe(n,e)},le=y,ce=ie,pe=se,de=function(t){retuLine truncated
|
||||
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t="undefined"!=typeof globalThis?globalThis:t||self).RevealNotes=e()}(this,(function(){"use strict";var t="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},e=function(t){return t&&t.Math==Math&&t},n=e("object"==typeof globalThis&&globalThis)||e("object"==typeof window&&window)||e("object"==typeof self&&self)||e("object"==typeof t&&t)||function(){return this}()||Function("return this")(),r={},i=function(t){try{return!!t()}catch(t){return!0}},u=!i((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),a={},o={}.propertyIsEnumerable,s=Object.getOwnPropertyDescriptor,l=s&&!o.call({1:2},1);a.f=l?function(t){var e=s(this,t);return!!e&&e.enumerable}:o;var c=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},p={}.toString,d=function(t){return p.call(t).slice(8,-1)},f=d,h="".split,g=i((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==f(t)?h.call(t,""):Object(t)}:Object,D=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t},m=g,v=D,y=function(t){return m(v(t))},k=function(t){return"object"==typeof t?null!==t:"function"==typeof t},E=k,x=function(t,e){if(!E(t))return t;var n,r;if(e&&"function"==typeof(n=t.toString)&&!E(r=n.call(t)))return r;if("function"==typeof(n=t.valueOf)&&!E(r=n.call(t)))return r;if(!e&&"function"==typeof(n=t.toString)&&!E(r=n.call(t)))return r;throw TypeError("Can't convert object to primitive value")},A=D,b=function(t){return Object(A(t))},w=b,C={}.hasOwnProperty,F=function(t,e){return C.call(w(t),e)},S=k,B=n.document,T=S(B)&&S(B.createElement),_=function(t){return T?B.createElement(t):{}},z=_,R=!u&&!i((function(){return 7!=Object.defineProperty(z("div"),"a",{get:function(){return 7}}).a})),I=u,L=a,O=c,$=y,P=x,M=F,j=R,N=Object.getOwnPropertyDescriptor;r.f=I?N:function(t,e){if(t=$(t),e=P(e,!0),j)try{return N(t,e)}catch(t){}if(M(t,e))return O(!L.f.call(t,e),t[e])};var U={},q=k,Z=function(t){if(!q(t))throw TypeError(String(t)+" is not an object");return t},H=u,W=R,J=Z,V=x,K=Object.defineProperty;U.f=H?K:function(t,e,n){if(J(t),e=V(e,!0),J(n),W)try{return K(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(t[e]=n.value),t};var Q=U,G=c,Y=u?function(t,e,n){return Q.f(t,e,G(1,n))}:function(t,e,n){return t[e]=n,t},X={exports:{}},tt=n,et=Y,nt=function(t,e){try{et(tt,t,e)}catch(n){tt[t]=e}return e},rt=nt,it="__core-js_shared__",ut=n[it]||rt(it,{}),at=ut,ot=Function.toString;"function"!=typeof at.inspectSource&&(at.inspectSource=function(t){return ot.call(t)});var st=at.inspectSource,lt=st,ct=n.WeakMap,pt="function"==typeof ct&&/native code/.test(lt(ct)),dt={exports:{}},ft=ut;(dt.exports=function(t,e){return ft[t]||(ft[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.12.1",mode:"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"});var ht,gt,Dt,mt=0,vt=Math.random(),yt=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++mt+vt).toString(36)},kt=dt.exports,Et=yt,xt=kt("keys"),At=function(t){return xt[t]||(xt[t]=Et(t))},bt={},wt=pt,Ct=k,Ft=Y,St=F,Bt=ut,Tt=At,_t=bt,zt="Object already initialized",Rt=n.WeakMap;if(wt||Bt.state){var It=Bt.state||(Bt.state=new Rt),Lt=It.get,Ot=It.has,$t=It.set;ht=function(t,e){if(Ot.call(It,t))throw new TypeError(zt);return e.facade=t,$t.call(It,t,e),e},gt=function(t){return Lt.call(It,t)||{}},Dt=function(t){return Ot.call(It,t)}}else{var Pt=Tt("state");_t[Pt]=!0,ht=function(t,e){if(St(t,Pt))throw new TypeError(zt);return e.facade=t,Ft(t,Pt,e),e},gt=function(t){return St(t,Pt)?t[Pt]:{}},Dt=function(t){return St(t,Pt)}}var Mt={set:ht,get:gt,has:Dt,enforce:function(t){return Dt(t)?gt(t):ht(t,{})},getterFor:function(t){return function(e){var n;if(!Ct(e)||(n=gt(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return n}}},jt=n,Nt=Y,Ut=F,qt=nt,Zt=st,Ht=Mt.get,Wt=Mt.enforce,Jt=String(String).split("String");(X.exports=function(t,e,n,r){var i,u=!!r&&!!r.unsafe,a=!!r&&!!r.enumerable,o=!!r&&!!r.noTargetGet;"function"==typeof n&&("string"!=typeof e||Ut(n,"name")||Nt(n,"name",e),(i=Wt(n)).source||(i.source=Jt.join("string"==typeof e?e:""))),t!==jt?(u?!o&&t[e]&&(a=!0):delete t[e],a?t[e]=n:Nt(t,e,n)):a?t[e]=n:qt(e,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&Ht(this).source||Zt(this)}));var Vt=n,Kt=n,Qt=function(t){return"function"==typeof t?t:void 0},Gt=function(t,e){return arguments.length<2?Qt(Vt[t])||Qt(Kt[t]):Vt[t]&&Vt[t][e]||Kt[t]&&Kt[t][e]},Yt={},Xt=Math.ceil,te=Math.floor,ee=function(t){return isNaN(t=+t)?0:(t>0?te:Xt)(t)},ne=ee,re=Math.min,ie=function(t){return t>0?re(ne(t),9007199254740991):0},ue=ee,ae=Math.max,oe=Math.min,se=function(t,e){var n=ue(t);return n<0?ae(n+e,0):oe(n,e)},le=y,ce=ie,pe=se,de=function(t){retuLine truncated
|
||||
@@ -203,6 +203,7 @@ const Plugin = () => {
|
||||
// that we remain connected to the notes even if the presentation
|
||||
// is reloaded.
|
||||
window.addEventListener( 'message', event => {
|
||||
|
||||
if( !speakerWindow && typeof event.data === 'string' ) {
|
||||
let data;
|
||||
|
||||
|
||||
@@ -350,7 +350,8 @@
|
||||
layoutDropdown,
|
||||
pendingCalls = {},
|
||||
lastRevealApiCallId = 0,
|
||||
connected = false;
|
||||
connected = false,
|
||||
whitelistedWindows = [window.opener];
|
||||
|
||||
var SPEAKER_LAYOUTS = {
|
||||
'default': 'Default',
|
||||
@@ -368,8 +369,8 @@
|
||||
;
|
||||
window.addEventListener( 'message', function( event ) {
|
||||
|
||||
// Validate the origin of this message to avoid XSS
|
||||
if( window.location.origin !== event.origin && event.source !== window.opener ) {
|
||||
// Validate the origin of this message to prevent XSS
|
||||
if( window.location.origin !== event.origin && whitelistedWindows.indexOf( event.source ) === -1 ) {
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -538,6 +539,8 @@
|
||||
upcomingSlide.setAttribute( 'src', upcomingURL );
|
||||
document.querySelector( '#upcoming-slide' ).appendChild( upcomingSlide );
|
||||
|
||||
whitelistedWindows.push( currentSlide.contentWindow, upcomingSlide.contentWindow );
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user