PageSourceSearch

https://www.tech-tribe.cloud/_next/static/chunks/251-1bc839fe694e2d62.js

js tech-tribe.cloud collected 2026-10-08 19:35:20 UTC 10,786 bytes, 9 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[251],{6803:function(t){t.exports=function(){function _extends(){return(_extends=Object.assign||function(t){for(var r=1;r<arguments.length;r++){var e=arguments[r];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])}return t}).apply(this,arguments)}function _arrayLikeToArray(t,r){(null==r||r>t.length)&&(r=t.length);for(var e=0,n=Array(r);e<r;e++)n[e]=t[e];return n}var t="image-Tb9Ew8CXIwaY6R1kjMvI0uRR-2000x3000-jpg";function urlToId(t){return("image-"+t.split("/").slice(-1)[0]).replace(/\.([a-z]+)$/,"-$1")}var r=[["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"],n=["top","bottom","left","right","center","focalpoint","entropy"],i=["format"],o=function(){function ImageUrlBuilder(t,r){this.options=void 0,this.options=t?_extends({},t.options||{},r||{}):_extends({},r||{})}var o=ImageUrlBuilder.prototype;return o.withOptions=function(t){var e=t.baseUrl||this.options.baseUrl,n={baseUrl:e};for(var i in t)t.hasOwnProperty(i)&&(n[function(t){for(var e,n=function(t,r){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=function(t,r){if(t){if("string"==typeof t)return _arrayLikeToArray(t,r);var e=Object.prototype.toString.call(t).slice(8,-1);if("Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e)return Array.from(t);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return _arrayLikeToArray(t,r)}}(t))){e&&(t=e);var n=0;return function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(r);!(e=n()).done;){var i=e.value,o=i[0],u=i[1];if(t===o||t===u)return o}return t}(i)]=t[i]);return new ImageUrlBuilder(this,_extends({baseUrl:e},n))},o.image=function(t){return this.withOptions({source:t})},o.dataset=function(t){return this.withOptions({dataset:t})},o.projectId=function(t){return this.withOptions({projectId:t})},o.bg=function(t){return this.withOptions({bg:t})},o.dpr=function(t){return this.withOptions(t&&1!==t?{dpr:t}:{})},o.width=function(t){return this.withOptions({width:t})},o.height=function(t){return this.withOptions({height:t})},o.focalPoint=function(t,r){return this.withOptions({focalPoint:{x:t,y:r}})},o.maxWidth=function(t){return this.withOptions({maxWidth:t})},o.minWidth=function(t){return this.withOptions({minWidth:t})},o.maxHeight=function(t){return this.withOptions({maxHeight:t})},o.minHeight=function(t){return this.withOptions({minHeight:t})},o.size=function(t,r){return this.withOptions({width:t,height:r})},o.blur=function(t){return this.withOptions({blur:t})},o.sharpen=function(t){return this.withOptions({sharpen:t})},o.rect=function(t,r,e,n){return this.withOptions({rect:{left:t,top:r,width:e,height:n}})},o.format=function(t){return this.withOptions({format:t})},o.invert=function(t){return this.withOptions({invert:t})},o.orientation=function(t){return this.withOptions({orientation:t})},o.quality=function(t){return this.withOptions({quality:t})},o.forceDownload=function(t){return this.withOptions({download:t})},o.flipHorizontal=function(){return this.withOptions({flipHorizontal:!0})},o.flipVertical=function(){return this.withOptions({flipVertical:!0})},o.ignoreImageParams=function(){return this.withOptions({ignoreImageParams:!0})},o.fit=function(t){if(-1===e.indexOf(t))throw Error('Invalid fit mode "'+t+'"');return this.withOptions({fit:t})},o.crop=function(t){if(-1===n.indexOf(t))throw Error('Invalid crop mode "'+t+'"');return this.withOptions({crop:t})},o.saturation=function(t){return this.withOptions({saturation:t})},o.auto=function(t){if(-1===i.indexOf(t))throw Error('Invalid auto mode "'+t+'"');return this.withOptions({auto:t})},o.pad=function(t){return this.withOptions({pad:t})},o.url=function(){return function(e){var n=_extends({},e||{}),i=n.source;delete n.source;var o=function(t){var r;if(!t)return null;if("string"==typeof t&&/^https?:\/\//.test(""+t))r={asset:{_ref:urlToId(t)}};else if("string"==typeof t)r={asset:{_ref:t}};else if(t&&"string"==typeof t._ref)r={asset:t};else if(t&&"string"==typeof t._id)r={asset:{_ref:t._id||""}};else if(t&&t.asset&&"string"==typeof t.asset.url)r={asset:{_ref:urlToId(t.asset.url)}};else{if("object"!=typeof t.asset)return null;r=_extends({},t)}return t.crop&&(r.crop=t.crop),t.hotspot&&(r.hotspot=t.hotspot),function(t){if(t.crop&&t.hotspot)return t;var r=_extends({},t);
1return r.crop||(r.crop={left:0,top:0,bottom:0,right:0}),r.hotspot||(r.hotspot={x:.5,y:.5,height:1,width:1}),r}(r)}(i);if(!o)throw Error("Unable to resolve image URL from source ("+JSON.stringify(i)+")");var u=function(r){var e=r.split("-"),n=e[1],i=e[2],o=e[3];if(!n||!i||!o)throw Error("Malformed asset _ref '"+r+"'. Expected an id like \""+t+'".');var u=i.split("x"),s=u[0],f=u[1],h=+s,c=+f;if(!(isFinite(h)&&isFinite(c)))throw Error("Malformed asset _ref '"+r+"'. Expected an id like \""+t+'".');return{id:n,width:h,height:c,format:o}}(o.asset._ref||o.asset._id||""),s=Math.round(o.crop.left*u.width),f=Math.round(o.crop.top*u.height),h={left:s,top:f,width:Math.round(u.width-o.crop.right*u.width-s),height:Math.round(u.height-o.crop.bottom*u.height-f)},c=o.hotspot.height*u.height/2,p=o.hotspot.width*u.width/2,l=o.hotspot.x*u.width,d=o.hotspot.y*u.height;return n.rect||n.focalPoint||n.ignoreImageParams||n.crop||(n=_extends({},n,function(t,r){var e,n=r.width,i=r.height;if(!(n&&i))return{width:n,height:i,rect:t.crop};var o=t.crop,u=t.hotspot,s=n/i;if(o.width/o.height>s){var f=Math.round(o.height),h=Math.round(f*s),c=Math.max(0,Math.round(o.top)),p=Math.max(0,Math.round(Math.round((u.right-u.left)/2+u.left)-h/2));p<o.left?p=o.left:p+h>o.left+o.width&&(p=o.left+o.width-h),e={left:p,top:c,width:h,height:f}}else{var l=o.width,d=Math.round(l/s),g=Math.max(0,Math.round(o.left)),w=Math.max(0,Math.round(Math.round((u.bottom-u.top)/2+u.top)-d/2));w<o.top?w=o.top:w+d>o.top+o.height&&(w=o.top+o.height-d),e={left:g,top:w,width:l,height:d}}return{width:n,height:i,rect:e}}({crop:h,hotspot:{left:l-p,top:d-c,right:l+p,bottom:d+c}},n))),function(t){var e=(t.baseUrl||"https://cdn.sanity.io").replace(/\/+$/,""),n=t.asset.id+"-"+t.asset.width+"x"+t.asset.height+"."+t.asset.format,i=e+"/images/"+t.projectId+"/"+t.dataset+"/"+n,o=[];if(t.rect){var u=t.rect,s=u.left,f=u.top,h=u.width,c=u.height;(0!==s||0!==f||c!==t.asset.height||h!==t.asset.width)&&o.push("rect="+s+","+f+","+h+","+c)}t.bg&&o.push("bg="+t.bg),t.focalPoint&&(o.push("fp-x="+t.focalPoint.x),o.push("fp-y="+t.focalPoint.y));var p=[t.flipHorizontal&&"h",t.flipVertical&&"v"].filter(Boolean).join("");return(p&&o.push("flip="+p),r.forEach(function(r){var e=r[0],n=r[1];void 0!==t[e]?o.push(n+"="+encodeURIComponent(t[e])):void 0!==t[n]&&o.push(n+"="+encodeURIComponent(t[n]))}),0===o.length)?i:i+"?"+o.join("&")}(_extends({},n,{asset:u}))}(this.options)},o.toString=function(){return this.url()},ImageUrlBuilder}();return function(t){if(t&&"config"in t&&"function"==typeof t.config){var r=t.config(),e=r.apiHost,n=r.projectId,i=r.dataset;return new o(null,{baseUrl:(e||"https://api.sanity.io").replace(/^https:\/\/api\./,"https://cdn."),projectId:n,dataset:i})}if(t&&"clientConfig"in t&&"object"==typeof t.clientConfig){var u=t.clientConfig,s=u.apiHost,f=u.projectId,h=u.dataset;return new o(null,{baseUrl:(s||"https://api.sanity.io").replace(/^https:\/\/api\./,"https://cdn."),projectId:f,dataset:h})}return new o(null,t)}}()},9008:function(t,r,e){t.exports=e(34605)},69590:function(t){var r="undefined"!=typeof Element,e="function"==typeof Map,n="function"==typeof Set,i="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;t.exports=function(t,o){try{return function equal(t,o){if(t===o)return!0;if(t&&o&&"object"==typeof t&&"object"==typeof o){var u,s,f,h;if(t.constructor!==o.constructor)return!1;if(Array.isArray(t)){if((u=t.length)!=o.length)return!1;for(s=u;0!=s--;)if(!equal(t[s],o[s]))return!1;return!0}if(e&&t instanceof Map&&o instanceof Map){if(t.size!==o.size)return!1;for(h=t.entries();!(s=h.next()).done;)if(!o.has(s.value[0]))return!1;for(h=t.entries();!(s=h.next()).done;)if(!equal(s.value[1],o.get(s.value[0])))return!1;return!0}if(n&&t instanceof Set&&o instanceof Set){if(t.size!==o.size)return!1;for(h=t.entries();!(s=h.next()).done;)if(!o.has(s.value[0]))return!1;return!0}if(i&&ArrayBuffer.isView(t)&&ArrayBuffer.isView(o)){if((u=t.length)!=o.length)return!1;for(s=u;0!=s--;)if(t[s]!==o[s])return!1;return!0}if(t.constructor===RegExp)return t.source===o.source&&t.flags===o.flags;if(t.valueOf!==Object.prototype.valueOf&&"function"==typeof t.valueOf&&"function"==typeof o.valueOf)return t.valueOf()===o.valueOf();if(t.toString!==Object.prototype.toString&&"function"==typeof t.toString&&"function"==typeof o.toString)return t.toString()===o.toString();if((u=(f=Object.keys(t)).length)!==Object.keys(o).length)return!1;for(s=u;0!=s--;)if(!Object.prototype.hasOwnProperty.call(o,f[s]))return!1;if(r&&t instanceof Element)return!1;for(s=u;0!=s--;)if(("_owner"!==f[s]&&"__v"!==f[s]&&"__o"!==f[s]||!t.$$typeof)&&!equal(t[f[s]],o[f[s]]))return!1;return!0}return t!=t&&o!=o}(t,o)}catch(t){if((t.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw t}}},53771:function(t,r,e){"use strict";/**
2 * @license React
3 * use-sync-external-store-with-selector.production.min.js
4 *
5 * Copyright (c) Facebook, Inc. and its affiliates.
6 *
7 * This source code is licensed under the MIT license found in the
8 * LICENSE file in the root directory of this source tree.
9 */var n=e(67294),i="function"==typeof Object.is?Object.is:function(t,r){return t===r&&(0!==t||1/t==1/r)||t!=t&&r!=r},o=n.useSyncExternalStore,u=n.useRef,s=n.useEffect,f=n.useMemo,h=n.useDebugValue;r.useSyncExternalStoreWithSelector=function(t,r,e,n,c){var p=u(null);if(null===p.current){var l={hasValue:!1,value:null};p.current=l}else l=p.current;var d=o(t,(p=f(function(){function a(r){if(!u){if(u=!0,t=r,r=n(r),void 0!==c&&l.hasValue){var e=l.value;if(c(e,r))return o=e}return o=r}if(e=o,i(t,r))return e;var s=n(r);return void 0!==c&&c(e,s)?e:(t=r,o=s)}var t,o,u=!1,s=void 0===e?null:e;return[function(){return a(r())},null===s?void 0:function(){return a(s())}]},[r,e,n,c]))[0],p[1]);return s(function(){l.hasValue=!0,l.value=d},[d]),h(d),d}},31103:function(t,r,e){"use strict";
9t.exports=e(53771)}}]);

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.