-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathe50e9c162871c1d91fba5ce567a5656e16dc6783-b16887cb72a997ff7c3a.js
2 lines (2 loc) · 26.6 KB
/
e50e9c162871c1d91fba5ce567a5656e16dc6783-b16887cb72a997ff7c3a.js
1
2
(window.webpackJsonp=window.webpackJsonp||[]).push([[0],{"7oih":function(e,t,n){"use strict";var r=n("dI71"),o=n("q1tI"),a=n.n(o),i=n("TJpk"),s=n.n(i),c=n("Wbzz"),u=n("72Yz"),l=(n("guNw"),n("TUGy")),p=n.n(l),d=n("obyI"),f=n.n(d),T=function(e){function t(){return e.apply(this,arguments)||this}return Object(r.a)(t,e),t.prototype.render=function(){var e=this.props.children;return a.a.createElement(c.StaticQuery,{query:"3649515864",render:function(t){return a.a.createElement(u.b.Consumer,null,(function(n){return a.a.createElement(a.a.Fragment,null,a.a.createElement(s.a,{title:t.site.siteMetadata.title,meta:[{name:"description",content:f.a.manifestName},{name:"keywords",content:"site, web"},{name:"og:site_name",content:f.a.siteTitle},{name:"og:type",content:"website"},{name:"og:title",content:f.a.siteTitle},{name:"og:description",content:f.a.manifestName},{name:"og:image",content:p.a},{name:"twitter:image",content:p.a}]},a.a.createElement("html",{lang:"en"}),a.a.createElement("body",{className:n.dark?"dark":"lite"})),a.a.createElement("div",{className:"main-body"},e))}))}})},t}(o.Component);t.a=T},"8+s/":function(e,t,n){"use strict";function r(e){return e&&"object"==typeof e&&"default"in e?e.default:e}var o=n("q1tI"),a=r(o),i=r(n("Gytx"));function s(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var c=!("undefined"==typeof window||!window.document||!window.document.createElement);e.exports=function(e,t,n){if("function"!=typeof e)throw new Error("Expected reducePropsToState to be a function.");if("function"!=typeof t)throw new Error("Expected handleStateChangeOnClient to be a function.");if(void 0!==n&&"function"!=typeof n)throw new Error("Expected mapStateOnServer to either be undefined or a function.");return function(r){if("function"!=typeof r)throw new Error("Expected WrappedComponent to be a React component.");var u,l=[];function p(){u=e(l.map((function(e){return e.props}))),d.canUseDOM?t(u):n&&(u=n(u))}var d=function(e){var t,n;function o(){return e.apply(this,arguments)||this}n=e,(t=o).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n,o.peek=function(){return u},o.rewind=function(){if(o.canUseDOM)throw new Error("You may only call rewind() on the server. Call peek() to read the current state.");var e=u;return u=void 0,l=[],e};var s=o.prototype;return s.shouldComponentUpdate=function(e){return!i(e,this.props)},s.componentWillMount=function(){l.push(this),p()},s.componentDidUpdate=function(){p()},s.componentWillUnmount=function(){var e=l.indexOf(this);l.splice(e,1),p()},s.render=function(){return a.createElement(r,this.props)},o}(o.Component);return s(d,"displayName","SideEffect("+function(e){return e.displayName||e.name||"Component"}(r)+")"),s(d,"canUseDOM",c),d}}},Gytx:function(e,t){e.exports=function(e,t,n,r){var o=n?n.call(r,e,t):void 0;if(void 0!==o)return!!o;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var a=Object.keys(e),i=Object.keys(t);if(a.length!==i.length)return!1;for(var s=Object.prototype.hasOwnProperty.bind(t),c=0;c<a.length;c++){var u=a[c];if(!s(u))return!1;var l=e[u],p=t[u];if(!1===(o=n?n.call(r,l,p,u):void 0)||void 0===o&&l!==p)return!1}return!0}},TJpk:function(e,t,n){t.__esModule=!0,t.Helmet=void 0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=p(n("q1tI")),i=p(n("17x9")),s=p(n("8+s/")),c=p(n("bmMU")),u=n("v1p5"),l=n("hFT/");function p(e){return e&&e.__esModule?e:{default:e}}function d(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function f(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function T(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var m,E,h,A=(0,s.default)(u.reducePropsToState,u.handleClientStateChange,u.mapStateOnServer)((function(){return null})),S=(m=A,h=E=function(e){function t(){return f(this,t),T(this,e.apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new 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)}(t,e),t.prototype.shouldComponentUpdate=function(e){return!(0,c.default)(this.props,e)},t.prototype.mapNestedChildrenToProps=function(e,t){if(!t)return null;switch(e.type){case l.TAG_NAMES.SCRIPT:case l.TAG_NAMES.NOSCRIPT:return{innerHTML:t};case l.TAG_NAMES.STYLE:return{cssText:t}}throw new Error("<"+e.type+" /> elements are self-closing and can not contain children. Refer to our API for more information.")},t.prototype.flattenArrayTypeChildren=function(e){var t,n=e.child,o=e.arrayTypeChildren,a=e.newChildProps,i=e.nestedChildren;return r({},o,((t={})[n.type]=[].concat(o[n.type]||[],[r({},a,this.mapNestedChildrenToProps(n,i))]),t))},t.prototype.mapObjectTypeChildren=function(e){var t,n,o=e.child,a=e.newProps,i=e.newChildProps,s=e.nestedChildren;switch(o.type){case l.TAG_NAMES.TITLE:return r({},a,((t={})[o.type]=s,t.titleAttributes=r({},i),t));case l.TAG_NAMES.BODY:return r({},a,{bodyAttributes:r({},i)});case l.TAG_NAMES.HTML:return r({},a,{htmlAttributes:r({},i)})}return r({},a,((n={})[o.type]=r({},i),n))},t.prototype.mapArrayTypeChildrenToProps=function(e,t){var n=r({},t);return Object.keys(e).forEach((function(t){var o;n=r({},n,((o={})[t]=e[t],o))})),n},t.prototype.warnOnInvalidChildren=function(e,t){return!0},t.prototype.mapChildrenToProps=function(e,t){var n=this,r={};return a.default.Children.forEach(e,(function(e){if(e&&e.props){var o=e.props,a=o.children,i=d(o,["children"]),s=(0,u.convertReactPropstoHtmlAttributes)(i);switch(n.warnOnInvalidChildren(e,a),e.type){case l.TAG_NAMES.LINK:case l.TAG_NAMES.META:case l.TAG_NAMES.NOSCRIPT:case l.TAG_NAMES.SCRIPT:case l.TAG_NAMES.STYLE:r=n.flattenArrayTypeChildren({child:e,arrayTypeChildren:r,newChildProps:s,nestedChildren:a});break;default:t=n.mapObjectTypeChildren({child:e,newProps:t,newChildProps:s,nestedChildren:a})}}})),t=this.mapArrayTypeChildrenToProps(r,t)},t.prototype.render=function(){var e=this.props,t=e.children,n=d(e,["children"]),o=r({},n);return t&&(o=this.mapChildrenToProps(t,o)),a.default.createElement(m,o)},o(t,null,[{key:"canUseDOM",set:function(e){m.canUseDOM=e}}]),t}(a.default.Component),E.propTypes={base:i.default.object,bodyAttributes:i.default.object,children:i.default.oneOfType([i.default.arrayOf(i.default.node),i.default.node]),defaultTitle:i.default.string,defer:i.default.bool,encodeSpecialCharacters:i.default.bool,htmlAttributes:i.default.object,link:i.default.arrayOf(i.default.object),meta:i.default.arrayOf(i.default.object),noscript:i.default.arrayOf(i.default.object),onChangeClientState:i.default.func,script:i.default.arrayOf(i.default.object),style:i.default.arrayOf(i.default.object),title:i.default.string,titleAttributes:i.default.object,titleTemplate:i.default.string},E.defaultProps={defer:!0,encodeSpecialCharacters:!0},E.peek=m.peek,E.rewind=function(){var e=m.rewind();return e||(e=(0,u.mapStateOnServer)({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}})),e},h);S.renderStatic=S.rewind,t.Helmet=S,t.default=S},TUGy:function(e,t,n){e.exports=n.p+"static/avatar-95317ff0d8bbfdfaa026badd0cc13753.png"},bmMU:function(e,t,n){"use strict";var r=Array.isArray,o=Object.keys,a=Object.prototype.hasOwnProperty,i="undefined"!=typeof Element;e.exports=function(e,t){try{return function e(t,n){if(t===n)return!0;if(t&&n&&"object"==typeof t&&"object"==typeof n){var s,c,u,l=r(t),p=r(n);if(l&&p){if((c=t.length)!=n.length)return!1;for(s=c;0!=s--;)if(!e(t[s],n[s]))return!1;return!0}if(l!=p)return!1;var d=t instanceof Date,f=n instanceof Date;if(d!=f)return!1;if(d&&f)return t.getTime()==n.getTime();var T=t instanceof RegExp,m=n instanceof RegExp;if(T!=m)return!1;if(T&&m)return t.toString()==n.toString();var E=o(t);if((c=E.length)!==o(n).length)return!1;for(s=c;0!=s--;)if(!a.call(n,E[s]))return!1;if(i&&t instanceof Element&&n instanceof Element)return t===n;for(s=c;0!=s--;)if(!("_owner"===(u=E[s])&&t.$$typeof||e(t[u],n[u])))return!1;return!0}return t!=t&&n!=n}(e,t)}catch(n){if(n.message&&n.message.match(/stack|recursion/i)||-2146828260===n.number)return console.warn("Warning: react-fast-compare does not handle circular references.",n.name,n.message),!1;throw n}}},guNw:function(e,t,n){},"hFT/":function(e,t,n){n("E9XD"),t.__esModule=!0;t.ATTRIBUTE_NAMES={BODY:"bodyAttributes",HTML:"htmlAttributes",TITLE:"titleAttributes"};var r=t.TAG_NAMES={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title"},o=(t.VALID_TAG_NAMES=Object.keys(r).map((function(e){return r[e]})),t.TAG_PROPERTIES={CHARSET:"charset",CSS_TEXT:"cssText",HREF:"href",HTTPEQUIV:"http-equiv",INNER_HTML:"innerHTML",ITEM_PROP:"itemprop",NAME:"name",PROPERTY:"property",REL:"rel",SRC:"src"},t.REACT_TAG_MAP={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"});t.HELMET_PROPS={DEFAULT_TITLE:"defaultTitle",DEFER:"defer",ENCODE_SPECIAL_CHARACTERS:"encodeSpecialCharacters",ON_CHANGE_CLIENT_STATE:"onChangeClientState",TITLE_TEMPLATE:"titleTemplate"},t.HTML_TAG_MAP=Object.keys(o).reduce((function(e,t){return e[o[t]]=t,e}),{}),t.SELF_CLOSING_TAGS=[r.NOSCRIPT,r.SCRIPT,r.STYLE],t.HELMET_ATTRIBUTE="data-react-helmet"},obyI:function(e,t){e.exports={siteUrl:"https://haneetsingh.github.io",siteTitle:"Haneet Singh - Web Developer",manifestName:"Portfolio - Haneet Singh",manifestShortName:"Portfolio - Haneet Singh",manifestStartUrl:"/",manifestBackgroundColor:"#ced4da",manifestThemeColor:"#ced4da",manifestDisplay:"standalone",manifestIcon:"src/assets/img/website-icon.png",pathPrefix:"/gatsby-starter-resume/",firstName:"Haneet",lastName:"Singh",socialLinks:[{icon:"fa-github",name:"Github",url:"https://github.com/haneetsingh"},{icon:"fa-linkedin-in",name:"Linkedin",url:"https://linkedin.com/in/haneetsingh/"},{icon:"fa-twitter",name:"Twitter",url:"https://twitter.com/iSinghHaneet"},{icon:"fa-drupal",name:"Drupal",url:"https://www.drupal.org/u/singh_haneet"}],email:"singh.haneet007@gmail.com",address:"Toronto, Canada",about:["A technology leader with a demonstrated ability to acquire and apply skills and knowledge to execute strategic initiatives as well as grow and evolve teams.","Over 10 years of experience building and leading B2B/B2C web and mobile applications. Experienced in assessing and prioritizing market opportunities then building the roadmap to make it happen. Maintains perspective but values detail. Passionate about the entire tech-ecosystem from technologies and platforms to methodologies and management styles."],experience:[{position:"Technical Lead",organisation:"FINNEO",from:"Nov 2021",to:"Present",projects:[{title:"NEO",description:"Leading the in-house software development team for development of a Commercial Real Estate debt financing platform (NEO) that automatically matches borrowers and lenders using real time data points.",stack:"Node.js, Express, React.js, PostgreSQL, MongoDB"}]},{position:"Senior Consultant",organisation:"GeekSoft Consulting B.V.",from:"Oct 2020",to:"Oct 2021",projects:[{title:"ING Web Apps - Netherlands and Belgium",description:"Responsible for developing & migrating the web banking applications for ING bank to the latest web standards and technologies like ES Modules, Web Components, LitElement and lit-html",stack:"Web Components, JavaScript, LitElement, lit-html, AngularJS, Polymer.js, Azure DevOps"}]},{position:"Software Consultant",organisation:"Freelance",from:"September 2018",to:"May 2020",projects:[{title:"SmartKPIs",description:"Lead the team in development of SmartKPIs, a goal tracking application for the employees of an organisation using React.js, Drupal 8, PHP, Sass, Webpack. The application allows employees to add and track their goals for their KPIs and review the team members goals for better KPI discussions along with a notification system and customised dashboard.",stack:"React.js, Drupal 8, PHP, Twig, MySQL, Webpack, Sass"},{title:"MyLook",url:"https://mylook.acuvue.com/",description:"Developed MyLook website that enables Beauty experience as an omni-channel guided commerce capability using augmented reality, making it easier for the users to try and buy contact lenses.",stack:"Node.js, React.js, Redux, Sass, Webpack, AWS"},{title:"Openbank Dev Portal",description:"Integrated Openbank apis from Apigee platform into a website to be used as a playground for apis working.",stack:"Drupal 8, PHP, React.js, Javascript, MySQL Sass, Bootstrap, Webpack"},{title:"iLoveLibraries",url:"http://www.ilovelibraries.org",description:"Added new features and styles to the website.",stack:"Drupal 7, PHP, Javascript, MySQL, Sass, Gulp"},{title:"UNCCD",url:"https://www.unccd.int",description:"Developed Q&A feature for droughts related information for the official portal of United Nations Convention to Combat Desertification. Designed the front-end of the website.",stack:"Drupal 8, PHP, Javascript, Twig, MySQL, LESS, Grunt"},{title:"InforMEA",url:"https://www.informea.org",description:"Developed Glossary and autocomplete search feature for categories on the portal and setup analytics on the pages of the website. Designed the front-end of the website.",stack:"Drupal 7, PHP, Javascript, MySQL, LESS, Grunt"},{title:"Adidas CTC",description:"Developed features for the B2B E-commerce website used by Adidas stores to purchase products. Designed the front-end of the website.",stack:"Drupal 8, PHP, Javascript, Twig, MySQL, Sass, Gulp"},{title:"Developer Portal",description:"Developed a portal to be used by developers to get the information of apis provided by Globe Labs.",stack:"Drupal 7, PHP, Javascript, MySQL, Sass, Gulp"},{title:"St. Jerome’s University",url:"https://www.sju.ca/",description:"Developed website for St. Jerome’s University providing access to its academic programmes. Designed the front-end of the website.",stack:"Drupal 7, PHP, Javascript, MySQL, Sass, Grunt"}]},{position:"Senior Web Developer",organisation:"Rawpixel Ltd.",org_desc:"World leading creator of stock images",from:"June 2018",to:"August 2018",projects:[{title:"Rawpixel",url:"https://www.rawpixel.com",description:"Maintained and supported live website. Developed and designed new plugins with respect to requirement.",stack:"Drupal 7, PHP, Node.js, Javascript, PostCSS, MySQL, Webpack"}]},{position:"Senior Frontend Developer",organisation:"Srijan Technologies",org_desc:"Leading Drupal agency in India",from:"February 2018",to:"June 2018",projects:[{title:"Learning Management System",description:"Developed a tool to track learning of the employees.",stack:"Drupal 8, PHP, React.js, Redux, MySQL, Sass, Webpack"},{title:"NALX",description:"Developed REST APIs as backend service for a B2B frontend portal.",stack:"Drupal 8, PHP, MySQL"}]},{position:"Senior Software Engineer",organisation:"EX2 Solutions India",from:"December 2016",to:"January 2018",projects:[{title:"WebArch",description:"Lead the design architecture and front-end chapter of the product.",stack:"Drupal 8, PHP, Javascript, React.js, MySQL, Sass, Gulp"},{title:"Herdactiy",url:"https://herdacity.org",description:"Developed custom features and designed the frontend of the website.",stack:"Drupal 8, PHP, Javascript, Angular 4, MySQL, Sass, Bootstrap, Gulp"},{title:"TexDEx",url:"http://www.texasdefenseexchange.com",description:"Developed website showcasing information of contractors and their work in the defence industry.",stack:"Drupal 8, Javascript, Angular 5, Twig, Sass"}]},{position:"Frontend Developer",organisation:"Axelerant Technologies",org_desc:"Leading Drupal agency in India",from:"July 2015",to:"November 2016",projects:[{title:"Mayfair",url:"https://www.mayfairhouse.com",description:"Designed and developed front end theme for the e-commerce store.",stack:"Drupal 7, PHP, MySQL, jQuery, HTML, Sass, Gulp"},{title:"Scouts",url:"https://www.scout.org",description:"Designed and developed front end theme for the Drupal system used for the website.",stack:"Drupal 7, PHP, jQuery, MySQL, HTML, Sass, Bootstrap, Gulp"}]},{position:"Software Developer",organisation:"Wipro Technologies",org_desc:"Leading software house in India",from:"January 2012",to:"July 2015",projects:[{title:"D2C, Sony Music",description:"Designed and developed websites for the artists with Sony Music group.",stack:"Drupal 6/7, Wordpress, PHP, jQuery, MySQL, HTML, CSS, Sass"},{title:"WMG, Acquia",description:"Migrated websites of Warner Music group from Acquia Dev cloud to Acquia Sites Factory.",stack:"Drupal 7, jQuery, HTML, CSS"},{title:"FOX",description:"Designed the clean front-end structure of the website for Fox Networks Group.",stack:"Drupal 7, Javascript, PHP, MySQL, Sass"}]}],education:[{school:"University of Jammu",course:"Bachelor of Engineering",major:"Computer Engineering",from:"August 2007",to:"July 2011"}],skills:{cms:["Drupal","WordPress"],programming:["PHP","Node.js","Javascript","Typescript"],frontend:["React.js","Redux","Next.js","Angular","Vue.js","Web Components"],frameworks:["Express","NestJS","Feathers.js","Symfony","Laravel"],database:["MySQL","MongoDB","PostgreSQL"],other:["Agile","Git","Microservices","GraphQL","Docker","DevOps","AWS","Azure","GCP","DigitalOcean"]},interests:["Apart from being a web developer, I enjoy most of my time being outdoors. I find road trips, motorbikes and the countryside to be my calling.","When forced indoors, I follow a number of sci-fi and fantasy genre movies and television shows and I spend a large amount of my free time exploring the latest technology advancements in the front-end web development world."]}},v1p5:function(e,t,n){(function(e){n("E9XD"),t.__esModule=!0,t.warn=t.requestAnimationFrame=t.reducePropsToState=t.mapStateOnServer=t.handleClientStateChange=t.convertReactPropstoHtmlAttributes=void 0;var r="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=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a=c(n("q1tI")),i=c(n("YVoz")),s=n("hFT/");function c(e){return e&&e.__esModule?e:{default:e}}var u,l=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return!1===t?String(e):String(e).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")},p=function(e){var t=E(e,s.TAG_NAMES.TITLE),n=E(e,s.HELMET_PROPS.TITLE_TEMPLATE);if(n&&t)return n.replace(/%s/g,(function(){return t}));var r=E(e,s.HELMET_PROPS.DEFAULT_TITLE);return t||r||void 0},d=function(e){return E(e,s.HELMET_PROPS.ON_CHANGE_CLIENT_STATE)||function(){}},f=function(e,t){return t.filter((function(t){return void 0!==t[e]})).map((function(t){return t[e]})).reduce((function(e,t){return o({},e,t)}),{})},T=function(e,t){return t.filter((function(e){return void 0!==e[s.TAG_NAMES.BASE]})).map((function(e){return e[s.TAG_NAMES.BASE]})).reverse().reduce((function(t,n){if(!t.length)for(var r=Object.keys(n),o=0;o<r.length;o++){var a=r[o].toLowerCase();if(-1!==e.indexOf(a)&&n[a])return t.concat(n)}return t}),[])},m=function(e,t,n){var o={};return n.filter((function(t){return!!Array.isArray(t[e])||(void 0!==t[e]&&g("Helmet: "+e+' should be of type "Array". Instead found type "'+r(t[e])+'"'),!1)})).map((function(t){return t[e]})).reverse().reduce((function(e,n){var r={};n.filter((function(e){for(var n=void 0,a=Object.keys(e),i=0;i<a.length;i++){var c=a[i],u=c.toLowerCase();-1===t.indexOf(u)||n===s.TAG_PROPERTIES.REL&&"canonical"===e[n].toLowerCase()||u===s.TAG_PROPERTIES.REL&&"stylesheet"===e[u].toLowerCase()||(n=u),-1===t.indexOf(c)||c!==s.TAG_PROPERTIES.INNER_HTML&&c!==s.TAG_PROPERTIES.CSS_TEXT&&c!==s.TAG_PROPERTIES.ITEM_PROP||(n=c)}if(!n||!e[n])return!1;var l=e[n].toLowerCase();return o[n]||(o[n]={}),r[n]||(r[n]={}),!o[n][l]&&(r[n][l]=!0,!0)})).reverse().forEach((function(t){return e.push(t)}));for(var a=Object.keys(r),c=0;c<a.length;c++){var u=a[c],l=(0,i.default)({},o[u],r[u]);o[u]=l}return e}),[]).reverse()},E=function(e,t){for(var n=e.length-1;n>=0;n--){var r=e[n];if(r.hasOwnProperty(t))return r[t]}return null},h=(u=Date.now(),function(e){var t=Date.now();t-u>16?(u=t,e(t)):setTimeout((function(){h(e)}),0)}),A=function(e){return clearTimeout(e)},S="undefined"!=typeof window?window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||h:e.requestAnimationFrame||h,y="undefined"!=typeof window?window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||A:e.cancelAnimationFrame||A,g=function(e){return console&&"function"==typeof console.warn&&console.warn(e)},b=null,v=function(e,t){var n=e.baseTag,r=e.bodyAttributes,o=e.htmlAttributes,a=e.linkTags,i=e.metaTags,c=e.noscriptTags,u=e.onChangeClientState,l=e.scriptTags,p=e.styleTags,d=e.title,f=e.titleAttributes;_(s.TAG_NAMES.BODY,r),_(s.TAG_NAMES.HTML,o),w(d,f);var T={baseTag:M(s.TAG_NAMES.BASE,n),linkTags:M(s.TAG_NAMES.LINK,a),metaTags:M(s.TAG_NAMES.META,i),noscriptTags:M(s.TAG_NAMES.NOSCRIPT,c),scriptTags:M(s.TAG_NAMES.SCRIPT,l),styleTags:M(s.TAG_NAMES.STYLE,p)},m={},E={};Object.keys(T).forEach((function(e){var t=T[e],n=t.newTags,r=t.oldTags;n.length&&(m[e]=n),r.length&&(E[e]=T[e].oldTags)})),t&&t(),u(e,m,E)},P=function(e){return Array.isArray(e)?e.join(""):e},w=function(e,t){void 0!==e&&document.title!==e&&(document.title=P(e)),_(s.TAG_NAMES.TITLE,t)},_=function(e,t){var n=document.getElementsByTagName(e)[0];if(n){for(var r=n.getAttribute(s.HELMET_ATTRIBUTE),o=r?r.split(","):[],a=[].concat(o),i=Object.keys(t),c=0;c<i.length;c++){var u=i[c],l=t[u]||"";n.getAttribute(u)!==l&&n.setAttribute(u,l),-1===o.indexOf(u)&&o.push(u);var p=a.indexOf(u);-1!==p&&a.splice(p,1)}for(var d=a.length-1;d>=0;d--)n.removeAttribute(a[d]);o.length===a.length?n.removeAttribute(s.HELMET_ATTRIBUTE):n.getAttribute(s.HELMET_ATTRIBUTE)!==i.join(",")&&n.setAttribute(s.HELMET_ATTRIBUTE,i.join(","))}},M=function(e,t){var n=document.head||document.querySelector(s.TAG_NAMES.HEAD),r=n.querySelectorAll(e+"["+s.HELMET_ATTRIBUTE+"]"),o=Array.prototype.slice.call(r),a=[],i=void 0;return t&&t.length&&t.forEach((function(t){var n=document.createElement(e);for(var r in t)if(t.hasOwnProperty(r))if(r===s.TAG_PROPERTIES.INNER_HTML)n.innerHTML=t.innerHTML;else if(r===s.TAG_PROPERTIES.CSS_TEXT)n.styleSheet?n.styleSheet.cssText=t.cssText:n.appendChild(document.createTextNode(t.cssText));else{var c=void 0===t[r]?"":t[r];n.setAttribute(r,c)}n.setAttribute(s.HELMET_ATTRIBUTE,"true"),o.some((function(e,t){return i=t,n.isEqualNode(e)}))?o.splice(i,1):a.push(n)})),o.forEach((function(e){return e.parentNode.removeChild(e)})),a.forEach((function(e){return n.appendChild(e)})),{oldTags:o,newTags:a}},R=function(e){return Object.keys(e).reduce((function(t,n){var r=void 0!==e[n]?n+'="'+e[n]+'"':""+n;return t?t+" "+r:r}),"")},L=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(e).reduce((function(t,n){return t[s.REACT_TAG_MAP[n]||n]=e[n],t}),t)},O=function(e,t,n){switch(e){case s.TAG_NAMES.TITLE:return{toComponent:function(){return e=t.title,n=t.titleAttributes,(r={key:e})[s.HELMET_ATTRIBUTE]=!0,o=L(n,r),[a.default.createElement(s.TAG_NAMES.TITLE,o,e)];var e,n,r,o},toString:function(){return function(e,t,n,r){var o=R(n),a=P(t);return o?"<"+e+" "+s.HELMET_ATTRIBUTE+'="true" '+o+">"+l(a,r)+"</"+e+">":"<"+e+" "+s.HELMET_ATTRIBUTE+'="true">'+l(a,r)+"</"+e+">"}(e,t.title,t.titleAttributes,n)}};case s.ATTRIBUTE_NAMES.BODY:case s.ATTRIBUTE_NAMES.HTML:return{toComponent:function(){return L(t)},toString:function(){return R(t)}};default:return{toComponent:function(){return function(e,t){return t.map((function(t,n){var r,o=((r={key:n})[s.HELMET_ATTRIBUTE]=!0,r);return Object.keys(t).forEach((function(e){var n=s.REACT_TAG_MAP[e]||e;if(n===s.TAG_PROPERTIES.INNER_HTML||n===s.TAG_PROPERTIES.CSS_TEXT){var r=t.innerHTML||t.cssText;o.dangerouslySetInnerHTML={__html:r}}else o[n]=t[e]})),a.default.createElement(e,o)}))}(e,t)},toString:function(){return function(e,t,n){return t.reduce((function(t,r){var o=Object.keys(r).filter((function(e){return!(e===s.TAG_PROPERTIES.INNER_HTML||e===s.TAG_PROPERTIES.CSS_TEXT)})).reduce((function(e,t){var o=void 0===r[t]?t:t+'="'+l(r[t],n)+'"';return e?e+" "+o:o}),""),a=r.innerHTML||r.cssText||"",i=-1===s.SELF_CLOSING_TAGS.indexOf(e);return t+"<"+e+" "+s.HELMET_ATTRIBUTE+'="true" '+o+(i?"/>":">"+a+"</"+e+">")}),"")}(e,t,n)}}}};t.convertReactPropstoHtmlAttributes=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(e).reduce((function(t,n){return t[s.HTML_TAG_MAP[n]||n]=e[n],t}),t)},t.handleClientStateChange=function(e){b&&y(b),e.defer?b=S((function(){v(e,(function(){b=null}))})):(v(e),b=null)},t.mapStateOnServer=function(e){var t=e.baseTag,n=e.bodyAttributes,r=e.encode,o=e.htmlAttributes,a=e.linkTags,i=e.metaTags,c=e.noscriptTags,u=e.scriptTags,l=e.styleTags,p=e.title,d=void 0===p?"":p,f=e.titleAttributes;return{base:O(s.TAG_NAMES.BASE,t,r),bodyAttributes:O(s.ATTRIBUTE_NAMES.BODY,n,r),htmlAttributes:O(s.ATTRIBUTE_NAMES.HTML,o,r),link:O(s.TAG_NAMES.LINK,a,r),meta:O(s.TAG_NAMES.META,i,r),noscript:O(s.TAG_NAMES.NOSCRIPT,c,r),script:O(s.TAG_NAMES.SCRIPT,u,r),style:O(s.TAG_NAMES.STYLE,l,r),title:O(s.TAG_NAMES.TITLE,{title:d,titleAttributes:f},r)}},t.reducePropsToState=function(e){return{baseTag:T([s.TAG_PROPERTIES.HREF],e),bodyAttributes:f(s.ATTRIBUTE_NAMES.BODY,e),defer:E(e,s.HELMET_PROPS.DEFER),encode:E(e,s.HELMET_PROPS.ENCODE_SPECIAL_CHARACTERS),htmlAttributes:f(s.ATTRIBUTE_NAMES.HTML,e),linkTags:m(s.TAG_NAMES.LINK,[s.TAG_PROPERTIES.REL,s.TAG_PROPERTIES.HREF],e),metaTags:m(s.TAG_NAMES.META,[s.TAG_PROPERTIES.NAME,s.TAG_PROPERTIES.CHARSET,s.TAG_PROPERTIES.HTTPEQUIV,s.TAG_PROPERTIES.PROPERTY,s.TAG_PROPERTIES.ITEM_PROP],e),noscriptTags:m(s.TAG_NAMES.NOSCRIPT,[s.TAG_PROPERTIES.INNER_HTML],e),onChangeClientState:d(e),scriptTags:m(s.TAG_NAMES.SCRIPT,[s.TAG_PROPERTIES.SRC,s.TAG_PROPERTIES.INNER_HTML],e),styleTags:m(s.TAG_NAMES.STYLE,[s.TAG_PROPERTIES.CSS_TEXT],e),title:p(e),titleAttributes:f(s.ATTRIBUTE_NAMES.TITLE,e)}},t.requestAnimationFrame=S,t.warn=g}).call(this,n("yLpj"))}}]);
//# sourceMappingURL=e50e9c162871c1d91fba5ce567a5656e16dc6783-b16887cb72a997ff7c3a.js.map