fossasia-22-renode/plugin/notes/notes.js

2 lines
82 KiB
JavaScript
Raw Normal View History

2020-08-19 08:33:36 +00:00
!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:{};function e(t,e,n){return t(n={path:e,exports:{},require:function(t,e){return function(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}(null==e&&n.path)}},n.exports),n.exports}var n=function(t){return t&&t.Math==Math&&t},r=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof t&&t)||Function("return this")(),i=function(t){try{return!!t()}catch(t){return!0}},a=!i((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),o={}.propertyIsEnumerable,l=Object.getOwnPropertyDescriptor,s={f:l&&!o.call({1:2},1)?function(t){var e=l(this,t);return!!e&&e.enumerable}:o},c=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},u={}.toString,p=function(t){return u.call(t).slice(8,-1)},d="".split,f=i((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==p(t)?d.call(t,""):Object(t)}:Object,h=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t},g=function(t){return f(h(t))},m=function(t){return"object"==typeof t?null!==t:"function"==typeof t},v=function(t,e){if(!m(t))return t;var n,r;if(e&&"function"==typeof(n=t.toString)&&!m(r=n.call(t)))return r;if("function"==typeof(n=t.valueOf)&&!m(r=n.call(t)))return r;if(!e&&"function"==typeof(n=t.toString)&&!m(r=n.call(t)))return r;throw TypeError("Can't convert object to primitive value")},y={}.hasOwnProperty,k=function(t,e){return y.call(t,e)},b=r.document,w=m(b)&&m(b.createElement),x=!a&&!i((function(){return 7!=Object.defineProperty((t="div",w?b.createElement(t):{}),"a",{get:function(){return 7}}).a;var t})),S=Object.getOwnPropertyDescriptor,T={f:a?S:function(t,e){if(t=g(t),e=v(e,!0),x)try{return S(t,e)}catch(t){}if(k(t,e))return c(!s.f.call(t,e),t[e])}},E=function(t){if(!m(t))throw TypeError(String(t)+" is not an object");return t},_=Object.defineProperty,A={f:a?_:function(t,e,n){if(E(t),e=v(e,!0),E(n),x)try{return _(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}},z=a?function(t,e,n){return A.f(t,e,c(1,n))}:function(t,e,n){return t[e]=n,t},R=function(t,e){try{z(r,t,e)}catch(n){r[t]=e}return e},O="__core-js_shared__",I=r[O]||R(O,{}),$=Function.toString;"function"!=typeof I.inspectSource&&(I.inspectSource=function(t){return $.call(t)});var C,L,P,M,j=I.inspectSource,N=r.WeakMap,q="function"==typeof N&&/native code/.test(j(N)),U=e((function(t){(t.exports=function(t,e){return I[t]||(I[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.6.5",mode:"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})})),D=0,Z=Math.random(),W=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++D+Z).toString(36)},K=U("keys"),J={},F=r.WeakMap;if(q){var H=new F,B=H.get,Y=H.has,V=H.set;C=function(t,e){return V.call(H,t,e),e},L=function(t){return B.call(H,t)||{}},P=function(t){return Y.call(H,t)}}else{var G=K[M="state"]||(K[M]=W(M));J[G]=!0,C=function(t,e){return z(t,G,e),e},L=function(t){return k(t,G)?t[G]:{}},P=function(t){return k(t,G)}}var X={set:C,get:L,has:P,enforce:function(t){return P(t)?L(t):C(t,{})},getterFor:function(t){return function(e){var n;if(!m(e)||(n=L(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return n}}},Q=e((function(t){var e=X.get,n=X.enforce,i=String(String).split("String");(t.exports=function(t,e,a,o){var l=!!o&&!!o.unsafe,s=!!o&&!!o.enumerable,c=!!o&&!!o.noTargetGet;"function"==typeof a&&("string"!=typeof e||k(a,"name")||z(a,"name",e),n(a).source=i.join("string"==typeof e?e:"")),t!==r?(l?!c&&t[e]&&(s=!0):delete t[e],s?t[e]=a:z(t,e,a)):s?t[e]=a:R(e,a)})(Function.prototype,"toStr