From ef89c475abec407c5d8eff5afcd5844decb31e2a Mon Sep 17 00:00:00 2001 From: gregorio Date: Mon, 6 May 2024 11:12:47 +0700 Subject: [PATCH 1/2] update voucher 2024 --- public/js/app.js | 2 +- resources/js/components/SKK13HasilBelajar.js | 60 ++++++-------------- 2 files changed, 17 insertions(+), 45 deletions(-) diff --git a/public/js/app.js b/public/js/app.js index aefb9b7..c4e48e1 100644 --- a/public/js/app.js +++ b/public/js/app.js @@ -1 +1 @@ -!function(t){var e={};function n(a){if(e[a])return e[a].exports;var r=e[a]={i:a,l:!1,exports:{}};return t[a].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=t,n.c=e,n.d=function(t,e,a){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:a})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var a=Object.create(null);if(n.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(a,r,function(e){return t[e]}.bind(null,r));return a},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="/",n(n.s=4)}([function(t,e,n){(function(t,n){var a=9007199254740991,r="[object Arguments]",i="[object Function]",o="[object GeneratorFunction]",l="[object Map]",u="[object Set]",s=/^\[object .+?Constructor\]$/,c="object"==typeof t&&t&&t.Object===Object&&t,d="object"==typeof self&&self&&self.Object===Object&&self,p=c||d||Function("return this")(),f=e&&!e.nodeType&&e,h=f&&"object"==typeof n&&n&&!n.nodeType&&n,m=h&&h.exports===f;var g,b,k,y=Function.prototype,v=Object.prototype,w=p["__core-js_shared__"],x=(g=/[^.]+$/.exec(w&&w.keys&&w.keys.IE_PROTO||""))?"Symbol(src)_1."+g:"",S=y.toString,j=v.hasOwnProperty,_=v.toString,A=RegExp("^"+S.call(j).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),P=m?p.Buffer:void 0,N=v.propertyIsEnumerable,M=P?P.isBuffer:void 0,K=(b=Object.keys,k=Object,function(t){return b(k(t))}),T=F(p,"DataView"),U=F(p,"Map"),L=F(p,"Promise"),O=F(p,"Set"),B=F(p,"WeakMap"),I=!N.call({valueOf:1},"valueOf"),R=H(T),E=H(U),D=H(L),C=H(O),z=H(B);function $(t){return!(!X(t)||(e=t,x&&x in e))&&(G(t)||function(t){var e=!1;if(null!=t&&"function"!=typeof t.toString)try{e=!!(t+"")}catch(t){}return e}(t)?A:s).test(H(t));var e}function F(t,e){var n=function(t,e){return null==t?void 0:t[e]}(t,e);return $(n)?n:void 0}var q=function(t){return _.call(t)};function H(t){if(null!=t){try{return S.call(t)}catch(t){}try{return t+""}catch(t){}}return""}function Y(t){return function(t){return function(t){return!!t&&"object"==typeof t}(t)&&V(t)}(t)&&j.call(t,"callee")&&(!N.call(t,"callee")||_.call(t)==r)}(T&&"[object DataView]"!=q(new T(new ArrayBuffer(1)))||U&&q(new U)!=l||L&&"[object Promise]"!=q(L.resolve())||O&&q(new O)!=u||B&&"[object WeakMap]"!=q(new B))&&(q=function(t){var e=_.call(t),n="[object Object]"==e?t.constructor:void 0,a=n?H(n):void 0;if(a)switch(a){case R:return"[object DataView]";case E:return l;case D:return"[object Promise]";case C:return u;case z:return"[object WeakMap]"}return e});var J=Array.isArray;function V(t){return null!=t&&function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=a}(t.length)&&!G(t)}var W=M||function(){return!1};function G(t){var e=X(t)?_.call(t):"";return e==i||e==o}function X(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}n.exports=function(t){if(V(t)&&(J(t)||"string"==typeof t||"function"==typeof t.splice||W(t)||Y(t)))return!t.length;var e=q(t);if(e==l||e==u)return!t.size;if(I||function(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||v)}(t))return!K(t).length;for(var n in t)if(j.call(t,n))return!1;return!0}}).call(this,n(2),n(3)(t))},function(t,e,n){(function(t,n){var a=200,r="Expected a function",i="__lodash_hash_undefined__",o=1,l=2,u=1/0,s=9007199254740991,c="[object Arguments]",d="[object Array]",p="[object Boolean]",f="[object Date]",h="[object Error]",m="[object Function]",g="[object GeneratorFunction]",b="[object Map]",k="[object Number]",y="[object Object]",v="[object RegExp]",w="[object Set]",x="[object String]",S="[object Symbol]",j="[object ArrayBuffer]",_="[object DataView]",A=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,P=/^\w*$/,N=/^\./,M=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,K=/\\(\\)?/g,T=/^\[object .+?Constructor\]$/,U=/^(?:0|[1-9]\d*)$/,L={};L["[object Float32Array]"]=L["[object Float64Array]"]=L["[object Int8Array]"]=L["[object Int16Array]"]=L["[object Int32Array]"]=L["[object Uint8Array]"]=L["[object Uint8ClampedArray]"]=L["[object Uint16Array]"]=L["[object Uint32Array]"]=!0,L[c]=L[d]=L[j]=L[p]=L[_]=L[f]=L[h]=L[m]=L[b]=L[k]=L[y]=L[v]=L[w]=L[x]=L["[object WeakMap]"]=!1;var O="object"==typeof t&&t&&t.Object===Object&&t,B="object"==typeof self&&self&&self.Object===Object&&self,I=O||B||Function("return this")(),R=e&&!e.nodeType&&e,E=R&&"object"==typeof n&&n&&!n.nodeType&&n,D=E&&E.exports===R&&O.process,C=function(){try{return D&&D.binding("util")}catch(t){}}(),z=C&&C.isTypedArray;function $(t,e){for(var n=-1,a=t?t.length:0,r=Array(a);++n-1},_t.prototype.set=function(t,e){var n=this.__data__,a=Kt(n,t);return a<0?n.push([t,e]):n[a][1]=e,this},At.prototype.clear=function(){this.__data__={hash:new jt,map:new(dt||_t),string:new jt}},At.prototype.delete=function(t){return qt(this,t).delete(t)},At.prototype.get=function(t){return qt(this,t).get(t)},At.prototype.has=function(t){return qt(this,t).has(t)},At.prototype.set=function(t,e){return qt(this,t).set(t,e),this},Pt.prototype.add=Pt.prototype.push=function(t){return this.__data__.set(t,i),this},Pt.prototype.has=function(t){return this.__data__.has(t)},Nt.prototype.clear=function(){this.__data__=new _t},Nt.prototype.delete=function(t){return this.__data__.delete(t)},Nt.prototype.get=function(t){return this.__data__.get(t)},Nt.prototype.has=function(t){return this.__data__.has(t)},Nt.prototype.set=function(t,e){var n=this.__data__;if(n instanceof _t){var r=n.__data__;if(!dt||r.lengths))return!1;var d=i.get(t);if(d&&i.get(e))return d==e;var p=-1,f=!0,h=r&o?new Pt:void 0;for(i.set(t,e),i.set(e,t);++p-1&&t%1==0&&t-1&&t%1==0&&t<=s}function le(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function ue(t){return!!t&&"object"==typeof t}function se(t){return"symbol"==typeof t||ue(t)&&at.call(t)==S}var ce=z?function(t){return function(e){return t(e)}}(z):function(t){return ue(t)&&oe(t.length)&&!!L[at.call(t)]};function de(t){return re(t)?Mt(t):Ct(t)}function pe(t){return t}n.exports=function(t,e){return(ae(t)?$:zt)(t,Dt(e))}}).call(this,n(2),n(3)(t))},function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"==typeof window&&(n=window)}t.exports=n},function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},function(t,e,n){n(5),t.exports=n(6)},function(t,e,n){"use strict";function a(t,e,n,a,r,i){return{tag:t,key:e,attrs:n,children:a,text:r,dom:i,domSize:void 0,state:void 0,events:void 0,instance:void 0}}n.r(e),a.normalize=function(t){return Array.isArray(t)?a("[",void 0,void 0,a.normalizeChildren(t),void 0,void 0):null!=t&&"object"!=typeof t?a("#",void 0,void 0,!1===t?"":t,void 0,void 0):t},a.normalizeChildren=function(t){for(var e=[],n=0;n0&&(r.className=a.join(" ")),o[t]={tag:n,attrs:r}}(t),e):(e.tag=t,e)}s.trust=function(t){return null==t&&(t=""),a("<",void 0,void 0,t,void 0,void 0)},s.fragment=function(){var t=r.apply(0,arguments);return t.tag="[",t.children=a.normalizeChildren(t.children),t};var c=function(){return s.apply(this,arguments)};if(c.m=s,c.trust=s.trust,c.fragment=s.fragment,(d=function(t){if(!(this instanceof d))throw new Error("Promise must be called with `new`");if("function"!=typeof t)throw new TypeError("executor must be a function");var e=this,n=[],a=[],r=u(n,!0),i=u(a,!1),o=e._instance={resolvers:n,rejectors:a},l="function"==typeof setImmediate?setImmediate:setTimeout;function u(t,r){return function u(c){var d;try{if(!r||null==c||"object"!=typeof c&&"function"!=typeof c||"function"!=typeof(d=c.then))l(function(){r||0!==t.length||console.error("Possible unhandled promise rejection:",c);for(var e=0;e0||t(n)}}var a=n(i);try{t(n(r),a)}catch(t){a(t)}}s(t)}).prototype.then=function(t,e){var n,a,r=this._instance;function i(t,e,i,o){e.push(function(e){if("function"!=typeof t)i(e);else try{n(t(e))}catch(t){a&&a(t)}}),"function"==typeof r.retry&&o===r.state&&r.retry()}var o=new d(function(t,e){n=t,a=e});return i(t,r.resolvers,n,!0),i(e,r.rejectors,a,!1),o},d.prototype.catch=function(t){return this.then(null,t)},d.prototype.finally=function(t){return this.then(function(e){return d.resolve(t()).then(function(){return e})},function(e){return d.resolve(t()).then(function(){return d.reject(e)})})},d.resolve=function(t){return t instanceof d?t:new d(function(e){e(t)})},d.reject=function(t){return new d(function(e,n){n(t)})},d.all=function(t){return new d(function(e,n){var a=t.length,r=0,i=[];if(0===t.length)e([]);else for(var o=0;o=200&&d.status<300||304===d.status||/^file:\/\//i.test(e),i=d.responseText;if("function"==typeof n.extract)i=n.extract(d,n),t=!0;else if("function"==typeof n.deserialize)i=n.deserialize(i);else try{i=i?JSON.parse(i):null}catch(t){throw new Error("Invalid JSON: "+i)}if(t)a(i);else{var o=new Error(d.responseText);o.code=d.status,o.response=i,r(o)}}catch(t){r(t)}},u&&null!=s?d.send(s):d.send()}),jsonp:r(function(e,n,r,i){var l=n.callbackName||"_mithril_"+Math.round(1e16*Math.random())+"_"+a++,u=t.document.createElement("script");t[l]=function(e){u.parentNode.removeChild(u),r(e),delete t[l]},u.onerror=function(){u.parentNode.removeChild(u),i(new Error("JSONP request failed")),delete t[l]},e=o(e,n.data,!0),u.src=e+(e.indexOf("?")<0?"?":"&")+encodeURIComponent(n.callbackKey||"callback")+"="+encodeURIComponent(l),t.document.documentElement.appendChild(u)}),setCompletionCallback:function(t){n=t}}}(window,d),h=function(t){var e,n=t.document,r={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"};function i(t){return t.attrs&&t.attrs.xmlns||r[t.tag]}function o(t,e){if(t.state!==e)throw new Error("`vnode.state` must not be modified")}function l(t){var e=t.state;try{return this.apply(e,arguments)}finally{o(t,e)}}function u(){try{return n.activeElement}catch(t){return null}}function s(t,e,n,a,r,i,o){for(var l=n;l'+e.children+"",o=o.firstChild):o.innerHTML=e.children,e.dom=o.firstChild,e.domSize=o.childNodes.length;for(var l,u=n.createDocumentFragment();l=o.firstChild;)u.appendChild(l);k(t,u,r)}function f(t,e,n,a,r,i){if(e!==n&&(null!=e||null!=n))if(null==e||0===e.length)s(t,n,0,n.length,a,r,i);else if(null==n||0===n.length)v(e,0,e.length);else{for(var o=0,l=0,u=null,d=null;l=l&&_>=o;)if(y=e[j],x=n[_],null==y)j--;else if(null==x)_--;else{if(y.key!==x.key)break;y!==x&&h(t,y,x,a,r,i),null!=x.dom&&(r=x.dom),j--,_--}for(;j>=l&&_>=o;)if(p=e[l],f=n[o],null==p)l++;else if(null==f)o++;else{if(p.key!==f.key)break;l++,o++,p!==f&&h(t,p,f,a,b(e,l,r),i)}for(;j>=l&&_>=o;){if(null==p)l++;else if(null==f)o++;else if(null==y)j--;else if(null==x)_--;else{if(o===_)break;if(p.key!==x.key||y.key!==f.key)break;S=b(e,l,r),k(t,g(y),S),y!==f&&h(t,y,f,a,S,i),++o<=--_&&k(t,g(p),r),p!==x&&h(t,p,x,a,r,i),null!=x.dom&&(r=x.dom),l++,j--}y=e[j],x=n[_],p=e[l],f=n[o]}for(;j>=l&&_>=o;){if(null==y)j--;else if(null==x)_--;else{if(y.key!==x.key)break;y!==x&&h(t,y,x,a,r,i),null!=x.dom&&(r=x.dom),j--,_--}y=e[j],x=n[_]}if(o>_)v(e,l,j+1);else if(l>j)s(t,n,o,_+1,a,r,i);else{var A,P,N=r,M=_-o+1,K=new Array(M),T=0,U=0,L=2147483647,O=0;for(U=0;U=o;U--)if(null==A&&(A=m(e,l,j+1)),null!=(x=n[U])){var B=A[x.key];null!=B&&(L=B0&&(a[i]=r[e-1]),r[e]=i)}}e=r.length,n=r[e-1];for(;e-- >0;)r[e]=n,n=a[n];return r}(K)).length-1,U=_;U>=o;U--)f=n[U],-1===K[U-o]?c(t,f,a,i,r):P[T]===U-o?T--:k(t,g(f),r),null!=f.dom&&(r=n[U].dom);else for(U=_;U>=o;U--)f=n[U],-1===K[U-o]&&c(t,f,a,i,r),null!=f.dom&&(r=n[U].dom)}}else{var I=e.lengthI&&v(e,o,e.length),n.length>I&&s(t,n,o,n.length,a,r,i)}}}function h(t,e,n,r,o,u){var s=e.tag;if(s===n.tag){if(n.state=e.state,n.events=e.events,function(t,e){do{if(null!=t.attrs&&"function"==typeof t.attrs.onbeforeupdate){var n=l.call(t.attrs.onbeforeupdate,t,e);if(void 0!==n&&!n)break}if("string"!=typeof t.tag&&"function"==typeof t.state.onbeforeupdate){var n=l.call(t.state.onbeforeupdate,t,e);if(void 0!==n&&!n)break}return!1}while(0);return t.dom=e.dom,t.domSize=e.domSize,t.instance=e.instance,!0}(n,e))return;if("string"==typeof s)switch(null!=n.attrs&&L(n.attrs,n,r),s){case"#":!function(t,e){t.children.toString()!==e.children.toString()&&(t.dom.nodeValue=e.children);e.dom=t.dom}(e,n);break;case"<":!function(t,e,n,a,r){e.children!==n.children?(g(e),p(t,n,a,r)):(n.dom=e.dom,n.domSize=e.domSize)}(t,e,n,u,o);break;case"[":!function(t,e,n,a,r,i){f(t,e.children,n.children,a,r,i);var o=0,l=n.children;if(n.dom=null,null!=l){for(var u=0;u0){for(var r=t.dom;--e;)a.appendChild(r.nextSibling);a.insertBefore(r,a.firstChild)}return a}return t.dom}function b(t,e,n){for(;e-1||null!=t.attrs&&t.attrs.is||"href"!==e&&"list"!==e&&"form"!==e&&"width"!==e&&"height"!==e)&&e in t.dom}var A=/[A-Z]/g;function P(t){return"-"+t.toLowerCase()}function N(t){return"-"===t[0]&&"-"===t[1]?t:"cssFloat"===t?"float":t.replace(A,P)}function M(t,e,n){if(e===n);else if(null==n)t.style.cssText="";else if("object"!=typeof n)t.style.cssText=n;else if(null==e||"object"!=typeof e)for(var a in t.style.cssText="",n){null!=(r=n[a])&&t.style.setProperty(N(a),String(r))}else{for(var a in n){var r;null!=(r=n[a])&&(r=String(r))!==String(e[a])&&t.style.setProperty(N(a),r)}for(var a in e)null!=e[a]&&null==n[a]&&t.style.removeProperty(N(a))}}function K(){}function T(t,e,n){if(null!=t.events){if(t.events[e]===n)return;null==n||"function"!=typeof n&&"object"!=typeof n?(null!=t.events[e]&&t.dom.removeEventListener(e.slice(2),t.events,!1),t.events[e]=void 0):(null==t.events[e]&&t.dom.addEventListener(e.slice(2),t.events,!1),t.events[e]=n)}else null==n||"function"!=typeof n&&"object"!=typeof n||(t.events=new K,t.dom.addEventListener(e.slice(2),t.events,!1),t.events[e]=n)}function U(t,e,n){"function"==typeof t.oninit&&l.call(t.oninit,e),"function"==typeof t.oncreate&&n.push(l.bind(t.oncreate,e))}function L(t,e,n){"function"==typeof t.onupdate&&n.push(l.bind(t.onupdate,e))}return K.prototype=Object.create(null),K.prototype.handleEvent=function(t){var n,a=this["on"+t.type];"function"==typeof a?n=a.call(t.currentTarget,t):"function"==typeof a.handleEvent&&a.handleEvent(t),!1===t.redraw?t.redraw=void 0:"function"==typeof e&&e(),!1===n&&(t.preventDefault(),t.stopPropagation())},{render:function(t,e){if(!t)throw new Error("Ensure the DOM element being passed to m.route/m.mount/m.render is not undefined.");var n=[],r=u(),i=t.namespaceURI;null==t.vnodes&&(t.textContent=""),e=a.normalizeChildren(Array.isArray(e)?e:[e]),f(t,t.vnodes,e,n,null,"http://www.w3.org/1999/xhtml"===i?void 0:i),t.vnodes=e,null!=r&&u()!==r&&"function"==typeof r.focus&&r.focus();for(var o=0;o-1&&a.splice(e,2)}function o(){if(r)throw new Error("Nested m.redraw.sync() call");r=!0;for(var t=1;t-1&&u.pop();for(var c=0;c-1?a:r>-1?r:t.length;if(a>-1){var o=r>-1?r:t.length,l=k(t.slice(a+1,o));for(var u in l)e[u]=l[u]}if(r>-1){var s=k(t.slice(r+1));for(var u in s)n[u]=s[u]}return t.slice(0,i)}var o={prefix:"#!",getPath:function(){switch(o.prefix.charAt(0)){case"#":return r("hash").slice(o.prefix.length);case"?":return r("search").slice(o.prefix.length)+r("hash");default:return r("pathname").slice(o.prefix.length)+r("search")+r("hash")}},setPath:function(e,a,r){var l={},u={};if(e=i(e,l,u),null!=a){for(var s in a)l[s]=a[s];e=e.replace(/:([^\/]+)/g,function(t,e){return delete l[e],a[e]})}var c=p(l);c&&(e+="?"+c);var d=p(u);if(d&&(e+="#"+d),n){var f=r?r.state:null,h=r?r.title:null;t.onpopstate(),r&&r.replace?t.history.replaceState(f,h,o.prefix+e):t.history.pushState(f,h,o.prefix+e)}else t.location.href=o.prefix+e}};return o.defineRoutes=function(r,l,u){function s(){var e=o.getPath(),n={},a=i(e,n,n),s=t.history.state;if(null!=s)for(var c in s)n[c]=s[c];for(var d in r){var p=new RegExp("^"+d.replace(/:[^\/]+?\.{3}/g,"(.*?)").replace(/:[^\/]+/g,"([^\\/]+)")+"/?$");if(p.test(a))return void a.replace(p,function(){for(var t=d.match(/:[^\/]+/g)||[],a=[].slice.call(arguments,1,-2),i=0;i-1&&t%1==0&&t<=a}(t.length)&&!G(t)}var W=M||function(){return!1};function G(t){var e=X(t)?_.call(t):"";return e==i||e==o}function X(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}n.exports=function(t){if(V(t)&&(J(t)||"string"==typeof t||"function"==typeof t.splice||W(t)||Y(t)))return!t.length;var e=q(t);if(e==l||e==u)return!t.size;if(I||function(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||v)}(t))return!K(t).length;for(var n in t)if(x.call(t,n))return!1;return!0}}).call(this,n(2),n(3)(t))},function(t,e,n){(function(t,n){var a=200,r="Expected a function",i="__lodash_hash_undefined__",o=1,l=2,u=1/0,s=9007199254740991,c="[object Arguments]",d="[object Array]",p="[object Boolean]",f="[object Date]",h="[object Error]",m="[object Function]",g="[object GeneratorFunction]",b="[object Map]",k="[object Number]",y="[object Object]",v="[object RegExp]",w="[object Set]",S="[object String]",j="[object Symbol]",x="[object ArrayBuffer]",_="[object DataView]",A=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,P=/^\w*$/,N=/^\./,M=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,K=/\\(\\)?/g,T=/^\[object .+?Constructor\]$/,U=/^(?:0|[1-9]\d*)$/,L={};L["[object Float32Array]"]=L["[object Float64Array]"]=L["[object Int8Array]"]=L["[object Int16Array]"]=L["[object Int32Array]"]=L["[object Uint8Array]"]=L["[object Uint8ClampedArray]"]=L["[object Uint16Array]"]=L["[object Uint32Array]"]=!0,L[c]=L[d]=L[x]=L[p]=L[_]=L[f]=L[h]=L[m]=L[b]=L[k]=L[y]=L[v]=L[w]=L[S]=L["[object WeakMap]"]=!1;var O="object"==typeof t&&t&&t.Object===Object&&t,B="object"==typeof self&&self&&self.Object===Object&&self,I=O||B||Function("return this")(),R=e&&!e.nodeType&&e,E=R&&"object"==typeof n&&n&&!n.nodeType&&n,D=E&&E.exports===R&&O.process,C=function(){try{return D&&D.binding("util")}catch(t){}}(),z=C&&C.isTypedArray;function $(t,e){for(var n=-1,a=t?t.length:0,r=Array(a);++n-1},_t.prototype.set=function(t,e){var n=this.__data__,a=Kt(n,t);return a<0?n.push([t,e]):n[a][1]=e,this},At.prototype.clear=function(){this.__data__={hash:new xt,map:new(dt||_t),string:new xt}},At.prototype.delete=function(t){return qt(this,t).delete(t)},At.prototype.get=function(t){return qt(this,t).get(t)},At.prototype.has=function(t){return qt(this,t).has(t)},At.prototype.set=function(t,e){return qt(this,t).set(t,e),this},Pt.prototype.add=Pt.prototype.push=function(t){return this.__data__.set(t,i),this},Pt.prototype.has=function(t){return this.__data__.has(t)},Nt.prototype.clear=function(){this.__data__=new _t},Nt.prototype.delete=function(t){return this.__data__.delete(t)},Nt.prototype.get=function(t){return this.__data__.get(t)},Nt.prototype.has=function(t){return this.__data__.has(t)},Nt.prototype.set=function(t,e){var n=this.__data__;if(n instanceof _t){var r=n.__data__;if(!dt||r.lengths))return!1;var d=i.get(t);if(d&&i.get(e))return d==e;var p=-1,f=!0,h=r&o?new Pt:void 0;for(i.set(t,e),i.set(e,t);++p-1&&t%1==0&&t-1&&t%1==0&&t<=s}function le(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function ue(t){return!!t&&"object"==typeof t}function se(t){return"symbol"==typeof t||ue(t)&&at.call(t)==j}var ce=z?function(t){return function(e){return t(e)}}(z):function(t){return ue(t)&&oe(t.length)&&!!L[at.call(t)]};function de(t){return re(t)?Mt(t):Ct(t)}function pe(t){return t}n.exports=function(t,e){return(ae(t)?$:zt)(t,Dt(e))}}).call(this,n(2),n(3)(t))},function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"==typeof window&&(n=window)}t.exports=n},function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},function(t,e,n){n(5),t.exports=n(6)},function(t,e,n){"use strict";function a(t,e,n,a,r,i){return{tag:t,key:e,attrs:n,children:a,text:r,dom:i,domSize:void 0,state:void 0,events:void 0,instance:void 0}}n.r(e),a.normalize=function(t){return Array.isArray(t)?a("[",void 0,void 0,a.normalizeChildren(t),void 0,void 0):null!=t&&"object"!=typeof t?a("#",void 0,void 0,!1===t?"":t,void 0,void 0):t},a.normalizeChildren=function(t){for(var e=[],n=0;n0&&(r.className=a.join(" ")),o[t]={tag:n,attrs:r}}(t),e):(e.tag=t,e)}s.trust=function(t){return null==t&&(t=""),a("<",void 0,void 0,t,void 0,void 0)},s.fragment=function(){var t=r.apply(0,arguments);return t.tag="[",t.children=a.normalizeChildren(t.children),t};var c=function(){return s.apply(this,arguments)};if(c.m=s,c.trust=s.trust,c.fragment=s.fragment,(d=function(t){if(!(this instanceof d))throw new Error("Promise must be called with `new`");if("function"!=typeof t)throw new TypeError("executor must be a function");var e=this,n=[],a=[],r=u(n,!0),i=u(a,!1),o=e._instance={resolvers:n,rejectors:a},l="function"==typeof setImmediate?setImmediate:setTimeout;function u(t,r){return function u(c){var d;try{if(!r||null==c||"object"!=typeof c&&"function"!=typeof c||"function"!=typeof(d=c.then))l(function(){r||0!==t.length||console.error("Possible unhandled promise rejection:",c);for(var e=0;e0||t(n)}}var a=n(i);try{t(n(r),a)}catch(t){a(t)}}s(t)}).prototype.then=function(t,e){var n,a,r=this._instance;function i(t,e,i,o){e.push(function(e){if("function"!=typeof t)i(e);else try{n(t(e))}catch(t){a&&a(t)}}),"function"==typeof r.retry&&o===r.state&&r.retry()}var o=new d(function(t,e){n=t,a=e});return i(t,r.resolvers,n,!0),i(e,r.rejectors,a,!1),o},d.prototype.catch=function(t){return this.then(null,t)},d.prototype.finally=function(t){return this.then(function(e){return d.resolve(t()).then(function(){return e})},function(e){return d.resolve(t()).then(function(){return d.reject(e)})})},d.resolve=function(t){return t instanceof d?t:new d(function(e){e(t)})},d.reject=function(t){return new d(function(e,n){n(t)})},d.all=function(t){return new d(function(e,n){var a=t.length,r=0,i=[];if(0===t.length)e([]);else for(var o=0;o=200&&d.status<300||304===d.status||/^file:\/\//i.test(e),i=d.responseText;if("function"==typeof n.extract)i=n.extract(d,n),t=!0;else if("function"==typeof n.deserialize)i=n.deserialize(i);else try{i=i?JSON.parse(i):null}catch(t){throw new Error("Invalid JSON: "+i)}if(t)a(i);else{var o=new Error(d.responseText);o.code=d.status,o.response=i,r(o)}}catch(t){r(t)}},u&&null!=s?d.send(s):d.send()}),jsonp:r(function(e,n,r,i){var l=n.callbackName||"_mithril_"+Math.round(1e16*Math.random())+"_"+a++,u=t.document.createElement("script");t[l]=function(e){u.parentNode.removeChild(u),r(e),delete t[l]},u.onerror=function(){u.parentNode.removeChild(u),i(new Error("JSONP request failed")),delete t[l]},e=o(e,n.data,!0),u.src=e+(e.indexOf("?")<0?"?":"&")+encodeURIComponent(n.callbackKey||"callback")+"="+encodeURIComponent(l),t.document.documentElement.appendChild(u)}),setCompletionCallback:function(t){n=t}}}(window,d),h=function(t){var e,n=t.document,r={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"};function i(t){return t.attrs&&t.attrs.xmlns||r[t.tag]}function o(t,e){if(t.state!==e)throw new Error("`vnode.state` must not be modified")}function l(t){var e=t.state;try{return this.apply(e,arguments)}finally{o(t,e)}}function u(){try{return n.activeElement}catch(t){return null}}function s(t,e,n,a,r,i,o){for(var l=n;l'+e.children+"",o=o.firstChild):o.innerHTML=e.children,e.dom=o.firstChild,e.domSize=o.childNodes.length;for(var l,u=n.createDocumentFragment();l=o.firstChild;)u.appendChild(l);k(t,u,r)}function f(t,e,n,a,r,i){if(e!==n&&(null!=e||null!=n))if(null==e||0===e.length)s(t,n,0,n.length,a,r,i);else if(null==n||0===n.length)v(e,0,e.length);else{for(var o=0,l=0,u=null,d=null;l=l&&_>=o;)if(y=e[x],S=n[_],null==y)x--;else if(null==S)_--;else{if(y.key!==S.key)break;y!==S&&h(t,y,S,a,r,i),null!=S.dom&&(r=S.dom),x--,_--}for(;x>=l&&_>=o;)if(p=e[l],f=n[o],null==p)l++;else if(null==f)o++;else{if(p.key!==f.key)break;l++,o++,p!==f&&h(t,p,f,a,b(e,l,r),i)}for(;x>=l&&_>=o;){if(null==p)l++;else if(null==f)o++;else if(null==y)x--;else if(null==S)_--;else{if(o===_)break;if(p.key!==S.key||y.key!==f.key)break;j=b(e,l,r),k(t,g(y),j),y!==f&&h(t,y,f,a,j,i),++o<=--_&&k(t,g(p),r),p!==S&&h(t,p,S,a,r,i),null!=S.dom&&(r=S.dom),l++,x--}y=e[x],S=n[_],p=e[l],f=n[o]}for(;x>=l&&_>=o;){if(null==y)x--;else if(null==S)_--;else{if(y.key!==S.key)break;y!==S&&h(t,y,S,a,r,i),null!=S.dom&&(r=S.dom),x--,_--}y=e[x],S=n[_]}if(o>_)v(e,l,x+1);else if(l>x)s(t,n,o,_+1,a,r,i);else{var A,P,N=r,M=_-o+1,K=new Array(M),T=0,U=0,L=2147483647,O=0;for(U=0;U=o;U--)if(null==A&&(A=m(e,l,x+1)),null!=(S=n[U])){var B=A[S.key];null!=B&&(L=B0&&(a[i]=r[e-1]),r[e]=i)}}e=r.length,n=r[e-1];for(;e-- >0;)r[e]=n,n=a[n];return r}(K)).length-1,U=_;U>=o;U--)f=n[U],-1===K[U-o]?c(t,f,a,i,r):P[T]===U-o?T--:k(t,g(f),r),null!=f.dom&&(r=n[U].dom);else for(U=_;U>=o;U--)f=n[U],-1===K[U-o]&&c(t,f,a,i,r),null!=f.dom&&(r=n[U].dom)}}else{var I=e.lengthI&&v(e,o,e.length),n.length>I&&s(t,n,o,n.length,a,r,i)}}}function h(t,e,n,r,o,u){var s=e.tag;if(s===n.tag){if(n.state=e.state,n.events=e.events,function(t,e){do{if(null!=t.attrs&&"function"==typeof t.attrs.onbeforeupdate){var n=l.call(t.attrs.onbeforeupdate,t,e);if(void 0!==n&&!n)break}if("string"!=typeof t.tag&&"function"==typeof t.state.onbeforeupdate){var n=l.call(t.state.onbeforeupdate,t,e);if(void 0!==n&&!n)break}return!1}while(0);return t.dom=e.dom,t.domSize=e.domSize,t.instance=e.instance,!0}(n,e))return;if("string"==typeof s)switch(null!=n.attrs&&L(n.attrs,n,r),s){case"#":!function(t,e){t.children.toString()!==e.children.toString()&&(t.dom.nodeValue=e.children);e.dom=t.dom}(e,n);break;case"<":!function(t,e,n,a,r){e.children!==n.children?(g(e),p(t,n,a,r)):(n.dom=e.dom,n.domSize=e.domSize)}(t,e,n,u,o);break;case"[":!function(t,e,n,a,r,i){f(t,e.children,n.children,a,r,i);var o=0,l=n.children;if(n.dom=null,null!=l){for(var u=0;u0){for(var r=t.dom;--e;)a.appendChild(r.nextSibling);a.insertBefore(r,a.firstChild)}return a}return t.dom}function b(t,e,n){for(;e-1||null!=t.attrs&&t.attrs.is||"href"!==e&&"list"!==e&&"form"!==e&&"width"!==e&&"height"!==e)&&e in t.dom}var A=/[A-Z]/g;function P(t){return"-"+t.toLowerCase()}function N(t){return"-"===t[0]&&"-"===t[1]?t:"cssFloat"===t?"float":t.replace(A,P)}function M(t,e,n){if(e===n);else if(null==n)t.style.cssText="";else if("object"!=typeof n)t.style.cssText=n;else if(null==e||"object"!=typeof e)for(var a in t.style.cssText="",n){null!=(r=n[a])&&t.style.setProperty(N(a),String(r))}else{for(var a in n){var r;null!=(r=n[a])&&(r=String(r))!==String(e[a])&&t.style.setProperty(N(a),r)}for(var a in e)null!=e[a]&&null==n[a]&&t.style.removeProperty(N(a))}}function K(){}function T(t,e,n){if(null!=t.events){if(t.events[e]===n)return;null==n||"function"!=typeof n&&"object"!=typeof n?(null!=t.events[e]&&t.dom.removeEventListener(e.slice(2),t.events,!1),t.events[e]=void 0):(null==t.events[e]&&t.dom.addEventListener(e.slice(2),t.events,!1),t.events[e]=n)}else null==n||"function"!=typeof n&&"object"!=typeof n||(t.events=new K,t.dom.addEventListener(e.slice(2),t.events,!1),t.events[e]=n)}function U(t,e,n){"function"==typeof t.oninit&&l.call(t.oninit,e),"function"==typeof t.oncreate&&n.push(l.bind(t.oncreate,e))}function L(t,e,n){"function"==typeof t.onupdate&&n.push(l.bind(t.onupdate,e))}return K.prototype=Object.create(null),K.prototype.handleEvent=function(t){var n,a=this["on"+t.type];"function"==typeof a?n=a.call(t.currentTarget,t):"function"==typeof a.handleEvent&&a.handleEvent(t),!1===t.redraw?t.redraw=void 0:"function"==typeof e&&e(),!1===n&&(t.preventDefault(),t.stopPropagation())},{render:function(t,e){if(!t)throw new Error("Ensure the DOM element being passed to m.route/m.mount/m.render is not undefined.");var n=[],r=u(),i=t.namespaceURI;null==t.vnodes&&(t.textContent=""),e=a.normalizeChildren(Array.isArray(e)?e:[e]),f(t,t.vnodes,e,n,null,"http://www.w3.org/1999/xhtml"===i?void 0:i),t.vnodes=e,null!=r&&u()!==r&&"function"==typeof r.focus&&r.focus();for(var o=0;o-1&&a.splice(e,2)}function o(){if(r)throw new Error("Nested m.redraw.sync() call");r=!0;for(var t=1;t-1&&u.pop();for(var c=0;c-1?a:r>-1?r:t.length;if(a>-1){var o=r>-1?r:t.length,l=k(t.slice(a+1,o));for(var u in l)e[u]=l[u]}if(r>-1){var s=k(t.slice(r+1));for(var u in s)n[u]=s[u]}return t.slice(0,i)}var o={prefix:"#!",getPath:function(){switch(o.prefix.charAt(0)){case"#":return r("hash").slice(o.prefix.length);case"?":return r("search").slice(o.prefix.length)+r("hash");default:return r("pathname").slice(o.prefix.length)+r("search")+r("hash")}},setPath:function(e,a,r){var l={},u={};if(e=i(e,l,u),null!=a){for(var s in a)l[s]=a[s];e=e.replace(/:([^\/]+)/g,function(t,e){return delete l[e],a[e]})}var c=p(l);c&&(e+="?"+c);var d=p(u);if(d&&(e+="#"+d),n){var f=r?r.state:null,h=r?r.title:null;t.onpopstate(),r&&r.replace?t.history.replaceState(f,h,o.prefix+e):t.history.pushState(f,h,o.prefix+e)}else t.location.href=o.prefix+e}};return o.defineRoutes=function(r,l,u){function s(){var e=o.getPath(),n={},a=i(e,n,n),s=t.history.state;if(null!=s)for(var c in s)n[c]=s[c];for(var d in r){var p=new RegExp("^"+d.replace(/:[^\/]+?\.{3}/g,"(.*?)").replace(/:[^\/]+/g,"([^\\/]+)")+"/?$");if(p.test(a))return void a.replace(p,function(){for(var t=d.match(/:[^\/]+/g)||[],a=[].slice.call(arguments,1,-2),i=0;i Date: Mon, 6 May 2024 11:13:37 +0700 Subject: [PATCH 2/2] bumped version to v1.3.3 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 5399db7..840bfc1 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "smk-kelulusan", - "version": "1.3.2", + "version": "1.3.3", "description": "", "main": "webpack.mix.js", "directories": {