PageSourceSearch

https://www.yuktidigital.com/_next/static/chunks/pages/components/SeoWrapper/SeoWrapper-f0e0ec37af996511.js

js yuktidigital.com collected 2026-10-07 16:35:58 UTC 17,268 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3262],{1161:e=>{var t="undefined"!=typeof Element,r="function"==typeof Map,n="function"==typeof Set,o="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;e.exports=function(e,i){try{return function e(i,a){if(i===a)return!0;if(i&&a&&"object"==typeof i&&"object"==typeof a){var c,u,s,f;if(i.constructor!==a.constructor)return!1;if(Array.isArray(i)){if((c=i.length)!=a.length)return!1;for(u=c;0!=u--;)if(!e(i[u],a[u]))return!1;return!0}if(r&&i instanceof Map&&a instanceof Map){if(i.size!==a.size)return!1;for(f=i.entries();!(u=f.next()).done;)if(!a.has(u.value[0]))return!1;for(f=i.entries();!(u=f.next()).done;)if(!e(u.value[1],a.get(u.value[0])))return!1;return!0}if(n&&i instanceof Set&&a instanceof Set){if(i.size!==a.size)return!1;for(f=i.entries();!(u=f.next()).done;)if(!a.has(u.value[0]))return!1;return!0}if(o&&ArrayBuffer.isView(i)&&ArrayBuffer.isView(a)){if((c=i.length)!=a.length)return!1;for(u=c;0!=u--;)if(i[u]!==a[u])return!1;return!0}if(i.constructor===RegExp)return i.source===a.source&&i.flags===a.flags;if(i.valueOf!==Object.prototype.valueOf&&"function"==typeof i.valueOf&&"function"==typeof a.valueOf)return i.valueOf()===a.valueOf();if(i.toString!==Object.prototype.toString&&"function"==typeof i.toString&&"function"==typeof a.toString)return i.toString()===a.toString();if((c=(s=Object.keys(i)).length)!==Object.keys(a).length)return!1;for(u=c;0!=u--;)if(!Object.prototype.hasOwnProperty.call(a,s[u]))return!1;if(t&&i instanceof Element)return!1;for(u=c;0!=u--;)if(("_owner"!==s[u]&&"__v"!==s[u]&&"__o"!==s[u]||!i.$$typeof)&&!e(i[s[u]],a[s[u]]))return!1;return!0}return i!=i&&a!=a}(e,i)}catch(e){if((e.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw e}}},1822:e=>{"use strict";e.exports=Object.assign.bind(Object),e.exports.default=e.exports},2354:(e,t,r)=>{"use strict";var n=r(4232),o=function(e){return e&&"object"==typeof e&&"default"in e?e.default:e}(n);function i(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var a=!!("undefined"!=typeof window&&window.document&&window.document.createElement);e.exports=function(e,t,r){if("function"!=typeof e)throw Error("Expected reducePropsToState to be a function.");if("function"!=typeof t)throw Error("Expected handleStateChangeOnClient to be a function.");if(void 0!==r&&"function"!=typeof r)throw Error("Expected mapStateOnServer to either be undefined or a function.");return function(c){if("function"!=typeof c)throw Error("Expected WrappedComponent to be a React component.");var u,s=[];function f(){u=e(s.map(function(e){return e.props})),l.canUseDOM?t(u):r&&(u=r(u))}var l=function(e){function t(){return e.apply(this,arguments)||this}t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e,t.peek=function(){return u},t.rewind=function(){if(t.canUseDOM)throw Error("You may only call rewind() on the server. Call peek() to read the current state.");var e=u;return u=void 0,s=[],e};var r=t.prototype;return r.UNSAFE_componentWillMount=function(){s.push(this),f()},r.componentDidUpdate=function(){f()},r.componentWillUnmount=function(){var e=s.indexOf(this);s.splice(e,1),f()},r.render=function(){return o.createElement(c,this.props)},t}(n.PureComponent);return i(l,"displayName","SideEffect("+(c.displayName||c.name||"Component")+")"),i(l,"canUseDOM",a),l}}},3717:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},5062:(e,t,r)=>{e.exports=r(9706)()},5409:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>Z});var n=r(7876),o=r(4232),i=r(5062),a=r.n(i),c=r(2354),u=r.n(c),s=r(1161),f=r.n(s),l=r(1822),p=r.n(l),d={BODY:"bodyAttributes",HTML:"htmlAttributes",TITLE:"titleAttributes"},T={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title"};Object.keys(T).map(function(e){return T[e]});var y={CHARSET:"charset",CSS_TEXT:"cssText",HREF:"href",HTTPEQUIV:"http-equiv",INNER_HTML:"innerHTML",ITEM_PROP:"itemprop",NAME:"name",PROPERTY:"property",REL:"rel",SRC:"src",TARGET:"target"}
1,h={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},m={DEFAULT_TITLE:"defaultTitle",DEFER:"defer",ENCODE_SPECIAL_CHARACTERS:"encodeSpecialCharacters",ON_CHANGE_CLIENT_STATE:"onChangeClientState",TITLE_TEMPLATE:"titleTemplate"},b=Object.keys(h).reduce(function(e,t){return e[h[t]]=t,e},{}),E=[T.NOSCRIPT,T.SCRIPT,T.STYLE],g="data-react-helmet",v="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},O=function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")},C=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),A=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},S=function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)},w=function(e,t){var r={};for(var n in e)!(t.indexOf(n)>=0)&&Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r},_=function(e,t){if(!e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&("object"==typeof t||"function"==typeof t)?t:e},L=function(e){var t=!(arguments.length>1)||void 0===arguments[1]||arguments[1];return!1===t?String(e):String(e).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;")},P=function(e){var t=I(e,T.TITLE),r=I(e,m.TITLE_TEMPLATE);if(r&&t)return r.replace(/%s/g,function(){return Array.isArray(t)?t.join(""):t});var n=I(e,m.DEFAULT_TITLE);return t||n||void 0},j=function(e,t){return t.filter(function(t){return void 0!==t[e]}).map(function(t){return t[e]}).reduce(function(e,t){return A({},e,t)},{})},R=function(e,t,r){var n={};return r.filter(function(t){return!!Array.isArray(t[e])||(void 0!==t[e]&&H("Helmet: "+e+' should be of type "Array". Instead found type "'+v(t[e])+'"'),!1)}).map(function(t){return t[e]}).reverse().reduce(function(e,r){var o={};r.filter(function(e){for(var r=void 0,i=Object.keys(e),a=0;a<i.length;a++){var c=i[a],u=c.toLowerCase();-1!==t.indexOf(u)&&(r!==y.REL||"canonical"!==e[r].toLowerCase())&&(u!==y.REL||"stylesheet"!==e[u].toLowerCase())&&(r=u),-1!==t.indexOf(c)&&(c===y.INNER_HTML||c===y.CSS_TEXT||c===y.ITEM_PROP)&&(r=c)}if(!r||!e[r])return!1;var s=e[r].toLowerCase();return n[r]||(n[r]={}),o[r]||(o[r]={}),!n[r][s]&&(o[r][s]=!0,!0)}).reverse().forEach(function(t){return e.push(t)});for(var i=Object.keys(o),a=0;a<i.length;a++){var c=i[a],u=p()({},n[c],o[c]);n[c]=u}return e},[]).reverse()},I=function(e,t){for(var r=e.length-1;r>=0;r--){var n=e[r];if(n.hasOwnProperty(t))return n[t]}return null},N=function(){var e=Date.now();return function(t){var r=Date.now();r-e>16?(e=r,t(r)):setTimeout(function(){N(t)},0)}}(),k=function(e){return clearTimeout(e)},x="undefined"!=typeof window?window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||N:r.g.requestAnimationFrame||N,M="undefined"!=typeof window?window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||k:r.g.cancelAnimationFrame||k,H=function(e){return console&&"function"==typeof console.warn&&console.warn(e)},D=null,F=function(e,t){var r=e.baseTag,n=e.bodyAttributes,o=e.htmlAttributes,i=e.linkTags,a=e.metaTags,c=e.noscriptTags,u=e.onChangeClientState,s=e.scriptTags,f=e.styleTags,l=e.title,p=e.titleAttributes;U(T.BODY,n),U(T.HTML,o),Y(l,p);var d={baseTag:q(T.BASE,r),linkTags:q(T.LINK,i),metaTags:q(T.META,a),noscriptTags:q(T.NOSCRIPT,c),scriptTags:q(T.SCRIPT,s),styleTags:q(T.STYLE,f)},y={},h={};
1Object.keys(d).forEach(function(e){var t=d[e],r=t.newTags,n=t.oldTags;r.length&&(y[e]=r),n.length&&(h[e]=d[e].oldTags)}),t&&t(),u(e,y,h)},B=function(e){return Array.isArray(e)?e.join(""):e},Y=function(e,t){void 0!==e&&document.title!==e&&(document.title=B(e)),U(T.TITLE,t)},U=function(e,t){var r=document.getElementsByTagName(e)[0];if(r){for(var n=r.getAttribute(g),o=n?n.split(","):[],i=[].concat(o),a=Object.keys(t),c=0;c<a.length;c++){var u=a[c],s=t[u]||"";r.getAttribute(u)!==s&&r.setAttribute(u,s),-1===o.indexOf(u)&&o.push(u);var f=i.indexOf(u);-1!==f&&i.splice(f,1)}for(var l=i.length-1;l>=0;l--)r.removeAttribute(i[l]);o.length===i.length?r.removeAttribute(g):r.getAttribute(g)!==a.join(",")&&r.setAttribute(g,a.join(","))}},q=function(e,t){var r=document.head||document.querySelector(T.HEAD),n=r.querySelectorAll(e+"["+g+"]"),o=Array.prototype.slice.call(n),i=[],a=void 0;return t&&t.length&&t.forEach(function(t){var r=document.createElement(e);for(var n in t)if(t.hasOwnProperty(n))if(n===y.INNER_HTML)r.innerHTML=t.innerHTML;else if(n===y.CSS_TEXT)r.styleSheet?r.styleSheet.cssText=t.cssText:r.appendChild(document.createTextNode(t.cssText));else{var c=void 0===t[n]?"":t[n];r.setAttribute(n,c)}r.setAttribute(g,"true"),o.some(function(e,t){return a=t,r.isEqualNode(e)})?o.splice(a,1):i.push(r)}),o.forEach(function(e){return e.parentNode.removeChild(e)}),i.forEach(function(e){return r.appendChild(e)}),{oldTags:o,newTags:i}},W=function(e){return Object.keys(e).reduce(function(t,r){var n=void 0!==e[r]?r+'="'+e[r]+'"':""+r;return t?t+" "+n:n},"")},X=function(e,t,r,n){var o=W(r),i=B(t);return o?"<"+e+" "+g+'="true" '+o+">"+L(i,n)+"</"+e+">":"<"+e+" "+g+'="true">'+L(i,n)+"</"+e+">"},z=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(e).reduce(function(t,r){return t[h[r]||r]=e[r],t},t)},K=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(e).reduce(function(t,r){return t[b[r]||r]=e[r],t},t)},V=function(e,t,r){var n,i=z(r,((n={key:t})[g]=!0,n));return[o.createElement(T.TITLE,i,t)]},G=function(e,t,r){switch(e){case T.TITLE:return{toComponent:function(){return V(e,t.title,t.titleAttributes,r)},toString:function(){return X(e,t.title,t.titleAttributes,r)}};case d.BODY:case d.HTML:return{toComponent:function(){return z(t)},toString:function(){return W(t)}};default:return{toComponent:function(){return t.map(function(t,r){var n,i=((n={key:r})[g]=!0,n);return Object.keys(t).forEach(function(e){var r=h[e]||e;r===y.INNER_HTML||r===y.CSS_TEXT?i.dangerouslySetInnerHTML={__html:t.innerHTML||t.cssText}:i[r]=t[e]}),o.createElement(e,i)})},toString:function(){return t.reduce(function(t,n){var o=Object.keys(n).filter(function(e){return e!==y.INNER_HTML&&e!==y.CSS_TEXT}).reduce(function(e,t){var o=void 0===n[t]?t:t+'="'+L(n[t],r)+'"';return e?e+" "+o:o},""),i=n.innerHTML||n.cssText||"",a=-1===E.indexOf(e);return t+"<"+e+" "+g+'="true" '+o+(a?"/>":">"+i+"</"+e+">")},"")}}}},$=function(e){var t=e.baseTag,r=e.bodyAttributes,n=e.encode,o=e.htmlAttributes,i=e.linkTags,a=e.metaTags,c=e.noscriptTags,u=e.scriptTags,s=e.styleTags,f=e.title,l=e.titleAttributes;return{base:G(T.BASE,t,n),bodyAttributes:G(d.BODY,r,n),htmlAttributes:G(d.HTML,o,n),link:G(T.LINK,i,n),meta:G(T.META,a,n),noscript:G(T.NOSCRIPT,c,n),script:G(T.SCRIPT,u,n),style:G(T.STYLE,s,n),title:G(T.TITLE,{title:void 0===f?"":f,titleAttributes:l},n)}},Q=function(e){var t,r;return r=t=function(t){function r(){return O(this,r),_(this,t.apply(this,arguments))}return S(r,t),r.prototype.shouldComponentUpdate=function(e){return!f()(this.props,e)},r.prototype.mapNestedChildrenToProps=function(e,t){if(!t)return null;switch(e.type){case T.SCRIPT:case T.NOSCRIPT:return{innerHTML:t};case T.STYLE:return{cssText:t}}throw Error("<"+e.type+" /> elements are self-closing and can not contain children. Refer to our API for more information.")},r.prototype.flattenArrayTypeChildren=function(e){var t,r=e.child,n=e.arrayTypeChildren,o=e.newChildProps,i=e.nestedChildren;return A({},n,((t={})[r.type]=[].concat(n[r.type]||[],[A({},o,this.mapNestedChildrenToProps(r,i))]),t))},r.prototype.mapObjectTypeChildren=function(e){var t,r,n=e.child,o=e.newProps,i=e.newChildProps,a=e.nestedChildren;switch(n.type){case T.TITLE:return A({},o,((t={})[n.type]=a,t.titleAttributes=A({},i),t));case T.BODY:return A({},o,{bodyAttributes:A({},i)});case T.HTML:return A({},o,{htmlAttributes:A({},i)})}return A({},o,((r={})[n.type]=A({},i),r))},r.prototype.mapArrayTypeChildrenToProps=function(e,t){var r=A({},t);return Object.keys(e).forEach(function(t){var n;r=A({},r,((n={})[t]=e[t],n))}),r}
1,r.prototype.warnOnInvalidChildren=function(e,t){return!0},r.prototype.mapChildrenToProps=function(e,t){var r=this,n={};return o.Children.forEach(e,function(e){if(e&&e.props){var o=e.props,i=o.children,a=K(w(o,["children"]));switch(r.warnOnInvalidChildren(e,i),e.type){case T.LINK:case T.META:case T.NOSCRIPT:case T.SCRIPT:case T.STYLE:n=r.flattenArrayTypeChildren({child:e,arrayTypeChildren:n,newChildProps:a,nestedChildren:i});break;default:t=r.mapObjectTypeChildren({child:e,newProps:t,newChildProps:a,nestedChildren:i})}}}),t=this.mapArrayTypeChildrenToProps(n,t)},r.prototype.render=function(){var t=this.props,r=t.children,n=A({},w(t,["children"]));return r&&(n=this.mapChildrenToProps(r,n)),o.createElement(e,n)},C(r,null,[{key:"canUseDOM",set:function(t){e.canUseDOM=t}}]),r}(o.Component),t.propTypes={base:a().object,bodyAttributes:a().object,children:a().oneOfType([a().arrayOf(a().node),a().node]),defaultTitle:a().string,defer:a().bool,encodeSpecialCharacters:a().bool,htmlAttributes:a().object,link:a().arrayOf(a().object),meta:a().arrayOf(a().object),noscript:a().arrayOf(a().object),onChangeClientState:a().func,script:a().arrayOf(a().object),style:a().arrayOf(a().object),title:a().string,titleAttributes:a().object,titleTemplate:a().string},t.defaultProps={defer:!0,encodeSpecialCharacters:!0},t.peek=e.peek,t.rewind=function(){var t=e.rewind();return t||(t=$({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}})),t},r}(u()(function(e){var t;return{baseTag:(t=[y.HREF,y.TARGET],e.filter(function(e){return void 0!==e[T.BASE]}).map(function(e){return e[T.BASE]}).reverse().reduce(function(e,r){if(!e.length)for(var n=Object.keys(r),o=0;o<n.length;o++){var i=n[o].toLowerCase();if(-1!==t.indexOf(i)&&r[i])return e.concat(r)}return e},[])),bodyAttributes:j(d.BODY,e),defer:I(e,m.DEFER),encode:I(e,m.ENCODE_SPECIAL_CHARACTERS),htmlAttributes:j(d.HTML,e),linkTags:R(T.LINK,[y.REL,y.HREF],e),metaTags:R(T.META,[y.NAME,y.CHARSET,y.HTTPEQUIV,y.PROPERTY,y.ITEM_PROP],e),noscriptTags:R(T.NOSCRIPT,[y.INNER_HTML],e),onChangeClientState:I(e,m.ON_CHANGE_CLIENT_STATE)||function(){},scriptTags:R(T.SCRIPT,[y.SRC,y.INNER_HTML],e),styleTags:R(T.STYLE,[y.CSS_TEXT],e),title:P(e),titleAttributes:j(d.TITLE,e)}},function(e){D&&M(D),e.defer?D=x(function(){F(e,function(){D=null})}):(F(e),D=null)},$)(function(){return null}));Q.renderStatic=Q.rewind;var J=r(9099);let Z=e=>{let{children:t}=e,r=(0,J.useRouter)(),[i,a]=(0,o.useState)(null);return((0,o.useEffect)(()=>{if(!r.isReady)return;let e=r.pathname.replace(/^\/|\/$/g,"");""===e&&(e="home"),fetch("https://www.yuktidigital.com/yukti-admin/wp-json/wp/v2/pages?slug=".concat(e,"&_fields=yoast_head_json")).then(e=>e.json()).then(e=>{e.length>0&&e[0].yoast_head_json?a(e[0].yoast_head_json):a(null)})},[r.isReady,r.pathname]),i)?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(Q,{children:[(0,n.jsx)("title",{children:i.title}),(0,n.jsx)("meta",{name:"description",content:i.description}),i.og_title&&(0,n.jsx)("meta",{property:"og:title",content:i.og_title}),i.og_description&&(0,n.jsx)("meta",{property:"og:description",content:i.og_description}),i.og_url&&(0,n.jsx)("meta",{property:"og:url",content:i.og_url}),i.canonical&&(0,n.jsx)("link",{rel:"canonical",href:i.canonical})]}),t]}):null}},8252:(e,t,r)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/components/SeoWrapper/SeoWrapper",function(){return r(5409)}])},9706:(e,t,r)=>{"use strict";var n=r(3717);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,r,o,i,a){if(a!==n){var c=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw c.name="Invariant Violation",c}}function t(){return e}e.isRequired=e;var r={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return r.PropTypes=r,r}}},e=>{var t=t=>e(e.s=t);e.O(0,[636,6593,8792],()=>t(8252)),_N_E=e.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.