PageSourceSearch

https://ayroui.com/_next/static/chunks/pages/blog-f5aa59ceb0d0ffab.js

js ayroui.com collected 2026-09-28 06:33:48 UTC 10,177 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[195],{6803:function(t){t.exports=function(){var t="image-Tb9Ew8CXIwaY6R1kjMvI0uRR-2000x3000-jpg";function i(t){return("image-"+t.split("/").slice(-1)[0]).replace(/\.([a-z]+)$/,"-$1")}var o=[["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"]],e=["clip","crop","fill","fillmax","max","scale","min"],r=["top","bottom","left","right","center","focalpoint","entropy"],n=["format"],s=function(t,i){this.options=t?Object.assign({},t.options||{},i||{}):Object.assign({},i||{})};return s.prototype.withOptions=function(t){var i=t.baseUrl||this.options.baseUrl,e={baseUrl:i};for(var r in t)t.hasOwnProperty(r)&&(e[function(t){for(var i=0;i<o.length;i+=1){var e=o[i],r=e[0],n=e[1];if(t===r||t===n)return r}return t}(r)]=t[r]);return new s(this,Object.assign({},{baseUrl:i},e))},s.prototype.image=function(t){return this.withOptions({source:t})},s.prototype.dataset=function(t){return this.withOptions({dataset:t})},s.prototype.projectId=function(t){return this.withOptions({projectId:t})},s.prototype.bg=function(t){return this.withOptions({bg:t})},s.prototype.dpr=function(t){return this.withOptions(t&&1!==t?{dpr:t}:{})},s.prototype.width=function(t){return this.withOptions({width:t})},s.prototype.height=function(t){return this.withOptions({height:t})},s.prototype.focalPoint=function(t,i){return this.withOptions({focalPoint:{x:t,y:i}})},s.prototype.maxWidth=function(t){return this.withOptions({maxWidth:t})},s.prototype.minWidth=function(t){return this.withOptions({minWidth:t})},s.prototype.maxHeight=function(t){return this.withOptions({maxHeight:t})},s.prototype.minHeight=function(t){return this.withOptions({minHeight:t})},s.prototype.size=function(t,i){return this.withOptions({width:t,height:i})},s.prototype.blur=function(t){return this.withOptions({blur:t})},s.prototype.sharpen=function(t){return this.withOptions({sharpen:t})},s.prototype.rect=function(t,i,o,e){return this.withOptions({rect:{left:t,top:i,width:o,height:e}})},s.prototype.format=function(t){return this.withOptions({format:t})},s.prototype.invert=function(t){return this.withOptions({invert:t})},s.prototype.orientation=function(t){return this.withOptions({orientation:t})},s.prototype.quality=function(t){return this.withOptions({quality:t})},s.prototype.forceDownload=function(t){return this.withOptions({download:t})},s.prototype.flipHorizontal=function(){return this.withOptions({flipHorizontal:!0})},s.prototype.flipVertical=function(){return this.withOptions({flipVertical:!0})},s.prototype.ignoreImageParams=function(){return this.withOptions({ignoreImageParams:!0})},s.prototype.fit=function(t){if(-1===e.indexOf(t))throw Error('Invalid fit mode "'+t+'"');return this.withOptions({fit:t})},s.prototype.crop=function(t){if(-1===r.indexOf(t))throw Error('Invalid crop mode "'+t+'"');return this.withOptions({crop:t})},s.prototype.saturation=function(t){return this.withOptions({saturation:t})},s.prototype.auto=function(t){if(-1===n.indexOf(t))throw Error('Invalid auto mode "'+t+'"');return this.withOptions({auto:t})},s.prototype.pad=function(t){return this.withOptions({pad:t})},s.prototype.url=function(){return function(e){var r=Object.assign({},e||{}),n=r.source;delete r.source;var s=function(t){var o;if(!t)return null;if("string"==typeof t&&/^https?:\/\//.test(""+t))o={asset:{_ref:i(t)}};else if("string"==typeof t)o={asset:{_ref:t}};else if(t&&"string"==typeof t._ref)o={asset:t};else if(t&&"string"==typeof t._id)o={asset:{_ref:t._id||""}};else if(t&&t.asset&&"string"==typeof t.asset.url)o={asset:{_ref:i(t.asset.url)}};else{if("object"!=typeof t.asset)return null;o=t}return t.crop&&(o.crop=t.crop),t.hotspot&&(o.hotspot=t.hotspot),function(t){if(t.crop&&t.hotspot)return t;var i=Object.assign({},t);return i.crop||(i.crop={left:0,top:0,bottom:0,right:0}),i.hotspot||(i.hotspot={x:.5,y:.5,height:1,width:1}),i}(o)}(n);if(!s)throw Error("Unable to resolve image URL from source ("+JSON.stringify(n)+")");var a=function(i){var o=i.split("-"),e=o[1],r=o[2],n=o[3];if(!e||!r||!n)throw Error("Malformed asset _ref '"+i+"'. Expected an id like \""+t+'".');var s=r.split("x"),a=s[0],h=s[1],p=+a,l=+h;if(!(isFinite(p)&&isFinite(l)))throw Error("Malformed asset _ref '"+i+"'. Expected an id like \""+t+'".');return{id:e,width:p,height:l,format:n}}(s.asset._ref||s.asset._id||""),h=Math.round(s.crop.left*a.width),p=Math.round(s.crop.top*a.height),l={left:h,top:p,width:Math.round(a.width-s.crop.right*a.width-h),height:Math.round(a.height-s.crop.bottom*a.height-p)},c=s.hotspot.height*a.height/2,u=s.hotspot.width*a.width/2,d=s.hotspot.x*a.width,f=s.hotspot.y*a.height;
1return r.rect||r.focalPoint||r.ignoreImageParams||r.crop||(r=Object.assign({},r,function(t,i){var o,e=i.width,r=i.height;if(!(e&&r))return{width:e,height:r,rect:t.crop};var n=t.crop,s=t.hotspot,a=e/r;if(n.width/n.height>a){var h=Math.round(n.height),p=Math.round(h*a),l=Math.max(0,Math.round(n.top)),c=Math.max(0,Math.round(Math.round((s.right-s.left)/2+s.left)-p/2));c<n.left?c=n.left:c+p>n.left+n.width&&(c=n.left+n.width-p),o={left:c,top:l,width:p,height:h}}else{var u=n.width,d=Math.round(u/a),f=Math.max(0,Math.round(n.left)),g=Math.max(0,Math.round(Math.round((s.bottom-s.top)/2+s.top)-d/2));g<n.top?g=n.top:g+d>n.top+n.height&&(g=n.top+n.height-d),o={left:f,top:g,width:u,height:d}}return{width:e,height:r,rect:o}}({crop:l,hotspot:{left:d-u,top:f-c,right:d+u,bottom:f+c}},r))),function(t){var i=t.baseUrl||"https://cdn.sanity.io",e=t.asset.id+"-"+t.asset.width+"x"+t.asset.height+"."+t.asset.format,r=i+"/images/"+t.projectId+"/"+t.dataset+"/"+e,n=[];if(t.rect){var s=t.rect,a=s.left,h=s.top,p=s.width,l=s.height;(0!==a||0!==h||l!==t.asset.height||p!==t.asset.width)&&n.push("rect="+a+","+h+","+p+","+l)}t.bg&&n.push("bg="+t.bg),t.focalPoint&&(n.push("fp-x="+t.focalPoint.x),n.push("fp-y="+t.focalPoint.y));var c=[t.flipHorizontal&&"h",t.flipVertical&&"v"].filter(Boolean).join("");return(c&&n.push("flip="+c),o.forEach(function(i){var o=i[0],e=i[1];void 0!==t[o]?n.push(e+"="+encodeURIComponent(t[o])):void 0!==t[e]&&n.push(e+"="+encodeURIComponent(t[e]))}),0===n.length)?r:r+"?"+n.join("&")}(Object.assign({},r,{asset:a}))}(this.options)},s.prototype.toString=function(){return this.url()},function(t){if(t&&"object"==typeof t.clientConfig){var i=t.clientConfig,o=i.apiHost,e=i.projectId,r=i.dataset;return new s(null,{baseUrl:(o||"https://api.sanity.io").replace(/^https:\/\/api\./,"https://cdn."),projectId:e,dataset:r})}return new s(null,t)}}()},6055:function(t,i,o){(window.__NEXT_P=window.__NEXT_P||[]).push(["/blog",function(){return o(1867)}])},6028:function(t,i,o){"use strict";o.d(i,{Z:function(){return h}});var e=o(5893),r=o(5675),n=o.n(r),s=o(1664),a=o.n(s);function h(t){var i,o,r,s,h,p;let{post:l}=t;return(0,e.jsx)("div",{className:"col-lg-4 col-md-6 col-12",children:(0,e.jsxs)("div",{className:"single-blog",children:[(0,e.jsx)("div",{className:"blog-img",children:(null==l?void 0:l.mainImage)&&(0,e.jsx)(a(),{legacyBehavior:!0,href:"/blog/".concat(null==l?void 0:null===(i=l.slug)||void 0===i?void 0:i.current),children:(0,e.jsx)("a",{children:(0,e.jsx)(n(),{width:600,height:325,src:"".concat(null==l?void 0:l.mainImage),alt:null==l?void 0:l.title})})})}),(0,e.jsxs)("div",{className:"blog-content",children:[(null==l?void 0:null===(o=l.tags)||void 0===o?void 0:o.length)>0&&(null==l?void 0:null===(r=l.tags)||void 0===r?void 0:r.slice(0,3).map(t=>{var i;return(0,e.jsx)(a(),{legacyBehavior:!0,href:"/blog/tag/".concat(null==t?void 0:null===(i=t.slug)||void 0===i?void 0:i.current),children:(0,e.jsx)("a",{className:"category",children:null==t?void 0:t.title})},null==t?void 0:t._id)})),(0,e.jsx)("h4",{children:(0,e.jsx)(a(),{legacyBehavior:!0,href:"/blog/".concat(null==l?void 0:null===(s=l.slug)||void 0===s?void 0:s.current),children:(0,e.jsx)("a",{children:null==l?void 0:null===(h=l.title)||void 0===h?void 0:h.slice(0,55)})})}),(0,e.jsxs)("p",{children:[null==l?void 0:null===(p=l.description)||void 0===p?void 0:p.slice(0,120),"..."]})]})]})})}},1867:function(t,i,o){"use strict";o.r(i),o.d(i,{__N_SSG:function(){return p},default:function(){return l}});var e=o(5893),r=o(6803),n=o.n(r),s=o(9008),a=o.n(s),h=o(6028),p=!0;function l(t){let{posts:i}=t,o=n()({projectId:"nrcg0xm3",dataset:"production"});return(0,e.jsxs)(e.Fragment,{children:[(0,e.jsxs)(a(),{children:[(0,e.jsx)("title",{children:"Blog | Ayro UI"}),(0,e.jsx)("meta",{name:"title",content:"Blog | Ayro UI"}),(0,e.jsx)("meta",{name:"description",content:""}),(0,e.jsx)("meta",{property:"og:type",content:"website"}),(0,e.jsx)("meta",{property:"og:url",content:"https://ayroui.com/blog"}),(0,e.jsx)("meta",{property:"og:title",content:"Blog | Ayro UI"}),(0,e.jsx)("meta",{property:"og:description",content:""}),(0,e.jsx)("meta",{property:"og:image",content:""}),(0,e.jsx)("link",{legacyBehavior:!0,rel:"canonical",href:"https://ayroui.com/blog"}),(0,e.jsx)("meta",{property:"twitter:card",content:"summary_large_image"}),(0,e.jsx)("meta",{property:"twitter:url",content:"https://ayroui.com/blog"}),(0,e.jsx)("meta",{property:"twitter:title",content:"Blog | Ayro UI"}),(0,e.jsx)("meta",{property:"twitter:description",content:""}),(0,e.jsx)("meta",{property:"twitter:image",content:""})]}),(0,e.jsxs)("section",{className:"blog-section",children:[(0,e.jsx)("div",{className:"section-title-three",children:(0,e.jsx)("div",{className:"container",children:(0,e.jsx)("div",{className:"row",children:(0,e.jsx)("div",{className:"col-12",children:(0,e.jsxs)("div",{className:"section-title content",children:[(0,e.jsx)("h5",{children:"Blogs"}),(0,e.jsx)("h1",{children:"Latest from The Blog"})]})})})})}),(0,e.jsx)("div",{className:"container",children:(0,e.jsx)("div",{className:"row",children:(null==i?void 0:i.length)>0&&i.map((t,i)=>(0,e.jsx)(h.Z,{post:{...t,mainImage:o.image(t.mainImage)}},i))})})]})]})}}},function(t){t.O(0,[774,888,179],function(){return t(t.s=6055)}),_N_E=t.O()}]);

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.