mirror of
https://github.com/Sea-Haven-Industries/seahaven-site.git
synced 2026-10-04 10:11:59 +00:00
3 lines
120 KiB
JavaScript
3 lines
120 KiB
JavaScript
|
|
/*! elementor - v3.27.0 - 18-02-2025 */
|
||
|
|
/*! For license information please see app-packages.min.js.LICENSE.txt */
|
||
|
|
(()=>{var e={57463:()=>{},14546:()=>{},22322:()=>{},51959:()=>{},33791:()=>{},16944:()=>{},49194:()=>{},45302:()=>{},91618:()=>{},28042:()=>{},54792:()=>{},37868:()=>{},97088:()=>{},84624:()=>{},72701:()=>{},99835:()=>{},26587:()=>{},45744:()=>{},4815:()=>{},86161:()=>{},22057:()=>{},69978:()=>{},27843:()=>{},96431:()=>{},83040:(e,t,r)=>{"use strict";r.r(t),r.d(t,{Link:()=>V,Location:()=>S,LocationProvider:()=>D,Match:()=>Z,Redirect:()=>$,Router:()=>I,ServerLocation:()=>B,createHistory:()=>x,createMemorySource:()=>O,globalHistory:()=>E,isRedirect:()=>z,matchPath:()=>p,navigate:()=>N,redirectTo:()=>Y,useLocation:()=>J,useMatch:()=>te,useNavigate:()=>X,useParams:()=>ee});var n=r(41594),o=r.n(n),a=r(32091),i=r.n(a),l=r(49477),s=r.n(l);function componentWillMount(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);null!=e&&this.setState(e)}function componentWillReceiveProps(e){this.setState(function updater(t){var r=this.constructor.getDerivedStateFromProps(e,t);return null!=r?r:null}.bind(this))}function componentWillUpdate(e,t){try{var r=this.props,n=this.state;this.props=e,this.state=t,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(r,n)}finally{this.props=r,this.state=n}}componentWillMount.__suppressDeprecationWarning=!0,componentWillReceiveProps.__suppressDeprecationWarning=!0,componentWillUpdate.__suppressDeprecationWarning=!0;var u=function startsWith(e,t){return e.substr(0,t.length)===t},c=function pick(e,t){for(var r=void 0,n=void 0,o=t.split("?")[0],a=_(o),l=""===a[0],s=g(e),u=0,c=s.length;u<c;u++){var p=!1,d=s[u].route;if(d.default)n={route:d,params:{},uri:t};else{for(var f=_(d.path),h={},y=Math.max(a.length,f.length),b=0;b<y;b++){var C=f[b],P=a[b];if(v(C)){h[C.slice(1)||"*"]=a.slice(b).map(decodeURIComponent).join("/");break}if(void 0===P){p=!0;break}var x=m.exec(C);if(x&&!l){-1===w.indexOf(x[1])||i()(!1);var O=decodeURIComponent(P);h[x[1]]=O}else if(C!==P){p=!0;break}}if(!p){r={route:d,params:h,uri:"/"+a.slice(0,b).join("/")};break}}}return r||n||null},p=function match(e,t){return c([{path:e}],t)},d=function resolve(e,t){if(u(e,"/"))return e;var r=e.split("?"),n=r[0],o=r[1],a=t.split("?")[0],i=_(n),l=_(a);if(""===i[0])return b(a,o);if(!u(i[0],".")){var s=l.concat(i).join("/");return b(("/"===a?"":"/")+s,o)}for(var c=l.concat(i),p=[],d=0,f=c.length;d<f;d++){var m=c[d];".."===m?p.pop():"."!==m&&p.push(m)}return b("/"+p.join("/"),o)},f=function insertParams(e,t){var r=e.split("?"),n=r[0],o=r[1],a=void 0===o?"":o,i="/"+_(n).map((function(e){var r=m.exec(e);return r?t[r[1]]:e})).join("/"),l=t.location,s=(l=void 0===l?{}:l).search,u=(void 0===s?"":s).split("?")[1]||"";return i=b(i,a,u)},m=/^:(.+)/,h=function isDynamic(e){return m.test(e)},v=function isSplat(e){return e&&"*"===e[0]},y=function rankRoute(e,t){return{route:e,score:e.default?0:_(e.path).reduce((function(e,t){return e+=4,!function isRootSegment(e){return""===e}(t)?h(t)?e+=2:v(t)?e-=5:e+=3:e+=1,e}),0),index:t}},g=function rankRoutes(e){return e.map(y).sort((function(e,t){return e.score<t.score?1:e.score>t.score?-1:e.index-t.index}))},_=function segmentize(e){return e.replace(/(^\/+|\/+$)/g,"").split("/")},b=function addQuery(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return e+((r=r.filter((function(e){return e&&e.length>0})))&&r.length>0?"?"+r.join("&"):"")},w=["uri","path"],C=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},P=function getLocation(e){var t=e.location,r=t.search,n=t.hash,o=t.href,a=t.origin,i=t.protocol,l=t.host,s=t.hostname,u=t.port,c=e.location.pathname;!c&&o&&j&&(c=new URL(o).pathname);return{pathname:encodeURI(decodeURI(c)),search:r,hash:n,href:o,origin:a,protocol:i,host:l,hostname:s,port:u,state:e.history.state,key:e.history.state&&e.history.state.key||"initial"}},x=function createHistory(e,t){var r=[],n=P(e),o=!1,a=function resolveTransition(){};return{get location(){return n},get transitioning(){return o},_onTransitionC
|