seahaven-site/wp-content/plugins/elementor-pro/assets/js/form-submission-admin.min.js

2 lines
102 KiB
JavaScript
Raw Normal View History

/*! elementor-pro - v3.27.0 - 03-02-2025 */
(()=>{var e,t,r,n,a={3040:(e,t,r)=>{"use strict";r.r(t),r.d(t,{Link:()=>V,Location:()=>N,LocationProvider:()=>D,Match:()=>K,Redirect:()=>z,Router:()=>F,ServerLocation:()=>A,createHistory:()=>w,createMemorySource:()=>O,globalHistory:()=>x,isRedirect:()=>X,matchPath:()=>d,navigate:()=>S,redirectTo:()=>Q,useLocation:()=>J,useMatch:()=>te,useNavigate:()=>Z,useParams:()=>ee});var n=r(1594),a=r.n(n),o=r(2091),l=r.n(o),i=r(3070),s=r.n(i);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,a=t.split("?")[0],o=g(a),i=""===o[0],s=y(e),u=0,c=s.length;u<c;u++){var d=!1,f=s[u].route;if(f.default)n={route:f,params:{},uri:t};else{for(var p=g(f.path),h={},b=Math.max(o.length,p.length),_=0;_<b;_++){var P=p[_],C=o[_];if(v(P)){h[P.slice(1)||"*"]=o.slice(_).map(decodeURIComponent).join("/");break}if(void 0===C){d=!0;break}var w=m.exec(P);if(w&&!i){-1===E.indexOf(w[1])||l()(!1);var O=decodeURIComponent(C);h[w[1]]=O}else if(P!==C){d=!0;break}}if(!d){r={route:f,params:h,uri:"/"+o.slice(0,_).join("/")};break}}}return r||n||null},d=function match(e,t){return c([{path:e}],t)},f=function resolve(e,t){if(u(e,"/"))return e;var r=e.split("?"),n=r[0],a=r[1],o=t.split("?")[0],l=g(n),i=g(o);if(""===l[0])return _(o,a);if(!u(l[0],".")){var s=i.concat(l).join("/");return _(("/"===o?"":"/")+s,a)}for(var c=i.concat(l),d=[],f=0,p=c.length;f<p;f++){var m=c[f];".."===m?d.pop():"."!==m&&d.push(m)}return _("/"+d.join("/"),a)},p=function insertParams(e,t){var r=e.split("?"),n=r[0],a=r[1],o=void 0===a?"":a,l="/"+g(n).map((function(e){var r=m.exec(e);return r?t[r[1]]:e})).join("/"),i=t.location,s=(i=void 0===i?{}:i).search,u=(void 0===s?"":s).split("?")[1]||"";return l=_(l,o,u)},m=/^:(.+)/,h=function isDynamic(e){return m.test(e)},v=function isSplat(e){return e&&"*"===e[0]},b=function rankRoute(e,t){return{route:e,score:e.default?0:g(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}},y=function rankRoutes(e){return e.map(b).sort((function(e,t){return e.score<t.score?1:e.score>t.score?-1:e.index-t.index}))},g=function segmentize(e){return e.replace(/(^\/+|\/+$)/g,"").split("/")},_=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("&"):"")},E=["uri","path"],P=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},C=function getLocation(e){var t=e.location,r=t.search,n=t.hash,a=t.href,o=t.origin,l=t.protocol,i=t.host,s=t.hostname,u=t.port,c=e.location.pathname;!c&&a&&R&&(c=new URL(a).pathname);return{pathname:encodeURI(decodeURI(c)),search:r,hash:n,href:a,origin:o,protocol:l,host:i,hostname:s,port:u,state:e.history.state,key:e.history.state&&e.history.state.key||"initial"}},w=function createHistory(e,t){var r=[],n=C(e),a=!1,o=function resolveTransition(){};return{get location(){return n},get transitioning(){return a},_onTransitionComplete:function _onTransitionComplete(){a=!1,o()},listen:function listen(t){r.push(t);var a=function popstateListener(){n=C(e),t({location:n,action:"POP"})};return e.addEventListener("popstate",a),function(){e.removeEventListener("popstate",a),r=r.filter((function(e){return e!==t}))}},navigate:function na