PageSourceSearch

https://upriseenergy.com/0d6d31b9274332917f71f8e681ff28f4ad3e789d-49d65a410116ef89d670.js

js upriseenergy.com collected 2026-10-03 21:01:24 UTC 9,362 bytes, 2 lines download raw bytes

1(self.webpackChunkcivsav=self.webpackChunkcivsav||[]).push([[85],{3285:function(t){t.exports=function(){function t(){return t=Object.assign||function(t){for(var i=1;i<arguments.length;i++){var n=arguments[i];for(var e in n)Object.prototype.hasOwnProperty.call(n,e)&&(t[e]=n[e])}return t},t.apply(this,arguments)}function i(t,i){if(t){if("string"==typeof t)return n(t,i);var e=Object.prototype.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?n(t,i):void 0}}function n(t,i){(null==i||i>t.length)&&(i=t.length);for(var n=0,e=new Array(i);n<i;n++)e[n]=t[n];return e}function e(t,n){var e="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(e)return(e=e.call(t)).next.bind(e);if(Array.isArray(t)||(e=i(t))||n&&t&&"number"==typeof t.length){e&&(t=e);var r=0;return function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r="image-Tb9Ew8CXIwaY6R1kjMvI0uRR-2000x3000-jpg";function o(t){var i=t.split("-"),n=i[1],e=i[2],o=i[3];if(!n||!e||!o)throw new Error("Malformed asset _ref '"+t+"'. Expected an id like \""+r+'".');var a=e.split("x"),h=+a[0],s=+a[1];if(!isFinite(h)||!isFinite(s))throw new Error("Malformed asset _ref '"+t+"'. Expected an id like \""+r+'".');return{id:n,width:h,height:s,format:o}}var a=function(t){return!!t&&"string"==typeof t._ref},h=function(t){return!!t&&"string"==typeof t._id},s=function(t){var i=t;return!(!i||!i.asset)&&"string"==typeof i.asset.url};function u(i){if(!i)return null;var n;if("string"==typeof i&&p(i))n={asset:{_ref:f(i)}};else if("string"==typeof i)n={asset:{_ref:i}};else if(a(i))n={asset:i};else if(h(i))n={asset:{_ref:i._id||""}};else if(s(i))n={asset:{_ref:f(i.asset.url)}};else{if("object"!=typeof i.asset)return null;n=t({},i)}var e=i;return e.crop&&(n.crop=e.crop),e.hotspot&&(n.hotspot=e.hotspot),c(n)}function p(t){return/^https?:\/\//.test(""+t)}function f(t){return("image-"+t.split("/").slice(-1)[0]).replace(/\.([a-z]+)$/,"-$1")}
1function c(i){if(i.crop&&i.hotspot)return i;var n=t({},i);return n.crop||(n.crop={left:0,top:0,bottom:0,right:0}),n.hotspot||(n.hotspot={x:.5,y:.5,height:1,width:1}),n}var l=[["width","w"],["height","h"],["format","fm"],["download","dl"],["blur","blur"],["sharpen","sharp"],["invert","invert"],["orientation","or"],["minHeight","min-h"],["maxHeight","max-h"],["minWidth","min-w"],["maxWidth","max-w"],["quality","q"],["fit","fit"],["crop","crop"],["saturation","sat"],["auto","auto"],["dpr","dpr"],["pad","pad"],["frame","frame"]];function d(i){var n=t({},i||{}),e=n.source;delete n.source;var r=u(e);if(!r)throw new Error("Unable to resolve image URL from source ("+JSON.stringify(e)+")");var a=o(r.asset._ref||r.asset._id||""),h=Math.round(r.crop.left*a.width),s=Math.round(r.crop.top*a.height),p={left:h,top:s,width:Math.round(a.width-r.crop.right*a.width-h),height:Math.round(a.height-r.crop.bottom*a.height-s)},f=r.hotspot.height*a.height/2,c=r.hotspot.width*a.width/2,l=r.hotspot.x*a.width,d=r.hotspot.y*a.height,g={left:l-c,top:d-f,right:l+c,bottom:d+f};return n.rect||n.focalPoint||n.ignoreImageParams||n.crop||(n=t({},n,m({crop:p,hotspot:g},n))),w(t({},n,{asset:a}))}function w(t){var i=(t.baseUrl||"https://cdn.sanity.io").replace(/\/+$/,""),n=t.vanityName?"/"+t.vanityName:"",e=t.asset.id+"-"+t.asset.width+"x"+t.asset.height+"."+t.asset.format+n,r=i+"/images/"+t.projectId+"/"+t.dataset+"/"+e,o=[];if(t.rect){var a=t.rect,h=a.left,s=a.top,u=a.width,p=a.height;(0!==h||0!==s||p!==t.asset.height||u!==t.asset.width)&&o.push("rect="+h+","+s+","+u+","+p)}t.bg&&o.push("bg="+t.bg),t.focalPoint&&(o.push("fp-x="+t.focalPoint.x),o.push("fp-y="+t.focalPoint.y));var f=[t.flipHorizontal&&"h",t.flipVertical&&"v"].filter(Boolean).join("");return f&&o.push("flip="+f),l.forEach((function(i){var n=i[0],e=i[1];void 0!==t[n]?o.push(e+"="+encodeURIComponent(t[n])):void 0!==t[e]&&o.push(e+"="+encodeURIComponent(t[e]))})),0===o.length?r:r+"?"+o.join("&")}function m(t,i){var n,e=i.width,r=i.height;if(!e||!r)return{width:e,height:r,rect:t.crop};var o=t.crop,a=t.hotspot,h=e/r;if(o.width/o.height>h){var s=Math.round(o.height),u=Math.round(s*h),p=Math.max(0,Math.round(o.top)),f=Math.round((a.right-a.left)/2+a.left),c=Math.max(0,Math.round(f-u/2));c<o.left?c=o.left:c+u>o.left+o.width&&(c=o.left+o.width-u),n={left:c,top:p,width:u,height:s}}else{var l=o.width,d=Math.round(l/h),w=Math.max(0,Math.round(o.left)),m=Math.round((a.bottom-a.top)/2+a.top),g=Math.max(0,Math.round(m-d/2));g<o.top?g=o.top:g+d>o.top+o.height&&(g=o.top+o.height-d),n={left:w,top:g,width:l,height:d}}return{width:e,height:r,rect:n}}var g=["clip","crop","fill","fillmax","max","scale","min"],v=["top","bottom","left","right","center","focalpoint","entropy"],y=["format"];function b(t){return!(!t||!("config"in t))&&"function"==typeof t.config}function O(t){return!(!t||!("clientConfig"in t))&&"object"==typeof t.clientConfig}function x(t){for(var i,n=e(l);!(i=n()).done;){var r=i.value,o=r[0],a=r[1];if(t===o||t===a)return o}return t}function I(t){if(b(t)){var i=t.config(),n=i.apiHost,e=i.projectId,r=i.dataset;return new M(null,{baseUrl:(n||"https://api.sanity.io").replace(/^https:\/\/api\./,"https://cdn."),projectId:e,dataset:r})}if(O(t)){var o=t.clientConfig,a=o.apiHost,h=o.projectId,s=o.dataset;return new M(null,{baseUrl:(a||"https://api.sanity.io").replace(/^https:\/\/api\./,"https://cdn."),projectId:h,dataset:s})}return new M(null,t||{})}var M=function(){function i(i,n){this.options=void 0,this.options=i?t({},i.options||{},n||{}):t({},n||{})}var n=i.prototype;return n.withOptions=function(n){var e=n.baseUrl||this.options.baseUrl,r={baseUrl:e};for(var o in n)n.hasOwnProperty(o)&&(r[x(o)]=n[o]);return new i(this,t({baseUrl:e},r))},n.image=function(t){return this.withOptions({source:t})},n.dataset=function(t){return this.withOptions({dataset:t})},n.projectId=function(t){return this.withOptions({projectId:t})},n.bg=function(t){return this.withOptions({bg:t})},n.dpr=function(t){return this.withOptions(t&&1!==t?{dpr:t}:{})},n.width=function(t){return this.withOptions({width:t})},n.height=function(t){return this.withOptions({height:t})},n.focalPoint=function(t,i){return this.withOptions({focalPoint:{x:t,y:i}})},n.maxWidth=function(t){return this.withOptions({maxWidth:t})},n.minWidth=function(t){return this.withOptions({minWidth:t})},n.maxHeight=function(t){return this.withOptions({maxHeight:t})},n.minHeight=function(t){return this.withOptions({minHeight:t})},n.size=function(t,i){return this.withOptions({width:t,height:i})},n.blur=function(t){return this.withOptions({blur:t})},n.sharpen=function(t){return this.withOptions({sharpen:t})},n.rect=function(t,i,n,e){return this.withOptions({rect:{left:t,top:i,width:n,height:e}})},n.format=function(t){return this.withOptions({format:t})},n.invert=function(t){return this.withOptions({invert:t})},n.orientation=function(t){return this.withOptions({orientation:t})},n.quality=function(t){return this.withOptions({quality:t})},n.forceDownload=function(t){return this.withOptions({download:t})},n.flipHorizontal=function(){return this.withOptions({flipHorizontal:!0})},n.flipVertical=function(){return this.withOptions({flipVertical:!0})},n.ignoreImageParams=function(){return this.withOptions({ignoreImageParams:!0})},n.fit=function(t){if(-1===g.indexOf(t))throw new Error('Invalid fit mode "'+t+'"');return this.withOptions({fit:t})},n.crop=function(t){if(-1===v.indexOf(t))throw new Error('Invalid crop mode "'+t+'"');return this.withOptions({crop:t})},n.saturation=function(t){return this.withOptions({saturation:t})},n.auto=function(t){if(-1===y.indexOf(t))throw new Error('Invalid auto mode "'+t+'"');return this.withOptions({auto:t})},n.pad=function(t){return this.withOptions({pad:t})},n.vanityName=function(t){return this.withOptions({vanityName:t})},n.frame=function(t){if(1!==t)throw new Error('Invalid frame value "'+t+'"');return this.withOptions({frame:t})},n.url=function(){return d(this.options)},n.toString=function(){return this.url()},i}();return I}()},5597:function(t,i,n){"use strict";var e=n(4810),r=n(6540),o=n(2711),a=n(1931),h=n(1085);i.A=t=>{let{data:i,cls:n,children:s}=t;const{0:u,1:p}=(0,r.useState)(!1),f=t=>{"undefined"!=typeof window&&window.dataLayer&&window.dataLayer.push({event:"btn_click",eventLable:t})};return r.createElement(r.Fragment,null,"slug"===(null==i?void 0:i.linkType)&&r.createElement(e.N_,{className:n,to:(0,o.y)(i.slug.current),onClick:()=>f(i.buttonText)},s)," ","url"===(null==i?void 0:i.linkType)&&r.createElement("a",{className:n,href:i.url,target:"_blank",onClick:()=>f(i.buttonText)},s)," ","sectionId"===(null==i?void 0:i.linkType)&&r.createElement("button",{onClick:()=>(0,a.o)(i.sectionId),className:n},s),"appointmentPopup"===(null==i?void 0:i.linkType)&&r.createElement("button",{onClick:()=>{return t=i.buttonText,p(!u),void("undefined"!=typeof window&&window.dataLayer&&(window.dataLayer.push({event:"btn_click",eventLable:t}),window.dataLayer.push({event:"appointment_btn_click"})));var t},className:n},s),u&&r.createElement(h.A,{closeModal:()=>p(!1)}))}}}]);
2//# sourceMappingURL=0d6d31b9274332917f71f8e681ff28f4ad3e789d-49d65a410116ef89d670.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.