12 lines
16 KiB
JavaScript
12 lines
16 KiB
JavaScript
(()=>{var G=Object.create;var W=Object.defineProperty;var X=Object.getOwnPropertyDescriptor;var Y=Object.getOwnPropertyNames;var J=Object.getPrototypeOf,K=Object.prototype.hasOwnProperty;var Q=(n,o)=>()=>(o||n((o={exports:{}}).exports,o),o.exports);var V=(n,o,t,r)=>{if(o&&typeof o=="object"||typeof o=="function")for(let e of Y(o))!K.call(n,e)&&e!==t&&W(n,e,{get:()=>o[e],enumerable:!(r=X(o,e))||r.enumerable});return n};var Z=(n,o,t)=>(t=n!=null?G(J(n)):{},V(o||!n||!n.__esModule?W(t,"default",{value:n,enumerable:!0}):t,n));var R=Q((I,L)=>{(function(n,o){typeof I=="object"&&typeof L=="object"?L.exports=o():typeof define=="function"&&define.amd?define([],o):typeof I=="object"?I.CircleType=o():n.CircleType=o()})(typeof self<"u"?self:I,function(){return function(n){function o(r){if(t[r])return t[r].exports;var e=t[r]={i:r,l:!1,exports:{}};return n[r].call(e.exports,e,e.exports,o),e.l=!0,e.exports}var t={};return o.m=n,o.c=t,o.d=function(r,e,i){o.o(r,e)||Object.defineProperty(r,e,{configurable:!1,enumerable:!0,get:i})},o.n=function(r){var e=r&&r.__esModule?function(){return r.default}:function(){return r};return o.d(e,"a",e),e},o.o=function(r,e){return Object.prototype.hasOwnProperty.call(r,e)},o.p="",o(o.s=29)}([function(n,o,t){var r=t(24)("wks"),e=t(12),i=t(1).Symbol,u=typeof i=="function";(n.exports=function(c){return r[c]||(r[c]=u&&i[c]||(u?i:e)("Symbol."+c))}).store=r},function(n,o){var t=n.exports=typeof window<"u"&&window.Math==Math?window:typeof self<"u"&&self.Math==Math?self:Function("return this")();typeof __g=="number"&&(__g=t)},function(n,o){var t=n.exports={version:"2.5.6"};typeof __e=="number"&&(__e=t)},function(n,o,t){var r=t(4),e=t(11);n.exports=t(6)?function(i,u,c){return r.f(i,u,e(1,c))}:function(i,u,c){return i[u]=c,i}},function(n,o,t){var r=t(5),e=t(34),i=t(35),u=Object.defineProperty;o.f=t(6)?Object.defineProperty:function(c,a,f){if(r(c),a=i(a,!0),r(f),e)try{return u(c,a,f)}catch{}if("get"in f||"set"in f)throw TypeError("Accessors not supported!");return"value"in f&&(c[a]=f.value),c}},function(n,o,t){var r=t(10);n.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},function(n,o,t){n.exports=!t(17)(function(){return Object.defineProperty({},"a",{get:function(){return 7}}).a!=7})},function(n,o){var t={}.hasOwnProperty;n.exports=function(r,e){return t.call(r,e)}},function(n,o){var t=Math.ceil,r=Math.floor;n.exports=function(e){return isNaN(e=+e)?0:(e>0?r:t)(e)}},function(n,o){n.exports=function(t){if(t==null)throw TypeError("Can't call method on "+t);return t}},function(n,o){n.exports=function(t){return typeof t=="object"?t!==null:typeof t=="function"}},function(n,o){n.exports=function(t,r){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:r}}},function(n,o){var t=0,r=Math.random();n.exports=function(e){return"Symbol(".concat(e===void 0?"":e,")_",(++t+r).toString(36))}},function(n,o){n.exports={}},function(n,o,t){var r=t(24)("keys"),e=t(12);n.exports=function(i){return r[i]||(r[i]=e(i))}},function(n,o){n.exports=!1},function(n,o,t){var r=t(1),e=t(2),i=t(3),u=t(19),c=t(20),a=function(f,s,l){var p,v,m,b,O=f&a.F,S=f&a.G,j=f&a.S,M=f&a.P,_=f&a.B,d=S?r:j?r[s]||(r[s]={}):(r[s]||{}).prototype,h=S?e:e[s]||(e[s]={}),y=h.prototype||(h.prototype={});S&&(l=s);for(p in l)v=!O&&d&&d[p]!==void 0,m=(v?d:l)[p],b=_&&v?c(m,r):M&&typeof m=="function"?c(Function.call,m):m,d&&u(d,p,m,f&a.U),h[p]!=m&&i(h,p,b),M&&y[p]!=m&&(y[p]=m)};r.core=e,a.F=1,a.G=2,a.S=4,a.P=8,a.B=16,a.W=32,a.U=64,a.R=128,n.exports=a},function(n,o){n.exports=function(t){try{return!!t()}catch{return!0}}},function(n,o,t){var r=t(10),e=t(1).document,i=r(e)&&r(e.createElement);n.exports=function(u){return i?e.createElement(u):{}}},function(n,o,t){var r=t(1),e=t(3),i=t(7),u=t(12)("src"),c=Function.toString,a=(""+c).split("toString");t(2).inspectSource=function(f){return c.call(f)},(n.exports=function(f,s,l,p){var v=typeof l=="function";v&&(i(l,"name")||e(l,"name",s)),f[s]!==l&&(v&&(i(l,u)||e(l,u,f[s]?""+f[s]:a.join(String(s)))),f===r?f[s]=l:p?f[s]?f[s]=l:e(f,s,l):(delete f[s],e(f,s,l)))})(Function.prototype,"toString",function(){return typeof this=="function"&&this[u]||c.call(this)})},function(n,o,t){var r=t(36);n.exports=function(e,i,u){if(r(e),i===void 0)return e;switch(u){case 1:return function(c){return e.call(i,c)};case 2:return function(c,a){return e.call(i,c,a)};case 3:return function(c,a,f){return e.call(i,c,a,f)}}return function(){return e.apply(i,arguments)}}},function(n,o,t){var r=t(42),e=t(9);n.exports=function(i){return r(e(i))}},function(n,o){var t={}.toString;n.exports=function(r){return t.call(r).slice(8,-1)}},function(n,o,t){var r=t(8),e=Math.min;n.exports=function(i){return i>0?e(r(i),9007199254740991):0}},function(n,o,t){var r=t(2),e=t(1),i=e["__core-js_shared__"]||(e["__core-js_shared__"]={});(n.exports=function(u,c){return i[u]||(i[u]=c!==void 0?c:{})})("versions",[]).push({version:r.version,mode:t(15)?"pure":"global",copyright:"\xA9 2018 Denis Pushkarev (zloirock.ru)"})},function(n,o){n.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(n,o,t){var r=t(4).f,e=t(7),i=t(0)("toStringTag");n.exports=function(u,c,a){u&&!e(u=a?u:u.prototype,i)&&r(u,i,{configurable:!0,value:c})}},function(n,o,t){var r=t(9);n.exports=function(e){return Object(r(e))}},function(n,o,t){"use strict";Object.defineProperty(o,"__esModule",{value:!0});var r=Math.PI/180;o.default=function(e){return e*r}},function(n,o,t){"use strict";t(30);var r=t(54),e=function(i){return i&&i.__esModule?i:{default:i}}(r);n.exports=e.default},function(n,o,t){t(31),t(47),n.exports=t(2).Array.from},function(n,o,t){"use strict";var r=t(32)(!0);t(33)(String,"String",function(e){this._t=String(e),this._i=0},function(){var e,i=this._t,u=this._i;return u>=i.length?{value:void 0,done:!0}:(e=r(i,u),this._i+=e.length,{value:e,done:!1})})},function(n,o,t){var r=t(8),e=t(9);n.exports=function(i){return function(u,c){var a,f,s=String(e(u)),l=r(c),p=s.length;return l<0||l>=p?i?"":void 0:(a=s.charCodeAt(l),a<55296||a>56319||l+1===p||(f=s.charCodeAt(l+1))<56320||f>57343?i?s.charAt(l):a:i?s.slice(l,l+2):f-56320+(a-55296<<10)+65536)}}},function(n,o,t){"use strict";var r=t(15),e=t(16),i=t(19),u=t(3),c=t(13),a=t(37),f=t(26),s=t(46),l=t(0)("iterator"),p=!([].keys&&"next"in[].keys()),v=function(){return this};n.exports=function(m,b,O,S,j,M,_){a(O,b,S);var d,h,y,g=function(k){if(!p&&k in w)return w[k];switch(k){case"keys":case"values":return function(){return new O(this,k)}}return function(){return new O(this,k)}},T=b+" Iterator",E=j=="values",A=!1,w=m.prototype,x=w[l]||w["@@iterator"]||j&&w[j],P=x||g(j),F=j?E?g("entries"):P:void 0,C=b=="Array"&&w.entries||x;if(C&&(y=s(C.call(new m)))!==Object.prototype&&y.next&&(f(y,T,!0),r||typeof y[l]=="function"||u(y,l,v)),E&&x&&x.name!=="values"&&(A=!0,P=function(){return x.call(this)}),r&&!_||!p&&!A&&w[l]||u(w,l,P),c[b]=P,c[T]=v,j)if(d={values:E?P:g("values"),keys:M?P:g("keys"),entries:F},_)for(h in d)h in w||i(w,h,d[h]);else e(e.P+e.F*(p||A),b,d);return d}},function(n,o,t){n.exports=!t(6)&&!t(17)(function(){return Object.defineProperty(t(18)("div"),"a",{get:function(){return 7}}).a!=7})},function(n,o,t){var r=t(10);n.exports=function(e,i){if(!r(e))return e;var u,c;if(i&&typeof(u=e.toString)=="function"&&!r(c=u.call(e))||typeof(u=e.valueOf)=="function"&&!r(c=u.call(e))||!i&&typeof(u=e.toString)=="function"&&!r(c=u.call(e)))return c;throw TypeError("Can't convert object to primitive value")}},function(n,o){n.exports=function(t){if(typeof t!="function")throw TypeError(t+" is not a function!");return t}},function(n,o,t){"use strict";var r=t(38),e=t(11),i=t(26),u={};t(3)(u,t(0)("iterator"),function(){return this}),n.exports=function(c,a,f){c.prototype=r(u,{next:e(1,f)}),i(c,a+" Iterator")}},function(n,o,t){var r=t(5),e=t(39),i=t(25),u=t(14)("IE_PROTO"),c=function(){},a=function(){var f,s=t(18)("iframe"),l=i.length;for(s.style.display="none",t(45).appendChild(s),s.src="javascript:",f=s.contentWindow.document,f.open(),f.write("<script>document.F=Object<\/script>"),f.close(),a=f.F;l--;)delete a.prototype[i[l]];return a()};n.exports=Object.create||function(f,s){var l;return f!==null?(c.prototype=r(f),l=new c,c.prototype=null,l[u]=f):l=a(),s===void 0?l:e(l,s)}},function(n,o,t){var r=t(4),e=t(5),i=t(40);n.exports=t(6)?Object.defineProperties:function(u,c){e(u);for(var a,f=i(c),s=f.length,l=0;s>l;)r.f(u,a=f[l++],c[a]);return u}},function(n,o,t){var r=t(41),e=t(25);n.exports=Object.keys||function(i){return r(i,e)}},function(n,o,t){var r=t(7),e=t(21),i=t(43)(!1),u=t(14)("IE_PROTO");n.exports=function(c,a){var f,s=e(c),l=0,p=[];for(f in s)f!=u&&r(s,f)&&p.push(f);for(;a.length>l;)r(s,f=a[l++])&&(~i(p,f)||p.push(f));return p}},function(n,o,t){var r=t(22);n.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return r(e)=="String"?e.split(""):Object(e)}},function(n,o,t){var r=t(21),e=t(23),i=t(44);n.exports=function(u){return function(c,a,f){var s,l=r(c),p=e(l.length),v=i(f,p);if(u&&a!=a){for(;p>v;)if((s=l[v++])!=s)return!0}else for(;p>v;v++)if((u||v in l)&&l[v]===a)return u||v||0;return!u&&-1}}},function(n,o,t){var r=t(8),e=Math.max,i=Math.min;n.exports=function(u,c){return u=r(u),u<0?e(u+c,0):i(u,c)}},function(n,o,t){var r=t(1).document;n.exports=r&&r.documentElement},function(n,o,t){var r=t(7),e=t(27),i=t(14)("IE_PROTO"),u=Object.prototype;n.exports=Object.getPrototypeOf||function(c){return c=e(c),r(c,i)?c[i]:typeof c.constructor=="function"&&c instanceof c.constructor?c.constructor.prototype:c instanceof Object?u:null}},function(n,o,t){"use strict";var r=t(20),e=t(16),i=t(27),u=t(48),c=t(49),a=t(23),f=t(50),s=t(51);e(e.S+e.F*!t(53)(function(l){Array.from(l)}),"Array",{from:function(l){var p,v,m,b,O=i(l),S=typeof this=="function"?this:Array,j=arguments.length,M=j>1?arguments[1]:void 0,_=M!==void 0,d=0,h=s(O);if(_&&(M=r(M,j>2?arguments[2]:void 0,2)),h==null||S==Array&&c(h))for(p=a(O.length),v=new S(p);p>d;d++)f(v,d,_?M(O[d],d):O[d]);else for(b=h.call(O),v=new S;!(m=b.next()).done;d++)f(v,d,_?u(b,M,[m.value,d],!0):m.value);return v.length=d,v}})},function(n,o,t){var r=t(5);n.exports=function(e,i,u,c){try{return c?i(r(u)[0],u[1]):i(u)}catch(f){var a=e.return;throw a!==void 0&&r(a.call(e)),f}}},function(n,o,t){var r=t(13),e=t(0)("iterator"),i=Array.prototype;n.exports=function(u){return u!==void 0&&(r.Array===u||i[e]===u)}},function(n,o,t){"use strict";var r=t(4),e=t(11);n.exports=function(i,u,c){u in i?r.f(i,u,e(0,c)):i[u]=c}},function(n,o,t){var r=t(52),e=t(0)("iterator"),i=t(13);n.exports=t(2).getIteratorMethod=function(u){if(u!=null)return u[e]||u["@@iterator"]||i[r(u)]}},function(n,o,t){var r=t(22),e=t(0)("toStringTag"),i=r(function(){return arguments}())=="Arguments",u=function(c,a){try{return c[a]}catch{}};n.exports=function(c){var a,f,s;return c===void 0?"Undefined":c===null?"Null":typeof(f=u(a=Object(c),e))=="string"?f:i?r(a):(s=r(a))=="Object"&&typeof a.callee=="function"?"Arguments":s}},function(n,o,t){var r=t(0)("iterator"),e=!1;try{var i=[7][r]();i.return=function(){e=!0},Array.from(i,function(){throw 2})}catch{}n.exports=function(u,c){if(!c&&!e)return!1;var a=!1;try{var f=[7],s=f[r]();s.next=function(){return{done:a=!0}},f[r]=function(){return s},u(f)}catch{}return a}},function(n,o,t){"use strict";function r(_){return _&&_.__esModule?_:{default:_}}function e(_,d){if(!(_ instanceof d))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(o,"__esModule",{value:!0});var i=function(){function _(d,h){for(var y=0;y<h.length;y++){var g=h[y];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(d,g.key,g)}}return function(d,h,y){return h&&_(d.prototype,h),y&&_(d,y),d}}(),u=t(55),c=r(u),a=t(56),f=r(a),s=t(57),l=r(s),p=t(58),v=r(p),m=t(59),b=r(m),O=Math.PI,S=Math.max,j=Math.min,M=function(){function _(d,h){e(this,_),this.element=d,this.originalHTML=this.element.innerHTML;var y=document.createElement("div"),g=document.createDocumentFragment();y.setAttribute("aria-label",d.innerText),y.style.position="relative",this.container=y,this._letters=(0,f.default)(d,h),this._letters.forEach(function(x){return g.appendChild(x)}),y.appendChild(g),this.element.innerHTML="",this.element.appendChild(y);var T=window.getComputedStyle(this.element),E=T.fontSize,A=T.lineHeight;this._fontSize=parseFloat(E),this._lineHeight=parseFloat(A)||this._fontSize,this._metrics=this._letters.map(c.default);var w=this._metrics.reduce(function(x,P){return x+P.width},0);this._minRadius=w/O/2+this._lineHeight,this._dir=1,this._forceWidth=!1,this._forceHeight=!0,this._radius=this._minRadius,this._invalidate()}return i(_,[{key:"radius",value:function(d){return d!==void 0?(this._radius=S(this._minRadius,d),this._invalidate(),this):this._radius}},{key:"dir",value:function(d){return d!==void 0?(this._dir=d,this._invalidate(),this):this._dir}},{key:"forceWidth",value:function(d){return d!==void 0?(this._forceWidth=d,this._invalidate(),this):this._forceWidth}},{key:"forceHeight",value:function(d){return d!==void 0?(this._forceHeight=d,this._invalidate(),this):this._forceHeight}},{key:"refresh",value:function(){return this._invalidate()}},{key:"destroy",value:function(){return this.element.innerHTML=this.originalHTML,this}},{key:"_invalidate",value:function(){var d=this;return cancelAnimationFrame(this._raf),this._raf=requestAnimationFrame(function(){d._layout()}),this}},{key:"_layout",value:function(){var d=this,h=this._radius,y=this._dir,g=y===-1?-h+this._lineHeight:h,T="center "+g/this._fontSize+"em",E=h-this._lineHeight,A=(0,b.default)(this._metrics,E),w=A.rotations,x=A.\u03B8;if(this._letters.forEach(function(C,k){var H=C.style,q=(-.5*x+w[k])*y,D=-.5*d._metrics[k].width/d._fontSize,z="translateX("+D+"em) rotate("+q+"deg)";H.position="absolute",H.bottom=y===-1?0:"auto",H.left="50%",H.transform=z,H.transformOrigin=T,H.webkitTransform=z,H.webkitTransformOrigin=T}),this._forceHeight){var P=x>180?(0,l.default)(h,x):(0,l.default)(E,x)+this._lineHeight;this.container.style.height=P/this._fontSize+"em"}if(this._forceWidth){var F=(0,v.default)(h,j(180,x));this.container.style.width=F/this._fontSize+"em"}return this}}]),_}();o.default=M},function(n,o,t){"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.default=function(r){var e=r.getBoundingClientRect();return{height:e.height,left:e.left+window.pageXOffset,top:e.top+window.pageYOffset,width:e.width}}},function(n,o,t){"use strict";function r(e){if(Array.isArray(e)){for(var i=0,u=Array(e.length);i<e.length;i++)u[i]=e[i];return u}return Array.from(e)}Object.defineProperty(o,"__esModule",{value:!0}),o.default=function(e,i){var u=document.createElement("span"),c=e.innerText.trim();return(i?i(c):[].concat(r(c))).map(function(a){var f=u.cloneNode();return f.insertAdjacentHTML("afterbegin",a===" "?" ":a),f})}},function(n,o,t){"use strict";Object.defineProperty(o,"__esModule",{value:!0});var r=t(28),e=function(i){return i&&i.__esModule?i:{default:i}}(r);o.default=function(i,u){return i*(1-Math.cos((0,e.default)(u/2)))}},function(n,o,t){"use strict";Object.defineProperty(o,"__esModule",{value:!0});var r=t(28),e=function(i){return i&&i.__esModule?i:{default:i}}(r);o.default=function(i,u){return 2*i*Math.sin((0,e.default)(u/2))}},function(n,o,t){"use strict";Object.defineProperty(o,"__esModule",{value:!0});var r=t(60),e=function(i){return i&&i.__esModule?i:{default:i}}(r);o.default=function(i,u){return i.reduce(function(c,a){var f=a.width,s=(0,e.default)(f/u);return{\u03B8:c.\u03B8+s,rotations:c.rotations.concat([c.\u03B8+s/2])}},{\u03B8:0,rotations:[]})}},function(n,o,t){"use strict";Object.defineProperty(o,"__esModule",{value:!0});var r=180/Math.PI;o.default=function(e){return e*r}}])})});var B=Z(R());new B.default(document.getElementById("footer")).radius(250).dir(-1);new B.default(document.getElementById("headerTitle")).radius(450);var N=document.getElementById("carousel"),$=document.getElementById("carousel-prev"),tt=document.getElementById("carousel-next"),U=function(n){let o=document.querySelector(".Carousel-item").clientWidth;n.target.id==="carousel-next"?N.scrollLeft+=o:n.target.id==="carousel-prev"&&(N.scrollLeft-=o)};tt.addEventListener("click",U);$.addEventListener("click",U);})();
|
|
/*! Bundled license information:
|
|
|
|
circletype/dist/circletype.min.js:
|
|
(*!
|
|
* circletype 2.3.0
|
|
* A JavaScript library that lets you curve type on the web.
|
|
* Copyright © 2014-2018 Peter Hrynkow
|
|
* Licensed MIT
|
|
* https://github.com/peterhry/CircleType#readme
|
|
*)
|
|
*/
|