It looks like this is a web page, not a feed. I looked for a feed associated with this page, but couldn't find one. Please enter the address of your feed to validate.

Source: https://notionpress.com/author/520300

  1. <!DOCTYPE html>
  2. <html lang="en-US">
  3. <head>
  4.      <link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/bootstrap-select/1.6.3/css/bootstrap-select.min.css" />
  5.  
  6.    <meta charset="utf-8">
  7.  
  8.  
  9.  <meta name="p:domain_verify" content="a08e1bdef20f457e99be5143a648797c"/>
  10.  <link rel="dns-prefetch" href="https://notionpress.com/">
  11.  <link rel="preload" href="https://notionpress.com/images/bookstore_rewamp/2018/font/icons.woff?631296315" as="font" crossorigin="anonymous" />
  12.  <style type="text/css">
  13.    @font-face {
  14.    font-family: 'icons';
  15.    src: url('../../../images/bookstore_rewamp/2018/font/icons.eot?631296315'),
  16.         url('../../../images/bookstore_rewamp/2018/font/icons.otf?631296315') format('opentype'),
  17.         url('../../../images/bookstore_rewamp/2018/font/icons.woff2?631296315') format('woff2'),
  18.         url('../../../images/bookstore_rewamp/2018/font/icons.woff?631296315') format('woff'),
  19.         url('../../../images/bookstore_rewamp/2018/font/icons.eot?631296315') format('embedded-opentype'),
  20.         url('../../../images/bookstore_rewamp/2018/font/icons.ttf?631296315') format('truetype'),
  21.         url('../../../images/bookstore_rewamp/2018/font/icons.svg#icons') format('svg');
  22. }
  23.  </style>
  24.  <link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.css" rel="stylesheet">
  25.  <link href="https://notionpress.com/assets/bootstrap/css/bootstrap.min.css?631296315" rel="stylesheet" type="text/css" media="screen">
  26.  <link rel="stylesheet" href="https://notionpress.com/new-rewamp/css/store/style.css?631296315">
  27.  <link rel="stylesheet" href="https://notionpress.com/new-rewamp/css/rinotification.css?631296315">
  28.  <!-- <link rel="stylesheet" href="https://notionpress.com/assets/bookstroe_design/owl.css?631296315">
  29.  <link rel="stylesheet" href="https://notionpress.com/assets/bookstroe_design/owl_002.css?631296315"> -->
  30.  <!-- <script src="https://code.jquery.com/jquery-1.12.4.min.js" integrity="sha256-ZosEbRLbNQzLpnKIkEdrPv7lOy9C27hHQ+Xp8a4MxAQ=" crossorigin="anonymous"></script> -->
  31.  
  32. <script>
  33.  // $.noConflict();
  34.  
  35. </script>
  36.  <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>
  37.  <title>klikvegas's Author Page - Notion Press | India's largest book publisher</title>
  38.  
  39.    <!--<meta property="og:title" content="" />
  40.    <meta property="og:type" content="" />
  41.    <meta property="og:url" content="" />
  42.    <meta property="og:image" content="" />
  43.    <meta property="og:description"  content="..." />
  44.    <meta property="og:site_name" content="" />-->
  45.  
  46.    
  47.  
  48.  
  49.  <meta name="title" content="klikvegas's Author Page - Notion Press | India's largest book publisher">  <meta name="description" content="">    <meta name="keywords" content="klikvegas">      <!-- Meta for facebook by venkat-->
  50.            <meta property="og:title" content="klikvegas's Author Page - Notion Press | India's largest book publisher">    <meta property="og:description" content="">            
  51.    <meta property="og:type"  content="article" />
  52.    <meta property="fb:app_id" content="2256944847921875" />
  53.    <meta property="og:image" content="https://notionpress.com/authorpics/1654069286-520300author-photo.png"/>
  54.    <meta property="og:image:width" content="1200" />
  55.    <meta property="og:image:height" content="630" />
  56.  
  57.    <meta name="twitter:card" content="summary_large_image" />
  58.    <meta name="twitter:description" content="" />
  59.    <meta name="twitter:title" content="klikvegas's Author Page - Notion Press | India's largest book publisher" />
  60.    <meta name="twitter:image" content="https://notionpress.com/authorpics/1654069286-520300author-photo.png" />
  61.  
  62.  <!-- Meta for facebook by venkat-->
  63.    <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0">
  64.  <meta http-equiv="X-UA-Compatible" content="IE=9"><script type="text/javascript">(window.NREUM||(NREUM={})).init={privacy:{cookies_enabled:true},ajax:{deny_list:["bam.nr-data.net"]},distributed_tracing:{enabled:true}};(window.NREUM||(NREUM={})).loader_config={agentID:"601372802",accountID:"3822528",trustKey:"3822528",xpid:"Vw4FU1NRABAFUlZSDwkOVFM=",licenseKey:"NRJS-1dab51cf53eb994037c",applicationID:"567088927"};;/*! For license information please see nr-loader-spa-1.258.0.min.js.LICENSE.txt */
  65. (()=>{var e,t,r={234:(e,t,r)=>{"use strict";r.d(t,{P_:()=>m,Mt:()=>b,C5:()=>s,DL:()=>E,OP:()=>D,lF:()=>I,Yu:()=>_,Dg:()=>v,CX:()=>c,GE:()=>w,sU:()=>O});var n=r(8632),i=r(9567);const o={beacon:n.ce.beacon,errorBeacon:n.ce.errorBeacon,licenseKey:void 0,applicationID:void 0,sa:void 0,queueTime:void 0,applicationTime:void 0,ttGuid:void 0,user:void 0,account:void 0,product:void 0,extra:void 0,jsAttributes:{},userAttributes:void 0,atts:void 0,transactionName:void 0,tNamePlain:void 0},a={};function s(e){if(!e)throw new Error("All info objects require an agent identifier!");if(!a[e])throw new Error("Info for ".concat(e," was never set"));return a[e]}function c(e,t){if(!e)throw new Error("All info objects require an agent identifier!");a[e]=(0,i.D)(t,o);const r=(0,n.ek)(e);r&&(r.info=a[e])}const u=e=>{if(!e||"string"!=typeof e)return!1;try{document.createDocumentFragment().querySelector(e)}catch{return!1}return!0};var d=r(7056),l=r(50);const f="[data-nr-mask]",h=()=>{const e={mask_selector:"*",block_selector:"[data-nr-block]",mask_input_options:{color:!1,date:!1,"datetime-local":!1,email:!1,month:!1,number:!1,range:!1,search:!1,tel:!1,text:!1,time:!1,url:!1,week:!1,textarea:!1,select:!1,password:!0}};return{feature_flags:[],proxy:{assets:void 0,beacon:void 0},privacy:{cookies_enabled:!0},ajax:{deny_list:void 0,block_internal:!0,enabled:!0,harvestTimeSeconds:10,autoStart:!0},distributed_tracing:{enabled:void 0,exclude_newrelic_header:void 0,cors_use_newrelic_header:void 0,cors_use_tracecontext_headers:void 0,allowed_origins:void 0},session:{expiresMs:d.oD,inactiveMs:d.Hb},ssl:void 0,obfuscate:void 0,jserrors:{enabled:!0,harvestTimeSeconds:10,autoStart:!0},metrics:{enabled:!0,autoStart:!0},page_action:{enabled:!0,harvestTimeSeconds:30,autoStart:!0},page_view_event:{enabled:!0,autoStart:!0},page_view_timing:{enabled:!0,harvestTimeSeconds:30,long_task:!1,autoStart:!0},session_trace:{enabled:!0,harvestTimeSeconds:10,autoStart:!0},harvest:{tooManyRequestsDelay:60},session_replay:{autoStart:!0,enabled:!1,harvestTimeSeconds:60,preload:!1,sampling_rate:10,error_sampling_rate:100,collect_fonts:!1,inline_images:!1,inline_stylesheet:!0,mask_all_inputs:!0,get mask_text_selector(){return e.mask_selector},set mask_text_selector(t){u(t)?e.mask_selector="".concat(t,",").concat(f):""===t||null===t?e.mask_selector=f:(0,l.Z)("An invalid session_replay.mask_selector was provided. '*' will be used.",t)},get block_class(){return"nr-block"},get ignore_class(){return"nr-ignore"},get mask_text_class(){return"nr-mask"},get block_selector(){return e.block_selector},set block_selector(t){u(t)?e.block_selector+=",".concat(t):""!==t&&(0,l.Z)("An invalid session_replay.block_selector was provided and will not be used",t)},get mask_input_options(){return e.mask_input_options},set mask_input_options(t){t&&"object"==typeof t?e.mask_input_options={...t,password:!0}:(0,l.Z)("An invalid session_replay.mask_input_option was provided and will not be used",t)}},spa:{enabled:!0,harvestTimeSeconds:10,autoStart:!0},soft_navigations:{enabled:!0,harvestTimeSeconds:10,autoStart:!0}}},p={},g="All configuration objects require an agent identifier!";function m(e){if(!e)throw new Error(g);if(!p[e])throw new Error("Configuration for ".concat(e," was never set"));return p[e]}function v(e,t){if(!e)throw new Error(g);p[e]=(0,i.D)(t,h());const r=(0,n.ek)(e);r&&(r.init=p[e])}function b(e,t){if(!e)throw new Error(g);var r=m(e);if(r){for(var n=t.split("."),i=0;i<n.length-1;i++)if("object"!=typeof(r=r[n[i]]))return;r=r[n[n.length-1]]}return r}const y={accountID:void 0,trustKey:void 0,agentID:void 0,licenseKey:void 0,applicationID:void 0,xpid:void 0},A={};function E(e){if(!e)throw new Error("All loader-config objects require an agent identifier!");if(!A[e])throw new Error("LoaderConfig for ".concat(e," was never set"));return A[e]}function w(e,t){if(!e)throw new Error("All loader-config objects require an agent identifier!");A[e]=(0,i.D)(t,y);const r=(0,n.ek)(e);r&&(r.loader_config=A[e])}const _=(0,n.mF)().o;var x=r(385),R=r(6818);const T={buildEnv:R.Re,distMethod:R.gF,version:R.q4,originTime:x.sK},S={customTransaction:void 0,disabled:!1,isolatedBacklog:!1,loaderType:void 0,maxBytes:3e4,onerror:void 0,origin:""+x._A.location,ptid:void 0,releaseIds:{},appMetadata:{},session:void 0,denyList:void 0,harvestCount:0,timeKeeper:void 0},N={};function D(e){if(!e)throw new Error("All runtime objects require an agent identifier!");if(!N[e])throw new Error("Runtime for ".concat(e," was never set"));return N[e]}function O(e,t){if(!e)throw new Error("All runtime objects require an agent identifier!");N[e]={...(0,i.D)(t,S),...T};const r=(0,n.ek)(e);r&&(r.runtime=N[e])}function I(e){return function(e){try{const t=s(e);return!!t.licenseKey&&!!t.errorBeacon&&!!t.applicationID}catch(e){return!1}}(e)}},9567:(e,t,r)=>{"use strict";r.d(t,{D:()=>i});var n=r(50);function i(e,t){try{if(!e||"object"!=typeof e)return(0,n.Z)("Setting a Configurable requires an object as input");if(!t||"object"!=typeof t)return(0,n.Z)("Setting a Configurable requires a model to set its initial properties");const r=Object.create(Object.getPrototypeOf(t),Object.getOwnPropertyDescriptors(t)),o=0===Object.keys(r).length?e:r;for(let a in o)if(void 0!==e[a])try{if(null===e[a]){r[a]=null;continue}Array.isArray(e[a])&&Array.isArray(t[a])?r[a]=Array.from(new Set([...e[a],...t[a]])):"object"==typeof e[a]&&"object"==typeof t[a]?r[a]=i(e[a],t[a]):r[a]=e[a]}catch(e){(0,n.Z)("An error occurred while setting a property of a Configurable",e)}return r}catch(e){(0,n.Z)("An error occured while setting a Configurable",e)}}},6818:(e,t,r)=>{"use strict";r.d(t,{Re:()=>i,gF:()=>o,lF:()=>a,q4:()=>n});const n="1.258.0",i="PROD",o="CDN",a="2.0.0-alpha.12"},385:(e,t,r)=>{"use strict";r.d(t,{FN:()=>c,IF:()=>l,LW:()=>a,Nk:()=>h,Tt:()=>u,_A:()=>o,iS:()=>s,il:()=>n,sK:()=>p,ux:()=>d,v6:()=>i,w1:()=>f});const n="undefined"!=typeof window&&!!window.document,i="undefined"!=typeof WorkerGlobalScope&&("undefined"!=typeof self&&self instanceof WorkerGlobalScope&&self.navigator instanceof WorkerNavigator||"undefined"!=typeof globalThis&&globalThis instanceof WorkerGlobalScope&&globalThis.navigator instanceof WorkerNavigator),o=n?window:"undefined"!=typeof WorkerGlobalScope&&("undefined"!=typeof self&&self instanceof WorkerGlobalScope&&self||"undefined"!=typeof globalThis&&globalThis instanceof WorkerGlobalScope&&globalThis),a="complete"===o?.document?.readyState,s=Boolean("hidden"===o?.document?.visibilityState),c=""+o?.location,u=/iPad|iPhone|iPod/.test(o.navigator?.userAgent),d=u&&"undefined"==typeof SharedWorker,l=(()=>{const e=o.navigator?.userAgent?.match(/Firefox[/\s](\d+\.\d+)/);return Array.isArray(e)&&e.length>=2?+e[1]:0})(),f=Boolean(n&&window.document.documentMode),h=!!o.navigator?.sendBeacon,p=Math.floor(Date.now()-performance.now())},1117:(e,t,r)=>{"use strict";r.d(t,{w:()=>o});var n=r(50);const i={agentIdentifier:"",ee:void 0};class o{constructor(e){try{if("object"!=typeof e)return(0,n.Z)("shared context requires an object as input");this.sharedContext={},Object.assign(this.sharedContext,i),Object.entries(e).forEach((e=>{let[t,r]=e;Object.keys(i).includes(t)&&(this.sharedContext[t]=r)}))}catch(e){(0,n.Z)("An error occurred while setting SharedContext",e)}}}},8e3:(e,t,r)=>{"use strict";r.d(t,{LP:()=>l,RP:()=>c,o5:()=>u});var n=r(8325),i=r(1284),o=r(4322),a=r(3325);const s={};function c(e,t){const r={staged:!1,priority:a.p[t]||0};d(e),s[e].get(t)||s[e].set(t,r)}function u(e,t){d(e),s[e].get(t)&&s[e].delete(t),s[e].size&&f(e)}function d(e){if(!e)throw new Error("agentIdentifier required");s[e]||(s[e]=new Map)}function l(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"feature",r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(d(e),!e||!s[e].get(t)||r)return h(e,t);s[e].get(t).staged=!0,f(e)}function f(e){const t=[...s[e]];t.every((e=>{let[t,r]=e;return r.staged}))&&(t.sort(((e,t)=>e[1].priority-t[1].priority)),t.forEach((t=>{let[r]=t;s[e].delete(r),h(e,r)})))}function h(e,t){const r=e?n.ee.get(e):n.ee,a=o.X.handlers;if(r.backlog&&a){var s=r.backlog[t],c=a[t];if(c){for(var u=0;s&&u<s.length;++u)p(s[u],c);(0,i.D)(c,(function(e,t){(0,i.D)(t,(function(t,r){r[0].on(e,r[1])}))}))}r.isolatedBacklog||delete a[t],r.backlog[t]=null,r.emit("drain-"+t,[])}}function p(e,t){var r=e[1];(0,i.D)(t[r],(function(t,r){var n=e[0];if(r[0]===n){var i=r[1],o=e[3],a=e[2];i.apply(o,a)}}))}},8325:(e,t,r)=>{"use strict";r.d(t,{A:()=>c,ee:()=>u});var n=r(8632),i=r(2210),o=r(234);class a{constructor(e){this.contextId=e}}var s=r(3117);const c="nr@context:".concat(s.a),u=function e(t,r){var n={},s={},d={},l=!1;try{l=16===r.length&&(0,o.OP)(r).isolatedBacklog}catch(e){}var f={on:p,addEventListener:p,removeEventListener:function(e,t){var r=n[e];if(!r)return;for(var i=0;i<r.length;i++)r[i]===t&&r.splice(i,1)},emit:function(e,r,n,i,o){!1!==o&&(o=!0);if(u.aborted&&!i)return;t&&o&&t.emit(e,r,n);for(var a=h(n),c=g(e),d=c.length,l=0;l<d;l++)c[l].apply(a,r);var p=v()[s[e]];p&&p.push([f,e,r,a]);return a},get:m,listeners:g,context:h,buffer:function(e,t){const r=v();if(t=t||"feature",f.aborted)return;Object.entries(e||{}).forEach((e=>{let[n,i]=e;s[i]=t,t in r||(r[t]=[])}))},abort:function(){f._aborted=!0,Object.keys(f.backlog).forEach((e=>{delete f.backlog[e]}))},isBuffering:function(e){return!!v()[s[e]]},debugId:r,backlog:l?{}:t&&"object"==typeof t.backlog?t.backlog:{},isolatedBacklog:l};return Object.defineProperty(f,"aborted",{get:()=>{let e=f._aborted||!1;return e||(t&&(e=t.aborted),e)}}),f;function h(e){return e&&e instanceof a?e:e?(0,i.X)(e,c,(()=>new a(c))):new a(c)}function p(e,t){n[e]=g(e).concat(t)}function g(e){return n[e]||[]}function m(t){return d[t]=d[t]||e(f,t)}function v(){return f.backlog}}(void 0,"globalEE"),d=(0,n.fP)();d.ee||(d.ee=u)},5546:(e,t,r)=>{"use strict";r.d(t,{E:()=>n,p:()=>i});var n=r(8325).ee.get("handle");function i(e,t,r,i,o){o?(o.buffer([e],i),o.emit(e,t,r)):(n.buffer([e],i),n.emit(e,t,r))}},4322:(e,t,r)=>{"use strict";r.d(t,{X:()=>o});var n=r(5546);o.on=a;var i=o.handlers={};function o(e,t,r,o){a(o||n.E,i,e,t,r)}function a(e,t,r,i,o){o||(o="feature"),e||(e=n.E);var a=t[o]=t[o]||{};(a[r]=a[r]||[]).push([e,i])}},3239:(e,t,r)=>{"use strict";r.d(t,{bP:()=>s,iz:()=>c,m$:()=>a});var n=r(385);let i=!1,o=!1;try{const e={get passive(){return i=!0,!1},get signal(){return o=!0,!1}};n._A.addEventListener("test",null,e),n._A.removeEventListener("test",null,e)}catch(e){}function a(e,t){return i||o?{capture:!!e,passive:i,signal:t}:!!e}function s(e,t){let r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=arguments.length>3?arguments[3]:void 0;window.addEventListener(e,t,a(r,n))}function c(e,t){let r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=arguments.length>3?arguments[3]:void 0;document.addEventListener(e,t,a(r,n))}},3117:(e,t,r)=>{"use strict";r.d(t,{a:()=>n});const n=(0,r(4402).Rl)()},4402:(e,t,r)=>{"use strict";r.d(t,{Ht:()=>u,M:()=>c,Rl:()=>a,ky:()=>s});var n=r(385);const i="xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx";function o(e,t){return e?15&e[t]:16*Math.random()|0}function a(){const e=n._A?.crypto||n._A?.msCrypto;let t,r=0;return e&&e.getRandomValues&&(t=e.getRandomValues(new Uint8Array(30))),i.split("").map((e=>"x"===e?o(t,r++).toString(16):"y"===e?(3&o()|8).toString(16):e)).join("")}function s(e){const t=n._A?.crypto||n._A?.msCrypto;let r,i=0;t&&t.getRandomValues&&(r=t.getRandomValues(new Uint8Array(e)));const a=[];for(var s=0;s<e;s++)a.push(o(r,i++).toString(16));return a.join("")}function c(){return s(16)}function u(){return s(32)}},7056:(e,t,r)=>{"use strict";r.d(t,{Bq:()=>n,Hb:()=>a,IK:()=>u,K4:()=>i,oD:()=>o,uT:()=>c,wO:()=>s});const n="NRBA",i="SESSION",o=144e5,a=18e5,s={STARTED:"session-started",PAUSE:"session-pause",RESET:"session-reset",RESUME:"session-resume",UPDATE:"session-update"},c={SAME_TAB:"same-tab",CROSS_TAB:"cross-tab"},u={OFF:0,FULL:1,ERROR:2}},7894:(e,t,r)=>{"use strict";function n(){return Math.floor(performance.now())}r.d(t,{z:()=>n})},7243:(e,t,r)=>{"use strict";r.d(t,{e:()=>i});var n=r(385);function i(e){if(0===(e||"").indexOf("data:"))return{protocol:"data"};try{const t=new URL(e,location.href),r={port:t.port,hostname:t.hostname,pathname:t.pathname,search:t.search,protocol:t.protocol.slice(0,t.protocol.indexOf(":")),sameOrigin:t.protocol===n._A?.location?.protocol&&t.host===n._A?.location?.host};return r.port&&""!==r.port||("http:"===t.protocol&&(r.port="80"),"https:"===t.protocol&&(r.port="443")),r.pathname&&""!==r.pathname?r.pathname.startsWith("/")||(r.pathname="/".concat(r.pathname)):r.pathname="/",r}catch(e){return{}}}},50:(e,t,r)=>{"use strict";function n(e,t){"function"==typeof console.warn&&(console.warn("New Relic: ".concat(e)),t&&console.warn(t))}r.d(t,{Z:()=>n})},2825:(e,t,r)=>{"use strict";r.d(t,{N:()=>c,T:()=>s});var n=r(8325),i=r(385);const o="newrelic";const a=new Set,s={};function c(e,t){const r=n.ee.get(t);s[t]??={},e&&"object"==typeof e&&(a.has(t)||(r.emit("rumresp",[e]),s[t]=e,a.add(t),function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};try{i._A.dispatchEvent(new CustomEvent(o,{detail:e}))}catch(e){}}({loaded:!0})))}},2210:(e,t,r)=>{"use strict";r.d(t,{X:()=>i});var n=Object.prototype.hasOwnProperty;function i(e,t,r){if(n.call(e,t))return e[t];var i=r();if(Object.defineProperty&&Object.keys)try{return Object.defineProperty(e,t,{value:i,writable:!0,enumerable:!1}),i}catch(e){}return e[t]=i,i}},7872:(e,t,r)=>{"use strict";function n(e){var t=this;let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:500,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const i=n?.leading||!1;let o;return function(){for(var n=arguments.length,a=new Array(n),s=0;s<n;s++)a[s]=arguments[s];i&&void 0===o&&(e.apply(t,a),o=setTimeout((()=>{o=clearTimeout(o)}),r)),i||(clearTimeout(o),o=setTimeout((()=>{e.apply(t,a)}),r))}}function i(e){var t=this;let r=!1;return function(){if(!r){r=!0;for(var n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];e.apply(t,i)}}}r.d(t,{D:()=>n,Z:()=>i})},1284:(e,t,r)=>{"use strict";r.d(t,{D:()=>n});const n=(e,t)=>Object.entries(e||{}).map((e=>{let[r,n]=e;return t(r,n)}))},4351:(e,t,r)=>{"use strict";r.d(t,{P:()=>o});var n=r(8325);const i=()=>{const e=new WeakSet;return(t,r)=>{if("object"==typeof r&&null!==r){if(e.has(r))return;e.add(r)}return r}};function o(e){try{return JSON.stringify(e,i())}catch(e){try{n.ee.emit("internal-error",[e])}catch(e){}}}},3960:(e,t,r)=>{"use strict";r.d(t,{KB:()=>a,b2:()=>o});var n=r(3239);function i(){return"undefined"==typeof document||"complete"===document.readyState}function o(e,t){if(i())return e();(0,n.bP)("load",e,t)}function a(e){if(i())return e();(0,n.iz)("DOMContentLoaded",e)}},8632:(e,t,r)=>{"use strict";r.d(t,{EZ:()=>d,ce:()=>o,ek:()=>u,fP:()=>a,gG:()=>l,h5:()=>c,mF:()=>s});var n=r(385),i=r(7894);const o={beacon:"bam.nr-data.net",errorBeacon:"bam.nr-data.net"};function a(){return n._A.NREUM||(n._A.NREUM={}),void 0===n._A.newrelic&&(n._A.newrelic=n._A.NREUM),n._A.NREUM}function s(){let e=a();return e.o||(e.o={ST:n._A.setTimeout,SI:n._A.setImmediate,CT:n._A.clearTimeout,XHR:n._A.XMLHttpRequest,REQ:n._A.Request,EV:n._A.Event,PR:n._A.Promise,MO:n._A.MutationObserver,FETCH:n._A.fetch}),e}function c(e,t){let r=a();r.initializedAgents??={},t.initializedAt={ms:(0,i.z)(),date:new Date},r.initializedAgents[e]=t}function u(e){let t=a();return t.initializedAgents?.[e]}function d(e,t){a()[e]=t}function l(){return function(){let e=a();const t=e.info||{};e.info={beacon:o.beacon,errorBeacon:o.errorBeacon,...t}}(),function(){let e=a();const t=e.init||{};e.init={...t}}(),s(),function(){let e=a();const t=e.loader_config||{};e.loader_config={...t}}(),a()}},7956:(e,t,r)=>{"use strict";r.d(t,{N:()=>i});var n=r(3239);function i(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=arguments.length>2?arguments[2]:void 0,i=arguments.length>3?arguments[3]:void 0;(0,n.iz)("visibilitychange",(function(){if(t)return void("hidden"===document.visibilityState&&e());e(document.visibilityState)}),r,i)}},7806:(e,t,r)=>{"use strict";r.d(t,{em:()=>b,u5:()=>S,QU:()=>O,_L:()=>j,Gm:()=>M,Lg:()=>L,BV:()=>Z,Kf:()=>Y});var n=r(8325),i=r(3117);const o="nr@original:".concat(i.a);var a=Object.prototype.hasOwnProperty,s=!1;function c(e,t){return e||(e=n.ee),r.inPlace=function(e,t,n,i,o){n||(n="");const a="-"===n.charAt(0);for(let s=0;s<t.length;s++){const c=t[s],u=e[c];d(u)||(e[c]=r(u,a?c+n:n,i,c,o))}},r.flag=o,r;function r(t,r,n,s,c){return d(t)?t:(r||(r=""),nrWrapper[o]=t,function(e,t,r){if(Object.defineProperty&&Object.keys)try{return Object.keys(e).forEach((function(r){Object.defineProperty(t,r,{get:function(){return e[r]},set:function(t){return e[r]=t,t}})})),t}catch(e){u([e],r)}for(var n in e)a.call(e,n)&&(t[n]=e[n])}(t,nrWrapper,e),nrWrapper);function nrWrapper(){var o,a,d,l;try{a=this,o=[...arguments],d="function"==typeof n?n(o,a):n||{}}catch(t){u([t,"",[o,a,s],d],e)}i(r+"start",[o,a,s],d,c);try{return l=t.apply(a,o)}catch(e){throw i(r+"err",[o,a,e],d,c),e}finally{i(r+"end",[o,a,l],d,c)}}}function i(r,n,i,o){if(!s||t){var a=s;s=!0;try{e.emit(r,n,i,t,o)}catch(t){u([t,r,n,i],e)}s=a}}}function u(e,t){t||(t=n.ee);try{t.emit("internal-error",e)}catch(e){}}function d(e){return!(e&&"function"==typeof e&&e.apply&&!e[o])}var l=r(2210),f=r(385);const h={},p=f._A.XMLHttpRequest,g="addEventListener",m="removeEventListener",v="nr@wrapped:".concat(n.A);function b(e){var t=function(e){return(e||n.ee).get("events")}(e);if(h[t.debugId]++)return t;h[t.debugId]=1;var r=c(t,!0);function i(e){r.inPlace(e,[g,m],"-",o)}function o(e,t){return e[1]}return"getPrototypeOf"in Object&&(f.il&&y(document,i),y(f._A,i),y(p.prototype,i)),t.on(g+"-start",(function(e,t){var n=e[1];if(null!==n&&("function"==typeof n||"object"==typeof n)){var i=(0,l.X)(n,v,(function(){var e={object:function(){if("function"!=typeof n.handleEvent)return;return n.handleEvent.apply(n,arguments)},function:n}[typeof n];return e?r(e,"fn-",null,e.name||"anonymous"):n}));this.wrapped=e[1]=i}})),t.on(m+"-start",(function(e){e[1]=this.wrapped||e[1]})),t}function y(e,t){let r=e;for(;"object"==typeof r&&!Object.prototype.hasOwnProperty.call(r,g);)r=Object.getPrototypeOf(r);for(var n=arguments.length,i=new Array(n>2?n-2:0),o=2;o<n;o++)i[o-2]=arguments[o];r&&t(r,...i)}var A="fetch-",E=A+"body-",w=["arrayBuffer","blob","json","text","formData"],_=f._A.Request,x=f._A.Response,R="prototype";const T={};function S(e){const t=function(e){return(e||n.ee).get("fetch")}(e);if(!(_&&x&&f._A.fetch))return t;if(T[t.debugId]++)return t;function r(e,r,i){var o=e[r];"function"==typeof o&&(e[r]=function(){var e,r=[...arguments],a={};t.emit(i+"before-start",[r],a),a[n.A]&&a[n.A].dt&&(e=a[n.A].dt);var s=o.apply(this,r);return t.emit(i+"start",[r,e],s),s.then((function(e){return t.emit(i+"end",[null,e],s),e}),(function(e){throw t.emit(i+"end",[e],s),e}))})}return T[t.debugId]=1,w.forEach((e=>{r(_[R],e,E),r(x[R],e,E)})),r(f._A,"fetch",A),t.on(A+"end",(function(e,r){var n=this;if(r){var i=r.headers.get("content-length");null!==i&&(n.rxSize=i),t.emit(A+"done",[null,r],n)}else t.emit(A+"done",[e],n)})),t}const N={},D=["pushState","replaceState"];function O(e){const t=function(e){return(e||n.ee).get("history")}(e);return!f.il||N[t.debugId]++||(N[t.debugId]=1,c(t).inPlace(window.history,D,"-")),t}var I=r(3239);const P={},C=["appendChild","insertBefore","replaceChild"];function j(e){const t=function(e){return(e||n.ee).get("jsonp")}(e);if(!f.il||P[t.debugId])return t;P[t.debugId]=!0;var r=c(t),i=/[?&](?:callback|cb)=([^&#]+)/,o=/(.*)\.([^.]+)/,a=/^(\w+)(\.|$)(.*)$/;function s(e,t){if(!e)return t;const r=e.match(a),n=r[1];return s(r[3],t[n])}return r.inPlace(Node.prototype,C,"dom-"),t.on("dom-start",(function(e){!function(e){if(!e||"string"!=typeof e.nodeName||"script"!==e.nodeName.toLowerCase())return;if("function"!=typeof e.addEventListener)return;var n=(a=e.src,c=a.match(i),c?c[1]:null);var a,c;if(!n)return;var u=function(e){var t=e.match(o);if(t&&t.length>=3)return{key:t[2],parent:s(t[1],window)};return{key:e,parent:window}}(n);if("function"!=typeof u.parent[u.key])return;var d={};function l(){t.emit("jsonp-end",[],d),e.removeEventListener("load",l,(0,I.m$)(!1)),e.removeEventListener("error",f,(0,I.m$)(!1))}function f(){t.emit("jsonp-error",[],d),t.emit("jsonp-end",[],d),e.removeEventListener("load",l,(0,I.m$)(!1)),e.removeEventListener("error",f,(0,I.m$)(!1))}r.inPlace(u.parent,[u.key],"cb-",d),e.addEventListener("load",l,(0,I.m$)(!1)),e.addEventListener("error",f,(0,I.m$)(!1)),t.emit("new-jsonp",[e.src],d)}(e[0])})),t}const k={};function M(e){const t=function(e){return(e||n.ee).get("mutation")}(e);if(!f.il||k[t.debugId])return t;k[t.debugId]=!0;var r=c(t),i=f._A.MutationObserver;return i&&(window.MutationObserver=function(e){return this instanceof i?new i(r(e,"fn-")):i.apply(this,arguments)},MutationObserver.prototype=i.prototype),t}const H={};function L(e){const t=function(e){return(e||n.ee).get("promise")}(e);if(H[t.debugId])return t;H[t.debugId]=!0;var r=t.context,i=c(t),a=f._A.Promise;return a&&function(){function e(r){var n=t.context(),o=i(r,"executor-",n,null,!1);const s=Reflect.construct(a,[o],e);return t.context(s).getCtx=function(){return n},s}f._A.Promise=e,Object.defineProperty(e,"name",{value:"Promise"}),e.toString=function(){return a.toString()},Object.setPrototypeOf(e,a),["all","race"].forEach((function(r){const n=a[r];e[r]=function(e){let i=!1;[...e||[]].forEach((e=>{this.resolve(e).then(a("all"===r),a(!1))}));const o=n.apply(this,arguments);return o;function a(e){return function(){t.emit("propagate",[null,!i],o,!1,!1),i=i||!e}}}})),["resolve","reject"].forEach((function(r){const n=a[r];e[r]=function(e){const r=n.apply(this,arguments);return e!==r&&t.emit("propagate",[e,!0],r,!1,!1),r}})),e.prototype=a.prototype;const n=a.prototype.then;a.prototype.then=function(){var e=this,o=r(e);o.promise=e;for(var a=arguments.length,s=new Array(a),c=0;c<a;c++)s[c]=arguments[c];s[0]=i(s[0],"cb-",o,null,!1),s[1]=i(s[1],"cb-",o,null,!1);const u=n.apply(this,s);return o.nextPromise=u,t.emit("propagate",[e,!0],u,!1,!1),u},a.prototype.then[o]=n,t.on("executor-start",(function(e){e[0]=i(e[0],"resolve-",this,null,!1),e[1]=i(e[1],"resolve-",this,null,!1)})),t.on("executor-err",(function(e,t,r){e[1](r)})),t.on("cb-end",(function(e,r,n){t.emit("propagate",[n,!0],this.nextPromise,!1,!1)})),t.on("propagate",(function(e,r,n){this.getCtx&&!r||(this.getCtx=function(){if(e instanceof Promise)var r=t.context(e);return r&&r.getCtx?r.getCtx():this})}))}(),t}const U={},z="setTimeout",F="setInterval",B="clearTimeout",G="-start",q="-",V=[z,"setImmediate",F,B,"clearImmediate"];function Z(e){const t=function(e){return(e||n.ee).get("timer")}(e);if(U[t.debugId]++)return t;U[t.debugId]=1;var r=c(t);return r.inPlace(f._A,V.slice(0,2),z+q),r.inPlace(f._A,V.slice(2,3),F+q),r.inPlace(f._A,V.slice(3),B+q),t.on(F+G,(function(e,t,n){e[0]=r(e[0],"fn-",null,n)})),t.on(z+G,(function(e,t,n){this.method=n,this.timerDuration=isNaN(e[1])?0:+e[1],e[0]=r(e[0],"fn-",this,n)})),t}var K=r(50);const W={},X=["open","send"];function Y(e){var t=e||n.ee;const r=function(e){return(e||n.ee).get("xhr")}(t);if(W[r.debugId]++)return r;W[r.debugId]=1,b(t);var i=c(r),o=f._A.XMLHttpRequest,a=f._A.MutationObserver,s=f._A.Promise,u=f._A.setInterval,d="readystatechange",l=["onload","onerror","onabort","onloadstart","onloadend","onprogress","ontimeout"],h=[],p=f._A.XMLHttpRequest=function(e){const t=new o(e),n=r.context(t);try{r.emit("new-xhr",[t],n),t.addEventListener(d,(a=n,function(){var e=this;e.readyState>3&&!a.resolved&&(a.resolved=!0,r.emit("xhr-resolved",[],e)),i.inPlace(e,l,"fn-",E)}),(0,I.m$)(!1))}catch(e){(0,K.Z)("An error occurred while intercepting XHR",e);try{r.emit("internal-error",[e])}catch(e){}}var a;return t};function g(e,t){i.inPlace(t,["onreadystatechange"],"fn-",E)}if(function(e,t){for(var r in e)t[r]=e[r]}(o,p),p.prototype=o.prototype,i.inPlace(p.prototype,X,"-xhr-",E),r.on("send-xhr-start",(function(e,t){g(e,t),function(e){h.push(e),a&&(m?m.then(A):u?u(A):(v=-v,y.data=v))}(t)})),r.on("open-xhr-start",g),a){var m=s&&s.resolve();if(!u&&!s){var v=1,y=document.createTextNode(v);new a(A).observe(y,{characterData:!0})}}else t.on("fn-end",(function(e){e[0]&&e[0].type===d||A()}));function A(){for(var e=0;e<h.length;e++)g(0,h[e]);h.length&&(h=[])}function E(e,t){return t}return r}},7825:(e,t,r)=>{"use strict";r.d(t,{t:()=>n});const n=r(3325).D.ajax},6660:(e,t,r)=>{"use strict";r.d(t,{t:()=>n});const n=r(3325).D.jserrors},3081:(e,t,r)=>{"use strict";r.d(t,{gF:()=>o,mY:()=>i,t9:()=>n,vz:()=>s,xS:()=>a});const n=r(3325).D.metrics,i="sm",o="cm",a="storeSupportabilityMetrics",s="storeEventMetrics"},4649:(e,t,r)=>{"use strict";r.d(t,{t:()=>n});const n=r(3325).D.pageAction},7633:(e,t,r)=>{"use strict";r.d(t,{t:()=>n});const n=r(3325).D.pageViewEvent},9251:(e,t,r)=>{"use strict";r.d(t,{t:()=>n});const n=r(3325).D.pageViewTiming},7144:(e,t,r)=>{"use strict";r.d(t,{Ef:()=>o,J0:()=>f,Mi:()=>l,Vb:()=>a,Ye:()=>c,fm:()=>u,i9:()=>s,t9:()=>i,u0:()=>d});var n=r(7056);const i=r(3325).D.sessionReplay,o={RECORD:"recordReplay",PAUSE:"pauseReplay",REPLAY_RUNNING:"replayRunning",ERROR_DURING_REPLAY:"errorDuringReplay"},a=.12,s={DomContentLoaded:0,Load:1,FullSnapshot:2,IncrementalSnapshot:3,Meta:4,Custom:5},c=1e6,u=64e3,d={[n.IK.ERROR]:15e3,[n.IK.FULL]:3e5,[n.IK.OFF]:0},l={RESET:{message:"Session was reset",sm:"Reset"},IMPORT:{message:"Recorder failed to import",sm:"Import"},TOO_MANY:{message:"429: Too Many Requests",sm:"Too-Many"},TOO_BIG:{message:"Payload was too large",sm:"Too-Big"},CROSS_TAB:{message:"Session Entity was set to OFF on another tab",sm:"Cross-Tab"},ENTITLEMENTS:{message:"Session Replay is not allowed and will not be started",sm:"Entitlement"}},f=5e3},3112:(e,t,r)=>{"use strict";r.d(t,{HM:()=>c,ev:()=>o,rU:()=>s,wi:()=>u});var n=r(234),i=r(385);function o(e){return i.il&&!0===(0,n.Mt)(e,"privacy.cookies_enabled")}function a(e){return!!n.Yu.MO&&o(e)&&!0===(0,n.Mt)(e,"session_trace.enabled")}function s(e){return!0===(0,n.Mt)(e,"session_replay.preload")&&a(e)}function c(e,t){return!!a(e)&&(!!t?.isNew||!!t?.state.sessionReplayMode)}function u(e,t){const r=t.correctAbsoluteTimestamp(e);return{originalTimestamp:e,correctedTimestamp:r,timestampDiff:e-r,originTime:i.sK,correctedOriginTime:t.correctedOriginTime,originTimeDiff:Math.floor(i.sK-t.correctedOriginTime)}}},3614:(e,t,r)=>{"use strict";r.d(t,{BST_RESOURCE:()=>i,END:()=>s,FEATURE_NAME:()=>n,FN_END:()=>u,FN_START:()=>c,PUSH_STATE:()=>d,RESOURCE:()=>o,START:()=>a});const n=r(3325).D.sessionTrace,i="bstResource",o="resource",a="-start",s="-end",c="fn"+a,u="fn"+s,d="pushState"},6216:(e,t,r)=>{"use strict";r.d(t,{K8:()=>s,QZ:()=>c,cS:()=>o,sE:()=>i,t9:()=>a,vh:()=>u});var n=r(3325);const i=["click","keydown","submit"],o="api",a=n.D.softNav,s={INITIAL_PAGE_LOAD:"",ROUTE_CHANGE:1,UNSPECIFIED:2},c={INTERACTION:1,AJAX:2,CUSTOM_END:3,CUSTOM_TRACER:4},u={IP:"in progress",FIN:"finished",CAN:"cancelled"}},7836:(e,t,r)=>{"use strict";r.d(t,{BODY:()=>w,CB_END:()=>_,CB_START:()=>u,END:()=>E,FEATURE_NAME:()=>i,FETCH:()=>R,FETCH_BODY:()=>v,FETCH_DONE:()=>m,FETCH_START:()=>g,FN_END:()=>c,FN_START:()=>s,INTERACTION:()=>f,INTERACTION_API:()=>d,INTERACTION_EVENTS:()=>o,JSONP_END:()=>b,JSONP_NODE:()=>p,JS_TIME:()=>x,MAX_TIMER_BUDGET:()=>a,REMAINING:()=>l,SPA_NODE:()=>h,START:()=>A,originalSetTimeout:()=>y});var n=r(234);const i=r(3325).D.spa,o=["click","submit","keypress","keydown","keyup","change"],a=999,s="fn-start",c="fn-end",u="cb-start",d="api-ixn-",l="remaining",f="interaction",h="spaNode",p="jsonpNode",g="fetch-start",m="fetch-done",v="fetch-body-",b="jsonp-end",y=n.Yu.ST,A="-start",E="-end",w="-body",_="cb"+E,x="jsTime",R="fetch"},5938:(e,t,r)=>{"use strict";r.d(t,{W:()=>i});var n=r(8325);class i{constructor(e,t,r){this.agentIdentifier=e,this.aggregator=t,this.ee=n.ee.get(e),this.featureName=r,this.blocked=!1}}},2758:(e,t,r)=>{"use strict";r.d(t,{j:()=>_});var n=r(3325),i=r(234),o=r(5546),a=r(8325),s=r(8e3),c=r(3960),u=r(385),d=r(50),l=r(3081),f=r(8632),h=r(7144);const p=["setErrorHandler","finished","addToTrace","addRelease","addPageAction","setCurrentRouteName","setPageViewName","setCustomAttribute","interaction","noticeError","setUserId","setApplicationVersion","start","recordReplay","pauseReplay",h.Ef.RECORD,h.Ef.PAUSE],g=["setErrorHandler","finished","addToTrace","addRelease"];var m=r(7894),v=r(7056);function b(){const e=(0,f.gG)();p.forEach((t=>{e[t]=function(){for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return function(t){for(var r=arguments.length,n=new Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];let o=[];return Object.values(e.initializedAgents).forEach((e=>{e.exposed&&e.api[t]&&o.push(e.api[t](...n))})),o.length>1?o:o[0]}(t,...n)}}))}const y={};var A=r(2825);const E=e=>{const t=e.startsWith("http");e+="/",r.p=t?e:"https://"+e};let w=!1;function _(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},p=arguments.length>2?arguments[2]:void 0,_=arguments.length>3?arguments[3]:void 0,{init:x,info:R,loader_config:T,runtime:S={loaderType:p},exposed:N=!0}=t;const D=(0,f.gG)();R||(x=D.init,R=D.info,T=D.loader_config),(0,i.Dg)(e.agentIdentifier,x||{}),(0,i.GE)(e.agentIdentifier,T||{}),R.jsAttributes??={},u.v6&&(R.jsAttributes.isWorker=!0),(0,i.CX)(e.agentIdentifier,R);const O=(0,i.P_)(e.agentIdentifier),I=[R.beacon,R.errorBeacon];w||(O.proxy.assets&&(E(O.proxy.assets),I.push(O.proxy.assets)),O.proxy.beacon&&I.push(O.proxy.beacon),b(),(0,f.EZ)("activatedFeatures",A.T),e.runSoftNavOverSpa&&=!0===O.soft_navigations.enabled&&O.feature_flags.includes("soft_nav")),S.denyList=[...O.ajax.deny_list||[],...O.ajax.block_internal?I:[]],(0,i.sU)(e.agentIdentifier,S),void 0===e.api&&(e.api=function(e,t){let f=arguments.length>2&&void 0!==arguments[2]&&arguments[2];t||(0,s.RP)(e,"api");const p={};var b=a.ee.get(e),A=b.get("tracer");y[e]=v.IK.OFF,b.on(h.Ef.REPLAY_RUNNING,(t=>{y[e]=t}));var E="api-",w=E+"ixn-";function _(t,r,n,o){const a=(0,i.C5)(e);return null===r?delete a.jsAttributes[t]:(0,i.CX)(e,{...a,jsAttributes:{...a.jsAttributes,[t]:r}}),T(E,n,!0,o||null===r?"session":void 0)(t,r)}function x(){}g.forEach((e=>{p[e]=T(E,e,!0,"api")})),p.addPageAction=T(E,"addPageAction",!0,n.D.pageAction),p.setPageViewName=function(t,r){if("string"==typeof t)return"/"!==t.charAt(0)&&(t="/"+t),(0,i.OP)(e).customTransaction=(r||"http://custom.transaction")+t,T(E,"setPageViewName",!0)()},p.setCustomAttribute=function(e,t){let r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if("string"==typeof e){if(["string","number","boolean"].includes(typeof t)||null===t)return _(e,t,"setCustomAttribute",r);(0,d.Z)("Failed to execute setCustomAttribute.\nNon-null value must be a string, number or boolean type, but a type of <".concat(typeof t,"> was provided."))}else(0,d.Z)("Failed to execute setCustomAttribute.\nName must be a string type, but a type of <".concat(typeof e,"> was provided."))},p.setUserId=function(e){if("string"==typeof e||null===e)return _("enduser.id",e,"setUserId",!0);(0,d.Z)("Failed to execute setUserId.\nNon-null value must be a string type, but a type of <".concat(typeof e,"> was provided."))},p.setApplicationVersion=function(e){if("string"==typeof e||null===e)return _("application.version",e,"setApplicationVersion",!1);(0,d.Z)("Failed to execute setApplicationVersion. Expected <String | null>, but got <".concat(typeof e,">."))},p.start=e=>{try{const t=e?"defined":"undefined";(0,o.p)(l.xS,["API/start/".concat(t,"/called")],void 0,n.D.metrics,b);const r=Object.values(n.D);if(void 0===e)e=r;else{if((e=Array.isArray(e)&&e.length?e:[e]).some((e=>!r.includes(e))))return(0,d.Z)("Invalid feature name supplied. Acceptable feature names are: ".concat(r));e.includes(n.D.pageViewEvent)||e.push(n.D.pageViewEvent)}e.forEach((e=>{b.emit("".concat(e,"-opt-in"))}))}catch(e){(0,d.Z)("An unexpected issue occurred",e)}},p[h.Ef.RECORD]=function(){(0,o.p)(l.xS,["API/recordReplay/called"],void 0,n.D.metrics,b),(0,o.p)(h.Ef.RECORD,[],void 0,n.D.sessionReplay,b)},p[h.Ef.PAUSE]=function(){(0,o.p)(l.xS,["API/pauseReplay/called"],void 0,n.D.metrics,b),(0,o.p)(h.Ef.PAUSE,[],void 0,n.D.sessionReplay,b)},p.interaction=function(e){return(new x).get("object"==typeof e?e:{})};const R=x.prototype={createTracer:function(e,t){var r={},i=this,a="function"==typeof t;return(0,o.p)(l.xS,["API/createTracer/called"],void 0,n.D.metrics,b),f||(0,o.p)(w+"tracer",[(0,m.z)(),e,r],i,n.D.spa,b),function(){if(A.emit((a?"":"no-")+"fn-start",[(0,m.z)(),i,a],r),a)try{return t.apply(this,arguments)}catch(e){throw A.emit("fn-err",[arguments,this,e],r),e}finally{A.emit("fn-end",[(0,m.z)()],r)}}}};function T(e,t,r,i){return function(){return(0,o.p)(l.xS,["API/"+t+"/called"],void 0,n.D.metrics,b),i&&(0,o.p)(e+t,[(0,m.z)(),...arguments],r?null:this,i,b),r?void 0:this}}function S(){r.e(111).then(r.bind(r,7438)).then((t=>{let{setAPI:r}=t;r(e),(0,s.LP)(e,"api")})).catch((()=>{(0,d.Z)("Downloading runtime APIs failed..."),b.abort()}))}return["actionText","setName","setAttribute","save","ignore","onEnd","getContext","end","get"].forEach((e=>{R[e]=T(w,e,void 0,f?n.D.softNav:n.D.spa)})),p.setCurrentRouteName=f?T(w,"routeName",void 0,n.D.softNav):T(E,"routeName",!0,n.D.spa),p.noticeError=function(t,r){"string"==typeof t&&(t=new Error(t)),(0,o.p)(l.xS,["API/noticeError/called"],void 0,n.D.metrics,b),(0,o.p)("err",[t,(0,m.z)(),!1,r,!!y[e]],void 0,n.D.jserrors,b)},u.il?(0,c.b2)((()=>S()),!0):S(),p}(e.agentIdentifier,_,e.runSoftNavOverSpa)),void 0===e.exposed&&(e.exposed=N),w=!0}},8993:(e,t,r)=>{r.nc=(()=>{try{return document?.currentScript?.nonce}catch(e){}return""})()},3325:(e,t,r)=>{"use strict";r.d(t,{D:()=>n,p:()=>i});const n={ajax:"ajax",jserrors:"jserrors",metrics:"metrics",pageAction:"page_action",pageViewEvent:"page_view_event",pageViewTiming:"page_view_timing",sessionReplay:"session_replay",sessionTrace:"session_trace",softNav:"soft_navigations",spa:"spa"},i={[n.pageViewEvent]:1,[n.pageViewTiming]:2,[n.metrics]:3,[n.jserrors]:4,[n.ajax]:5,[n.sessionTrace]:6,[n.pageAction]:7,[n.spa]:8,[n.softNav]:9,[n.sessionReplay]:10}}},n={};function i(e){var t=n[e];if(void 0!==t)return t.exports;var o=n[e]={exports:{}};return r[e](o,o.exports,i),o.exports}i.m=r,i.d=(e,t)=>{for(var r in t)i.o(t,r)&&!i.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},i.f={},i.e=e=>Promise.all(Object.keys(i.f).reduce(((t,r)=>(i.f[r](e,t),t)),[])),i.u=e=>({111:"nr-spa",164:"nr-spa-compressor",433:"nr-spa-recorder"}[e]+"-1.258.0.min.js"),i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),e={},t="NRBA-1.258.0.PROD:",i.l=(r,n,o,a)=>{if(e[r])e[r].push(n);else{var s,c;if(void 0!==o)for(var u=document.getElementsByTagName("script"),d=0;d<u.length;d++){var l=u[d];if(l.getAttribute("src")==r||l.getAttribute("data-webpack")==t+o){s=l;break}}if(!s){c=!0;var f={111:"sha512-VtcT/3vIpW0x3W7ieQKwIH5KCShV9/dJHKD8JDZpMi1DtDM1KBlgK6h6U/hvYr6wqcfN4VvuqQlDkanCOANUkA==",433:"sha512-zsJmns7m1GrWgTuGcWUxWULNb2v8EUHy6YX29uu/BPAQ50QyBWsfbEr7/GNp3IQAc2uKUHv8dQeYZrpeA1rdTA==",164:"sha512-rXGHK+coMfbak2EBAE5UkG05IbDCXC9QOiDR23+yIeiNoHwYZbthicTQdCmXlvFPLQv8ujFjuFtieQmCv/pcEQ=="};(s=document.createElement("script")).charset="utf-8",s.timeout=120,i.nc&&s.setAttribute("nonce",i.nc),s.setAttribute("data-webpack",t+o),s.src=r,0!==s.src.indexOf(window.location.origin+"/")&&(s.crossOrigin="anonymous"),f[a]&&(s.integrity=f[a])}e[r]=[n];var h=(t,n)=>{s.onerror=s.onload=null,clearTimeout(p);var i=e[r];if(delete e[r],s.parentNode&&s.parentNode.removeChild(s),i&&i.forEach((e=>e(n))),t)return t(n)},p=setTimeout(h.bind(null,void 0,{type:"timeout",target:s}),12e4);s.onerror=h.bind(null,s.onerror),s.onload=h.bind(null,s.onload),c&&document.head.appendChild(s)}},i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.p="https://js-agent.newrelic.com/",(()=>{var e={801:0,92:0};i.f.j=(t,r)=>{var n=i.o(e,t)?e[t]:void 0;if(0!==n)if(n)r.push(n[2]);else{var o=new Promise(((r,i)=>n=e[t]=[r,i]));r.push(n[2]=o);var a=i.p+i.u(t),s=new Error;i.l(a,(r=>{if(i.o(e,t)&&(0!==(n=e[t])&&(e[t]=void 0),n)){var o=r&&("load"===r.type?"missing":r.type),a=r&&r.target&&r.target.src;s.message="Loading chunk "+t+" failed.\n("+o+": "+a+")",s.name="ChunkLoadError",s.type=o,s.request=a,n[1](s)}}),"chunk-"+t,t)}};var t=(t,r)=>{var n,o,[a,s,c]=r,u=0;if(a.some((t=>0!==e[t]))){for(n in s)i.o(s,n)&&(i.m[n]=s[n]);if(c)c(i)}for(t&&t(r);u<a.length;u++)o=a[u],i.o(e,o)&&e[o]&&e[o][0](),e[o]=0},r=self["webpackChunk:NRBA-1.258.0.PROD"]=self["webpackChunk:NRBA-1.258.0.PROD"]||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))})(),(()=>{"use strict";i(8993);var e=i(50),t=i(7144),r=i(4402);class n{agentIdentifier;constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:(0,r.ky)(16);this.agentIdentifier=e}#e(t){for(var r=arguments.length,n=new Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];if("function"==typeof this.api?.[t])return this.api[t](...n);(0,e.Z)("Call to agent api ".concat(t," failed. The API is not currently initialized."))}addPageAction(e,t){return this.#e("addPageAction",e,t)}setPageViewName(e,t){return this.#e("setPageViewName",e,t)}setCustomAttribute(e,t,r){return this.#e("setCustomAttribute",e,t,r)}noticeError(e,t){return this.#e("noticeError",e,t)}setUserId(e){return this.#e("setUserId",e)}setApplicationVersion(e){return this.#e("setApplicationVersion",e)}setErrorHandler(e){return this.#e("setErrorHandler",e)}finished(e){return this.#e("finished",e)}addRelease(e,t){return this.#e("addRelease",e,t)}start(e){return this.#e("start",e)}recordReplay(){return this.#e(t.Ef.RECORD)}pauseReplay(){return this.#e(t.Ef.PAUSE)}addToTrace(e){return this.#e("addToTrace",e)}setCurrentRouteName(e){return this.#e("setCurrentRouteName",e)}interaction(){return this.#e("interaction")}}var o=i(3325),a=i(234);const s=Object.values(o.D);function c(e){const t={};return s.forEach((r=>{t[r]=function(e,t){return!0===(0,a.Mt)(t,"".concat(e,".enabled"))}(r,e)})),t}var u=i(2758);var d=i(8e3),l=i(5938),f=i(3960),h=i(385),p=i(3112),g=i(7872);class m extends l.W{constructor(e,t,r){let n=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];super(e,t,r),this.auto=n,this.abortHandler=void 0,this.featAggregate=void 0,this.onAggregateImported=void 0,!1===(0,a.Mt)(this.agentIdentifier,"".concat(this.featureName,".autoStart"))&&(this.auto=!1),this.auto?(0,d.RP)(e,r):this.ee.on("".concat(this.featureName,"-opt-in"),(0,g.Z)((()=>{(0,d.RP)(this.agentIdentifier,this.featureName),this.auto=!0,this.importAggregator()})))}importAggregator(){let t,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(this.featAggregate||!this.auto)return;this.onAggregateImported=new Promise((e=>{t=e}));const n=async()=>{let n;try{if((0,p.ev)(this.agentIdentifier)){const{setupAgentSession:e}=await i.e(111).then(i.bind(i,9446));n=e(this.agentIdentifier)}}catch(t){(0,e.Z)("A problem occurred when starting up session manager. This page will not start or extend any session.",t),this.featureName===o.D.sessionReplay&&this.abortHandler?.()}try{if(!this.#t(this.featureName,n))return(0,d.LP)(this.agentIdentifier,this.featureName),void t(!1);const{lazyFeatureLoader:e}=await i.e(111).then(i.bind(i,8582)),{Aggregate:o}=await e(this.featureName,"aggregate");this.featAggregate=new o(this.agentIdentifier,this.aggregator,r),t(!0)}catch(r){(0,e.Z)("Downloading and initializing ".concat(this.featureName," failed..."),r),this.abortHandler?.(),(0,d.LP)(this.agentIdentifier,this.featureName,!0),t(!1),this.ee&&this.ee.abort()}};h.il?(0,f.b2)((()=>n()),!0):n()}#t(e,t){return e!==o.D.sessionReplay||(0,p.HM)(this.agentIdentifier,t)}}var v=i(7633);class b extends m{static featureName=v.t;constructor(e,t){let r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];super(e,t,v.t,r),this.importAggregator()}}var y=i(1117),A=i(1284);class E extends y.w{constructor(e){super(e),this.aggregatedData={}}store(e,t,r,n,i){var o=this.getBucket(e,t,r,i);return o.metrics=function(e,t){t||(t={count:0});return t.count+=1,(0,A.D)(e,(function(e,r){t[e]=w(r,t[e])})),t}(n,o.metrics),o}merge(e,t,r,n,i){var o=this.getBucket(e,t,n,i);if(o.metrics){var a=o.metrics;a.count+=r.count,(0,A.D)(r,(function(e,t){if("count"!==e){var n=a[e],i=r[e];i&&!i.c?a[e]=w(i.t,n):a[e]=function(e,t){if(!t)return e;t.c||(t=_(t.t));return t.min=Math.min(e.min,t.min),t.max=Math.max(e.max,t.max),t.t+=e.t,t.sos+=e.sos,t.c+=e.c,t}(i,a[e])}}))}else o.metrics=r}storeMetric(e,t,r,n){var i=this.getBucket(e,t,r);return i.stats=w(n,i.stats),i}getBucket(e,t,r,n){this.aggregatedData[e]||(this.aggregatedData[e]={});var i=this.aggregatedData[e][t];return i||(i=this.aggregatedData[e][t]={params:r||{}},n&&(i.custom=n)),i}get(e,t){return t?this.aggregatedData[e]&&this.aggregatedData[e][t]:this.aggregatedData[e]}take(e){for(var t={},r="",n=!1,i=0;i<e.length;i++)t[r=e[i]]=Object.values(this.aggregatedData[r]||{}),t[r].length&&(n=!0),delete this.aggregatedData[r];return n?t:null}}function w(e,t){return null==e?function(e){e?e.c++:e={c:1};return e}(t):t?(t.c||(t=_(t.t)),t.c+=1,t.t+=e,t.sos+=e*e,e>t.max&&(t.max=e),e<t.min&&(t.min=e),t):{t:e}}function _(e){return{t:e,min:e,max:e,sos:e*e,c:1}}var x=i(8632),R=i(4351);var T=i(5546),S=i(7956),N=i(3239),D=i(9251),O=i(7894);class I extends m{static featureName=D.t;constructor(e,t){let r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];super(e,t,D.t,r),h.il&&((0,S.N)((()=>(0,T.p)("docHidden",[(0,O.z)()],void 0,D.t,this.ee)),!0),(0,N.bP)("pagehide",(()=>(0,T.p)("winPagehide",[(0,O.z)()],void 0,D.t,this.ee))),this.importAggregator())}}var P=i(3081);class C extends m{static featureName=P.t9;constructor(e,t){let r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];super(e,t,P.t9,r),this.importAggregator()}}var j=i(6660);class k{constructor(e,t,r,n){this.name="UncaughtError",this.message=e,this.sourceURL=t,this.line=r,this.column=n}}class M extends m{static featureName=j.t;#r=new Set;#n=!1;constructor(e,r){let n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];super(e,r,j.t,n);try{this.removeOnAbort=new AbortController}catch(e){}this.ee.on("fn-err",((e,t,r)=>{this.abortHandler&&!this.#r.has(r)&&(this.#r.add(r),(0,T.p)("err",[this.#i(r),(0,O.z)()],void 0,o.D.jserrors,this.ee))})),this.ee.on("internal-error",(e=>{this.abortHandler&&(0,T.p)("ierr",[this.#i(e),(0,O.z)(),!0,{},this.#n],void 0,o.D.jserrors,this.ee)})),this.ee.on(t.Ef.REPLAY_RUNNING,(e=>{this.#n=e})),h._A.addEventListener("unhandledrejection",(e=>{this.abortHandler&&(0,T.p)("err",[this.#o(e),(0,O.z)(),!1,{unhandledPromiseRejection:1},this.#n],void 0,o.D.jserrors,this.ee)}),(0,N.m$)(!1,this.removeOnAbort?.signal)),h._A.addEventListener("error",(e=>{this.abortHandler&&(this.#r.has(e.error)?this.#r.delete(e.error):(0,T.p)("err",[this.#a(e),(0,O.z)(),!1,{},this.#n],void 0,o.D.jserrors,this.ee))}),(0,N.m$)(!1,this.removeOnAbort?.signal)),this.abortHandler=this.#s,this.importAggregator()}#s(){this.removeOnAbort?.abort(),this.#r.clear(),this.abortHandler=void 0}#i(e){return e instanceof Error?e:void 0!==e?.message?new k(e.message,e.filename||e.sourceURL,e.lineno||e.line,e.colno||e.col):new k("string"==typeof e?e:(0,R.P)(e))}#o(e){let t="Unhandled Promise Rejection: ";if(e?.reason instanceof Error)try{return e.reason.message=t+e.reason.message,e.reason}catch(t){return e.reason}if(void 0===e.reason)return new k(t);const r=this.#i(e.reason);return r.message=t+r.message,r}#a(e){if(e.error instanceof SyntaxError&&!/:\d+$/.test(e.error.stack?.trim())){const t=new k(e.message,e.filename,e.lineno,e.colno);return t.name=SyntaxError.name,t}return e.error instanceof Error?e.error:new k(e.message,e.filename,e.lineno,e.colno)}}var H=i(2210);let L=1;const U="nr@id";function z(e){const t=typeof e;return!e||"object"!==t&&"function"!==t?-1:e===h._A?0:(0,H.X)(e,U,(function(){return L++}))}function F(e){if("string"==typeof e&&e.length)return e.length;if("object"==typeof e){if("undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer&&e.byteLength)return e.byteLength;if("undefined"!=typeof Blob&&e instanceof Blob&&e.size)return e.size;if(!("undefined"!=typeof FormData&&e instanceof FormData))try{return(0,R.P)(e).length}catch(e){return}}}var B=i(7806),G=i(7243);class q{constructor(e){this.agentIdentifier=e}generateTracePayload(e){if(!this.shouldGenerateTrace(e))return null;var t=(0,a.DL)(this.agentIdentifier);if(!t)return null;var n=(t.accountID||"").toString()||null,i=(t.agentID||"").toString()||null,o=(t.trustKey||"").toString()||null;if(!n||!i)return null;var s=(0,r.M)(),c=(0,r.Ht)(),u=Date.now(),d={spanId:s,traceId:c,timestamp:u};return(e.sameOrigin||this.isAllowedOrigin(e)&&this.useTraceContextHeadersForCors())&&(d.traceContextParentHeader=this.generateTraceContextParentHeader(s,c),d.traceContextStateHeader=this.generateTraceContextStateHeader(s,u,n,i,o)),(e.sameOrigin&&!this.excludeNewrelicHeader()||!e.sameOrigin&&this.isAllowedOrigin(e)&&this.useNewrelicHeaderForCors())&&(d.newrelicHeader=this.generateTraceHeader(s,c,u,n,i,o)),d}generateTraceContextParentHeader(e,t){return"00-"+t+"-"+e+"-01"}generateTraceContextStateHeader(e,t,r,n,i){return i+"@nr=0-1-"+r+"-"+n+"-"+e+"----"+t}generateTraceHeader(e,t,r,n,i,o){if(!("function"==typeof h._A?.btoa))return null;var a={v:[0,1],d:{ty:"Browser",ac:n,ap:i,id:e,tr:t,ti:r}};return o&&n!==o&&(a.d.tk=o),btoa((0,R.P)(a))}shouldGenerateTrace(e){return this.isDtEnabled()&&this.isAllowedOrigin(e)}isAllowedOrigin(e){var t=!1,r={};if((0,a.Mt)(this.agentIdentifier,"distributed_tracing")&&(r=(0,a.P_)(this.agentIdentifier).distributed_tracing),e.sameOrigin)t=!0;else if(r.allowed_origins instanceof Array)for(var n=0;n<r.allowed_origins.length;n++){var i=(0,G.e)(r.allowed_origins[n]);if(e.hostname===i.hostname&&e.protocol===i.protocol&&e.port===i.port){t=!0;break}}return t}isDtEnabled(){var e=(0,a.Mt)(this.agentIdentifier,"distributed_tracing");return!!e&&!!e.enabled}excludeNewrelicHeader(){var e=(0,a.Mt)(this.agentIdentifier,"distributed_tracing");return!!e&&!!e.exclude_newrelic_header}useNewrelicHeaderForCors(){var e=(0,a.Mt)(this.agentIdentifier,"distributed_tracing");return!!e&&!1!==e.cors_use_newrelic_header}useTraceContextHeadersForCors(){var e=(0,a.Mt)(this.agentIdentifier,"distributed_tracing");return!!e&&!!e.cors_use_tracecontext_headers}}var V=i(7825),Z=["load","error","abort","timeout"],K=Z.length,W=a.Yu.REQ,X=a.Yu.XHR;class Y extends m{static featureName=V.t;constructor(e,t){let r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];super(e,t,V.t,r),this.dt=new q(e),this.handler=(e,t,r,n)=>(0,T.p)(e,t,r,n,this.ee);try{const e={xmlhttprequest:"xhr",fetch:"fetch",beacon:"beacon"};h._A?.performance?.getEntriesByType("resource").forEach((t=>{if(t.initiatorType in e&&0!==t.responseStatus){const r={status:t.responseStatus},n={rxSize:t.transferSize,duration:Math.floor(t.duration),cbTime:0};J(r,t.name),this.handler("xhr",[r,n,t.startTime,t.responseEnd,e[t.initiatorType]],void 0,o.D.ajax)}}))}catch(e){}(0,B.u5)(this.ee),(0,B.Kf)(this.ee),function(e,t,r,n){function i(e){var t=this;t.totalCbs=0,t.called=0,t.cbTime=0,t.end=w,t.ended=!1,t.xhrGuids={},t.lastSize=null,t.loadCaptureCalled=!1,t.params=this.params||{},t.metrics=this.metrics||{},e.addEventListener("load",(function(r){_(t,e)}),(0,N.m$)(!1)),h.IF||e.addEventListener("progress",(function(e){t.lastSize=e.loaded}),(0,N.m$)(!1))}function s(e){this.params={method:e[0]},J(this,e[1]),this.metrics={}}function c(t,r){var i=(0,a.DL)(e);i.xpid&&this.sameOrigin&&r.setRequestHeader("X-NewRelic-ID",i.xpid);var o=n.generateTracePayload(this.parsedOrigin);if(o){var s=!1;o.newrelicHeader&&(r.setRequestHeader("newrelic",o.newrelicHeader),s=!0),o.traceContextParentHeader&&(r.setRequestHeader("traceparent",o.traceContextParentHeader),o.traceContextStateHeader&&r.setRequestHeader("tracestate",o.traceContextStateHeader),s=!0),s&&(this.dt=o)}}function u(e,r){var n=this.metrics,i=e[0],o=this;if(n&&i){var a=F(i);a&&(n.txSize=a)}this.startTime=(0,O.z)(),this.body=i,this.listener=function(e){try{"abort"!==e.type||o.loadCaptureCalled||(o.params.aborted=!0),("load"!==e.type||o.called===o.totalCbs&&(o.onloadCalled||"function"!=typeof r.onload)&&"function"==typeof o.end)&&o.end(r)}catch(e){try{t.emit("internal-error",[e])}catch(e){}}};for(var s=0;s<K;s++)r.addEventListener(Z[s],this.listener,(0,N.m$)(!1))}function d(e,t,r){this.cbTime+=e,t?this.onloadCalled=!0:this.called+=1,this.called!==this.totalCbs||!this.onloadCalled&&"function"==typeof r.onload||"function"!=typeof this.end||this.end(r)}function l(e,t){var r=""+z(e)+!!t;this.xhrGuids&&!this.xhrGuids[r]&&(this.xhrGuids[r]=!0,this.totalCbs+=1)}function f(e,t){var r=""+z(e)+!!t;this.xhrGuids&&this.xhrGuids[r]&&(delete this.xhrGuids[r],this.totalCbs-=1)}function p(){this.endTime=(0,O.z)()}function g(e,r){r instanceof X&&"load"===e[0]&&t.emit("xhr-load-added",[e[1],e[2]],r)}function m(e,r){r instanceof X&&"load"===e[0]&&t.emit("xhr-load-removed",[e[1],e[2]],r)}function v(e,t,r){t instanceof X&&("onload"===r&&(this.onload=!0),("load"===(e[0]&&e[0].type)||this.onload)&&(this.xhrCbStart=(0,O.z)()))}function b(e,r){this.xhrCbStart&&t.emit("xhr-cb-time",[(0,O.z)()-this.xhrCbStart,this.onload,r],r)}function y(e){var t,r=e[1]||{};if("string"==typeof e[0]?0===(t=e[0]).length&&h.il&&(t=""+h._A.location.href):e[0]&&e[0].url?t=e[0].url:h._A?.URL&&e[0]&&e[0]instanceof URL?t=e[0].href:"function"==typeof e[0].toString&&(t=e[0].toString()),"string"==typeof t&&0!==t.length){t&&(this.parsedOrigin=(0,G.e)(t),this.sameOrigin=this.parsedOrigin.sameOrigin);var i=n.generateTracePayload(this.parsedOrigin);if(i&&(i.newrelicHeader||i.traceContextParentHeader))if(e[0]&&e[0].headers)s(e[0].headers,i)&&(this.dt=i);else{var o={};for(var a in r)o[a]=r[a];o.headers=new Headers(r.headers||{}),s(o.headers,i)&&(this.dt=i),e.length>1?e[1]=o:e.push(o)}}function s(e,t){var r=!1;return t.newrelicHeader&&(e.set("newrelic",t.newrelicHeader),r=!0),t.traceContextParentHeader&&(e.set("traceparent",t.traceContextParentHeader),t.traceContextStateHeader&&e.set("tracestate",t.traceContextStateHeader),r=!0),r}}function A(e,t){this.params={},this.metrics={},this.startTime=(0,O.z)(),this.dt=t,e.length>=1&&(this.target=e[0]),e.length>=2&&(this.opts=e[1]);var r,n=this.opts||{},i=this.target;"string"==typeof i?r=i:"object"==typeof i&&i instanceof W?r=i.url:h._A?.URL&&"object"==typeof i&&i instanceof URL&&(r=i.href),J(this,r);var o=(""+(i&&i instanceof W&&i.method||n.method||"GET")).toUpperCase();this.params.method=o,this.body=n.body,this.txSize=F(n.body)||0}function E(e,t){var n;this.endTime=(0,O.z)(),this.params||(this.params={}),this.params.status=t?t.status:0,"string"==typeof this.rxSize&&this.rxSize.length>0&&(n=+this.rxSize);var i={txSize:this.txSize,rxSize:n,duration:(0,O.z)()-this.startTime};r("xhr",[this.params,i,this.startTime,this.endTime,"fetch"],this,o.D.ajax)}function w(e){var t=this.params,n=this.metrics;if(!this.ended){this.ended=!0;for(var i=0;i<K;i++)e.removeEventListener(Z[i],this.listener,!1);t.aborted||(n.duration=(0,O.z)()-this.startTime,this.loadCaptureCalled||4!==e.readyState?null==t.status&&(t.status=0):_(this,e),n.cbTime=this.cbTime,r("xhr",[t,n,this.startTime,this.endTime,"xhr"],this,o.D.ajax))}}function _(e,r){e.params.status=r.status;var n=function(e,t){var r=e.responseType;return"json"===r&&null!==t?t:"arraybuffer"===r||"blob"===r||"json"===r?F(e.response):"text"===r||""===r||void 0===r?F(e.responseText):void 0}(r,e.lastSize);if(n&&(e.metrics.rxSize=n),e.sameOrigin){var i=r.getResponseHeader("X-NewRelic-App-Data");i&&((0,T.p)(P.mY,["Ajax/CrossApplicationTracing/Header/Seen"],void 0,o.D.metrics,t),e.params.cat=i.split(", ").pop())}e.loadCaptureCalled=!0}t.on("new-xhr",i),t.on("open-xhr-start",s),t.on("open-xhr-end",c),t.on("send-xhr-start",u),t.on("xhr-cb-time",d),t.on("xhr-load-added",l),t.on("xhr-load-removed",f),t.on("xhr-resolved",p),t.on("addEventListener-end",g),t.on("removeEventListener-end",m),t.on("fn-end",b),t.on("fetch-before-start",y),t.on("fetch-start",A),t.on("fn-start",v),t.on("fetch-done",E)}(e,this.ee,this.handler,this.dt),this.importAggregator()}}function J(e,t){var r=(0,G.e)(t),n=e.params||e;n.hostname=r.hostname,n.port=r.port,n.protocol=r.protocol,n.host=r.hostname+":"+r.port,n.pathname=r.pathname,e.parsedOrigin=r,e.sameOrigin=r.sameOrigin}var Q=i(3614);const{BST_RESOURCE:ee,RESOURCE:te,START:re,END:ne,FEATURE_NAME:ie,FN_END:oe,FN_START:ae,PUSH_STATE:se}=Q;var ce=i(7056);class ue extends m{static featureName=t.t9;constructor(e,r){let n,i=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];super(e,r,t.t9,i),this.replayRunning=!1;try{n=JSON.parse(localStorage.getItem("".concat(ce.Bq,"_").concat(ce.K4)))}catch(e){}this.#c(n)?this.#u(n?.sessionReplayMode):this.importAggregator(),this.ee.on("err",(e=>{this.replayRunning&&(this.errorNoticed=!0,(0,T.p)(t.Ef.ERROR_DURING_REPLAY,[e],void 0,this.featureName,this.ee))})),this.ee.on(t.Ef.REPLAY_RUNNING,(e=>{this.replayRunning=e}))}#c(e){return e&&(e.sessionReplayMode===ce.IK.FULL||e.sessionReplayMode===ce.IK.ERROR)||(0,p.rU)(this.agentIdentifier)}async#u(e){const{Recorder:t}=await Promise.all([i.e(111),i.e(433)]).then(i.bind(i,4345));this.recorder=new t({mode:e,agentIdentifier:this.agentIdentifier,ee:this.ee}),this.recorder.startRecording(),this.abortHandler=this.recorder.stopRecording,this.importAggregator({recorder:this.recorder,errorNoticed:this.errorNoticed})}}var de=i(6216);class le extends m{static featureName=de.t9;constructor(e,t){let r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(super(e,t,de.t9,r),!h.il||!a.Yu.MO)return;const n=(0,B.QU)(this.ee),i=(0,B.em)(this.ee),o=()=>(0,T.p)("newURL",[(0,O.z)(),""+window.location],void 0,this.featureName,this.ee);n.on("pushState-end",o),n.on("replaceState-end",o);try{this.removeOnAbort=new AbortController}catch(e){}(0,N.bP)("popstate",(e=>(0,T.p)("newURL",[e.timeStamp,""+window.location],void 0,this.featureName,this.ee)),!0,this.removeOnAbort?.signal);let s=!1;const c=new a.Yu.MO(((e,t)=>{s||(s=!0,requestAnimationFrame((()=>{(0,T.p)("newDom",[(0,O.z)()],void 0,this.featureName,this.ee),s=!1})))})),u=(0,g.D)((e=>{(0,T.p)("newUIEvent",[e],void 0,this.featureName,this.ee),c.observe(document.body,{attributes:!0,childList:!0,subtree:!0,characterData:!0})}),100,{leading:!0});i.on("fn-start",(e=>{let[t]=e;de.sE.includes(t?.type)&&u(t)}));for(let e of de.sE)document.addEventListener(e,(()=>{}));this.abortHandler=function(){this.removeOnAbort?.abort(),c.disconnect(),this.abortHandler=void 0},this.importAggregator({domObserver:c})}}var fe=i(7836);const{FEATURE_NAME:he,START:pe,END:ge,BODY:me,CB_END:ve,JS_TIME:be,FETCH:ye,FN_START:Ae,CB_START:Ee,FN_END:we}=fe;var _e=i(4649);class xe extends m{static featureName=_e.t;constructor(e,t){let r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];super(e,t,_e.t,r),this.importAggregator()}}new class extends n{constructor(t,r){super(r),h._A?(this.sharedAggregator=new E({agentIdentifier:this.agentIdentifier}),this.features={},(0,x.h5)(this.agentIdentifier,this),this.desiredFeatures=new Set(t.features||[]),this.desiredFeatures.add(b),this.runSoftNavOverSpa=[...this.desiredFeatures].some((e=>e.featureName===o.D.softNav)),(0,u.j)(this,t,t.loaderType||"agent"),this.run()):(0,e.Z)("Failed to initialize the agent. Could not determine the runtime environment.")}get config(){return{info:this.info,init:this.init,loader_config:this.loader_config,runtime:this.runtime}}run(){try{const t=c(this.agentIdentifier),r=[...this.desiredFeatures];r.sort(((e,t)=>o.p[e.featureName]-o.p[t.featureName])),r.forEach((r=>{if(!t[r.featureName]&&r.featureName!==o.D.pageViewEvent)return;if(this.runSoftNavOverSpa&&r.featureName===o.D.spa)return;if(!this.runSoftNavOverSpa&&r.featureName===o.D.softNav)return;const n=function(e){switch(e){case o.D.ajax:return[o.D.jserrors];case o.D.sessionTrace:return[o.D.ajax,o.D.pageViewEvent];case o.D.sessionReplay:return[o.D.sessionTrace];case o.D.pageViewTiming:return[o.D.pageViewEvent];default:return[]}}(r.featureName);n.every((e=>e in this.features))||(0,e.Z)("".concat(r.featureName," is enabled but one or more dependent features has not been initialized (").concat((0,R.P)(n),"). This may cause unintended consequences or missing data...")),this.features[r.featureName]=new r(this.agentIdentifier,this.sharedAggregator)}))}catch(t){(0,e.Z)("Failed to initialize all enabled instrument classes (agent aborted) -",t);for(const e in this.features)this.features[e].abortHandler?.();const r=(0,x.fP)();delete r.initializedAgents[this.agentIdentifier]?.api,delete r.initializedAgents[this.agentIdentifier]?.features,delete this.sharedAggregator;return r.ee.get(this.agentIdentifier).abort(),!1}}}({features:[Y,b,I,class extends m{static featureName=ie;constructor(e,t){if(super(e,t,ie,!(arguments.length>2&&void 0!==arguments[2])||arguments[2]),!h.il)return;const r=this.ee;let n;(0,B.QU)(r),this.eventsEE=(0,B.em)(r),this.eventsEE.on(ae,(function(e,t){this.bstStart=(0,O.z)()})),this.eventsEE.on(oe,(function(e,t){(0,T.p)("bst",[e[0],t,this.bstStart,(0,O.z)()],void 0,o.D.sessionTrace,r)})),r.on(se+re,(function(e){this.time=(0,O.z)(),this.startPath=location.pathname+location.hash})),r.on(se+ne,(function(e){(0,T.p)("bstHist",[location.pathname+location.hash,this.startPath,this.time],void 0,o.D.sessionTrace,r)}));try{n=new PerformanceObserver((e=>{const t=e.getEntries();(0,T.p)(ee,[t],void 0,o.D.sessionTrace,r)})),n.observe({type:te,buffered:!0})}catch(e){}this.importAggregator({resourceObserver:n})}},ue,C,xe,M,le,class extends m{static featureName=he;constructor(e,t){if(super(e,t,he,!(arguments.length>2&&void 0!==arguments[2])||arguments[2]),!h.il)return;try{this.removeOnAbort=new AbortController}catch(e){}let r,n=0;const i=this.ee.get("tracer"),o=(0,B._L)(this.ee),a=(0,B.Lg)(this.ee),s=(0,B.BV)(this.ee),c=(0,B.Kf)(this.ee),u=this.ee.get("events"),d=(0,B.u5)(this.ee),l=(0,B.QU)(this.ee),f=(0,B.Gm)(this.ee);function p(e,t){l.emit("newURL",[""+window.location,t])}function g(){n++,r=window.location.hash,this[Ae]=(0,O.z)()}function m(){n--,window.location.hash!==r&&p(0,!0);var e=(0,O.z)();this[be]=~~this[be]+e-this[Ae],this[we]=e}function v(e,t){e.on(t,(function(){this[t]=(0,O.z)()}))}this.ee.on(Ae,g),a.on(Ee,g),o.on(Ee,g),this.ee.on(we,m),a.on(ve,m),o.on(ve,m),this.ee.buffer([Ae,we,"xhr-resolved"],this.featureName),u.buffer([Ae],this.featureName),s.buffer(["setTimeout"+ge,"clearTimeout"+pe,Ae],this.featureName),c.buffer([Ae,"new-xhr","send-xhr"+pe],this.featureName),d.buffer([ye+pe,ye+"-done",ye+me+pe,ye+me+ge],this.featureName),l.buffer(["newURL"],this.featureName),f.buffer([Ae],this.featureName),a.buffer(["propagate",Ee,ve,"executor-err","resolve"+pe],this.featureName),i.buffer([Ae,"no-"+Ae],this.featureName),o.buffer(["new-jsonp","cb-start","jsonp-error","jsonp-end"],this.featureName),v(d,ye+pe),v(d,ye+"-done"),v(o,"new-jsonp"),v(o,"jsonp-end"),v(o,"cb-start"),l.on("pushState-end",p),l.on("replaceState-end",p),window.addEventListener("hashchange",p,(0,N.m$)(!0,this.removeOnAbort?.signal)),window.addEventListener("load",p,(0,N.m$)(!0,this.removeOnAbort?.signal)),window.addEventListener("popstate",(function(){p(0,n>1)}),(0,N.m$)(!0,this.removeOnAbort?.signal)),this.abortHandler=this.#s,this.importAggregator()}#s(){this.removeOnAbort?.abort(),this.abortHandler=void 0}}],loaderType:"spa"})})()})();</script>
  66.  <!-- Required -->
  67.  
  68.  <!--[if lt IE 9]>
  69.  <link rel="stylesheet" type="text/css" href="https://notionpress.com/css/ie-style.css" />
  70.  <![endif]-->
  71.  
  72.  <!--[if IE]>
  73.  <style>
  74.    .digital-giveaway-btn img{top: 10px;}
  75.  </style>
  76.  <![endif]-->
  77.  
  78.   <!-- <link href="https://notionpress.com/css/newdesign.css?631296315" rel="stylesheet" type="text/css" media="screen"> -->
  79.     <link rel="icon" href="https://notionpress.com/images/favicon1.png" type="image/png"><!-- LayerSlider stylesheet -->
  80.  <script>var base_url = 'https://notionpress.com/';var segment1 = "author";var segment2 = "520300";</script>
  81.  
  82.  <!-- <script type="text/javascript" src="https://notionpress.com/rewamp/js/script.js?631296315"></script> -->
  83.  
  84.  
  85.    
  86.      <!-- <script src="https://notionpress.com/js/maxheight.js"></script> -->
  87.  
  88.  
  89. <!-- Google Tag Manager --> <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f); })(window,document,'script','dataLayer','GTM-WNBFJ7Q');</script> <!-- End Google Tag Manager -->
  90. <link rel="alternate" href="https://notionpress.com/" hreflang="en-in" />
  91. <!-- End Facebook Pixel Code -->
  92.  
  93. <script type="text/javascript">
  94. var home_landing_txt = "Home";
  95. $(document).ready(function(){
  96.  $(".navbar-toggle").click(function(){
  97.    $(".navbar-right").slideToggle();
  98.  });
  99.  // var a = $(".leftNav .dropdown.collectiondropdown .dropcontent").find("ul").length;
  100.  // var b= 150*2;
  101.  // $('.leftNav .dropdown.collectiondropdown .dropcontent').css("min-width", b);
  102.  });
  103. </script>
  104.  
  105. <style>
  106.  
  107.  #owl-demo .item{
  108.  background: #fff;
  109.  padding: 15px 12px;
  110.  margin: 5px;
  111.  color: #000;
  112.  -webkit-border-radius: 3px;
  113.  -moz-border-radius: 3px;
  114.  border-radius: 3px;
  115.  text-align: center;
  116. }
  117. .customNavigation{
  118.  text-align: center;
  119. }
  120. /*//use styles below to disable ugly selection*/
  121. .customNavigation a{
  122.  -webkit-user-select: none;
  123.  -khtml-user-select: none;
  124.  -moz-user-select: none;
  125.  -ms-user-select: none;
  126.  user-select: none;
  127.  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  128. }
  129.  
  130. /*new*/
  131. .select2-container--default .select2-selection--single {
  132.     background-color: transparent !important;
  133.     border: 1px solid transparent !important;
  134.    border-radius: 4px;
  135. }
  136. .select2-container {
  137.    z-index: 2001;
  138.    width: auto !important;
  139. }
  140. .select2-container--default .select2-selection--single .select2-selection__rendered {
  141.    width: 0;
  142.    font-size: 0;
  143. }
  144. .select2-container--default .select2-selection--single .select2-selection__arrow b {
  145.    border-color: #fff transparent transparent transparent !important;
  146. }
  147. .select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
  148.    border-color: transparent transparent #fff transparent !important;
  149. }
  150.  
  151. .owl-loading{
  152.  display:block !important;
  153. }
  154.  
  155. </style>
  156. <!-- <script src="https://cdnjs.cloudflare.com/ajax/libs/OwlCarousel2/2.3.4/owl.carousel.min.js"></script> -->
  157. <script src="https://notionpress.com/assets/bookstroe_design/js/owl.js?version=923"></script>
  158. <script type="text/javascript" src="https://notionpress.com/assets/bookstroe_design/js/book_store_banner_slider.js?631296315"></script>
  159. <link href="https://cdnjs.cloudflare.com/ajax/libs/OwlCarousel2/2.3.4/assets/owl.carousel.min.css" rel="stylesheet">
  160. <!-- <link href="https://notionpress.com/assets/bookstroe_design/js/owl.css" rel="stylesheet"> -->
  161. <link href="https://cdnjs.cloudflare.com/ajax/libs/OwlCarousel2/2.3.4/assets/owl.theme.default.css" rel="stylesheet">
  162. <link href="https://fonts.googleapis.com/css?family=Nixie+One|Heebo:100,200,300,400,500,600,700,800" rel="stylesheet">
  163. <link href="https://fonts.googleapis.com/css?family=Lato:100,100i,300,300i,400,400i,700,700i,900,900i" rel="stylesheet">
  164. </head><style type="text/css">
  165. .nopadding{padding: 0;}
  166. .readinsta_topnav .top-menu{display: none;}
  167. #sucessModal{display: none;position: fixed; top: 62px; z-index: 9; width: 100%;}
  168. body.author_profile.successalertshown #sucessModal{display: block;}
  169. @media only screen and (max-width: 767px){
  170.  body.author_profile.successalertshown #sucessModal{display: block;    position: fixed; top: 61px; right: 0; width: 100%; z-index: 9;}
  171. }
  172. </style>
  173.  
  174. <!-- Author profile success message -->
  175. <div id="sucessModal" role="dialog">
  176. <div class="alert alert-success">
  177.  Your profile has been updated.
  178.    <i class="fas fa fa-times"></i>
  179. </div>
  180. </div>
  181.  
  182. <body class="addclass  INR author_profile " >
  183. <!-- <script src="//code.jquery.com/ui/1.12.1/jquery-ui.js"></script>-->
  184. <script type="text/javascript">
  185. $(document).ready(function(){
  186.  
  187.  if($(window).width() < 1025){
  188.    $(".owl-carousel").owlCarousel('destroy');
  189.    setWidth();
  190.  }else{
  191.    readintaOwlInit();
  192.    resetWidth();
  193.  }
  194. });
  195.  
  196. $(window).on('resize', function(){
  197.  if($(window).width() < 1025){
  198.    $(".owl-carousel").owlCarousel('destroy');
  199.    setWidth();
  200.  }else{
  201.    readintaOwlInit();
  202.    resetWidth();
  203.  }
  204. });
  205.  
  206. function setWidth(){
  207.  $(".owl-carousel").each(function(){
  208.    var len = $(this).children('.item').length;
  209.    var w = $(this).children('.item').width();
  210.    $(this).width((w*len)+(len*10));
  211.    $(this).parents('.carousel').addClass('custom-scroll');
  212.  });
  213. }
  214.  
  215. function resetWidth(){
  216.  $(".owl-carousel").each(function(){
  217.    $(this).width('auto');
  218.    $(this).parents('.carousel').removeClass('custom-scroll');
  219.  });
  220. }
  221.  
  222. function readintaOwlInit(){
  223.  $('#banner_slider .owl-carousel').owlCarousel({
  224.    nav: true,
  225.    navText: ["&#8249;","&#8250;"],
  226.    loop:true,
  227.    rewind: false,
  228.    lazyLoad:true,
  229.    slideBy: 'page',
  230.    margin:10,
  231.      responsiveClass:true,
  232.      responsive: {
  233.        320: {
  234.          items: 2,
  235.          margin: 5,
  236.          stagePadding: 10,
  237.  
  238.        },
  239.        640: {
  240.          items: 4,
  241.          margin: 5,
  242.          stagePadding: 10,
  243.        },
  244.        1024: {
  245.          items: 5
  246.        },
  247.        1200: {
  248.          items: 5
  249.        },
  250.        1370: {
  251.          items: 7
  252.        }
  253.      }
  254.  
  255.  });
  256.  $('#collections .owl-carousel, #bestsellers .owl-carousel, #trendingNow .owl-carousel, #editors .owl-carousel').owlCarousel({
  257.    nav: true,
  258.    navText: ["&#8249;","&#8250;"],
  259.    loop: true,
  260.    lazyLoad:true,
  261.    rewind: false,
  262.    slideBy: 'page',
  263.    margin: 10,
  264.    responsiveClass: true,
  265.    responsive: {
  266.      320: {
  267.        items: 2,
  268.        margin: 5,
  269.        stagePadding: 10,
  270.      },
  271.      640: {
  272.        items: 4,
  273.        margin: 5,
  274.        stagePadding: 10,
  275.      },
  276.      1025: {
  277.        items: 5
  278.      },
  279.      1200: {
  280.        items: 5
  281.      },
  282.      1370: {
  283.        items: 7
  284.      }
  285.    }
  286.  
  287.    });
  288. }
  289.  
  290. </script>
  291.  
  292. <div class="width-1000 readinsta_collections">
  293.  
  294.  
  295. <!-- #readinsta the modal-->
  296. <style>
  297.  button{text-transform: uppercase; }
  298.  .login-msg{margin:-10px -4px 2px !important;}
  299. .alert, .login-msg {padding: 5px; margin: 0px 0px 5px; font-size: 10px; }
  300. .alert p,.login-msg p{font-size: 13px !important;}
  301. button.btn.btn-block.facebook-login.inpt {border-radius: 5px;}
  302. .or_text.text-center {margin: 5px 0px; }
  303. .error_new_wr .login_info {padding: 60px 20px 65px 50px; }
  304.  
  305. @media screen and (max-width: 767px) and (min-width: 320px){
  306. #login-modal{top:0px; margin: 0px; padding: 0px;}
  307.  
  308. }
  309. @media screen and (max-width: 940px) and (min-width: 320px){
  310. #login-modal .container .half{padding: 0px 0px 57px !important;}
  311. }
  312. @media screen and (min-width: 841px) and (max-width: 1024px){
  313. .login_info {padding: 60px 20px 65px 50px !important;vertical-align: top;}
  314. .cont{margin: 0px !important; }
  315. }
  316.  
  317. @media screen and (min-width: 1025px) and (max-width: 1208px){
  318. .login_info {padding: 60px 20px 65px 50px !important;vertical-align: top;}
  319. .cont{margin: 0px !important; }
  320. }
  321.  
  322. </style>
  323. <script>let sageMs = "Please complete the captcha verification"; let v2_client_key = "6Le4RbQUAAAAAIlqR1qMlRp01vvB2G45UT0ha9ir"; let sagePs=""</script><script src="https://notionpress.com/assets/store/js/recaptcha.js" ></script><script src="https://www.google.com/recaptcha/api.js" ></script><!-- Modal structure -->
  324. <div id="login-modal" style="display:none"> <!-- data-iziModal-fullscreen="true"  data-iziModal-title="Welcome"  data-iziModal-subtitle="Subtitle"  data-iziModal-icon="icon-home" -->
  325.    <!-- Modal content -->
  326.  
  327.  <section class="container">
  328.  <div class="row">
  329.  <div class="col-12 top_bar_mobile"><a href="" class="back_ic"><img src="https://notionpress.com/new-rewamp/images/for_writers/arrow_back_ic.png"></a>
  330.   <img src="https://notionpress.com/new-rewamp/images/White_logo.png">
  331.   </div>
  332.  <div class="col-lg-6 col-md-6 login_info">
  333.    <h2>Join 400,000+ avid readers and writers</h2>
  334.    <p>Experience reading like never before</p>
  335.    <ul>
  336.      <li><img src="https://notionpress.com/new-rewamp/images/for_writers/siginup_ic1.png"> <span>Read in your favourite format - <strong>print, digital or both.</strong> The choice is yours.</span></li>
  337.      <li><img src="https://notionpress.com/new-rewamp/images/for_writers/siginup_ic2.png"> <span><strong>Track the shipping status</strong> of your print orders.</span></li>
  338.      <li><img src="https://notionpress.com/new-rewamp/images/for_writers/siginup_ic3.png"> <span><strong>Discuss with other readers</strong><br> who are reading the same book, or even with the author</span></li>
  339.    </ul>
  340.    </div>
  341.  <div class="col-lg-6 col-md-6 login_box">
  342.        <article class="half">
  343.  
  344.              <div class="login-wrap" style="display: none;" >
  345.  
  346.                <div class="content">
  347.                      <div class="signin-cont cont">
  348.  
  349.              <h1>Sign in</h1>
  350.                           <div class="login-msg sigin"></div>
  351.                        <form method="POST" class="read-modal-signin">
  352.                                                         <input type="hidden" name="segment2" id="segment2" value="520300">
  353.                                  <label for="email">Enter your email address</label>
  354.                                  <input type="email" name="email" class="inpt" required="required" placeholder="Your email">
  355.                                  <label for="password">Enter your password</label>
  356.                                  <div class="password_wr">
  357.                                  <input type="password" name="password" class="inpt" required="required" placeholder="Enter your password">
  358.                                  <a href="https://notionpress.com/login/forgot" class="forgot" target="_blank">Forgot?</a>
  359.                                  <i>Minimum 6 characters</i>
  360.                                 <!--  <input type="checkbox" name="remember_me" class="checkbox" checked id="remember_me">
  361.                                  <label for="remember_me">Remember me</label> -->
  362.                                  </div>
  363.                                  <div class="submit-wrap">
  364.                                      <input type="submit" value="Sign In" class="submit signin-submit">
  365.                                      <div class="or_text text-center">OR</div>
  366.                                      <button class="btn btn-block facebook-login inpt" onclick="javascript:social_facebook()">
  367.                                                            <i class="fa fa-facebook-official" aria-hidden="true"></i> Login with Facebook
  368.                            </button>                                      
  369.                                  </div>
  370.                                  <span class="note">By signing up I agree to the <a href="https://notionpress.com/terms" target="_blank">Terms of Use</a>  &  <a href="https://notionpress.com/privacy" target="_blank">Privacy Policy</a></span>
  371.                        </form>
  372.                            <div class="s_footer_links tab signup">New to Notion Press? <a href="javascript:;" class="upper-signup">Create an account</a></div>
  373.  
  374.                      </div>
  375.  
  376.                      <div class="signup-cont cont">
  377.                      <h1>Sign up</h1>                        
  378.                      <div class="login-msg sigup"></div>
  379.                        <form method="POST" class="read-modal-signup">
  380.                                                        <input type="hidden" name="segment2" id="segment2" value="520300">
  381.                            <!-- <label for="name">Your name</label>
  382.                            <input type="name" name="name" class="inpt" required="required" placeholder="Your name" autocomplete="off" pattern="[a-zA-Z0-9\s]+" maxlength="100" autocorrect="off" autocapitalize="off" spellcheck="false" title='Enter your full name'> -->
  383.  
  384.                            <label for="email">Enter your email address</label>
  385.                            <input type="email" name="emailid" class="inpt" required="required" placeholder="Your email" autocomplete="off" maxlength="100" autocorrect="off" autocapitalize="off" spellcheck="false" pattern="[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,4}$" title="Enter your valid email id">
  386.                            <div class="password_wr">
  387.                            <label for="password">Enter your password</label>
  388.                            <input type="password" name="password" class="inpt" required="required" placeholder="Enter your password" minlength="6" maxlength="14"  >
  389.                            <i>Minimum 6 characters</i>
  390.                            </div>
  391.                            <center>
  392.                                <div style="display:none" class="g-recaptcha" data-sitekey="6Le4RbQUAAAAAIlqR1qMlRp01vvB2G45UT0ha9ir"  style="margin-bottom: 4px;" data-callback="pacerverify"></div>
  393.                                <!--<div class="rcmsg text-danger"></div>-->
  394.                            <center>
  395.                            <input type="hidden" name="source" value="26">
  396.                            <div class="submit-wrap">
  397.                                  <input type="submit" value="Sign up" class="submit signup-submit" autocomplete="off">
  398.                                  <!-- <i class="fa fa-spinner"></i> -->
  399.                                  <!-- <a href="javascript:;" class="more">Terms and conditions</a> -->
  400.                            </div>
  401. <span class="note">By signing up I agree to the <a href="https://notionpress.com/terms" target="_blank">Terms of Use</a>  &  <a href="https://notionpress.com/privacy" target="_blank">Privacy Policy</a></span>
  402.                        </form>
  403.                        <div class="s_footer_links tab signin">Already have an account? <a href="javascript:;" class="upper-signin">Sign in</a></div>
  404.  
  405.                      </div>
  406.  
  407.                      <div class="sign-cont-login cont" style="display:none;">
  408.                        <div class="login-msg sigin"></div>
  409.                        <form method="POST" class="read-modal-signin">
  410.                                                         <input type="hidden" name="segment2" id="segment2" value="520300">
  411.                                  <label for="email">Your email</label>
  412.                                  <input type="email" name="email" class="inpt" required="required" placeholder="Your email">
  413.                                  <label for="password">Your password</label>
  414.                                  <input type="password" name="password" class="inpt" required="required" placeholder="Your password">
  415.  
  416.                                 <!--  <input type="checkbox" name="remember_me" class="checkbox" checked id="remember_me">
  417.                                  <label for="remember_me">Remember me</label> -->
  418.  
  419.                                  <div class="submit-wrap">
  420.                                      <input type="submit" value="Sign In" class="submit signin-submit"> <br>
  421.                                      <a href="https://notionpress.com/login/forgot" class="more" target="_blank">Forgot your password?</a> <br>
  422.                                      <span class="more down-signup" style="cursor: pointer"> Don’t have an account? </span> <a href="javascript:;" class="more down-signup upsignbtn"> Sign up </a>
  423.                                  </div>
  424.                        </form>
  425.                      </div>
  426.  
  427.                </div>
  428.  
  429.              </div> <!-- /login-wrap -->
  430.  
  431.  
  432.            <div class="login-loading-wrap">
  433.  
  434.              <div class="block beacon loading-spinner">
  435.                  <div class="beacon-center"></div>
  436.              </div>
  437.  
  438.              <p class="loading-msg"></p>
  439.  
  440.              <div class="facebook-actions" style="display: none;">
  441.                <p onclick="javascript:social_child_win_detect('focus')"> Sign in to continue reading. </p>
  442.                <!-- <p onclick="javascript:social_child_win_detect('close')">Close Window</p> -->
  443.              </div>
  444.  
  445.            </div>
  446.  
  447.  
  448.        </article></div>
  449. </div>
  450.        <div class="clearfix"></div>
  451.  
  452.  </section>
  453.  
  454. </div>
  455.  
  456. <!-- someone need to remove the country popup ? -->
  457. <script type="text/javascript">
  458.  var fbloginURL = 'https://notionpress.com/auth_social/facebook_connect';
  459.  var signupURL = 'https://notionpress.com/auth_social/np_signup';
  460.  var signinURL = 'https://notionpress.com/auth_social/np_signin';
  461.  var sessionURL = 'https://notionpress.com/auth_social/np_loggedin';
  462.  var sessionFBURL = 'https://notionpress.com/auth_social/fb_session_status';
  463.  var tweetloginURL = 'https://notionpress.com/auth_social/twitter_connect';
  464.  var addURL = 'https://notionpress.com/store/address_cart';
  465.  var oldaddressURL = 'https://notionpress.com/store/addressadd_form';
  466.  var checkaddURL ='https://notionpress.com/auth_social/checkadd';
  467.  var npBookID = 0;
  468.      var npBookID = '520300';
  469.  
  470.  (function(d, s, id){
  471.   var js, fjs = d.getElementsByTagName(s)[0];
  472.   if (d.getElementById(id)) {return;}
  473.   js = d.createElement(s); js.id = id;
  474.   js.src = "https://connect.facebook.net/en_US/sdk.js";
  475.   fjs.parentNode.insertBefore(js, fjs);
  476.  }(document, 'script', 'facebook-jssdk'));
  477.  
  478.  
  479.  window.fbAsyncInit = function() {
  480.  FB.init({
  481.    appId      : '109262125855211',
  482.    cookie     : true,
  483.    xfbml      : true,
  484.    version    : 'v6.0'
  485.  });
  486.  FB.AppEvents.logPageView();
  487.  };
  488.  
  489. </script>
  490.  
  491. <link rel="stylesheet" type="text/css" href="https://notionpress.com/assets/read_insta/css/iziModal.css">
  492. <script type="text/javascript" src="https://notionpress.com/assets/read_insta/js/iziModal.js"></script>
  493.  
  494. <link rel="stylesheet" type="text/css" href="https://notionpress.com/assets/read_insta/css/login_modal.css">
  495. <script type="text/javascript" src="https://notionpress.com/assets/read_insta/js/login_modal.js?v=631296315"></script>
  496. <!-- /#readinsta -->
  497.  <style>
  498. a.note_wr{background: #ff0f50; margin: 0px -30px; padding:5px 0px; width: 110%; text-align: center; color: #fff; display: block;}
  499. a.note_wr:hover,a.note_wr:focus{color: #fff !important;}
  500. a.note_wr p{margin: 2px 0px; font-size: 20px;font-weight: 500;}
  501. a.note_wr p span img{width: 30px; margin-right: 2px}
  502. a.note_wr p i img{width: 25px;  margin-left: 5px}
  503.  
  504. .navbar-header ul li.dashboard.my_shelf a span:before{ display: none;}
  505. .navbar-header ul li.dashboard.my_shelf a span:after {content: ""; width: 0; height: 0; border: 0 solid transparent; border-left-width: 4px; border-right-width: 4px; border-bottom: 4px solid #de1c1c; position: absolute; left: 10px; bottom: -4px; transform: rotate(180deg);}
  506. .navbar-header ul li.dashboard.my_shelf a span.new {margin-top: 0px; }
  507. .readinsta_topnav div#nav_responsive ul li.profileDropdown a.dropdown-item.my_shelf span.new{background: #de1c1c; padding: 2px 4px;font-size: 10px; color: #fff;
  508.    border-radius: 2px;display: inline-block; height: auto;line-height: normal; position: absolute; margin-left: 10px;margin-top: -2px; left: auto !important; top: auto !important;}
  509. .readinsta_topnav div#nav_responsive ul li.profileDropdown a.dropdown-item.my_shelf span.new:before{content: ""; width: 0; height: 0; border: 0 solid transparent; border-top-width: 0px; border-bottom-width: 0px; border-left-color: transparent; border-left-style: solid; border-left-width: 0px; border-bottom-width: 4px; border-top-width: 4px; border-left: 4px solid #de1c1c; position: absolute; left: -4px; top: 4px; transform: rotate(180deg);}
  510. .new.ended{background: #464646 !important;margin-left: 5px !important; top: 1px !important;}
  511. .navbar-header ul li a .new.ended:before{content:""; width:0; height:0; border: none; position:absolute; left:-4px; top:5px; transform:rotate(180deg)}
  512. .leftNav .dropdown .dropcontent ul li.submenu a{position: relative;}
  513. .leftNav .dropdown.staticpageMenu .dropcontent.salescontest .staticpage ul:nth-child(1){padding: 0px;}
  514. #mainNav ul li .dropcontent ul li a.title_menus {font-weight: 600; font-size: 15px; }
  515.  
  516.  
  517.  
  518. @media only screen and (max-width: 940px) {
  519. .readinsta_topnav #nav_responsive .notification-list span.close-icon, .readinsta_collections #nav_responsive .notification-list span.close-icon, body.scrollFixedNavPackage #mainNav #nav_responsive .notification-list span.close-icon {display : none; }
  520. .note_wr p{font-size: 14px;}
  521. }
  522.  
  523. @media only screen and (min-width: 320px) and (max-width: 991px){
  524.  .np_mobile_menus .menu__wrap ul li a.my_shelf span.new{top: 2px !important;}
  525.  a.note_wr p{font-size: 14px; line-height: 30px;}
  526.  a.note_wr{width: 100%; margin: 0px;}
  527. }
  528. @media only screen and (min-width: 320px) and (max-width: 480px){
  529.  a.note_wr p{font-size: 10px; line-height: 30px;}
  530. }
  531.  
  532. </style>
  533.  
  534.  
  535. <style>
  536. .removeBg{font-size: 0;}
  537. </style>
  538. <script type="text/javascript">
  539.  
  540. $(document).ready(function(){
  541.    var getHtmlVal=$("#onlyalerts");
  542.    if(getHtmlVal.hasClass("in"))
  543.    {
  544.      $("#onlyalerts").fadeTo(2000, 500).fadeOut(500, function(){
  545.        $("#onlyalerts").fadeOut(500);
  546.      });
  547.    }
  548.  
  549.    $(".preventContainer").hide();
  550.    
  551.    $(".add_item_form").on("blur",'.qtychange',function(){
  552.      let qty = $(this).val();
  553.      if(qty < 1 || isNaN(qty))
  554.      {
  555.        $(this).val(1);
  556.      }
  557.      update_cart();
  558.    });
  559.  
  560.    $(".add_item_form").on("click",".button", function(e) {
  561.      var btn = $(this),new_val = Number(btn.parent().find('input').val());
  562.      new_val = btn.hasClass('additem') ? ++new_val : --new_val;
  563.      new_val = new_val < 1 || isNaN(new_val) || new_val > 5000 ? 1 : new_val;
  564.      let btn_clas = btn.hasClass('additem') ? '.additem' : '.delitem';
  565.      let item_pos_on_cur_form = $(this).closest('.add_item_form').find(btn_clas).index(btn);  // take cur position od item from mob and desk form
  566.      
  567.      $('.add_item_form').each(function(){
  568.        $(this).find('input.qtychange:eq('+item_pos_on_cur_form+')').val(new_val);
  569.      });
  570.      update_cart($(this));
  571.    });
  572.  
  573.  
  574.  
  575.    function update_cart(btn = null){
  576.      let cartValue = 0;
  577.      $(".preventContainer").show();
  578.      var formAction = "https://notionpress.com/store/updatecart";
  579.      $('.add_item_form .table_responsive').each(function(){
  580.        if($(this).is(':visible')){
  581.            form_data = $(this).parent().serialize();
  582.            return;
  583.          }
  584.      });
  585.      if(! form_data) return;
  586.      $.ajax({
  587.        url: formAction,
  588.        type: 'post',
  589.        data: form_data,
  590.        success:function(data){
  591.            var res = JSON.parse(data);
  592.            $(".preventContainer").hide();
  593.            let subtotal_peritem = res.subtotal_peritem;
  594.            let item_qty_peritem = res.item_qty_peritem;
  595.            for(let i in subtotal_peritem){
  596.              $('.subtotal_amount_item:eq('+i+')').html(subtotal_peritem[i]);  
  597.             // $('.qtychange:eq('+i+')').val(1);
  598.            }
  599.            for(let j in item_qty_peritem){
  600.              $('.desktop_view .qtychange1:eq('+j+')').val(item_qty_peritem[j]);
  601.              $('.mobile_view .qtychange1:eq('+j+')').val(item_qty_peritem[j]);
  602.            }
  603.            
  604.            
  605.            $('.subtotal_amount').html(res.subtotal_amount);        
  606.  
  607.            $('.shipping_amount').html(res.shipping_amount);        
  608.            $('.grant_total').html(res.grant_total);
  609.              $('.topcart span.items,.showcart_title span').html(res.total_orders);
  610.            if(!res.total_orders){
  611.              $('.topcart span.items').hide();
  612.            }
  613.  
  614.  
  615.            if( ! res.total_orders){
  616.              $('.cartbody').hide().removeClass('cartbody');
  617.              $('.no_items_holder').show().addClass('cartbody');
  618.              return;
  619.            }
  620.          }
  621.      });
  622.    }
  623.  
  624.    function remove_item(rowid,item_pos){
  625.      if(! rowid ) return;
  626.      $.ajax({
  627.        url: "https://notionpress.com/store/removefromcart",
  628.        type: 'post',
  629.        data: {rowid:rowid},
  630.        success:function(data){
  631.            var res = JSON.parse(data);
  632.            if(res.status){
  633.              $('#onlyalerts').show().delay(2000).fadeOut()
  634.  
  635.              if(item_pos != null ){
  636.                    update_cart();
  637.                    console.log(item_pos);
  638.                //$('.add_item_form').each(function(){
  639.                  $('.bookListing:eq('+item_pos+')').fadeOut();
  640.                //});
  641.              }
  642.            }
  643.          }
  644.      });
  645.    }
  646.  
  647.    $('.remove_item_btn').click(function(){
  648.        let rowid = $(this).data('rowid');
  649.        let item = $(this).closest('.bookListing');
  650.        let pos = $('.bookListing').index(item);
  651.        remove_item(rowid,pos);
  652.    });
  653.  
  654.    $("body").on("click","button.bookstore_sprite",function(){
  655.      var seo_url='520300';
  656.  
  657.      var getContentId="";
  658.      var buttonBook=$(this);
  659.      var getContentId=buttonBook.attr("id");
  660.      if(getContentId=="buynow_btn")
  661.      {
  662.        $(this).parents("form").submit();
  663.      }
  664.      else
  665.      {
  666.        var is_loading = false;
  667.        var getThis=$(this).parents("form");
  668.        $(buttonBook).css("opacity","0.2");
  669.        $(buttonBook).html('<i class="fa fa-spinner fa-spin" style="margin-top: 5px;font-family: FontAwesome;color: #fff;font-size: 16px;" aria-hidden="true"></i>');
  670.        $(getThis).on("submit",function(e){
  671.          // $(buttonBook).removeClass("bookstore_sprite");
  672.          //$(buttonBook+'.bookstore_sprite').css("background-position","-239px -39px");
  673.          $(buttonBook).parent().css("");
  674.          //$(buttonBook).addClass("removeBg");
  675.          // $(".removeBg").css("background","none");
  676.          $(".removeBg").css("border","none");
  677.          $(".removeBg").css("outline","none");
  678.          if (is_loading) {
  679.            return;
  680.          }
  681.          is_loading = true;
  682.          $.ajax({
  683.            type:'post',
  684.            url:$(getThis).attr("action"),
  685.            data:$(getThis).serialize()+ "&seo_url=" + seo_url,
  686.            success:function(data){
  687.              // $(buttonBook).addClass("bookstore_sprite");
  688.              $("input[name=count]").val(1);
  689.              $("#"+getContentId).css("background-position","-165px -6px");
  690.              $("#"+getContentId).parent().css("border", "1px solid transparent");
  691.              $("#"+getContentId).html("");
  692.              $(".addtocart_btn.bookstore_sprite").html("<i class='fas fa-check fa'></i> Add to Cart");
  693.              $("#"+getContentId).removeClass("removeBg");
  694.              $("#"+getContentId).removeAttr("style");
  695.              $(".cart_wr").remove();
  696.              $(".headerContent").append(data);
  697.              messageType("success","<i class='fas fa-check fa'></i> Added to cart");
  698.              $("html,body").animate({scrollTop:0}, 1000, 'swing');
  699.              $(".added_to_cart-basket").addClass("open");
  700.            }
  701.          });
  702.          e.preventDefault();
  703.        }).always(function() { if($("#"+getContentId).hasClass("redirect")){}else{is_loading = false;} });
  704.      }
  705.    });
  706.  
  707.  
  708.    $("body").on("click",".itemsAdd",function(e)
  709.    {
  710.      
  711.        if($(this).parents(".cart-dropdown").length)
  712.        {
  713.  
  714.        }
  715.        else if($(this).hasClass("redirect"))
  716.        {
  717.  
  718.        }
  719.        else
  720.        {
  721.          let invBookID = $(this).attr('data-invbookid');
  722.          if(!invBookID) return false;
  723.  
  724.          let post_url = "https://notionpress.com/store/addtocart/" + invBookID;
  725.  
  726.          if( $('.reedemenabled').length )
  727.            post_url = $('.reedemenabled').attr('action');
  728.  
  729.          let cartValue = 0;
  730.          $.ajax({
  731.            url: post_url,//$(getThis).attr("href"),
  732.            success:function(data){
  733.              window.location.href ="https://notionpress.com/"+"store/showcart";
  734.              /*cartValue  =  ( parseInt( $(data).find('.added_to_cart .items').text() ) ) || cartValue;
  735.              messageType("success","<i class='fas fa-check fa'></i> Added to cart");
  736.              $('.carticon .items').removeClass('hid');
  737.              $('.carticon .items').html(cartValue);
  738.              $('.topcart').attr('href', $('.topcart').attr('data-cart-url'));
  739.              cart_status = 1 // check this in storenav2018 x3*/
  740.  
  741.            }
  742.          });
  743.          e.preventDefault();
  744.        }
  745.    });
  746.  
  747. });
  748. $(window).load(function(){
  749.  $(".bookstore_sprite").each(function(){
  750.    $(this).removeAttr("onclick");
  751.    $(this).removeAttr("style");
  752.  });
  753. });
  754. $(document).ready(function(){
  755.  $(".bookstore_sprite").each(function(){
  756.    $(this).attr("onclick","return false;");
  757.    $(this).css("cursor","auto");
  758.  });
  759. });
  760. function messageType(messageType,message)
  761. {
  762.  $("#onlyalerts .message").html(message);
  763.  $("#onlyalerts").attr("class","alert alert-"+messageType+" alert-dismissable fade in");
  764.  $("#onlyalerts").fadeTo(2000, 500).slideUp(500, function(){
  765.    $("#onlyalerts").slideUp(500);
  766.  });
  767. }
  768.  
  769.  
  770.  
  771.  
  772.  
  773. </script>
  774.  
  775. <!-- GlobalInventory -->
  776. <link href="https://notionpress.com/assets/select2-4.0.5/css/select2.min.css" rel="stylesheet" />
  777. <script src="https://notionpress.com/assets/select2-4.0.5/js/select2.min.js"></script>
  778. <link href="https://notionpress.com/assets/select2-4.0.5/css/flags.css" rel="stylesheet">
  779. <script src="https://notionpress.com/assets/select2-4.0.5/js/jquery.flagstrap.min.js"></script>
  780. <script type="text/javascript">
  781.  $(document).ready(function(){
  782.  
  783.    var stop_redirect = "TRUE";
  784.    var cookieSet = '';
  785.    if (cookieSet == '' && typeof(site_url) != "undefined") {
  786.       var geo_country = "India";
  787.       if(geo_country != "India" && geo_country != "Singapore" && geo_country != "Malaysia" )
  788.       $('.md-modal.md-effect-7').addClass('md-show');
  789.       else
  790.       manage_cookie(geo_country,stop_redirect);
  791.    }
  792.  });
  793.  
  794.  
  795. </script>
  796.  
  797. <link href="https://notionpress.com/new-rewamp/css/commonheader/commontopnav.css?631296315" rel="stylesheet" type="text/css" media="screen">
  798. <script src="//code.jquery.com/ui/1.12.1/jquery-ui.min.js"></script>
  799. <script type="text/javascript">
  800. $(document).ready(function(){
  801.  $('.searchicon').on('click', function(){
  802.    $('.searchbar').addClass('mvisible');
  803.  });
  804.  $('.backicon').on('click', function(){
  805.    $('.searchbar').removeClass('mvisible');
  806.  });
  807.  $('.navbar-toggle').on('click', function(){
  808.    $('.mview-navbar-collapse').toggle('slide', {direction: 'left'}, 500);
  809.  });
  810.  $("body").on("click","#profile_mobile", function(){
  811.    if($(window).width() < 940){
  812.      $('.np_mobile_menus .action--close').trigger('click'); // leftClose
  813.      $('.notification-block .notification_dropdown').removeClass('dropdown-menushow');
  814.      $('.notification-list .close-icon').hide();
  815.      $('.profileDropdown .action--close').show();
  816.      profileDropdown();
  817.    }
  818.  });
  819.  
  820.  $(".profileDropdown .action--close").on("click", function(e){
  821.    $('.np_mobile_menus .action--close').trigger('click'); // leftClose
  822.    $('.notification-list .close-icon').hide();
  823.    $('.notification-block .notification_dropdown').removeClass('dropdown-menushow');
  824.    
  825.  
  826.    $('.user_pic').hide('slide', {direction: 'right'}, 'slow');
  827.    $('.background-fade').hide();
  828.    $('.profileDropdown .action--close').hide();
  829.    $('body').removeClass('noMultiScroll');
  830.  });
  831.  
  832.  $('.notification-block').on('click', function(){
  833.  
  834.    if($(window).width() < 721){
  835.  
  836.      $('.np_mobile_menus .action--close').trigger('click');
  837.      $('.profileDropdown .action--close').trigger('click');
  838.  
  839.      setTimeout(() => {
  840.        if( $('.notification-block .notification_dropdown').hasClass('dropdown-menushow') )
  841.        {
  842.          $('.background-fade').fadeIn('fast');
  843.          if($(window).width() < 721){
  844.            $('.notification-list .close-icon').fadeIn();
  845.            $('body').addClass('noMultiScroll');
  846.          }
  847.  
  848.        }else{
  849.          $('.notification-list .close-icon').hide();
  850.          $('.background-fade').hide();
  851.          $('body').removeClass('noMultiScroll');
  852.        }
  853.  
  854.      }, 100);
  855.  
  856.    }
  857.    
  858.  });
  859.  
  860.  $('.notification-list .close-icon').on('click', function(){
  861.    $('.dropdown-menushow').trigger('click');
  862.    $('.notification-list .close-icon').hide();
  863.    $('#background-fade').hide();
  864.    $('body').removeClass('noMultiScroll');
  865.  });
  866.  
  867.  
  868.  
  869.  // $('.notification_dropdown.dropdown-menushow').on('click',function(){
  870.  //   $('.notification-list .close-icon').trigger('click');
  871.  // });
  872.  
  873.  
  874.  
  875. });
  876.  
  877. function _notification(){
  878.  if($(window).width() < 721){
  879.    $('.notification-list .close-icon').css('opacity', 1);
  880.    $('#background-fade').show();
  881.  }else{
  882.    $('.notification-list .close-icon').css('opacity', 0);
  883.    $('#background-fade').hide();
  884.  }
  885. }
  886.  
  887. $(window).on('resize', function(){
  888.  //_notification();
  889.  if($(window).width() > 940){
  890.    $('.user_pic li.logout a').removeClass('btn_secondary');
  891.  }
  892. });
  893.  
  894. function bodyAddClass(){
  895.  $('body').toggleClass('scroll-hide');
  896. }
  897. function profileDropdown(){
  898.  if($(window).width() < 941){
  899.    $('.np_mobile_menus .action--close').trigger('click'); // leftClose
  900.  
  901.    $('.user_pic').show('slide', {direction: 'right'}, 'slow');
  902.    $('.background-fade').show();
  903.    $('.action--close').css('opacity', 1);
  904.    $('.user_pic li.logout a').addClass('btn_secondary');
  905.    $('body').addClass('noMultiScroll');
  906.  
  907.  }
  908.  else{
  909.    $('.user_pic').toggle();
  910.    $('.user_pic li.logout a').removeClass('btn_secondary');
  911.    $('body').removeClass('noMultiScroll');
  912.  }
  913. }
  914. </script>
  915.  
  916. <div class="background-fade" id="background-fade"></div>
  917.  
  918. <header class="col-lg-12 col-md-12 readinsta_topnav stick_flash_enabled  ">
  919.  
  920.  <!-- contact us nav -->
  921.    <!-- /contact us nav -->
  922.  
  923. <!--<a href="https://notionpress.com/en/stories/versesoflove" class="note_wr"><p><span><img src="https://notionpress.com//images/short_story/np_icon_ic.png"></span>Dedicate your #versesoflove<i><img src="https://notionpress.com//images/short_story/next_arrow.png"></i></p></a> -->
  924. <!--<a href="https://notionpress.com/story/ssc_main" class="note_wr"><p><span><img src="https://notionpress.com//images/short_story/np_10_icon_ic.png"></span>#National Writing Competition<i><img src="https://notionpress.com//images/short_story/next_arrow_w.png"></i></p></a>-->
  925. <!--<a href="https://notionpress.com/indie-author-championship/30" class="note_wr"><p><span><img src="https://notionpress.com//images/short_story/np_10_icon_ic.png"></span> Indie Author Championship #26<i><img src="https://notionpress.com//images/short_story/next_arrow.png"></i></p></a>-->
  926. <div class="navbar-header col-lg-7 col-md-6 col-sm-5 col-xs-3 col-3 d-inline-block nofloat">
  927.  
  928.  
  929. <!-- MobileNav -->
  930. <a class="hid-dontshow" href="https://notionpress.com/"  data-store-linked="https://notionpress.com/">Home</a>
  931. <div class="np_mobile_menus">
  932.  <button class="action action--open" aria-label="Open Menu">
  933.    <span class="icon icon--menu"></span></button>
  934.  
  935.  <div class="mobilewrapper">
  936.    
  937.    <nav id="ml-menu" class="menu">
  938.  
  939.      <div class="menu__wrap">
  940.  
  941.          <!-- main Menu -->
  942.          <ul data-menu="main" class="menu__level" tabindex="-1" role="menu" aria-label="All">
  943.  
  944.            <!-- <li class="menu__item" role="menuitem">
  945.              <a class="menu__link" href="https://notionpress.com/store" data-store-linked="https://notionpress.com/store">Home</a>
  946.            </li> -->
  947.  
  948.            <li></li>
  949.                        <li class="menu__item submenu-bottom" role="menuitem">
  950.              <a class="menu__link _discover-icon" href="https://notionpress.com/store" >Bookstore</a>
  951.            </li>
  952.                        <!-- Author dashboard -->
  953.            
  954.                       <li class="menu__item" role="menuitem">
  955.              <a class="menu__link _book-icon" href="https://notionpress.com/en/for-writers" >For Writers</a>
  956.            </li>
  957.                       <li class="menu__item diyin" role="menuitem"><a class="menu__link _guided-icon" href="https://notionpress.com/en/for-writers">Get Published <span>Publish your book for free and sell across 150+ countires</span></a></li>
  958.  
  959.            <li class="menu__item diyin" role="menuitem"><a class="menu__link _xpress-icon" href="https://notionpress.com/en/outpublish">Outpublish <span>Experience the guidance of a traditional publishing house with the freedom of self-publishing</span></a></li>
  960.            
  961.             <li class="menu__item diyin" role="menuitem"><a class="menu__link _marketing-icon" data-submenu="submenu-3" aria-owns="submenu-3" href="#">Marketing Tools<span>Use our tools to promote your book and reach more readers</span></a></li>
  962.             <li class="menu__item diyin" role="menuitem"><a class="menu__link _guided-icon" href="https://notionpress.com/writing-course" target="_blank">Writing Courses<span>Start your writing journey with our FREE writing courses</span></a></li>
  963.            <!-- desi - only -->
  964.           <!--  <li class="menu__item diyin submenu-top submenu_left" role="menuitem">
  965.              <a class="menu__link _publish-icon" href="https://notionpress.com/" >Publish with us</a>
  966.            </li> -->
  967.            
  968.                        <li class="menu__item diyin submenu-bottom menu_item_left menu_item_left1" role="menuitem">
  969.              <a class="menu__link _book-sales-icon" data-submenu="submenu-6" aria-owns="submenu-6" href="https://notionpress.com/indie-author-championship/30" >Challenges<span>Join our writing contests to win exciting prizes and get recognised</span>
  970.              <!-- <span class="new">New</span> -->
  971.        </a>
  972.  
  973.            </li>
  974.                        
  975.  
  976.                        <!-- /desi - only -->
  977.            
  978.  
  979.            
  980.  
  981.              <li class="menu__item" role="menuitem">
  982.              <a class="menu__link _blog-icon" href="https://notionpress.com/blog" target="_blank" title="Blog">Blog</a>
  983.            </li>
  984.  
  985.            <li class="menu__item" role="menuitem">
  986.              <a class="menu__link _about-icon" href="https://notionpress.com/about" target="_blank" title="About Us">About Us</a>
  987.            </li>
  988.                      </ul>
  989.          <!-- /main Menu -->
  990.  
  991.          <!-- publish with us -->
  992.          <!-- <ul data-menu="submenu-1" id="submenu-1" class="menu__level" tabindex="-1" role="menu" aria-label="Tesla">
  993.  
  994.            <li class="menu__item" role="menuitem"><a class="menu__link" href="https://notionpress.com/resources/book-formats-and-sizes">Book Formats</a></li>
  995.            <li class="menu__item" role="menuitem"><a class="menu__link" href="https://notionpress.com/accelerator">Accelerator</a></li>
  996.          </ul> -->
  997.  
  998.          <!-- diy -->
  999.          <ul data-menu="submenu-1-1" id="submenu-1-1" class="menu__level" tabindex="-1" role="menu" aria-label="Sale %">
  1000.  
  1001.              <li class="menu__item" role="menuitem"><a class="menu__link" href="https://notionpress.com/publish/xpress">How to Publish</a></li>
  1002.  
  1003.              <li class="menu__item" role="menuitem"><a class="menu__link" href="https://notionpress.com/packages">Pricing</a></li>
  1004.              <li class="menu__item" role="menuitem"><a class="menu__link" href="https://notionpress.com/royalty-calculator/xpress">Calculate Author Earnings</a></li>
  1005.              <li class="menu__item" role="menuitem"><a class="menu__link" href="https://notionpress.com/resources/publishing-template">Publishing Templates</a></li>
  1006.          </ul>
  1007.          <!-- /diy -->
  1008.  
  1009.          <!-- guided -->
  1010.          <ul data-menu="submenu-1-2" id="submenu-1-2" class="menu__level" tabindex="-1" role="menu" aria-label="Sale %">
  1011.  
  1012.            <li class="menu__item" role="menuitem"><a class="menu__link" href="https://notionpress.com/publish/guided">How to Publish</a></li>
  1013.  
  1014.            <li class="menu__item" role="menuitem"><a class="menu__link" href="https://notionpress.com/packages">Pricing</a></li>
  1015.  
  1016.            <li class="menu__item" role="menuitem"><a class="menu__link" href="https://notionpress.com/royalty-calculator/guided">Calculate Author Earnings</a></li>
  1017.          </ul>
  1018.          <!-- guided -->
  1019.          <!-- /publish with us -->
  1020.  
  1021.  
  1022.          <!-- Discover Menu -->
  1023.          <ul data-menu="submenu-2" id="submenu-2" class="menu__level" tabindex="-1" role="menu" aria-label="Vegetables">
  1024.            <li class="menu__item" role="menuitem"><a class="menu__link" data-submenu="submenu-2-1" aria-owns="submenu-2-1" href="#">Notion Press Picks</a></li>
  1025.            <li class="menu__item" role="menuitem"><a class="menu__link" data-submenu="submenu-2-2" aria-owns="submenu-2-2"  href="#">Books By Genre</a></li>
  1026.          </ul>
  1027.  
  1028.          <!-- Marketing Tools -->
  1029.  
  1030.              <ul data-menu="submenu-3" id="submenu-3" class="menu__level" tabindex="-1" role="menu">
  1031.                   <li class="menu__item" role="menuitem"><a class="menu__link" href="https://notionpress.com/book-marketing">Author Dashboard</a>
  1032.                  </li>
  1033.                  <li class="menu__item" role="menuitem"><a href="https://notionpress.com/book-marketing/shipping-manager">Shipping Manager</a>
  1034.                  </li>
  1035.                  <!-- <li class="menu__item" role="menuitem"><a href="https://notionpress.com/book-marketing/bookpostr">Book Postr</a>
  1036.                  </li> -->
  1037.                  <li class="menu__item" role="menuitem"><a href="https://notionpress.com/book-marketing/coupon-manager">Coupon Code Manager</a>
  1038.                  </li>
  1039.                  
  1040.                </ul>
  1041.                <!-- Book Sales Challenge -->
  1042.  
  1043.              <ul data-menu="submenu-6" id="submenu-6" class="menu__level" tabindex="-1" role="menu">
  1044.              <li class="menu__item" role="menuitem"><a href="#" class="title_menus"> Indie Author Championship</a>
  1045.                  <div class="submenu_child1">
  1046.                  <a href="https://notionpress.com/indie-author-championship/30"> Indie Author Championship #14<span class="new">New</span></a>
  1047.                    <a href="https://notionpress.com/indie-author-championship/29"> Indie Author Championship #13 <span class="new ended">See Results</span></a>
  1048.                    <a href="https://notionpress.com/indie-author-championship/28">Indie Author Championship #12 <span class="new ended">See Results</span></a>
  1049.                  </div>
  1050.                  </li>
  1051.                  <li class="menu__item" role="menuitem"><a href="#" class="title_menus">Writing Contests</a>
  1052.                  <div class="submenu_child1">
  1053.                    <a href="https://notionpress.com/en/story/young_authors_winners">#National Young Writers Competition<span class="new ended">See Results</span></a>
  1054.                    <a href="https://notionpress.com/story/ssc_main">#National Writing Competition<span class="new ended">See Results</span></a>
  1055.                    <a href="https://notionpress.com/en/stories/versesoflove">#VersesofLove<span class="new ended">See Results</span></a>
  1056.                    <!--<a href="https://notionpress.com/en/stories/writeyourheartout">#writeyourheartout Writing Contest<span class="new ended">See Results</span></a>-->
  1057.                  </div>
  1058.                  </li>
  1059.                
  1060.                  <!-- <li class="menu__item menu_item_left" role="menuitem"><a href="https://notionpress.com/booksaleschallenge"> Book Sales Challenge Mar 2020 </a>
  1061.                  </li> -->
  1062.                  <!-- <li class="menu__item" role="menuitem"><a href="https://notionpress.com/booksaleschallenge/aug-2019"> Book Sales Challenge Aug 2019 </a>
  1063.                  </li>  -->
  1064.                </ul>
  1065.  
  1066.           <!-- spotlight start -->
  1067.              <ul data-menu="submenu-4" id="submenu-4" class="menu__level" tabindex="-1" role="menu">
  1068.                  <!-- <li class="menu__item" role="menuitem"><a class="menu__link" href="https://notionpress.com/book-marketing">Spotlight Publishing</a>
  1069.                  </li> -->                  
  1070.                  <li class="menu__item" role="menuitem"><a href="https://notionpress.com/spotlight-publishing#about">How to Publish</a>
  1071.                  </li>
  1072.                  <li class="menu__item" role="menuitem"><a href="https://notionpress.com/spotlight-publishing#pricing">Pricing</a>
  1073.                  </li>
  1074.                  <li class="menu__item" role="menuitem"><a href="https://notionpress.com/spotlight-publishing#how-it-works">How it Works</a>
  1075.                  </li>
  1076.                  <li class="menu__item" role="menuitem"><a href="https://notionpress.com/spotlight-publishing#faq">FAQs</a>
  1077.                  </li>
  1078.                  
  1079.                </ul>
  1080.           <!-- end -->
  1081.  
  1082.          <!-- NotionPress Picks -->
  1083.          <ul data-menu="submenu-2-1" id="submenu-2-1" class="menu__level" tabindex="-1" role="menu" aria-label="Notion Press Picks">
  1084.  
  1085.              <li class="menu__item" role="menuitem">
  1086.                  <a class="menu__link" target="_blank" href="https://bynge.in">Bynge Tamil Stories</a>
  1087.              </li>
  1088.              <li class="menu__item" role="menuitem">
  1089.                  <a class="menu__link" href="https://notionpress.com/store/topselling">Trending this week</a>
  1090.              </li>
  1091.              <li class="menu__item" role="menuitem">
  1092.                  <a class="menu__link" href="https://notionpress.com/store/categories/all">New Releases</a>
  1093.              </li>
  1094.                            <li class="menu__item" role="menuitem">
  1095.                  <a class="menu__link" href="https://notionpress.com/store/preorder">Pre-Order</a>
  1096.              </li>
  1097.              <li class="menu__item" role="menuitem">
  1098.                  <a class="menu__link" href="https://notionpress.com/store/freeshippingall">Free Shipping</a>
  1099.              </li>
  1100.              <li class="menu__item" role="menuitem">
  1101.                  <a class="menu__link" href="https://notionpress.com/store/indianlangall">Indian Languages</a>
  1102.              </li>
  1103.              <li class="menu__item" role="menuitem">
  1104.                  <a class="menu__link" href="https://notionpress.com/store/xpressall">Xpress Publishing</a>
  1105.              </li>
  1106.              
  1107.                                    <li class="menu__item" role="menuitem">
  1108.                            <a class="menu__link" href="https://notionpress.com/store/collections/bestsellers">Bestsellers</a>
  1109.                        </li>
  1110.                                        <li class="menu__item" role="menuitem">
  1111.                            <a class="menu__link" href="https://notionpress.com/store/collections/poetry">Poetry</a>
  1112.                        </li>
  1113.                                        <li class="menu__item" role="menuitem">
  1114.                            <a class="menu__link" href="https://notionpress.com/store/collections/Indian-writing">The Indian Collection
  1115. </a>
  1116.                        </li>
  1117.                                        <li class="menu__item" role="menuitem">
  1118.                            <a class="menu__link" href="https://notionpress.com/store/collections/contestwinners8">Winners Of The Book Sales Contest</a>
  1119.                        </li>
  1120.                                        <li class="menu__item" role="menuitem">
  1121.                            <a class="menu__link" href="https://notionpress.com/store/collections/management-leadership">Leadership & Management</a>
  1122.                        </li>
  1123.                                        <li class="menu__item" role="menuitem">
  1124.                            <a class="menu__link" href="https://notionpress.com/store/collections/crime">Crime </a>
  1125.                        </li>
  1126.                                        <li class="menu__item" role="menuitem">
  1127.                            <a class="menu__link" href="https://notionpress.com/store/collections/How-to">Best How to books</a>
  1128.                        </li>
  1129.                                        <li class="menu__item" role="menuitem">
  1130.                            <a class="menu__link" href="https://notionpress.com/store/collections/Romance">Romance</a>
  1131.                        </li>
  1132.                                        <li class="menu__item" role="menuitem">
  1133.                            <a class="menu__link" href="https://notionpress.com/store/collections/Career-Money">Career & Money</a>
  1134.                        </li>
  1135.                                        <li class="menu__item" role="menuitem">
  1136.                            <a class="menu__link" href="https://notionpress.com/store/collections/Myths-legends">Myths & Legends</a>
  1137.                        </li>
  1138.                                        <li class="menu__item" role="menuitem">
  1139.                            <a class="menu__link" href="https://notionpress.com/store/collections/editors-pick-tamil">Editor's Picks</a>
  1140.                        </li>
  1141.                                        <li class="menu__item" role="menuitem">
  1142.                            <a class="menu__link" href="https://notionpress.com/store/collections/editors-pick-hindi">Editor's Picks</a>
  1143.                        </li>
  1144.                                        <li class="menu__item" role="menuitem">
  1145.                            <a class="menu__link" href="https://notionpress.com/store/collections/editors-pick">Editor's Picks</a>
  1146.                        </li>
  1147.                                        <li class="menu__item" role="menuitem">
  1148.                            <a class="menu__link" href="https://notionpress.com/store/collections/Personal-growth">Personal Growth</a>
  1149.                        </li>
  1150.                                        <li class="menu__item" role="menuitem">
  1151.                            <a class="menu__link" href="https://notionpress.com/store/collections/Short_reads">Short reads</a>
  1152.                        </li>
  1153.                                        <li class="menu__item" role="menuitem">
  1154.                            <a class="menu__link" href="https://notionpress.com/store/collections/Travel">Travel</a>
  1155.                        </li>
  1156.                                        <li class="menu__item" role="menuitem">
  1157.                            <a class="menu__link" href="https://notionpress.com/store/collections/most-gifted">Most Gifted</a>
  1158.                        </li>
  1159.                                        <li class="menu__item" role="menuitem">
  1160.                            <a class="menu__link" href="https://notionpress.com/store/collections/Adventure">Adventure</a>
  1161.                        </li>
  1162.                          </ul>
  1163.          <!-- /NotionPress Picks -->
  1164.  
  1165.          <!-- booksBy Subjects -->
  1166.          <ul data-menu="submenu-2-2" id="submenu-2-2" class="menu__level" tabindex="-1" role="menu" aria-label="">
  1167.                            <li class="menu__item" role="menuitem">
  1168.                    
  1169.                    <a class="menu__link" href="https://notionpress.com/store/categories/literature-fiction" >
  1170.                      <span class="store_sprite" style="background-position: -146px 150px;" ></span>
  1171.                      Literature & Fiction                    </a>
  1172.                </li>
  1173.                            <li class="menu__item" role="menuitem">
  1174.                    
  1175.                    <a class="menu__link" href="https://notionpress.com/store/categories/business-investing-management" >
  1176.                      <span class="store_sprite" style="background-position: -105px 234px;" ></span>
  1177.                      Business, Investing & Management                    </a>
  1178.                </li>
  1179.                            <li class="menu__item" role="menuitem">
  1180.                    
  1181.                    <a class="menu__link" href="https://notionpress.com/store/categories/biographies-autobiographies" >
  1182.                      <span class="store_sprite" style="background-position: -63px 234px;" ></span>
  1183.                      Biographies & Autobiographies                    </a>
  1184.                </li>
  1185.                            <li class="menu__item" role="menuitem">
  1186.                    
  1187.                    <a class="menu__link" href="https://notionpress.com/store/categories/self-help" >
  1188.                      <span class="store_sprite" style="background-position: -146px 107px;" ></span>
  1189.                      Self-Help                    </a>
  1190.                </li>
  1191.                            <li class="menu__item" role="menuitem">
  1192.                    
  1193.                    <a class="menu__link" href="https://notionpress.com/store/categories/poetry" >
  1194.                      <span class="store_sprite" style="background-position: -19px 107px;" ></span>
  1195.                      Poetry                    </a>
  1196.                </li>
  1197.                            <li class="menu__item" role="menuitem">
  1198.                    
  1199.                    <a class="menu__link" href="https://notionpress.com/store/categories/history-politics" >
  1200.                      <span class="store_sprite" style="background-position: -189px 192px;" ></span>
  1201.                      History & Politics                    </a>
  1202.                </li>
  1203.                            <li class="menu__item" role="menuitem">
  1204.                    
  1205.                    <a class="menu__link" href="https://notionpress.com/store/categories/reference-study-guides" >
  1206.                      <span class="store_sprite" style="background-position: -64px 107px;" ></span>
  1207.                      Reference & Study Guides                    </a>
  1208.                </li>
  1209.                            <li class="menu__item" role="menuitem">
  1210.                    
  1211.                    <a class="menu__link" href="https://notionpress.com/store/categories/philosophy" >
  1212.                      <span class="store_sprite" style="background-position: -189px 64px;" ></span>
  1213.                      Philosophy                    </a>
  1214.                </li>
  1215.                            <li class="menu__item" role="menuitem">
  1216.                    
  1217.                    <a class="menu__link" href="https://notionpress.com/store/categories/health-fitness" >
  1218.                      <span class="store_sprite" style="background-position: -147px 192px;" ></span>
  1219.                      Health & Fitness                    </a>
  1220.                </li>
  1221.                            <li class="menu__item" role="menuitem">
  1222.                    
  1223.                    <a class="menu__link" href="https://notionpress.com/store/categories/computers" >
  1224.                      <span class="store_sprite" style="background-position: -147px 234px;" ></span>
  1225.                      Computers                    </a>
  1226.                </li>
  1227.                            <li class="menu__item" role="menuitem">
  1228.                    
  1229.                    <a class="menu__link" href="https://notionpress.com/store/categories/cooking-food-wine" >
  1230.                      <span class="store_sprite" style="background-position: -189px 234px;" ></span>
  1231.                      Cooking, Food & Wine                    </a>
  1232.                </li>
  1233.                            <li class="menu__item" role="menuitem">
  1234.                    
  1235.                    <a class="menu__link" href="https://notionpress.com/store/categories/true-stories" >
  1236.                      <span class="store_sprite" style="background-position: -62px 66px;" ></span>
  1237.                      True Stories                    </a>
  1238.                </li>
  1239.                            <li class="menu__item" role="menuitem">
  1240.                    
  1241.                    <a class="menu__link" href="https://notionpress.com/store/categories/sports-games" >
  1242.                      <span class="store_sprite" style="background-position: -188px 107px;" ></span>
  1243.                      Sports & Games                    </a>
  1244.                </li>
  1245.                            <li class="menu__item" role="menuitem">
  1246.                    
  1247.                    <a class="menu__link" href="https://notionpress.com/store/categories/arts-photography-design" >
  1248.                      <span class="store_sprite" style="background-position: -22px 235px;" ></span>
  1249.                      Arts, Photography & Design                    </a>
  1250.                </li>
  1251.                            <li class="menu__item" role="menuitem">
  1252.                    
  1253.                    <a class="menu__link" href="https://notionpress.com/store/categories/educational-professional" >
  1254.                      <span class="store_sprite" style="background-position: -63px 192px;" ></span>
  1255.                      Educational & Professional                    </a>
  1256.                </li>
  1257.                            <li class="menu__item" role="menuitem">
  1258.                    
  1259.                    <a class="menu__link" href="https://notionpress.com/store/categories/humor" >
  1260.                      <span class="store_sprite" style="background-position: -21px 150px;" ></span>
  1261.                      Humor                    </a>
  1262.                </li>
  1263.                            <li class="menu__item" role="menuitem">
  1264.                    
  1265.                    <a class="menu__link" href="https://notionpress.com/store/categories/outdoors-nature" >
  1266.                      <span class="store_sprite" style="background-position: -231px 150px;" ></span>
  1267.                      Outdoors & Nature                    </a>
  1268.                </li>
  1269.                            <li class="menu__item" role="menuitem">
  1270.                    
  1271.                    <a class="menu__link" href="https://notionpress.com/store/categories/technology-engineering" >
  1272.                      <span class="store_sprite" style="background-position: -231px 107px;" ></span>
  1273.                      Technology & Engineering                    </a>
  1274.                </li>
  1275.                            <li class="menu__item" role="menuitem">
  1276.                    
  1277.                    <a class="menu__link" href="https://notionpress.com/store/categories/religion-spirituality" >
  1278.                      <span class="store_sprite" style="background-position: -105px 107px;" ></span>
  1279.                      Religion & Spirituality                    </a>
  1280.                </li>
  1281.                            <li class="menu__item" role="menuitem">
  1282.                    
  1283.                    <a class="menu__link" href="https://notionpress.com/store/categories/body-mind-spirit" >
  1284.                      <span class="store_sprite" style="background-position: -105px 107px;" ></span>
  1285.                      BODY, MIND & SPIRIT                    </a>
  1286.                </li>
  1287.                            <li class="menu__item" role="menuitem">
  1288.                    
  1289.                    <a class="menu__link" href="https://notionpress.com/store/categories/travel" >
  1290.                      <span class="store_sprite" style="background-position: -21px 66px;" ></span>
  1291.                      Travel                    </a>
  1292.                </li>
  1293.                            <li class="menu__item" role="menuitem">
  1294.                    
  1295.                    <a class="menu__link" href="https://notionpress.com/store/categories/others" >
  1296.                      <span class="store_sprite" style="background-position: -106px 65px;" ></span>
  1297.                      Others                    </a>
  1298.                </li>
  1299.                            <li class="menu__item" role="menuitem">
  1300.                    
  1301.                    <a class="menu__link" href="https://notionpress.com/store/categories/dramas-plays" >
  1302.                      <span class="store_sprite" style="background-position: -21px 192px;" ></span>
  1303.                      Dramas & Plays                    </a>
  1304.                </li>
  1305.                            <li class="menu__item" role="menuitem">
  1306.                    
  1307.                    <a class="menu__link" href="https://notionpress.com/store/categories/crafts-hobbies" >
  1308.                      <span class="store_sprite" style="background-position: -231px 234px;" ></span>
  1309.                      Crafts & Hobbies                    </a>
  1310.                </li>
  1311.                            <li class="menu__item" role="menuitem">
  1312.                    
  1313.                    <a class="menu__link" href="https://notionpress.com/store/categories/language-studies" >
  1314.                      <span class="store_sprite" style="background-position: -62px 150px;" ></span>
  1315.                      Language Studies                    </a>
  1316.                </li>
  1317.                            <li class="menu__item" role="menuitem">
  1318.                    
  1319.                    <a class="menu__link" href="https://notionpress.com/store/categories/families-relationships" >
  1320.                      <span class="store_sprite" style="background-position: -105px 192px;" ></span>
  1321.                      Families & Relationships                    </a>
  1322.                </li>
  1323.                            <li class="menu__item" role="menuitem">
  1324.                    
  1325.                    <a class="menu__link" href="https://notionpress.com/store/categories/letters-essays" >
  1326.                      <span class="store_sprite" style="background-position: -104px 150px;" ></span>
  1327.                      Letters & Essays                    </a>
  1328.                </li>
  1329.                            <li class="menu__item" role="menuitem">
  1330.                    
  1331.                    <a class="menu__link" href="https://notionpress.com/store/categories/music-entertainment" >
  1332.                      <span class="store_sprite" style="background-position: -189px 150px;" ></span>
  1333.                      Music & Entertainment                    </a>
  1334.                </li>
  1335.                            <li class="menu__item" role="menuitem">
  1336.                    
  1337.                    <a class="menu__link" href="https://notionpress.com/store/categories/home-garden" >
  1338.                      <span class="store_sprite" style="background-position: -232px 192px;" ></span>
  1339.                      Home & Garden                    </a>
  1340.                </li>
  1341.                            <li class="menu__item" role="menuitem">
  1342.                    
  1343.                    <a class="menu__link" href="https://notionpress.com/store/categories/pets-animal-care" >
  1344.                      <span class="store_sprite" style="background-position: -409px 55px;" ></span>
  1345.                      Pets & Animal Care                    </a>
  1346.                </li>
  1347.                            <li class="menu__item" role="menuitem">
  1348.                    
  1349.                    <a class="menu__link" href="https://notionpress.com/store/categories/children-young-adult" >
  1350.                      <span class="store_sprite" style="background-position: -149px 65px;" ></span>
  1351.                      Children & Young Adult                    </a>
  1352.                </li>
  1353.                            <li class="menu__item" role="menuitem">
  1354.                    
  1355.                    <a class="menu__link" href="https://notionpress.com/store/categories/Bibles" >
  1356.                      <span class="store_sprite" style="background-position: -455px 55px;" ></span>
  1357.                      Bibles                    </a>
  1358.                </li>
  1359.                            <li class="menu__item" role="menuitem">
  1360.                    
  1361.                    <a class="menu__link" href="https://notionpress.com/store/categories/Comics-Graphic-Novels" >
  1362.                      <span class="store_sprite" style="background-position: -498px 55px;" ></span>
  1363.                      Comics & Graphic Novels                    </a>
  1364.                </li>
  1365.                            <li class="menu__item" role="menuitem">
  1366.                    
  1367.                    <a class="menu__link" href="https://notionpress.com/store/categories/Design" >
  1368.                      <span class="store_sprite" style="background-position: -542px 55px;" ></span>
  1369.                      Design                    </a>
  1370.                </li>
  1371.                            <li class="menu__item" role="menuitem">
  1372.                    
  1373.                    <a class="menu__link" href="https://notionpress.com/store/categories/Young-Adult-Fiction" >
  1374.                      <span class="store_sprite" style="background-position: -589px 55px;" ></span>
  1375.                      Young Adult Fiction                    </a>
  1376.                </li>
  1377.                            <li class="menu__item" role="menuitem">
  1378.                    
  1379.                    <a class="menu__link" href="https://notionpress.com/store/categories/Young-Adult-Nonfiction" >
  1380.                      <span class="store_sprite" style="background-position: -631px 54px;" ></span>
  1381.                      Young Adult Nonfiction                    </a>
  1382.                </li>
  1383.                            <li class="menu__item" role="menuitem">
  1384.                    
  1385.                    <a class="menu__link" href="https://notionpress.com/store/categories/Pets-Animal-Care" >
  1386.                      <span class="store_sprite" style="background-position: -409px 55px;" ></span>
  1387.                       Pets & Animal Care                    </a>
  1388.                </li>
  1389.                      </ul>
  1390.          <!-- /booksBy Subjects -->
  1391.          <!-- /discover Menu -->
  1392.      </div>
  1393.  
  1394.    </nav>
  1395.    <button class="action action--close" aria-label="Close Menu" style="display: block;right: 15px;z-index:-1;"><span class="icon icon--cross"></span></button>
  1396. </div>
  1397. </div>
  1398.  
  1399.  
  1400. <!-- /MobileNav -->
  1401.  
  1402.  <a class="np_logo" href="https://notionpress.com/en/"><img src="https://notionpress.com/images/bookstore_rewamp/np_logo_312.webp"></a>
  1403.  <div class="rightmenu-items"><i class="fa fa-angle-left"></i> Profile</div>
  1404.  
  1405.      <div class="leftNav">
  1406.        <ul>
  1407.          <!-- <li><a class="navbar-brand" href="https://notionpress.com/store"><img src="https://notionpress.com/images/bookstore_rewamp/np_logo.webp"></a></li> -->
  1408.  
  1409.         <!--  <li class="dropdown staticpageMenu">
  1410.  
  1411.            <a href="https://notionpress.com/" class="lview"> Publish with us <i class="fa fa-angle-down" aria-hidden="true"></i>
  1412.            </a> -->
  1413.  
  1414.                        <!-- <div class="dropcontent">
  1415.              <span class="arrowtop"></span>
  1416.  
  1417.              <div class="staticpage">
  1418.                <div> -->
  1419.               <!--   <ul>
  1420.                  <li class="titlemenu publishing_type">
  1421.                    <h4><a href="https://notionpress.com/publish/guided">Guided Publishing</a><span>Get your own dedicated team of book experts to publish your book</span></h4>
  1422.                  </li>
  1423.                   <li class="submenu">
  1424.                    <a href="https://notionpress.com/publish/guided">How to Publish</a>
  1425.                  </li>
  1426.                  <li class="submenu">
  1427.                    <a href="https://notionpress.com/packages">Pricing</a>
  1428.                  </li>
  1429.                  <li class="submenu">
  1430.                   <a href="https://notionpress.com/services">Services</a>
  1431.                  </li>
  1432.                  <li class="submenu">
  1433.                    <a href="https://notionpress.com/royalty-calculator/guided">Calculate Author Earnings</a>
  1434.                  </li>
  1435.                  <li class="submenu">
  1436.                    <a href="https://notionpress.com/resources/book-formats-and-sizes">Book Formats</a>
  1437.                  </li>
  1438.                  <li class="submenu">
  1439.                    <a href="https://notionpress.com/accelerator">Accelerator</a>
  1440.                  </li>
  1441.                </ul>
  1442.  
  1443.                <ul>
  1444.                  <li class="titlemenu publishing_type">
  1445.                    <h4><a href="https://notionpress.com/publish/xpress">Xpress Publishing</a> <span>Create your own book with easy to use publishing tools</span></h4>
  1446.                  </li>
  1447.                  <li class="submenu">
  1448.                    <a href="https://notionpress.com/publish/xpress">How to Publish</a>
  1449.                  </li>
  1450.  
  1451.                  <li class="submenu">
  1452.                    <a href="https://notionpress.com/packages">Pricing</a>
  1453.                  </li>
  1454.                  <li class="submenu">
  1455.                    <a href="https://notionpress.com/royalty-calculator/xpress">Calculate Author Earnings</a>
  1456.                  </li>
  1457.                  <li class="submenu">
  1458.                    <a href="https://notionpress.com/resources/publishing-template">Publishing Template</a>
  1459.                  </li>
  1460.  
  1461.  
  1462.                </ul>-->
  1463.  
  1464.                <!-- Spotlight start -->
  1465.               <!--  <ul>
  1466.                  <li class="titlemenu publishing_type">
  1467.                    <h4><a href="https://notionpress.com/spotlight-publishing">Spotlight Publishing</a><span>Work with the best branding experts to publish your book and build a brand</span></h4>
  1468.                  </li>
  1469.                  <li class="submenu">
  1470.                    <a href="https://notionpress.com/spotlight-publishing#about">How to Publish</a>
  1471.                  </li>
  1472.                  <li class="submenu">
  1473.                    <a href="https://notionpress.com/spotlight-publishing#pricing">Pricing</a>
  1474.                  </li>                                    
  1475.                  <li class="submenu">
  1476.                    <a href="https://notionpress.com/spotlight-publishing#how-it-works">How it Works</a>
  1477.                  </li>
  1478.                  <li class="submenu">
  1479.                    <a href="https://notionpress.com/spotlight-publishing#faq">FAQs</a>
  1480.                  </li>
  1481.                  
  1482.                </ul> -->
  1483.                <!-- end -->
  1484.  
  1485.               <!--  <ul>
  1486.                  <li class="titlemenu publishing_type">
  1487.                    <h4><a href="https://notionpress.com/book-marketing">Marketing Tools</a><span>Promote you book using our marketing tools</span></h4>
  1488.                  </li>
  1489.                   <li class="submenu">
  1490.                    <a href="https://notionpress.com/book-marketing">Author Dashboard</a>
  1491.                  </li>
  1492.                  <li class="submenu">
  1493.                    <a href="https://notionpress.com/book-marketing/shipping-manager">Shipping Manager</a>
  1494.                  </li> -->
  1495.                  <!-- <li class="submenu">
  1496.                    <a href="https://notionpress.com/book-marketing/bookpostr">Book Postr</a>
  1497.                  </li> -->
  1498.                  <!-- <li class="submenu">
  1499.                    <a href="https://notionpress.com/book-marketing/coupon-manager">Coupon Code Manager</a>
  1500.                  </li>
  1501.                  
  1502.                </ul> -->
  1503.  
  1504.                 <!-- <ul class="reviewsection">
  1505.                  <div class="menu-footer">
  1506.                    <div class="authorreview">
  1507.                      <img src="" data-src="https://notionpress.com/images/bookstore_rewamp/2018/author1.webp" class="dataserc" alt="">
  1508.                      <p class="reviewcontent">An Excellent and Dedicated Team with an established presence in the publishing industry.</p>
  1509.                      <strong class="reviewauthor"><span>Vivek Sreedhar</span>Author of Ketchup & Curry</strong>
  1510.                    </div>
  1511.  
  1512.                  </div>
  1513.                </ul> -->
  1514.               <!--  </div>
  1515.              <a href="https://notionpress.com/login" class="getstart">Get Started</a>
  1516.  
  1517.              </div>
  1518.            </div> -->
  1519.            
  1520.  
  1521.         <!--  </li>  --><!-- /dropdown staticpageMenu -->
  1522.                            
  1523.    
  1524.                            <li class="dropdown collectiondropdown">
  1525.                            <a href="https://notionpress.com/store">Discover books <i class="fa fa-angle-down" aria-hidden="true"></i></a>
  1526.                               <div class="dropcontent">
  1527.                                  <span class="arrowtop"><em></em></span>
  1528.                                    <ul class="collection_cat">
  1529.                                      <h4>Notion Press Picks</h4>
  1530.                                      <li><a href="https://bynge.in/" target="_blank">Bynge Tamil Stories</a></li>
  1531.                                      <li><a href="https://notionpress.com/store/topselling">Trending this week</a></li>
  1532.                                      <li><a href="https://notionpress.com/store/categories/all">New Releases</a></li>
  1533.                                                                            <!--<li><a href="https://notionpress.com/store/preorder">Pre-Order</a></li>-->
  1534.                                      <li><a href="https://notionpress.com/store/freeshippingall">Free Shipping</a></li>
  1535.                                      <li><a href="https://notionpress.com/store/indianlangall">Indian Languages</a></li>
  1536.                                      <li><a href="https://notionpress.com/store/xpressall">Xpress Publishing</a></li>
  1537.                                                                            <!-- store new links -->
  1538.                                                                                        <li>
  1539.                                                      <a href="https://notionpress.com/store/collections/bestsellers">Bestsellers</a>
  1540.                                                  </li>
  1541.                                                                                            <li>
  1542.                                                      <a href="https://notionpress.com/store/collections/poetry">Poetry</a>
  1543.                                                  </li>
  1544.                                                                                            <li>
  1545.                                                      <a href="https://notionpress.com/store/collections/Indian-writing">The Indian Collection
  1546. </a>
  1547.                                                  </li>
  1548.                                                                                            <li>
  1549.                                                      <a href="https://notionpress.com/store/collections/contestwinners8">Winners Of The Book Sales Contest</a>
  1550.                                                  </li>
  1551.                                                                                            <li>
  1552.                                                      <a href="https://notionpress.com/store/collections/management-leadership">Leadership & Management</a>
  1553.                                                  </li>
  1554.                                                                                <!-- /store new links -->
  1555.                                      <a href="https://notionpress.com/store/collections/all" class="allcollection"> See All </a>
  1556.                                    </ul>
  1557.  
  1558.  
  1559.                                    <ul>
  1560.                                     <li class="dropdown categorydropdown">
  1561.                                        <h4>Books By Genre</h4>
  1562.                                          <div >
  1563.                                              <ul>
  1564.                                                                                                                                                              <li ><a href="https://notionpress.com/store/categories/literature-fiction">Literature & Fiction</a></li>
  1565.                                                    
  1566.  
  1567.  
  1568.                                                                                                                                                                                                                  <li ><a href="https://notionpress.com/store/categories/business-investing-management">Business, Investing & Management</a></li>
  1569.                                                    
  1570.  
  1571.  
  1572.                                                                                                                                                                                                                  <li ><a href="https://notionpress.com/store/categories/biographies-autobiographies">Biographies & Autobiographies</a></li>
  1573.                                                    
  1574.  
  1575.  
  1576.                                                                                                                                                                                                                  <li ><a href="https://notionpress.com/store/categories/self-help">Self-Help</a></li>
  1577.                                                    
  1578.  
  1579.  
  1580.                                                                                                                                                                                                                  <li ><a href="https://notionpress.com/store/categories/poetry">Poetry</a></li>
  1581.                                                    
  1582.  
  1583.  
  1584.                                                                                                                                                                                                                  <li ><a href="https://notionpress.com/store/categories/history-politics">History & Politics</a></li>
  1585.                                                    
  1586.  
  1587.  
  1588.                                                                                                                                                                                                                  <li ><a href="https://notionpress.com/store/categories/reference-study-guides">Reference & Study Guides</a></li>
  1589.                                                    
  1590.  
  1591.  
  1592.                                                                                                                                                                                                                  <li ><a href="https://notionpress.com/store/categories/philosophy">Philosophy</a></li>
  1593.                                                    
  1594.  
  1595.  
  1596.                                                                                                                                                                                                                  <li class="last"><a href="https://notionpress.com/store/categories/health-fitness">Health & Fitness</a></li>
  1597.                                                    
  1598.  
  1599.  
  1600.                                                                                                                                                                                                                    <li ><a href="https://notionpress.com/store/categories" class="allcollection">See All </a></li>
  1601.                                                    
  1602.  
  1603.  
  1604.                                                                                                                                                    </ul>
  1605.                                          </div>
  1606.                                      </li>
  1607.                                    </ul>
  1608.                                     <ul class="discover-menu">
  1609.                                        <div class="discover-footer">
  1610.                                          <p>Discover and read thousands of books from independent authors across India</p>
  1611.                                          <a href="https://notionpress.com/store"><span>Visit the bookstore</span> <i class="fa fa-angle-right" aria-hidden="true"></i></a>
  1612.                                          <img src=""  data-src="https://notionpress.com/images/bookstore_rewamp/2018/discover-menu.png" class="dataserc" alt="">
  1613.  
  1614.                                        </div>
  1615.                                      </ul>
  1616.  
  1617.                                </div>
  1618.                            </li>
  1619.  
  1620.  
  1621.          <!-- Author dashboard -->
  1622.                    
  1623. <li class="dropdown staticpageMenu"> <a class="main_menu"  href="https://notionpress.com/en/for-writers">For Writers <i class="fa fa-angle-down" aria-hidden="true"></i>
  1624.  <!-- <span class="new">New</span>  -->
  1625. </a>
  1626.  
  1627.  
  1628. <div class="dropcontent salescontest">
  1629.              <span class="arrowtop"></span>
  1630.              <ul class="for_writers_menus">
  1631.                   <li class="submenu">
  1632.                    <h4>For Writers</h4>
  1633.                    <div class="sub_child"><a href="https://notionpress.com/en/for-writers"><strong>Get Published</strong> <p>Publish your book and sell across 150+ countries</p><i class="fa fa-angle-right" aria-hidden="true"></i>
  1634. </a></div>
  1635.                   </li>
  1636.                   <li class="submenu">
  1637.                    <div class="sub_child"><a href="https://notionpress.com/en/outpublish"><strong>Outpublish</strong> <p>Experience the guidance of a traditional publishing house with the freedom of self-publishing</p><i class="fa fa-angle-right" aria-hidden="true"></i>
  1638. </a></div>
  1639.                   </li>
  1640.                   <li class="submenu">
  1641.                    <div class="sub_child"><a href="https://notionpress.com/book-marketing"><strong>Marketing Tools</strong> <p>Use our tools to promote your book and reach more readers</p><i class="fa fa-angle-right" aria-hidden="true"></i></a></div>
  1642.                   </li>
  1643.                   <li class="submenu">
  1644.                    <div class="sub_child"><a href="https://notionpress.com/writing-course" target="_blank"><strong>Writing Courses</strong> <p>Start your writing journey with our FREE writing courses</p><i class="fa fa-angle-right" aria-hidden="true"></i></a></div>
  1645.                   </li>
  1646.                   </ul>
  1647.                <ul class="challenges_menus">
  1648.                <li class="submenu">
  1649.                    <h3>Indie Author Championship</h3>
  1650.                    <div class="sub_child">
  1651.                      <a href="https://notionpress.com/indie-author-championship/30">Indie Author Championship #14<span class="new">New</span></a>
  1652.                      <a href="https://notionpress.com/indie-author-championship/29">Indie Author Championship #13 <span class="new ended">See Results</span></a>
  1653.                      <a href="https://notionpress.com/indie-author-championship/28">Indie Author Championship #12 <span class="new ended">See Results</span></a></div>
  1654.                   </li>
  1655.                   <li class="submenu">
  1656.                    <h4>Challenges</h4>
  1657.                    <h3>Writing Contests</h3>
  1658.                    
  1659.                    <div class="sub_child">
  1660.                    <a href="https://notionpress.com/story/ssc_main">#National Writing Competition <span class="new">New</span></a>
  1661.                    <a href="https://notionpress.com/en/stories/versesoflove">#VersesofLove <span class="new ended">See Results</span></a>
  1662.                    <a href="https://notionpress.com/en/stories/writeyourheartout">#writeyourheartout<span class="new ended">See Results</span></a></div>
  1663.                   </li>
  1664.                  
  1665.                    <li class="btn_Get_Started"><a href="https://notionpress.com/en/signup" class="btn btn-primary">Get Started</a></li>
  1666.                   </ul>
  1667.                   <div class="author_reviews">
  1668.                   <div class="row">
  1669.                     <div class="photos col-5"><img src="https://notionpress.com/new-rewamp/images/for_writers/menus_author_img.png"></div>
  1670.                     <div class="content col-7"><p>"It was a wonderful experience interacting with you and appreciate the way you have planned and executed the whole publication process within the agreed timelines.”</p><strong>Subrat Saurabh<span>Author of  Kuch Woh Pal</span></strong></div>
  1671.                     </div>
  1672.                   </div>
  1673. </li>
  1674.       </ul>
  1675.    </div>
  1676.  
  1677.  </div>
  1678.  
  1679.  
  1680.  
  1681.  
  1682.  <div class="text-right col-lg-5 col-md-6 col-sm-7 col-xs-9 col-9 d-inline-block align-top nav_style_res" id="nav_responsive">
  1683.    <ul>
  1684.          <li class="searchMenu"><!-- search bar -->
  1685.        <div class="searchicon">
  1686.          <div class="col-md-1 nopadding">
  1687.           <!--  <button id="search" name="search" class="btn btn-success"><i class="menu-search"></i></button> -->
  1688.            <i class="menu-search"></i>
  1689.          </div>
  1690.        </div>
  1691.        <div class="searchbar">
  1692.  
  1693.          
  1694.          <form action="https://notionpress.com/store/s" accept-charset="utf-8" method="get" name="product_search_box">          <span class="backicon"><i class="fa fa-times"></i></span>
  1695.          <input id="query" name="NP_Books[query]" type="text" placeholder="Search by Book Title or Author Name" class="form-control" required="" title="" style="">
  1696.          <div class="col-md-1 nopadding searchButton d-inline-block">
  1697.          <!-- <button id="search" class="btn btn-success"><span class="search-icon"></span></button> -->
  1698.           <!-- <img src="https://notionpress.com/images/bookstore_rewamp/magnifying-glass.png"  style="width:20px;height:20px">  -->
  1699.          <i class="menu-search"></i>
  1700.  
  1701.          </form>          </div>
  1702.        </div>
  1703.      </li>
  1704.      <!-- Landingpage menu -->
  1705.      <!-- <li class="staticMenu">
  1706.        <div class="blog"> <a href="https://notionpress.com/blog" target="_blank" target="_blank" title="Blog">Blog</a> </div>
  1707.        <div class="aboutus"> <a href="https://notionpress.com/about" target="_blank" target="_blank" title="About Us"> About Us</a> </div>
  1708.      </li> -->
  1709.  
  1710.      <!-- storeNew -->
  1711.      <!-- country section -->
  1712.            <li class="country_selection">
  1713.        <div class="country_short">
  1714.          <div class="country_select" style="">
  1715.                        <i class="flagstrap-icon flagstrap-in"></i>
  1716.            IN            <span class="toparrow"><em></em></span>
  1717.            <ul class="coutry_sel col-md-12">
  1718.              <li class='flag-in' data-flag='in' selected><i class='flagstrap-icon'></i>India</li><li class='flag-sg' data-flag='sg'><i class='flagstrap-icon'></i>Singapore</li><li class='flag-my' data-flag='my'><i class='flagstrap-icon'></i>Malaysia</li>            </ul>
  1719.            <i class="fa fa-angle-down" aria-hidden="true"></i>
  1720.          </div>
  1721.        </div>
  1722.      </li>
  1723.      
  1724.      <li class=" carticon" title="Cart">
  1725.  
  1726.        
  1727.  
  1728.                <a href="https://notionpress.com/store" class="topcart" data-cart-url="https://notionpress.com/store/cart" data-store-url="https://notionpress.com/store" >
  1729.  
  1730.                               <span class="items hid">0</span>
  1731.        <!-- <i class="fa fa-shopping-cart" aria-hidden="true"></i> -->
  1732.       <!--  <img src="https://notionpress.com/images/bookstore_rewamp/shopping-cart.png"  style="width:25px;height:25px"> -->
  1733.       <i class="menu_cart"></i>
  1734.        <span></span>
  1735.        </a>
  1736.      </li>
  1737.  
  1738.      <!-- Readinsta Notification -->
  1739.                  <!-- cart icon -->
  1740.      
  1741.            <!-- Profile icon / login -->
  1742.      <li class="profileDropdown">
  1743.        <button class="action action--close" aria-label="Close Menu"><span class="icon icon--cross"></span></button>
  1744.                
  1745.        <a href="#" data-izimodal-open="#login-modal" data-izimodal-transitionin="comingIn" class="alreadyMember">
  1746.          <!-- <img src="https://notionpress.com/images/bookstore_rewamp/user.png" style="width:25px;height:25px"> -->
  1747.          <i class="menu_user"></i>
  1748.        </a>
  1749.        <!-- <button class="login-right-float align-middle" href="#" data-izimodal-open="#login-modal" data-izimodal-transitionin="comingIn"><span class="loginLogo dashboardsprite"></span></button> -->
  1750.              </li>
  1751.            
  1752.    </ul>
  1753.  
  1754.  
  1755.  
  1756.  </div>
  1757.  
  1758.  
  1759. </header>
  1760.  
  1761.  
  1762.  <!-- MultiLevel Menu -->
  1763.  <!-- demo styles -->
  1764.  
  1765.  <!-- <link rel="stylesheet" type="text/css" href="https://notionpress.com/assets/store/multi-level-menu/css/demo.css?631296315" />
  1766.   -->
  1767.  <!-- menu styles -->
  1768.  <link rel="stylesheet" type="text/css" href="https://notionpress.com/assets/store/multi-level-menu/css/component.min.css?631296315" />
  1769.  
  1770.  <script src="https://notionpress.com/assets/store/multi-level-menu/js/modernizr-custom.js"  ></script>
  1771.  
  1772. <!-- /view -->
  1773.  <script src="https://notionpress.com/assets/store/multi-level-menu/js/classie.js?631296315"  ></script>
  1774.  <script src="https://notionpress.com/assets/store/multi-level-menu/js/dummydata.js" ></script>
  1775.  <script src="https://notionpress.com/assets/store/multi-level-menu/js/main.js?631296315"  ></script>
  1776.  <script>
  1777.  (function() {
  1778.    var menuEl = document.getElementById('ml-menu'),
  1779.      mlmenu = new MLMenu(menuEl, {
  1780.        // breadcrumbsCtrl : true, // show breadcrumbs
  1781.        // initialBreadcrumb : 'all', // initial breadcrumb text
  1782.        backCtrl : false, // show back button
  1783.        // itemsDelayInterval : 60, // delay between each menu item sliding animation
  1784.        onItemClick: loadDummyData // callback: item that doesn´t have a submenu gets clicked - onItemClick([event], [inner HTML of the clicked item])
  1785.      });
  1786.  
  1787.    // mobile menu toggle
  1788.    var openMenuCtrl = document.querySelector('.action--open'),
  1789.      closeMenuCtrl = document.querySelector('.action--close');
  1790.  
  1791.    openMenuCtrl.addEventListener('click', openMenu);
  1792.    closeMenuCtrl.addEventListener('click', closeMenu);
  1793.  
  1794.    function openMenu(e) {
  1795.      $('.profileDropdown .action').trigger('click');
  1796.      $('.notification-block .notification_dropdown').removeClass('dropdown-menushow');
  1797.  
  1798.      e.stopPropagation();
  1799.      document.getElementById('background-fade').style.display = 'block';
  1800.      classie.add(menuEl, 'menu--open');
  1801.      closeMenuCtrl.focus();
  1802.      closeMenuCtrl.style.opacity = 1;
  1803.      $('body').addClass('noMultiScroll');
  1804.    }
  1805.  
  1806.    function closeMenu() {
  1807.      document.getElementById('background-fade').style.display = 'none';
  1808.      classie.remove(menuEl, 'menu--open');
  1809.      openMenuCtrl.focus();
  1810.      closeMenuCtrl.style.opacity = 0;
  1811.      $('body').removeClass('noMultiScroll');
  1812.    }
  1813.  
  1814.    // simulate grid content loading
  1815.    var gridWrapper = document.querySelector('.content');
  1816.  
  1817.    function loadDummyData(ev, itemName) {
  1818.      ev.preventDefault();
  1819.  
  1820.      closeMenu();
  1821.      gridWrapper.innerHTML = '';
  1822.      classie.add(gridWrapper, 'content--loading');
  1823.      setTimeout(function() {
  1824.        classie.remove(gridWrapper, 'content--loading');
  1825.        gridWrapper.innerHTML = '<ul class="products">' + dummyData[itemName] + '<ul>';
  1826.      }, 700);
  1827.    }
  1828.  
  1829.  })();
  1830.  </script>
  1831.  <!-- /MultiLevel Menu -->
  1832.  
  1833.  
  1834. <script type="text/javascript">
  1835.  //coutry select - changer
  1836.  var cart_status = "0";
  1837. </script>
  1838.  
  1839. <script type="text/javascript">
  1840.  $(".searchbar").click(function(){
  1841.    $("#query").focus();
  1842.  
  1843.  });
  1844. </script>
  1845.  
  1846. <style>
  1847. .hid-dontshow{display:none !important;}
  1848.  
  1849. </style>
  1850. <script>
  1851. $('#background-fade').click(function(){
  1852.  $('.action.action--close').click()
  1853. });
  1854.  
  1855. $(document).ready(function(){
  1856.  
  1857. $('.dataserc').each(function() {
  1858. var dataserc = $(this).attr('data-src');
  1859.  var e = $(window).width();
  1860.   if (e >= 992)
  1861.     {
  1862.       $(this).attr('src', dataserc);
  1863.       }
  1864.     });
  1865. });
  1866. $('.searchButton').click(function(){
  1867.  $('form[name=product_search_box]').submit();
  1868. });
  1869.  
  1870.  
  1871. </script><script type="text/javascript">
  1872.    window.base_url = "";
  1873.    window.site_url = "";
  1874. </script>
  1875.  
  1876. <link href="https://fonts.googleapis.com/css?family=Fjalla+One|Source+Sans+Pro" rel="stylesheet">
  1877. <link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.css" rel="stylesheet" type="text/css" media="screen">
  1878. <!-- <link href="https://notionpress.com/author_portfolio/assets/Author1/common.css?1234?" rel="stylesheet" type="text/css" media="screen"> -->
  1879. <link href="https://notionpress.com//author_portfolio/assets/Author1/bootstrap-colorpicker.min.css" rel="stylesheet" type="text/css" media="screen">
  1880. <link href="https://notionpress.com//author_portfolio/assets/Author1/cropper.css" rel="stylesheet" type="text/css" media="screen">
  1881. <!-- <link href="https://notionpress.com/new-rewamp/css/bootstrap.min.css?25" rel="stylesheet" type="text/css" media="screen"> -->
  1882. <!-- infinite scroll pagination -->
  1883. <!-- infinite scroll pagination -->
  1884. <script src="https://notionpress.com//author_portfolio/assets/Author1/js/bootstrap-colorpicker.js"></script>
  1885. <script src="https://notionpress.com//author_portfolio/assets/Author1/js/cropper.js"></script>
  1886. <!-- <script src='https://cloud.tinymce.com/stable/tinymce.min.js'></script> -->
  1887.  
  1888.  
  1889. <script src="https://cdnjs.cloudflare.com/ajax/libs/tinymce/5.0.15/jquery.tinymce.min.js"></script>
  1890. <script src="https://cdnjs.cloudflare.com/ajax/libs/tinymce/5.0.15/tinymce.min.js"></script>
  1891. <script src="https://cdnjs.cloudflare.com/ajax/libs/tinymce/5.0.15/themes/silver/theme.min.js"></script>
  1892. <script src="https://cdnjs.cloudflare.com/ajax/libs/tinymce/5.0.15/plugins/paste/plugin.min.js"></script>
  1893.  
  1894.  
  1895. <script type="text/javascript">
  1896. window.formCancelled = 0;
  1897. $(document).ready(function(){
  1898. $(".readsample").each(function(){
  1899. $(this).on("click",function(){
  1900. var getID=$(this).attr("data-id");
  1901. $(".spinnerContent").show();
  1902. $("#pdfPreview").find(".modal-content .modalcontent").html('<span class="close sprite" data-dismiss="modal">×</span><iframe style="display: none" src="https://notionpress.com/pdfviewer/'+getID+'" frameborder=\"0\" allowfullscreen></iframe>');
  1903. $("iframe").on("load",function(){
  1904. $(".spinnerContent").hide();
  1905. $(this).css("display","block");
  1906. });
  1907. });
  1908. });
  1909. var getContent=$(".author_dec p:nth-child(1)").html();
  1910. // console.log(getContent);
  1911. if(getContent=='')
  1912. {
  1913. $(".author_dec p:nth-child(1)").remove();
  1914. }
  1915. });
  1916. </script>
  1917.  
  1918.  <style media="screen">
  1919.  
  1920.   .error{
  1921.   font-size: 13px;
  1922.    color: red;
  1923.    font-family: "Heebo",serif;
  1924.    font-weight: 700;
  1925.   }
  1926.  
  1927.   #preImage{
  1928.   border-radius: 100%;
  1929.   }
  1930. /* crop with circle */
  1931. .cropper-view-box,
  1932. .cropper-face {
  1933. border-radius: 50%;
  1934. }
  1935.  
  1936. .morecontent span {
  1937.    display: none;
  1938. }
  1939. .authBgcolor{background-color: rgb(255, 207, 207); position: absolute; top: 0; bottom: 0; left: 0; right: 0; z-index: 1;opacity: .4;}
  1940. .book-image img{border: 1px solid #eee;}
  1941. #image {width: 220px; height: 220px; border: 1px solid #e3e5e4; border-radius: 100%; margin: 30px auto;}
  1942. .image1 {background: center center url("https://notionpress.com/thumbs/phpThumb.php?src=https://notionpress.com/authorpics/1654069286-520300author-photo.png&f=jpg");background-size: 105%;background-repeat: no-repeat;}
  1943.    .container_1 {
  1944.      position: relative;
  1945.      border: 1px solid #CCC;
  1946.      -webkit-perspective: 800px;
  1947.         -moz-perspective: 800px;
  1948.           -o-perspective: 800px;
  1949.              perspective: 800px;
  1950.    }
  1951.  
  1952.    #card {
  1953.      -webkit-transition: -webkit-transform 1s;
  1954.         -moz-transition: -moz-transform 1s;
  1955.           -o-transition: -o-transform 1s;
  1956.              transition: transform 1s;
  1957.      /*-webkit-transform-style: preserve-3d;
  1958.         -moz-transform-style: preserve-3d;
  1959.           -o-transform-style: preserve-3d;
  1960.              transform-style: preserve-3d;*/
  1961.    }
  1962.  
  1963.    #card.flipped {
  1964.      -webkit-transform: rotateY( 180deg );
  1965.         -moz-transform: rotateY( 180deg );
  1966.           -o-transform: rotateY( 180deg );
  1967.              transform: rotateY( 180deg );
  1968.    }
  1969.  
  1970.    #card figure {
  1971.      line-height: 260px;
  1972.      color: white;
  1973.      text-align: center;
  1974.      font-weight: bold;
  1975.      font-size: 140px;
  1976.      -webkit-backface-visibility: hidden;
  1977.         -moz-backface-visibility: hidden;
  1978.           -o-backface-visibility: hidden;
  1979.              backface-visibility: hidden;
  1980.    }
  1981. #card .back {
  1982. position: absolute;
  1983. z-index: 1111;
  1984. left: 0;
  1985. top: 0;
  1986. min-width: 100%;
  1987. min-height: 100%;
  1988. background: #fff;
  1989.      -webkit-transform: rotateY( 180deg );
  1990.         -moz-transform: rotateY( 180deg );
  1991.           -o-transform: rotateY( 180deg );
  1992.              transform: rotateY( 180deg );
  1993.       border-left: 1px solid #ccc;
  1994.    }
  1995.   #pdfPreview iframe {width: 100%;height: 100%;}
  1996.   #pdfPreview.modal .modal-dialog {margin-top: 0;height: 100% !important;position: absolute;top: 0;left: 0;height: 100%;width: 100%;margin-left: 0px;}
  1997. .profileUploadmodal .modal-dialog{width: 80% !important;transform: none !important;-webkit-transform:none !important;height: auto !important;display: flex;align-items: center;}
  1998. .profileUploadmodal .modal-dialog .modal-content{width: 100%;}
  1999.   #pdfPreview.modal .modal-content {height: 100%;border-radius: 0;}
  2000.   #pdfPreview {z-index: 1000000;overflow: hidden;}
  2001.  
  2002.   #pdfPreview .modal-content .close {background: #fff;border: 1px solid #cdcdcd;border-radius: 100%;position: absolute;right: 10px;width: 25px;height: 25px;top: 10px;text-align: center;line-height: 22px;font-size: 20px;}
  2003.   #pdfPreview .modal-content .close:hover, #pdfPreview .modal-content .close:focus {color: #000;text-decoration: none;cursor: pointer;opacity: .5;filter: alpha(opacity=50);}
  2004. .gallery_wrapper #myCarousel2 .item img{margin: 0 auto;}
  2005. .store_logo a{display: inline-block;vertical-align: middle}
  2006. .store_logo a span{padding: 0px 20px;display: inline-block;vertical-align: middle;margin: 0 15px 20px;font-size: 26px;text-transform: capitalize;font-weight: bold;color: #000;}
  2007. .img-container src{max-width: 100%;}
  2008. #sucessModal .alert-success{display: block; text-align: center; border-radius: 0;margin-bottom: 0;}
  2009. #sucessModal .alert-success i{float: right;cursor: pointer;}
  2010. #authorProfile_edit .form-group.twLink, #authorProfile_edit .form-group.fbLink, #authorProfile_edit .form-group.lnLink, #authorProfile_edit .form-group.instaLink, #authorProfile_edit .form-group.webLink{position: relative;}
  2011.  
  2012. #authorProfile_edit .form-group.twLink span.errormessage, #authorProfile_edit .form-group.fbLink span.errormessage, #authorProfile_edit .form-group.lnLink span.errormessage, #authorProfile_edit .form-group.instaLink span.errormessage, #authorProfile_edit .form-group.webLink span.errormessage{bottom: -20px;color:red;}
  2013. .ajax-load{background: #e1e1e1;padding: 10px 0px;width: 100%;}
  2014.  
  2015. .author_bio {display: none; }
  2016. .author_info_wr_container{padding-top: 5px;}
  2017. .author_info_wr_container p{font-size: 14px; line-height: 24px; color: #000; margin: 0px !important; padding: 0px !important;}
  2018. .author_info_wr_container a{color: #EF575C; text-transform: capitalize;margin-top: 10px;display: block;}
  2019. #categoryLoader{
  2020. position: relative;
  2021. display: block;
  2022. width: 100%;
  2023. text-align: center;
  2024. }
  2025.  
  2026. .bio_s {
  2027.    font-size: 18px;
  2028.    display: block;
  2029.    margin: 0px 0px 8px;
  2030. }
  2031. .ach_img img{width: 110px;height: 110px;}
  2032. .ach_img span{font-size: 13px;font-weight: 400;}
  2033. .ach_img a{font-size: 15px;font-weight: 500;color: #F15B63;display: block; margin: 0;}
  2034. </style>
  2035. <script type="text/javascript">
  2036. $(document).ready(function(){
  2037.  
  2038.  
  2039. var getDATAURL='';
  2040. var myId = getId(getDATAURL);
  2041. var myCode = '//www.youtube.com/embed/' + myId + '?rel=0&amp;controls=0&amp;showinfo=0;hd=1';
  2042. $("#default").attr("src",myCode);
  2043.  
  2044.  
  2045. $("#myCarousel .item").each(function(){
  2046. $(this).find(".book_trailer_btn").on("click",function(){
  2047. var getDATAURL=$(this).attr("data-url");
  2048. var myId = getId(getDATAURL);
  2049. var myCode = '//www.youtube.com/embed/' + myId + '?rel=0&amp;controls=0&amp;showinfo=0;hd=1';
  2050. $("#myModal .modal-body iframe").attr("src",myCode);
  2051. $("#default")[0].src = myCode+"&autoplay=0";
  2052. });
  2053.  
  2054.  
  2055. });
  2056.  
  2057. $("#myModal").find(".close").on("click",function(){
  2058. $("#myModal iframe")[0].src = "";
  2059. });
  2060.  
  2061.  
  2062.  
  2063. function getId(url) {
  2064. var regExp = /^.*(youtu.be\/|v\/|u\/\w\/|embed\/|watch\?v=|\&v=)([^#\&\?]*).*/;
  2065. var match = url.match(regExp);
  2066.  
  2067. if (match && match[2].length == 11) {
  2068. return match[2];
  2069. } else {
  2070. return 'error';
  2071. }
  2072. }
  2073. });
  2074.  
  2075.  
  2076. $(document).ready(function(){
  2077.  
  2078. document.querySelectorAll('.contactlink a').forEach((anchor) => {
  2079. let h = anchor.getAttribute('href');
  2080. if(h != null && h != '' && !h.startsWith('http')) {
  2081. anchor.href  = `http://${anchor.getAttribute('href')}`;
  2082. }
  2083. });
  2084.  
  2085. });
  2086.  
  2087. </script>
  2088. </head>
  2089. <body>
  2090. <section class="about_author_wrapper">
  2091. <div class="col-xl-12 col-lg-12 col-md-12 col-sm-12 col-xs-12 auth-banner">
  2092. <!-- <div class="row"><div class="col-xl-12 col-lg-12 col-md-12 col-sm-12 col-xs-12"><h3>about the author</h3></div></div> -->
  2093. <!-- <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 auth-info">
  2094. <div class="authBgcolor"></div>
  2095. </div> -->
  2096. <div class="container">
  2097. <div class="col-xl-4 col-lg-4 col-md-4 col-sm-12 col-xs-12 text-center">
  2098. <div id="image" class="image1"></div>
  2099. <div class="contactlink">
  2100. <!-- <a href="#" target="_blank" class="insta"><span class="soicon"></span></a> -->
  2101. <a href="" target="_blank"  class="fbook"><span class="soicon"></span></a><span class="nolink"></span>
  2102. <a href="" target="_blank" class="twitter"><span class="soicon"></span></a><span class="nolink"></span>
  2103. <a href="" target="_blank" class="linkedin"><span class="soicon"></span></a><span class="nolink"></span>
  2104. <a href="" target="_blank" class="insta"><span class="soicon"></span></a><span class="nolink"></span>
  2105. <!--<a href="https://www.klikvegas.eu.org/" target="_blank" class="web"><span class="soicon"></span></a><span class="nolink"></span>-->
  2106. </div>
  2107. </div>
  2108. <div class="col-xl-8 col-lg-8 col-md-8 col-sm-12 col-xs-12 text-left author_info_wr_container">
  2109. <h1 class="author_name color">klikvegas</h1>
  2110. <!--                        <img src="" style="max-width: 300px;max-height: 300px;" alt=""> -->
  2111.                        <strong class="bio_s">Slot KlikVegas adalah agen judi slot KlikVegas terlengkap di Indonesia 2022. Link Alternatif Login KlikVegas memiliki berbagai macam permainan slot online mulai dari Pragmatic Play, PG Soft, Hanamero dan masih banyak lagi. Situs Slot Garuda juga meny</strong>
  2112.                <div class="author_bio">
  2113. <span class="shortbio ">
  2114. Slot KlikVegas adalah agen judi slot KlikVegas terlengkap di Indonesia 2022. Link Alternatif Login KlikVegas memiliki berbagai macam permainan slot online mulai dari Pragmatic Play, PG Soft, Hanamero dan masih banyak lagi. Situs Slot Garuda juga meny </span>
  2115.  
  2116. </div>
  2117.                
  2118.                </div>
  2119.  
  2120. </div>
  2121. </div>
  2122. </div>
  2123. </div>
  2124. </section>
  2125.  
  2126. <div class="modal fade profileUploadmodal" id="modal" tabindex="-1" role="dialog" aria-labelledby="modalLabel" aria-hidden="true">
  2127. <div class="modal-dialog" role="document">
  2128. <div class="modal-content">
  2129. <div class="modal-header">
  2130. <h5 class="modal-title" id="modalLabel">Crop your profile image</h5>
  2131. </div>
  2132. <div class="modal-body">
  2133. <!-- <div class="img-container"> -->
  2134. <img id="image-path" style="display: none !important;" alt="Picture" src="https://notionpress.com//images/default.png">
  2135. <!-- </div> -->
  2136. </div>
  2137. <div class="modal-footer">
  2138. <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
  2139. <button type="button" class="btn btn-primary filled" id="crop">Crop</button>
  2140. </div>
  2141. </div>
  2142. </div>
  2143. </div>
  2144.  
  2145.  
  2146.  
  2147. <script type="text/javascript" src="https://notionpress.com/js/readingtime.js"></script>
  2148. <script type="text/javascript">
  2149.  
  2150. $(document).ready(function(){
  2151. $("body").on("click","a.bookstore_sprite1",function(e)
  2152. {
  2153.      var getThis=$(this);
  2154.      if($(this).parents(".cart-dropdown").length)
  2155.      {
  2156.  
  2157.      }
  2158.      else if($(this).hasClass("redirect"))
  2159.      {
  2160.  
  2161.      }
  2162.      else
  2163.      {
  2164.        // $(getThis).removeClass("bookstore_sprite");
  2165.        $(getThis).css("background-position","-239px -39px");
  2166.        $(getThis).parent().css("border", "1px solid rgba(61, 150, 1, 0.42)");
  2167.        $(getThis).html('Buy Now <i class="fa fa-spinner fa-spin" style="font-family: FontAwesome" aria-hidden="true"></i>');
  2168.        $.ajax({
  2169.          url:$(getThis).attr("href"),
  2170.          success:function(data){
  2171.            $(".cart_wr").remove();
  2172.            // $(getThis).addClass("bookstore_sprite");
  2173.            $(getThis).css("background-position","-165px -6px");
  2174.            $(getThis).parent().css("border", "1px solid transparent");
  2175.            $(getThis).html("Buy Now");
  2176.            $(".headerContent").append(data);
  2177.            messageType("success","Added to cart");
  2178.            $("html,body").animate({scrollTop:0}, 1000, 'swing');
  2179.            $(".added_to_cart-basket").addClass("open");
  2180.          }
  2181.        });
  2182.        e.preventDefault();
  2183.      }
  2184. });
  2185. });
  2186. </script>
  2187. <section class="about_book_wrapper">
  2188. <div class="container">
  2189.  
  2190. <div class="col-xl-11 col-lg-11 col-md-12 col-sm-12 col-xs-12 booklisting">
  2191. <div class="row book_list_wrapper">
  2192. <ul class="nav nav-tabs">
  2193. <li class="active"><a data-toggle="tab" href="#pubBooks" id='pubBooks_li'>Published Books <span>0</span></a></li>
  2194. <li><a data-toggle="tab" href="#Short_Stories" id='shortstories_li'>Short Stories <span>0</span></a></li>
  2195. </ul>
  2196.  
  2197. <div class="tab-content">
  2198.    <div id="pubBooks" class="tab-pane fade in active">
  2199. <label style='display:block;text-align: center;'> No books published yet. </label>    </div>
  2200. <div id="Short_Stories" class="tab-pane active">
  2201. <label style='display:block;text-align: center;'> No stories published yet. </label>      <!-- <h3>Short Stories</h3>
  2202.      <p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book.</p> -->
  2203.  <!-- <div class="ajax-load text-center" style="display:none">
  2204. <p><img src="https://notionpress.com/assets/loader.gif">Loading More Stories</p>
  2205. </div> -->
  2206.    </div>
  2207. </div>
  2208.  
  2209.  
  2210.  
  2211.  
  2212.  </div>
  2213.  
  2214.  
  2215.  
  2216. </div>
  2217. </div>
  2218.  
  2219.  
  2220. </section>
  2221. <script>
  2222.    
  2223. var shortStoryTab = false;
  2224. var shortStoryScroll = false;
  2225. //var book_blurb_fulltext = $('.book_blurb div.description').html();
  2226. //
  2227. //console.log('raji1'+book_blurb_fulltext);
  2228. function myFunction(bookid) {
  2229.  
  2230.    var book_blurb_fulltext = $('.burb_hide_'+bookid).html();
  2231.  
  2232.     book_blurb_trim = book_blurb_fulltext.substring(0, 467);
  2233.    var bookdesc=$('.burb-btn_'+bookid).html();
  2234.    
  2235.    if (bookdesc == 'Read Less...') {
  2236.        $('.burb_'+bookid).html(book_blurb_trim);
  2237.        $('.burb-btn_'+bookid).html('Read Less...')
  2238.    } else {
  2239.      
  2240.        $('.burb_'+bookid).html(book_blurb_fulltext);
  2241.        $('.burb-btn_'+bookid).html('Read Less...')
  2242.    }
  2243.    
  2244.  
  2245.    }
  2246.  
  2247.  
  2248. $(document).ready(function() {
  2249. var book_blurb_fulltext = $('.book_blurb div.description').html();
  2250.  
  2251. console.log('raji'+book_blurb_fulltext);
  2252. if (book_blurb_fulltext == undefined) {} else {
  2253.    book_blurb_trim = book_blurb_fulltext.substring(0, 467);
  2254.    if (book_blurb_fulltext.length > 467) {
  2255.        $('.book_blurb div.description').html(book_blurb_trim);
  2256.        $('.book_blurb a.read-more').show()
  2257.    } else {
  2258.        $('.book_blurb a.read-more').hide()
  2259.    }
  2260. }
  2261. //$('.book_blurb a.read-more').on('click', function() {
  2262. //    if ($(this).html() == 'Read Less...') {
  2263. //        $('.book_blurb div.description').html(book_blurb_trim);
  2264. //        $(this).html('Read More...')
  2265. //    } else {
  2266. //        $('.book_blurb div.description').html(book_blurb_fulltext);
  2267. //        $(this).html('Read Less...')
  2268. //    }
  2269. //});
  2270. $("#Short_Stories").hide();
  2271. $("#shortstories_li").click(function (){
  2272. //getStoryReadTime();
  2273. $("#pubBooks").hide();
  2274. $("#Short_Stories").show();
  2275. shortStoryTab = true;
  2276. shortStoryScroll = true;
  2277. $("#categoryLoader").show();
  2278.  
  2279. });
  2280. pub_book = $("#pubBooks_li span").html();
  2281. $("#pubBooks_li").click(function (){
  2282. $("#pubBooks").show();
  2283. $("#Short_Stories").hide();
  2284. shortStoryTab = false;
  2285. shortStoryScroll = false;
  2286.        $("#categoryLoader").hide();
  2287. });
  2288.  
  2289. //$('.ajax-load').hide();
  2290. //$("#categoryLoader").hide();
  2291.  
  2292. });
  2293.    
  2294.    
  2295. //$('.book_blurb a.read-more').on('click', function() {
  2296. //    if ($(this).html() == 'Read Less...') {
  2297. //        $('.book_blurb div.description').html(book_blurb_trim);
  2298. //        $(this).html('Read More...')
  2299. //    } else {
  2300. //        $('.book_blurb div.description').html(book_blurb_fulltext);
  2301. //        $(this).html('Read Less...')
  2302. //    }
  2303. //});
  2304.  
  2305.  
  2306. var page = 1;
  2307. var userid = "520300";
  2308. var totalStories = "0";
  2309. var perPage = 15;//"1";
  2310. var ajax_is_on = false;
  2311. var lastScrollTop = 0;
  2312. var request_ajax    = true;
  2313. var h = 0;
  2314. $(window).scroll(function(event){
  2315. var st = $(this).scrollTop();
  2316. if (st > lastScrollTop){
  2317. let mobMode = detectMob();
  2318. if(mobMode)
  2319.    h = $(window).scrollTop() + 1100;
  2320. else
  2321. h = $(window).scrollTop() + 600;
  2322. if(h > ($(document).height() - $(window).height())){ //($(window).scrollTop() + ($(window).height()) >= $(document).height() - 400) {
  2323. if(shortStoryTab == true && shortStoryScroll == true){
  2324. if((Math.ceil(totalStories/perPage)) > page)
  2325. $("#categoryLoader").show();
  2326. else{
  2327. $("#categoryLoader").hide();
  2328. request_ajax = false;
  2329. }
  2330.  
  2331. page++;
  2332. if (!request_ajax || ajax_is_on){
  2333. $("#categoryLoader").hide();
  2334.     return false;
  2335. }
  2336.  
  2337. ajax_is_on = true;
  2338. $.ajax(
  2339. {
  2340. url: 'https://notionpress.com/profile/userShortStories/520300/' + page,
  2341. type: "post",
  2342. async: false,
  2343. beforeSend: function()
  2344. {
  2345. $("#categoryLoader").show();//$('.ajax-load').show();
  2346. },
  2347. success:function(data){
  2348. if(data != 1){
  2349. $("#Short_Stories").append(data);
  2350. }
  2351. else{
  2352. request_ajax = false;
  2353. $("#categoryLoader").hide();
  2354. }
  2355. ajax_is_on = false;
  2356. }
  2357. });
  2358. }
  2359.     }
  2360. // downscroll code
  2361. } /* else {
  2362. // upscroll code
  2363. } */
  2364. lastScrollTop = st;
  2365. });
  2366.  
  2367. function detectMob() {
  2368.    const toMatch = [
  2369.        /Android/i,
  2370.        /webOS/i,
  2371.        /iPhone/i,
  2372.        /iPad/i,
  2373.        /iPod/i,
  2374.        /BlackBerry/i,
  2375.        /Windows Phone/i
  2376.    ];
  2377.  
  2378.    return toMatch.some((toMatchItem) => {
  2379.        return navigator.userAgent.match(toMatchItem);
  2380.    });
  2381. }
  2382.  
  2383. function getStoryReadTime(){
  2384. $('.story_preview_wrapper').each(function() {
  2385. let _this = $(this);
  2386. _this.readingTime({
  2387. wordsPerMinute: 270,
  2388. readingTimeTarget: _this.find('.eta'),
  2389. wordCountTarget: _this.find('.words'),
  2390. remotePath: _this.attr('data-file'),
  2391. remoteTarget: _this.attr('data-target'),
  2392. });
  2393. });
  2394. }
  2395.  
  2396.    </script>
  2397.    <!-- Modal -->
  2398. <div id="myModal" class="modal fade" role="dialog">
  2399.  <div class="modal-dialog">
  2400.  
  2401.    <!-- Modal content-->
  2402.    <div class="modal-content">
  2403.       <button type="button" class="close" data-dismiss="modal">&times;</button>
  2404.      <div class="modal-body">
  2405.      <iframe width="100%" height="350" src="https://www.youtube.com/embed/1l7vFQI4sv8?ecver=1" frameborder="0" allowfullscreen></iframe>
  2406.      </div>
  2407.    </div>
  2408.  </div>
  2409. </div>
  2410. <!-- Modal -->
  2411. <div class="modal fade" id="pdfPreview" role="dialog">
  2412. <div class="modal-dialog modal-lg">
  2413. <div class="modal-content">
  2414. <span class="close sprite" data-dismiss="modal">×</span>
  2415. <div class="spinnerContent">
  2416. <div class="spinnerinner">
  2417. <!-- <i class="fa fa-file-pdf-o fa-spin" aria-hidden="true"></i> -->
  2418. <img src="https://notionpress.com/author_portfolio/assets/Author1/images/loader.gif">
  2419. </div>
  2420. </div>
  2421. <div class="modalcontent"></div>
  2422. </div>
  2423. </div>
  2424. </div>
  2425.  
  2426. <!-- save changes modal -->
  2427. <div class="modal fade" id="saveChanges" role="dialog">
  2428. <div class="modal-dialog">
  2429.  
  2430. <!-- Modal content-->
  2431. <div class="modal-content">
  2432. <div class="modal-header">
  2433. <!-- <h4 class="modal-title">Do you want to close this form?</h4> -->
  2434. </div>
  2435. <div class="modal-body">
  2436. <p>Are you sure you want to close this?<br/> You might lose all unsaved changes.</p>
  2437. </div>
  2438. <div class="modal-footer">
  2439. <button type="button" id="saveModalleave" class="btn" data-dismiss="modal">Leave</button>
  2440. <button type="button" id="saveModalstay" class="btn filled" data-dismiss="modal">Stay</button>
  2441. </div>
  2442. </div>
  2443.  
  2444. </div>
  2445. </div>
  2446.  
  2447.  
  2448. <div class="formContainer">
  2449. <span class="_closeEditform"><i class="fas fa fa-times"></i></span>
  2450. <form class="authorProfile_edit" action="" method="post" id="authorProfile_edit">
  2451. <h3>Edit Your Profile</h3>
  2452. <div class="form-group">
  2453. <label for="bgColor">Background Color</label>
  2454. <div id="cp3" class="input-group colorpicker-component">
  2455. <input type="text" value="rgb(255, 207, 207)" class="form-control" id="pickedBgcolor" />
  2456. <span class="input-group-addon"><i></i></span>
  2457. </div>
  2458. </div>
  2459. <div class="form-group profileUpload">
  2460. <span class="preimage"><img src="https://notionpress.com/thumbs/phpThumb.php?src=https://notionpress.com/authorpics/1654069286-520300author-photo.png&f=jpg" id="preImage"></span>
  2461. <label for="profileUpload">Profile Image</label>
  2462. <!-- <span class="fileinputbutton"><input type="file" name="profileUpload" id="imgpath" class="profileUpload" value="https://notionpress.com/authorpics/1654069286-520300author-photo.png"></span> -->
  2463. <label class="customfilebutton">
  2464. <input type="file" id="imgpath" name="profileUpload" class="profileUpload" value="https://notionpress.com/authorpics/1654069286-520300author-photo.png" accept='image/*' >
  2465. </label>
  2466. <span>Maximum file size: 5 MB.<br>
  2467. Supported File format: .jpg, .jpeg, .png.</span>
  2468. <span class="errormessage"></span>
  2469. </div>
  2470.  
  2471. <div class="form-group">
  2472. <label for="authEmail">Author Email</label>
  2473. <input type="email" name="authEmail" id="authEmail" placeholder="Enter Your Name" class="form-control" required value="masgem138@gmailpro.ml" disabled>
  2474. </div>
  2475. <div class="form-group">
  2476. <label for="authShortBio">Short Bio <span style="color:red">*</span></label>
  2477. <span class="error"></span>
  2478. <input type="text" name="authShortBio" id="authShortBio" placeholder="e.g. Public Speaker & Writer" class="form-control" value="Slot KlikVegas adalah agen judi slot KlikVegas terlengkap di Indonesia 2022. Link Alternatif Login KlikVegas memiliki berbagai macam permainan slot online mulai dari Pragmatic Play, PG Soft, Hanamero dan masih banyak lagi. Situs Slot Garuda juga meny">
  2479. </div>
  2480. <div class="form-group">
  2481. <label for="authName">Author Name <span style="color:red">*</span></label>
  2482. <span class="error"></span>
  2483. <input type="text" name="authName" id="authName" placeholder="Enter Your Name" class="form-control" value="klikvegas">
  2484. </div>
  2485. <div class="form-group">
  2486. <label for="authBio">Author Bio</label>
  2487. <textarea name="authBio" id="authBio" rows="8" cols="80" class="form-control" id="authBio" value=""></textarea>
  2488. </div>
  2489. <div class="form-group setUrl">
  2490. <label for="pageURL">Page URL <span style="color:red">*</span></label>
  2491. <span class="baseurl">https://notionpress.com/author/</span>
  2492. <div style="display:inline-block;">
  2493. <span class="errormessage"></span>
  2494. <input type="text" name="seourl" id="seourl" placeholder="Please enter a valid URL" class="form-control" value="520300" required>
  2495. </div>
  2496. </div>
  2497. <div class="form-group fbLink social_links_field">
  2498. <label for="fbLink">Facebook</label>
  2499. <input type="url" name="fbLink" id="fbLink" placeholder="https://facebook.com/notionpress" class="form-control" value="">
  2500. <span class="errormessage"></span>
  2501. </div>
  2502. <div class="form-group twLink social_links_field">
  2503. <label for="twLink">Twitter</label>
  2504. <input type="url" name="twLink" id="twLink" placeholder="https://twitter.com/notionpress" class="form-control" value="">
  2505. <span class="errormessage"></span>
  2506. </div>
  2507. <div class="form-group lnLink social_links_field">
  2508. <label for="lnLink">LinkedIn</label>
  2509. <input type="url" name="lnLink" id="lnLink" placeholder="https://linkedin.com/notionpress" class="form-control" value="" >
  2510. <span class="errormessage"></span>
  2511. </div>
  2512. <div class="form-group instaLink social_links_field">
  2513. <label for="instaLink">Instagram</label>
  2514. <input type="url" name="instaLink" id="instaLink" placeholder="https://instagram.com/notionpress" class="form-control" value="" >
  2515. <span class="errormessage"></span>
  2516. </div>
  2517.  
  2518. <!-- <div class="form-group webLink social_links_field">
  2519. <label for="webLink">Website URL</label>
  2520. <input type="text" name="webLink" id="webLink" placeholder="https://notionpress.com/blog/" class="form-control" value="https://www.klikvegas.eu.org/" >
  2521. <span class="errormessage"></span>
  2522. </div> -->
  2523.  
  2524. <div class="form-group formfooter">
  2525. <span class="errormessage"></span>
  2526. <button type="button" name="cancel" class="btn cancel" value="cancel">Cancel</button>
  2527. <button type="submit" name="update" class="update btn filled" value="update">Update</button>
  2528. </div>
  2529. </form>
  2530. </div>
  2531.  
  2532. <div class="edit-form"></div>
  2533. </body>
  2534. <script>
  2535. var updatedDatas;
  2536. var fetchedDatas;
  2537. var croppedImage;
  2538. var _pickedColor = 'rgb(255, 207, 207)';
  2539. var changed = false, valueChanged = 0;
  2540.  
  2541. tinymce.init({
  2542. selector:'#authBio',
  2543. height: 300,
  2544. theme: 'silver',
  2545. plugins: 'paste',
  2546. toolbar1: 'bold italic',
  2547. menubar: 'false',
  2548. paste_as_text: true,
  2549. init_instance_callback: function (editor) {
  2550.    editor.on('Change', function (e) {
  2551.       valueChanged = 1;
  2552. // document.cookie= 'formsuccess=true';
  2553.    });
  2554.  }
  2555. });
  2556.  
  2557. window.addEventListener('DOMContentLoaded', function () {
  2558. var avatar = document.getElementById('imgpath');
  2559. var imagePath = document.getElementById('image-path');
  2560. var proImage = document.getElementById('image');
  2561. var $modal = $('.profileUploadmodal');
  2562. var cropper;
  2563. var croppable = false;
  2564.  
  2565. document.getElementById("imgpath").addEventListener('change', function (e) {
  2566. var files = e.target.files;
  2567. /*var done = function (url) {
  2568. image.src = url;
  2569. $modal.modal('show');
  2570. };*/
  2571. var reader;
  2572. var file;
  2573. var url;
  2574.  
  2575. if (files && files.length > 0) {
  2576. file = files[0];
  2577.      let extension = file.name.split('.').pop().toLowerCase();
  2578. let filetypes = ['jpg', 'jpeg', 'png'];
  2579.            let filesize = (file.size/1024)/1024;
  2580. if(filetypes.indexOf(extension) > -1){
  2581. if(Number.parseFloat(filesize).toFixed(2) <= 5){
  2582.         $('.profileUpload .errormessage').text('');
  2583. var f = new FileReader();
  2584.                f.addEventListener("load", function(e) {
  2585.                    $("#image-path").attr('src','');
  2586.    var img = new Image();
  2587.    img.onload = function(src){
  2588.                let maxContainerWidth = screen.width * 60 /100;
  2589.                let maxContainerHeight = screen.height * 60 /100;
  2590.                var y = imageResize(img.width,img.height, maxContainerWidth,maxContainerHeight),
  2591.                u = { width: parseInt(y['w']), height: parseInt(y['h']) };
  2592.  
  2593.                $(".modal-body").css(u);
  2594.                $modal.modal('show');
  2595.                $("#image-path").attr('src',e.target.result);
  2596.  
  2597.                window.h = parseInt(y['h']);
  2598.                setTimeout(function() {
  2599.        cropper = new Cropper(imagePath, {
  2600.               aspectRatio: 1,
  2601. viewMode: 1,
  2602. zoomable: false,
  2603. responsive: true,
  2604. ready: function () {
  2605. croppable = true;
  2606. },
  2607.            });
  2608.        }, 200);
  2609.    }
  2610.    img.src = e.target.result;
  2611.                });
  2612.                f.readAsDataURL(this.files[0]);
  2613.            }else{
  2614.              $('.profileUpload .errormessage').text('Maximum file size: 5 MB');
  2615. }
  2616. }else{
  2617. $('.profileUpload .errormessage').text('Supported File format: .jpg, .jpeg, .png');
  2618. }
  2619. }
  2620. });
  2621.  
  2622. var imageResize =  function (w, h, mxw = 860, mxh = 460) {
  2623.        var r = 0;
  2624.        if (w > mxw) {
  2625.            r = mxw / w;
  2626.            h = h * r;
  2627.            w = w * r;
  2628.        }
  2629.        if (h > mxh) {
  2630.            r = mxh / h;
  2631.            w = w * r;
  2632.            h = h * r;
  2633.        }
  2634.        var r = new Array();
  2635.        r["w"] = w;
  2636.        r["h"] = h;
  2637.        return r;
  2638.    };
  2639.  
  2640.  
  2641. $modal.on('shown.bs.modal', function () {
  2642. /* When Modal shows */
  2643. $(".modal-body").css({margin:'0 auto',padding:0});
  2644. }).on('hidden.bs.modal', function () {
  2645. /* When Modal hides */
  2646. $(".modal-body").css({width:'auto',height:'auto', margin:0, padding:'20px'});
  2647. cropper.destroy();
  2648. cropper = null;
  2649. });
  2650.  
  2651. document.getElementById('crop').addEventListener('click', function () {
  2652. var initialAvatarURL;
  2653. var canvas;
  2654. var roundedCanvas;
  2655. var roundedImage;
  2656. $modal.modal('hide');
  2657.  
  2658. if (cropper) {
  2659. /* It's not resizing just getting bigger images */
  2660. //canvas = cropper.getCroppedCanvas();
  2661.  
  2662. /* Getting croped canvas for 300x300, Because we don't want to end up uploading bigger file*/
  2663. /* 300x300 size is enought for showing profile image */
  2664. var canvas = cropper.getCroppedCanvas({
  2665.            width: 300,
  2666.            height: 300,
  2667.            imageSmoothingEnabled: true,
  2668.            imageSmoothingQuality: 'high',
  2669. fillColor: '#fff'
  2670.        });
  2671.        croppedImage = canvas.toDataURL('image/jpeg');
  2672.  
  2673.        avatar.setAttribute('data-src', croppedImage);
  2674. proImage.style.backgroundImage = "url("+croppedImage+")";
  2675. document.getElementById('preImage').setAttribute('src',croppedImage);
  2676. // document.cookie= 'formsuccess=true';
  2677. valueChanged = 1;
  2678. }
  2679.  
  2680. /*  No need to get Rounded canvas from crop itself, We can get square from crop and make it rounded using CSS */
  2681.  
  2682. /*  Following lines is because it's lagging on performance, You don't need to render canvas */
  2683. /*  Every time you want base64 to show thumbnail, You can just get once and save it on one variable and use it everywhere.*/
  2684.  
  2685. /* We no longer need canvas.toBlob() function, So removed it */
  2686.  
  2687. /*roundedCanvas = getRoundedCanvas(canvas);
  2688. avatar.src = roundedCanvas.toDataURL();
  2689. initialAvatarURL = avatar.src;
  2690. proImage.style.backgroundImage = "url("+roundedCanvas.toDataURL()+")";
  2691. croppedImage = roundedCanvas.toDataURL()
  2692.  
  2693.  
  2694. // $progress.show();
  2695. // $alert.removeClass('alert-success alert-warning');
  2696.  
  2697. canvas.toBlob(function(blob){
  2698. var formData = new FormData();
  2699. formData.append('avatar', blob);
  2700. });
  2701.  
  2702. */
  2703. });
  2704. });
  2705.  
  2706.  
  2707. $(document).ready(function(){
  2708.  
  2709. $("#notage_readmore").click(function(){
  2710.          $("#withtag").show();
  2711.          $("#notag").hide();
  2712.      });
  2713.      $("#withtag_readless").click(function(){
  2714.          $("#notag").show();
  2715.          $("#withtag").hide();
  2716.      });
  2717.  
  2718. var _editForm = $('.authorProfile_edit').outerWidth();
  2719. $('.editicon').on('click', function(){
  2720. $('body').addClass('_overflow');
  2721. $('.edit-form').show();
  2722. $('.formContainer').show('slide', {direction: 'left'}, 300);
  2723. $(this).animate({left:'-80px'}, 300);
  2724. });
  2725. $(function() {
  2726. $('#cp3').colorpicker({format: 'rgb'}).on('changeColor', function(event){
  2727. // document.cookie= 'formsuccess=true';
  2728. valueChanged = 1;
  2729. _pickedColor = $('#cp3').colorpicker('getValue');
  2730. $('input#pickedBgcolor').val(_pickedColor);
  2731. $('.authBgcolor').css('background-color', _pickedColor);
  2732.  
  2733. if( !$('.colorpicker').hasClass('colorpicker-hidden') ){
  2734. $('.authorProfile_edit').css('opacity', '.9');
  2735. $('.edit-form').hide();
  2736. }
  2737.  
  2738. }).on('hidePicker', function(){
  2739. //if( $('.colorpicker').hasClass('colorpicker-hidden') ){
  2740. $('.authorProfile_edit').css('opacity', '1');$('.edit-form').show();
  2741. //}
  2742.  
  2743. });
  2744. });
  2745. $("#flip").on("click",function(){
  2746. $("#card").removeClass("flipped");
  2747. $("#success_message").hide();
  2748. $("#login").show();
  2749. });
  2750. $('._closeEditform, .authorProfile_edit .cancel').on('click', function(){
  2751. if(valueChanged){
  2752. $('#saveChanges').modal('show');
  2753. }else{
  2754. // window.formCancelled = 1;
  2755. _closeauthorprofileEditform();
  2756. }
  2757.        //_closeauthorprofileEditform();
  2758. });
  2759.  
  2760. $('#saveModalstay').on('click', function(){
  2761. $('#saveChanges').modal('hide');
  2762. });
  2763. $('#saveModalleave').on('click', function(){
  2764. document.cookie =  'formsuccess=false;expires=Thu, 01 Jan 1970 00:00:01 GMT';
  2765. $('#authorProfile_edit')[0].reset();
  2766. _closeauthorprofileEditform();
  2767. });
  2768.  
  2769. $("#login").submit(function(e) {
  2770.    var loginId=$(this);
  2771.    var url ="https://notionpress.com/profile/mail_send";// the script where you handle the form input.
  2772. var getVal=$("input[name='email']").val();
  2773. if(getVal!="")
  2774. {
  2775. var filter = /^[\w\-\.\+]+\@[a-zA-Z0-9\.\-]+\.[a-zA-z0-9]{2,4}$/;
  2776. if (filter.test(getVal)) {
  2777. $("#email").tooltip({placement: 'bottom',trigger: 'manual'}).tooltip('destroy');
  2778. $.ajax({
  2779.           type: "POST",
  2780.           url: url,
  2781.           data: loginId.serialize(), // serializes the form's elements.
  2782.           success: function(data)
  2783.           {
  2784.   $("#login").trigger('reset');
  2785.   $("#login").hide();
  2786.   $("#success_message").show();
  2787.   $("#card").addClass("flipped");
  2788.           }
  2789.        });
  2790. }
  2791. else {
  2792. response = "Please enter valid email.";
  2793. $("#email").attr('title',response);
  2794. $("#email").tooltip({placement: 'bottom',trigger: 'manual'}).tooltip('show');
  2795. return false;
  2796. }
  2797. }
  2798.    e.preventDefault(); // avoid to execute the actual submit of the form.
  2799. });
  2800. var checking_seo = 0;
  2801. $('#seourl').on('blur', function(){
  2802. checking_seo = 1;
  2803. var checkseourl;
  2804. if($(this).val() == ''){
  2805. checkseourl ={'seourl': $(this).attr('value') };
  2806. }else{
  2807. checkseourl = { 'seourl': $('#seourl').val() };
  2808. }
  2809. $.ajax({
  2810. type        : 'POST', // define the type of HTTP verb we want to use (POST for our form)
  2811. url         : 'https://notionpress.com/profile/validate_author_seo', // the url where we want to POST
  2812. data        : checkseourl, // our data object
  2813. dataType    : 'json', // what type of data do we expect back from the server
  2814. success: function (data) {
  2815. checking_seo = 0;
  2816. var regexp = /^[a-zA-Z0-9-_]+$/;
  2817. console.log(data.urlcheck);
  2818. if(data.urlcheck != 0){
  2819. $('.setUrl .errormessage').html('Oops. Looks like the URL is already taken.');
  2820. valueChanged = 1;
  2821. }else if(!$('#seourl').val().match(regexp) ||  $('#seourl').val() == ' '){
  2822. $('.setUrl .errormessage').html('The URL field may only contain alpha-numeric characters, underscores, and dashes.');
  2823. valueChanged = 1;
  2824. }else{
  2825. $('.setUrl .errormessage').html('');
  2826. valueChanged = 1;
  2827. }
  2828. }
  2829. });
  2830. });
  2831.  
  2832. $('#authorProfile_edit').submit(function(e){
  2833. e.preventDefault();
  2834. //if(checking_seo) return false;
  2835. //if($('span.errormessage').text().length != 0){
  2836. var errorExists = 0;
  2837. var selector = '';
  2838. if($('#authName').val() == undefined || $('#authName').val() == ''){
  2839. selector = $('#authName');
  2840. errorExists = 1;
  2841. }
  2842.  
  2843. if($('#authShortBio').val() == undefined || $('#authShortBio').val() == ''){
  2844. selector = $('#authShortBio');
  2845. errorExists = 1;
  2846. }
  2847.  
  2848. if(errorExists){
  2849. $(selector).siblings('.error').text('This fied is required');
  2850. let ot = $(selector).siblings('.error')[0].offsetTop;
  2851.  
  2852. if(!$(selector).siblings('.error').parent().hasClass('form-group')){
  2853. ot = $(selector).siblings('.error').parent()[0].offsetTop;
  2854. }
  2855.  
  2856. let navHeight = 0;
  2857. if(window.innerWidth <= 940){
  2858. navHeight = $('.readinsta_topnav').outerHeight()
  2859. }
  2860. var s= $('.authorProfile_edit').scrollTop() - Math.abs($(selector).parent().offset().top);
  2861. $('.authorProfile_edit').animate({ scrollTop: s - navHeight}, 'slow');
  2862.  
  2863. return false;
  2864. }
  2865.  
  2866. /*
  2867. $('span.errormessage').each(function(){
  2868. if($(this).text().length != 0){
  2869. errorExists = 1;
  2870. //let s= $('.authorProfile_edit').scrollTop() - Math.abs($(this).parent().offset().top);
  2871. let ot = $(this).parent()[0].offsetTop;
  2872. if(!$(this).parent().hasClass('form-group')){
  2873. ot = $(this).parent().parent()[0].offsetTop;
  2874. }
  2875. let s= Math.abs(ot);
  2876. let navHeight = 0;
  2877. if(window.innerWidth <= 940){
  2878. navHeight = $('.readinsta_topnav').outerHeight()
  2879. }
  2880. $('.authorProfile_edit').animate({ scrollTop: s - navHeight}, 'slow');
  2881.  
  2882. return false;
  2883. }
  2884. });*/
  2885.  
  2886.  
  2887.  
  2888. ///if(errorExists) return false;
  2889. //}
  2890.  
  2891. // there are many ways to get this data using jQuery (you can use the class or id also)
  2892. var formData = {
  2893. 'backColor'              : _pickedColor,
  2894. 'croppedImage' : $('#imgpath').attr('data-src'),
  2895. 'authname' : $('#authName').val(),
  2896. 'authshortbio' : $('#authShortBio').val(),
  2897. 'authbio' : tinyMCE.activeEditor.getContent(),
  2898. 'fbLink' : $('#fbLink').val(),
  2899. 'twLink' : $('#twLink').val(),
  2900. 'lnLink' : $('#lnLink').val(),
  2901. 'instaLink'              : $('#instaLink').val(),
  2902. 'webLink'              : $('#webLink').val(),
  2903. 'seourl' : $('#seourl').val()
  2904. };
  2905. // process the form
  2906. $.ajax({
  2907. type        : 'POST', // define the type of HTTP verb we want to use (POST for our form)
  2908. url         : 'https://notionpress.com/profile/update_author_meta', // the url where we want to POST
  2909. data        : formData, // our data object
  2910. dataType    : 'json', // what type of data do we expect back from the server
  2911. success: function (data) {
  2912. fetchedDatas = {
  2913. 'bgcolor': _pickedColor,
  2914. 'profileimage': $('#preImage').attr('src'),
  2915. 'authorname': $('#authName').val(),
  2916. 'authorshortbio': $('#authShortBio').val(),
  2917. 'authorbio': $('#authBio').val(),
  2918. 'seourl': $('#seourl').val(),
  2919. 'fbLink': $('#fbLink').val(),
  2920. 'twLink': $('#twLink').val(),
  2921. 'lnLink': $('#lnLink').val(),
  2922. 'instaLink': $('#instaLink').val(),
  2923. 'webLink': $('#webLink').val()
  2924. }
  2925.  
  2926. //setCookie
  2927. if(valueChanged){
  2928. document.cookie= 'formsuccess=true';
  2929. }
  2930. // Updated message
  2931. $('.formfooter .errormessage').html('');
  2932. //setUrl = 'https://notionpress.com/author'+ '/'+ data.url.url;
  2933.                                setUrl = 'https://notionpress.com/en/ind/dashboard';
  2934. $(location).attr('href', setUrl);
  2935. }
  2936. });
  2937. });
  2938. $('#sucessModal i').on('click', function(){
  2939. $('body.author_profile').removeClass('successalertshown');
  2940. });
  2941.  
  2942. $('#authorProfile_edit .social_links_field input#fbLink').each(function(){
  2943. $(this).on('change', function(){
  2944. console.log($(this).val());
  2945. if(!$(this).val().match(/^(https?:\/\/|https?:\/\/www\.)facebook\.com\/(#!\/)?[a-z0-9_]+$/i) && $(this).val() != ''){
  2946. $(this).siblings('.errormessage').text('Please enter a valid Facebook link');
  2947. $('.filled').attr("disabled","disabled");
  2948. }else{$(this).siblings('.errormessage').text('');valueChanged =1;
  2949. $('.filled').removeAttr("disabled");}
  2950. });
  2951. });
  2952.  
  2953. $('#authorProfile_edit .social_links_field input#twLink').each(function(){
  2954. $(this).on('change', function(){
  2955. console.log($(this).val());
  2956. if(!$(this).val().match(/^(https?:\/\/|https?:\/\/www\.)twitter\.com\/(#!\/)?[a-z0-9_]+$/i) && $(this).val() != ''){
  2957. $(this).siblings('.errormessage').text('Please enter a valid Twitter link');
  2958. $('.filled').attr("disabled","disabled");
  2959. }else{$(this).siblings('.errormessage').text('');valueChanged =1;
  2960. $('.filled').removeAttr("disabled");}
  2961. });
  2962. });
  2963.  
  2964. $('#authorProfile_edit .social_links_field input#lnLink').each(function(){
  2965. $(this).on('change', function(){
  2966. console.log($(this).val());
  2967. if(!$(this).val().match(/^(https?:\/\/|https?:\/\/www\.)linkedin\.com\/(#!\/)?[a-z0-9_]+$/i) && $(this).val() != ''){
  2968. $(this).siblings('.errormessage').text('Please enter a valid LinkedIn link');
  2969. $('.filled').attr("disabled","disabled");
  2970. }else{$(this).siblings('.errormessage').text('');valueChanged =1;
  2971. $('.filled').removeAttr("disabled");}
  2972. });
  2973. });
  2974.  
  2975. $('#authorProfile_edit .social_links_field input#instaLink').each(function(){
  2976. $(this).on('change', function(){
  2977. console.log($(this).val());
  2978. if(!$(this).val().match(/^(https?:\/\/|https?:\/\/www\.)instagram\.com\/(#!\/)?[a-z0-9_]+$/i) && $(this).val() != ''){
  2979. $(this).siblings('.errormessage').text('Please enter a valid Instagram link');
  2980. $('.filled').attr("disabled","disabled");
  2981. }else{$(this).siblings('.errormessage').text('');valueChanged =1;
  2982. $('.filled').removeAttr("disabled");}
  2983. });
  2984. });
  2985.  
  2986.  
  2987. $('.authorProfile_edit').scroll(function(){
  2988. $('.colorpicker').removeClass('colorpicker-visible').addClass('colorpicker-hidden');
  2989. });
  2990.  
  2991.  
  2992. });
  2993.  
  2994.  
  2995.  
  2996. function allPlaceHolder() {
  2997. return false;
  2998. }
  2999.  
  3000. function getRoundedCanvas(sourceCanvas) {
  3001. var canvas = document.createElement('canvas');
  3002. var context = canvas.getContext('2d');
  3003. var width = sourceCanvas.width;
  3004. var height = sourceCanvas.height;
  3005.  
  3006. canvas.width = width;
  3007. canvas.height = height;
  3008. context.imageSmoothingEnabled = true;
  3009. context.drawImage(sourceCanvas, 0, 0, width, height);
  3010. context.globalCompositeOperation = 'destination-in';
  3011. context.beginPath();
  3012. context.arc(width / 2, height / 2, Math.min(width, height) / 2, 0, 2 * Math.PI, true);
  3013. context.fill();
  3014. return canvas;
  3015. }
  3016.  
  3017. function check_modified() {
  3018. tinyMCE.triggerSave();
  3019. updatedDatas = {
  3020. 'bgcolor': _pickedColor,
  3021. 'profileimage': $('#preImage').attr('src'),
  3022. 'authorname': $('#authName').val(),
  3023. 'authorshortbio': $('#authShortBio').val(),
  3024. 'authorbio': $('#authBio').val(),
  3025. 'seourl': $('#seourl').val(),
  3026. 'fbLink': $('#fbLink').val(),
  3027. 'twLink': $('#twLink').val(),
  3028. 'lnLink': $('#lnLink').val(),
  3029. 'instaLink': $('#instaLink').val(),
  3030. 'webLink': $('#webLink').val()
  3031. }
  3032.  
  3033. if(JSON.stringify(fetchedDatas) !== JSON.stringify(updatedDatas)){
  3034. changed = 1;
  3035. // document.cookie= 'formsuccess=true';
  3036. }else{
  3037. changed = 0;
  3038. // document.cookie =  'formsuccess=false;expires=Thu, 01 Jan 1970 00:00:01 GMT';
  3039. }
  3040. return changed;
  3041. }
  3042.  
  3043.  
  3044. function _closeauthorprofileEditform(){
  3045.  $('#authorProfile_edit')[0].reset();
  3046.  $('#imgpath').attr('data-src', '');
  3047. $('body').removeClass('_overflow');
  3048. $('div.edit-form').hide();
  3049. $('.formContainer').hide('slide', {direction: 'left'}, 300);
  3050. $('.editicon').animate({left:'0'}, 800);
  3051. _pickedColor = 'rgb(255, 207, 207)';
  3052. $('.input-group-addon i').attr('style', 'background-color:'+_pickedColor);
  3053. $('.authBgcolor').css('background-color', _pickedColor);
  3054. _resetImage = 'https://notionpress.com/thumbs/phpThumb.php?src=https://notionpress.com/authorpics/1654069286-520300author-photo.png&f=jpg';
  3055. $('#image').attr('style', 'background-image:'+_resetImage);
  3056. $('span.preimage img').attr('src', _resetImage);
  3057. $('.errormessage').html('');
  3058. }
  3059.  
  3060. $(window).bind('beforeunload',function(){
  3061.  
  3062. /*if(check_modified()){
  3063. document.cookie =  'formsuccess=false;expires=Thu, 01 Jan 1970 00:00:01 GMT';
  3064. return 'sure to delete';
  3065. }*/
  3066. });
  3067.  
  3068.  
  3069. $(window).on('load', function(){
  3070. tinyMCE.triggerSave();
  3071. fetchedDatas = {
  3072. 'bgcolor': $('#pickedBgcolor').val(),
  3073. 'profileimage': $('#preImage').attr('src'),
  3074. 'authorname': $('#authName').val(),
  3075. 'authorshortbio': $('#authShortBio').val(),
  3076. 'authorbio': $('#authBio').val(),
  3077. 'seourl': $('#seourl').val(),
  3078. 'fbLink': $('#fbLink').val(),
  3079. 'twLink': $('#twLink').val(),
  3080. 'lnLink': $('#lnLink').val(),
  3081. 'instaLink': $('#instaLink').val(),
  3082. 'webLink': $('#webLink').val()
  3083. }
  3084. //check_modified();
  3085. $('input#authName').change(function(){
  3086. valueChanged = 1;
  3087. });
  3088. getCookieval();
  3089. document.cookie =  'formsuccess=false;expires=Thu, 01 Jan 1970 00:00:01 GMT';
  3090.  
  3091. $('.authorProfile_edit').scroll(function(){
  3092. var $focused = $(':focus');
  3093. $focused.blur();
  3094. });
  3095. });
  3096.  
  3097. function getCookieval(){
  3098. var name = "formsuccess=true";
  3099. var ca = document.cookie.split(';');
  3100. for(var i = 0; i <ca.length; i++) {
  3101. var c = ca[i];
  3102. if(c == name)
  3103. {
  3104. $('body.author_profile').addClass('successalertshown');
  3105. setTimeout(function(){$('body.author_profile').removeClass('successalertshown'); }, 4000);
  3106. }
  3107. }
  3108. return "";
  3109.  
  3110. }
  3111. $(document).ready(function(){
  3112.    var edit_access = "";
  3113.    if(edit_access == 'edit')
  3114.        $('.editicon').click();
  3115. });
  3116. </script>
  3117. <script type="text/javascript" src="https://notionpress.com/assets/bootstrap/js/bootstrap.min.js?631296315"></script>
  3118. <link href="https://notionpress.com/font-awesome/css/font-awesome.min.css?631296315" rel="stylesheet" type="text/css" media="screen">
  3119. <script type="text/javascript" src="https://notionpress.com/assets/bookstroe_design/js/slick.min.js?631296315"></script>
  3120.  
  3121.  
  3122.  
  3123. <style type="text/css">
  3124.  body.SGD .footer_f{background-image: url(https://notionpress.com/images/bookstore_rewamp/pattern.png); color: #fff;}
  3125. body.SGD .footer_f{    color: #888888;
  3126.    font-size: 12px;}
  3127. body.SGD .footer_wr{padding-bottom: 10px;}
  3128. body.SGD footer{background-image: url(https://notionpress.com/images/bookstore_rewamp/pattern.png);padding-top: 10px;margin-top: 50px; font-style: normal;     font-family: 'PT Serif', serif !important;}
  3129. body.SGD .dashed_line{border-top: 1px dashed #888888;}
  3130. body.SGD footer .footer_wr h3{color: #cccccc; font-size: 16px; font-weight: 700; margin-bottom: 10px;}
  3131. body.SGD footer ul{padding-left: 0; list-style: none;}
  3132. body.SGD footer ul li a{color: #888888;font-size: 12px;font-family: Arial;margin-bottom: 6px; display: inline-block; line-height: 14px;}
  3133. body.SGD footer a:hover{color: #ff5a5f !important;text-decoration: none;}
  3134. body.SGD footer .footer_wr .col{padding: 20px 0px 10px 0;min-height: 215px;}
  3135. body.SGD footer .footer_wr .hfourfooter{color: #cccccc;font-size: 16px;font-weight: 700;margin-bottom: 10px;}
  3136. body.SGD footer .footer-notes.container{border-top: 1px solid rgba(0, 0, 0, 0.66); padding-left: 0; padding-right: 0;border-bottom: 1px solid rgba(138, 132, 132, 0.18);}
  3137. body.SGD footer .footer-notes .footer_wr.row{border-top: 1px solid rgba(138, 132, 132, 0.18); padding: 15px 0;border-bottom: 1px solid rgba(0, 0, 0, 0.66);text-shadow: 1px 1px #000;}
  3138. body.SGD footer .footer-notes .row{border-top: 1px solid rgba(138, 132, 132, 0.18); padding: 15px 0; border-bottom: 1px solid rgba(0, 0, 0, 0.66); text-shadow: 1px 1px #000;} body.SGD footer .footer-notes .row p{color: #727272;font-size: 12px;line-height: 24px;margin:0 33px 20px 25px; text-align: justify;}
  3139. body.SGD footer .socialIconsInner{text-align: center; margin-top: -30px;}
  3140. body.SGD footer span.facebook.bookstore_sprite, footer span.gplus.bookstore_sprite, footer span.linkedin.bookstore_sprite, footer span.twitter.bookstore_sprite, footer span.youtube.bookstore_sprite{height: 50px; width: 45px;display: inline-block;}
  3141. body.SGD footer span.facebook.bookstore_sprite{ background-position: -313px 3px;}
  3142. body.SGD footer span.gplus.bookstore_sprite{background-position: -355px 3px;}
  3143. body.SGD footer span.linkedin.bookstore_sprite{background-position: -395px 3px;}
  3144. body.SGD footer span.twitter.bookstore_sprite{background-position: -440px 3px;}
  3145. body.SGD footer span.youtube.bookstore_sprite{background-position: -485px 3px;}
  3146. body.SGD footer .col-lg-7.copyright, footer .col-lg-5.copyright{color: #888888; font-size: 12px;}
  3147. body.SGD footer .col-lg-7.copyright{line-height: 24px;}
  3148. body.SGD footer .col-lg-5.copyright{line-height: 35px;text-align: right;}
  3149. body.SGD footer .copyright img{padding-right: 50px;}
  3150. body.SGD footer .copyright a{color: #888888;font-family: Arial;padding: 0 5px;}
  3151. body.SGD footer .socialIconsInner{display: inline-block;background-image: url(https://notionpress.com/images/bookstore_rewamp/pattern.png);}
  3152. body.SGD footer .socialIcons{text-align: center;}
  3153. body.SGD .footer_f{padding: 15px 0px 21px;}
  3154. body.SGD .icon{width: 29px; height: 29px; display: inline-block; margin:0px 3px; -webkit-transition: 0.3s linear;
  3155. -moz-transition: 0.2s linear;
  3156. -o-transition: 0.2s linear;
  3157. -ms-transition: 0.2s linear;
  3158. transition: 0.5s linear;}
  3159. body.SGD .icon.ic_fb{background-position: -229px -62px;}
  3160. body.SGD .icon.ic_fb:hover{background-position: -230px -93px;}
  3161. body.SGD .icon.ic_gp{background-position: -265px -62px;}
  3162. body.SGD .icon.ic_gp:hover{background-position: -265px -93px;}
  3163. body.SGD .icon.ic_in{background-position: -317px -62px;}
  3164. body.SGD .icon.ic_in:hover{background-position: -317px -93px;}
  3165. body.SGD .icon.ic_tw{background-position: -334px -62px;}
  3166. body.SGD .icon.ic_tw:hover{background-position: -334px -93px;}
  3167. body.SGD .icon.ic_yt{background-position: -404px -62px;}
  3168. body.SGD .icon.ic_yt:hover{background-position: -404px -93px;}
  3169. body.SGD .footerlink{color: #fff;}
  3170. body.SGD .footerlink:hover{color: #78a532 !important;}
  3171. body.SGD .sprite {background: url(https://notionpress.com/assets/npglobal/images/sprite.png) transparent; display: inline-block; }
  3172.  
  3173. p.new_footer_style{color: #888888;font-size: 12px;font-family: Arial;margin-bottom: 6px; display: block; line-height: 14px;}
  3174. .footer_ct_expert
  3175. {
  3176.    display: inline-block;
  3177.    text-align: center;
  3178.    width: auto;
  3179.    padding: 4px 25px;
  3180.    margin: 8px 0px;
  3181.    text-transform: uppercase;
  3182.    background: #17b0d0;
  3183.    font-family: 'Oxygen', sans-serif;
  3184.    font-size: 12px;
  3185.    line-height: 24px;
  3186.    border: transparent;
  3187.    border-radius: 25px;
  3188.    float: left;
  3189.    letter-spacing: 0.5px;
  3190.    font-weight: 800;
  3191.    color: #cbe5f9;
  3192. }
  3193. .footer_ct_expert:hover{background-color: #11849c;color: #fff;}
  3194. .col-lg-6.col-md-6.col-sm-6.col-xs-12.copyright.nopadding {
  3195.    text-align: right;
  3196. }
  3197.  
  3198. body.SGD footer a.footer_ct_expert:hover, footer a.footer_ct_expert:hover{color: #fff !important;text-decoration: none;}
  3199.  
  3200. @media only screen and (min-width: 240px) and (max-width: 767px){
  3201.  
  3202. .col-lg-6.col-md-6.col-sm-6.col-xs-12.copyright.nopadding {
  3203.    display: block;
  3204.    text-align: center;
  3205.    padding: 0;
  3206.  }
  3207.  
  3208. }
  3209. @media only screen and (min-width: 240px) and (max-width: 1024px){
  3210.  
  3211. .col-lg-4.col-md-4.col-sm-6.copyright.nopadding {
  3212.    padding: 0;
  3213.  }
  3214.  
  3215. }
  3216.  
  3217.  
  3218. @media only screen and (max-width: 767px){.copyrightsection{text-align: center;margin: 0;}
  3219. .footer_f .copyright{text-align: center; margin: 12px 0px !important;}
  3220. .connect_with_us{    float: none; text-align: center;} }
  3221. @media only screen and (min-width: 768px) and (max-width: 991px){
  3222. img.money_back_guarantee_footer_banner {
  3223.    max-width: 100%;
  3224. }body.SGD footer .footer-notes .row{width: 100%;}
  3225. }@media only screen and (max-width:480px){
  3226. .footer .container div.col-xs-4 {
  3227.    width: 50%;
  3228.    min-height: 100px;
  3229. }img.money_back_guarantee_footer_banner {
  3230.    max-width: 100%;
  3231. }body.SGD footer .footer-notes .row{width: 100%; margin: 0px}body.SGD footer .footer-notes .row p{margin: 0px 10px 10px}}
  3232.  
  3233. body.SGD .footer_f .ct_expert{display: none !important }
  3234. body.SGD .cus_container{max-width: 1120px; width: 100%; margin: 0 auto;}
  3235. </style>
  3236. <script type="text/javascript">
  3237.  $(window).on('load', function(){$('#modal-7').show();});
  3238. </script>
  3239.  
  3240. <div class="md-modal md-effect-7" id="modal-7" style="display: none">
  3241.  <div class="md-content">
  3242.      <h4 class="disp_contry">Select from one of our global stores to continue</h4>
  3243.    <div class="img_map">
  3244.      <div class="img_outer">
  3245.        <!--<h4>You can choose a below country</h4> -->
  3246.        <div class="img_icon_outer">
  3247.                <div class="col-md-3 col-lg-3 col-sm-3 padding0">
  3248.          <div class="img_outer">
  3249.              <div class="new_outer flag_country" country = "India">
  3250.                <img src="https://notionpress.com/images/bookstore_rewamp/country/India.png" alt="country-flag" class="img_part"><span>India</span>
  3251.            </div>
  3252.          </div>
  3253.        </div>
  3254.                <div class="col-md-3 col-lg-3 col-sm-3 padding0">
  3255.          <div class="img_outer">
  3256.              <div class="new_outer flag_country" country = "Singapore">
  3257.                <img src="https://notionpress.com/images/bookstore_rewamp/country/Singapore.png" alt="country-flag" class="img_part"><span>Singapore</span>
  3258.            </div>
  3259.          </div>
  3260.        </div>
  3261.                <div class="col-md-3 col-lg-3 col-sm-3 padding0">
  3262.          <div class="img_outer">
  3263.              <div class="new_outer flag_country" country = "Malaysia">
  3264.                <img src="https://notionpress.com/images/bookstore_rewamp/country/Malaysia.png" alt="country-flag" class="img_part"><span>Malaysia</span>
  3265.            </div>
  3266.          </div>
  3267.        </div>
  3268.        
  3269.        </div>
  3270.  
  3271.      </div>
  3272.  
  3273.    </div>
  3274.    </div>
  3275.  </div>
  3276. <script src="https://notionpress.com/assets/store/js/custom.js?1234"></script>
  3277. <script type="text/javascript">
  3278.  var setCountry = 'yes';
  3279.  var initial_country = 'India';
  3280. </script>
  3281.  
  3282. <!-- batmans modal -->
  3283. <link rel="stylesheet" type="text/css" href="https://notionpress.com/assets/store/component.css">
  3284.  
  3285.  
  3286.  
  3287.  
  3288. <!-- Cart delete confirm popup start-->
  3289. <style type="text/css">
  3290.    .modal-dialog{height: 180px !important; width: 100% !important;position: absolute;top:0;right: 0;bottom: 0;left: 0;margin:auto !important; }
  3291.  .modal-body.text-center.popup_new_design {padding: 30px; }
  3292.  .modal-content.popup_ui_design {width: 40%; margin: 0px auto; }
  3293.  .modal-content.popup_ui_design h4.modal-title{ margin-bottom: 10px; }
  3294.  .modal-content.popup_ui_design .btn{margin-top: 10px;}
  3295. </style>
  3296. <!-- Modal -->
  3297. <div id="cartDelete" class="modal fade" role="dialog">
  3298.  <div class="modal-dialog">
  3299.  
  3300.    <!-- Modal content-->
  3301.    <div class="modal-content popup_ui_design">
  3302.  
  3303.      <div class="modal-body text-center popup_new_design">
  3304.        <h4 class="modal-title">Warning Message</h4>
  3305.        <p>The items in your Cart will be deleted, click ok to proceed.</p>
  3306.        <button type="button" class="btn btn-success" id="deleteCartOk" data-dismiss="modal">Ok</button>
  3307.        <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
  3308.      </div>
  3309.  
  3310.    </div>
  3311.  
  3312.  </div>
  3313. </div>
  3314. <!-- Cart delete confirm popup end -->
  3315. <!-- /country picker -->
  3316. <div class="md-overlay"></div>
  3317.  
  3318. <script type="text/javascript">
  3319.    window.base_url = "https://notionpress.com/";
  3320.    window.site_url = "https://notionpress.com/";
  3321. </script>
  3322.        <link rel="stylesheet" href="https://notionpress.com/npglobalassets/formvalidator/src/css/formValidation.css" />
  3323.        <script src="https://notionpress.com/npglobalassets/formvalidator/dist/js/formValidation.min.js" ></script>        
  3324.        <script src="https://notionpress.com/npglobalassets/formvalidator/dist/js/framework/bootstrap.min.js" ></script>
  3325.        
  3326.        <link rel="stylesheet" href="https://notionpress.com/npglobalassets/formvalidator/intl-tel-input/build/css/intlTelInput.css?1" />
  3327.        <script src="https://notionpress.com/npglobalassets/formvalidator/intl-tel-input/build/js/intlTelInput-jquery.min.js?1" ></script>
  3328.      
  3329.                <style>
  3330.        .intl-tel-input .country-list{max-height: 200px;}
  3331.      
  3332.  
  3333.        </style>
  3334.  
  3335.        <script type="text/javascript">
  3336.            $(document).ready(function() {
  3337.                $("body").on("click", ".mobile_menus", function() {
  3338.                    $("#customnav").toggleClass("active");
  3339.                    $("#customnav").find(".dropdown a .fa").attr("class", "fa fa-plus");
  3340.                });
  3341.                $("body").on('click', '#customnav.active .dropdown', function() {
  3342.                    $(this).toggleClass("showcontent");
  3343.                    if ($(this).find("a .fa").attr("class") == 'fa fa-plus') {
  3344.                        $(this).find("a .fa").attr("class", "fa fa-minus");
  3345.                    } else {
  3346.                        $(this).find("a .fa").attr("class", "fa fa-plus");
  3347.                    }
  3348.                    return false;
  3349.                });
  3350.                $("li.sub_nav_li").each(function() {
  3351.                    $(this).find("a").on("click", function() {
  3352.                        var getAnchor = $(this).attr("href");
  3353.                        window.location = getAnchor;
  3354.                    });
  3355.                });
  3356.            });
  3357.            $(window).scroll(function() {
  3358.                var getHeight = $(".innerPageHeader").height();
  3359.                var contestNavBar = $(".contestNavBar.fixed").height();
  3360.                var totalHeight = getHeight + contestNavBar;
  3361.                var yPos = $(this).scrollTop();
  3362.                $(".inner-menu").each(function(i) {
  3363.                    var el = $(this);
  3364.                    var getId = el.attr("id");
  3365.                    var offset = $("." + getId).offset();
  3366.                    var getOffsetTop = offset.top;
  3367.                    var elemTopPos = getOffsetTop - totalHeight;
  3368.                    var elemHeight = $("#" + getId + 'section').height();
  3369.                    if ((yPos >= elemTopPos) && (yPos <= (elemTopPos + elemHeight))) {
  3370.                        $("#" + getId).addClass("active");
  3371.                    } else {
  3372.                        el.removeClass("active");
  3373.                    }
  3374.                });
  3375.            });
  3376.            var d = new Date();
  3377.            var offSet = d.getTimezoneOffset();
  3378.            $(document).ready(function() {
  3379.                $(".offset").attr("value", offSet);
  3380.                $(".phoneForm").on("submit", function() {
  3381.                    var getTitle = $(".selected-flag").attr("title");
  3382.                    $(this).find(".dialcode").val(getTitle);
  3383.                    $('#full_phone').val($("#phoneNumber").intlTelInput("getNumber"));
  3384.                });
  3385.                $('.phoneForm').on('keyup mouseup change', '.country-list .country', function() {
  3386.                    console.log("test");
  3387.                    var getDial = $(this).attr("data-dial-code");
  3388.                });
  3389.                $('#phoneNumber').intlTelInput({
  3390.                    initialCountry: "auto",
  3391.                geoIpLookup: function(callback) {
  3392.                    $.get('https://ipinfo.io', function() {}, "jsonp").always(function(resp) {
  3393.                    var countryCode = (resp && resp.country) ? resp.country : "in";
  3394.                    callback(countryCode);
  3395.                    });
  3396.                },
  3397.                    utilsScript: 'https://notionpress.com/npglobalassets/formvalidator/intl-tel-input/build/js/utils.js',
  3398.                    autoPlaceholder: true,
  3399.                    preferredCountries: ['','sg','us','gb','au','nz','in'],
  3400.                    separateDialCode: true,
  3401.                });
  3402.  
  3403.              
  3404.                $('.phoneForm').formValidation({
  3405.                    framework: 'bootstrap',
  3406.                    icon: {
  3407.                        valid: 'fa fa-check',
  3408.                        invalid: 'fa fa-times',
  3409.                        validating: 'fa fa-refresh'
  3410.                    },
  3411.                    fields: {
  3412.                        phoneNumber: {
  3413.                            validators: {
  3414.                                notEmpty: {
  3415.                                    message: 'Please enter your phone number'
  3416.                                },
  3417.                                callback: {
  3418.                                    callback: function(value, validator, $field) {
  3419.                                        var isValid = true;
  3420.                                        var message = null;
  3421.                                        if (value.trim() !== "") {
  3422.                                            if (isNaN(value)) {
  3423.                                                isValid = false;
  3424.                                                message = "The value is not a number";
  3425.                                            } else {
  3426.                                                if (value < 10000) {
  3427.                                                    isValid = false;
  3428.                                                    message = "The phone number is too short";
  3429.                                                }
  3430.                                            }
  3431.                                        }
  3432.                                        return {
  3433.                                            valid: isValid,
  3434.                                            message: message
  3435.                                        };
  3436.                                    }
  3437.                                }
  3438.                            }
  3439.                        },
  3440.                        emailid: {
  3441.                            verbose: false,
  3442.                            validators: {
  3443.                                notEmpty: {
  3444.                                    message: 'Please enter your email'
  3445.                                },
  3446.                                emailAddress: {
  3447.                                    message: 'The input is not a valid email address'
  3448.                                },
  3449.                                regexp: {
  3450.                                    regexp: '^[^@\\s]+@([^@\\s]+\\.)+[^@\\s]+$',
  3451.                                    message: 'The input is not a valid email address'
  3452.                                },
  3453.                                stringLength: {
  3454.                                    max: 512,
  3455.                                    message: 'Cannot exceed 512 characters'
  3456.                                }
  3457.                            }
  3458.                        },
  3459.                        getpassword: {
  3460.                            verbose: false,
  3461.                            validators: {
  3462.                                notEmpty: {
  3463.                                    message: 'Please enter your password'
  3464.                                },
  3465.                            }
  3466.                        },
  3467.                        password: {
  3468.                            verbose: false,
  3469.                            validators: {
  3470.                                notEmpty: {
  3471.                                    message: 'Please enter your password'
  3472.                                },
  3473.                            }
  3474.                        },
  3475.                        termsAndCondition: {
  3476.                            verbose: false,
  3477.                            validators: {
  3478.                                notEmpty: {
  3479.                                    message: 'Please agree to the Terms of Use & Privacy Policy'
  3480.                                },
  3481.                            }
  3482.                        },
  3483.                        email: {
  3484.                            verbose: false,
  3485.                            validators: {
  3486.                                notEmpty: {
  3487.                                    message: 'Please enter your email'
  3488.                                },
  3489.                                emailAddress: {
  3490.                                    message: 'The input is not a valid email address'
  3491.                                },
  3492.                                stringLength: {
  3493.                                    max: 512,
  3494.                                    message: 'Cannot exceed 512 characters'
  3495.                                }
  3496.                            }
  3497.                        },
  3498.                        name: {
  3499.                            verbose: false,
  3500.                            validators: {
  3501.                                notEmpty: {
  3502.                                    message: 'Please enter your name'
  3503.                                },
  3504.                            }
  3505.                        },
  3506.                    }
  3507.                }).on('click', '.country-list', function() {
  3508.                    $('.phoneForm').formValidation('revalidateField', 'phoneNumber');
  3509.                }).on('success.validator.fv', function(e, data) {
  3510.                    if (data.field === 'email' && data.validator === 'remote') {
  3511.                        if (response.did_you_mean) {
  3512.                            data.element.data('fv.messages').find('[data-fv-validator="remote"][data-fv-for="email"]').html('Did you mean ' + response.did_you_mean + '?').show();
  3513.                        }
  3514.                    }
  3515.                }).on('err.validator.fv', function(e, data) {
  3516.                    if (data.field === 'email' && data.validator === 'remote') {
  3517.                        var response = data.result;
  3518.                        data.element.data('fv.messages').find('[data-fv-validator="remote"][data-fv-for="email"]').html(response.did_you_mean ? 'Did you mean ' + response.did_you_mean + '?' : 'The email is not valid').show();
  3519.                    }
  3520.                
  3521.                })
  3522.            });
  3523.        </script>
  3524.  
  3525.        <script src="https://ajax.googleapis.com/ajax/libs/webfont/1.6.26/webfont.js" ></script>
  3526.        <script src="https://notionpress.com/assets/bookstroe_design/fonts.js" ></script>
  3527.  
  3528. <footer>
  3529. <div class="first-footer">
  3530. <div class="container">
  3531. <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 overall-container">
  3532. <div class="footer_container row">
  3533. <div class="col-md-4 col-sm-4 col-lg-3  col-xs-6 nopadding">
  3534. <div class="guidedpublish">
  3535. <a class="navbar-brand js-scroll-trigger" href="https://notionpress.com/"><img style="max-width: 80%;" src="https://notionpress.com/images/newdesign2/footer-logo1_3x.webp" alt="Notionpress Logo"></a>
  3536. </div>
  3537. </div>
  3538. <div class="col-md-4 col-sm-4 col-lg-3  col-xs-6 nopadding firstChild">
  3539. <div class="diy">
  3540. <ul>
  3541. <li class="title">For Writers</a></li>
  3542. <li><a href="https://notionpress.com/for-writers">Get Published</a></li>
  3543. <li><a href="https://notionpress.com/outpublish">Outpublish</a></li>
  3544. <li><a href="https://notionpress.com/book-marketing">Marketing Tools</a></li>
  3545. </ul>
  3546. </div>
  3547. </div>
  3548. <div class="col-md-4 col-sm-4 col-lg-2  col-xs-6 nopadding">
  3549. <div class="read">
  3550. <ul>
  3551. <li class="title">Read</li>
  3552. <li><a href="https://notionpress.com/store/topselling">Trending This Week</a></li>
  3553. <li><a href="https://notionpress.com/store/categories/all">New Releases</a></li>
  3554. <li><a href="https://notionpress.com/store/collections/editors-pick">Editor's Picks</a></li>
  3555. <li><a href="https://notionpress.com/store/collections/bestsellers">Bestsellers</a></li>
  3556.                                                                        <li><a href="https://notionpress.com/amazon-best-sellers">Amazon Bestsellers</a></li>
  3557. </ul>
  3558. </div>
  3559. </div>
  3560. <div class="col-md-4 col-sm-4 col-lg-2  col-xs-6 nopadding">
  3561. <div class="aboutus">
  3562. <ul>
  3563. <li class="title">About Us</li>
  3564. <li><a href="https://notionpress.com/about">Company</a></li>
  3565. <li><a href="https://notionpress.com/careers">Careers</a></li>
  3566. <li><a href="https://notionpress.com/reviews">Reviews</a></li>
  3567. <li><a href="https://notionpress.com/faq">FAQ</a></li>
  3568. <!-- <li><a href="https://notionpress.com/reviews">Reviews</a></li> -->
  3569. <li><a href="https://notionpress.com/blog">Blog</a></li>
  3570. <li><a href="https://notionpress.com/contact">Contact Us</a></li>
  3571.  
  3572. </ul>
  3573. </div>
  3574. </div>
  3575. <!-- <div class="col-md-4 col-sm-4 col-lg-2  col-xs-6 nopadding">
  3576. <div class="services">
  3577. <ul>
  3578. <li class="title">Services</li>
  3579. <li><a href="https://notionpress.com/publishing-services/editing">Editing</a></li>
  3580. <li><a href="https://notionpress.com/publishing-services/cover-design">Book Design</a></li>
  3581. <li><a href="https://notionpress.com/publishing-services/ebook">eBook</a></li>
  3582. <li><a href="https://notionpress.com/publishing-services/book-marketing">Marketing</a></li>
  3583. <li><a href="https://notionpress.com/publishing-services/distribution">Distribution</a></li>
  3584. <li><a href="https://notionpress.com/publishing-services/revision-services">Others</a></li>
  3585. </ul>
  3586. </div>
  3587. </div> -->
  3588. <div class="col-md-4 col-sm-4 col-lg-2  col-xs-6 lastChild nopadding">
  3589. <div class="social-icons">
  3590. <ul>
  3591. <li class="title">Connect with us</li>
  3592. <li><a href="https://www.facebook.com/notionpress" class="firstChild" target="_blank"><i class="fa fa-facebook-square"></i></a><a href="https://www.instagram.com/notion.press/" target="_blank"><i class="fa fa-instagram" aria-hidden="true"></i>
  3593. </a><a href="https://www.youtube.com/user/NotionPress" target="_blank"><i class="fa fa-youtube-play"></i></a>
  3594.                    <a href="https://www.linkedin.com/company/notion-press" class="lastChild" target="_blank"><i class="fa fa-linkedin-square"></i></a></li>
  3595. <!-- <li class="title">Track Your Order</li>
  3596. <li><input class="trackingno col-lg-2" type="text" name="trackingno" title="Tracking Number"><button class="trackButton"><i class="fa fa-chevron-right"></i></button></li> -->
  3597. </ul>
  3598. </div>
  3599. </div>
  3600. </div>
  3601. </div>
  3602.        <div class="clearfix"></div>
  3603. <p>Notion Press has made Self-publishing a book significantly easier with our free publishing platform that not only helps authors publish a book in English, but also publish a book in Hindi, Tamil, Bengali, Marathi, Malayalam, Gujarathi & Kannada. Our hybrid publishing program Outpublish gives you all the freedom of self-publishing with a hands on expert driven approach that helps you publish a book of the highest quality and build a platform for it to get it noticed by millions worldwide. You can sit back and relax as our book experts publish your book one page at a time or use our publishing platform to publish your book on your own. To put it concisely, Notion Press offers the best way to self publish books with the integration of quality services and innovation in technology. This makes Notion Press a natural choice for any author who wants to try out independent book publishing. Talk to our publishing experts, get your publishing plan and Outpublish your competition right away.</p>
  3604. </div>
  3605. </div>
  3606. <div class="last-footer ">
  3607. <div class="container">
  3608. <div class="col-lg-12">
  3609. <div class="row">
  3610. <div class="col-lg-6 col-md-6 col-sm-12 col-12 text-left">
  3611. <span class="copyright">Copyright &copy; 2024 Notion Press</span>
  3612. </div>
  3613. <div class="col-lg-6 col-md-6 col-sm-12 col-12 last">
  3614. <div class="row float-right text-right">
  3615.  
  3616. <a href="https://notionpress.com/terms">Terms of use</a>
  3617. <a href="https://notionpress.com/privacy">Privacy Policy</a>
  3618. <a href="https://notionpress.com/sitemap">Sitemap</a>
  3619. </div>
  3620. </div>
  3621. </div>
  3622. </div>
  3623. </div>
  3624. </div>
  3625.  
  3626. <!-- </div> -->
  3627. </footer>
  3628.  
  3629.  
  3630. <div class="clearfix"></div>
  3631.  
  3632. <!-- <script type="text/javascript" src="https://notionpress.com/assets/bookstroe_design/js/bookstore_rewamp_design.js?"></script> -->  
  3633.  
  3634.  
  3635.  
  3636.  
  3637. <!-- JavaScript -->
  3638. <script type="text/javascript" src="https://notionpress.com/js/modernizr.custom.js?631296315"></script>
  3639. <script type="text/javascript" src="https://notionpress.com/js/jquery.mousewheel-3.0.6.pack.js?631296315"></script>
  3640. <script type="text/javascript" src="https://notionpress.com/js/jquery.cookie.js?631296315"></script>
  3641. <script type="text/javascript" src="https://notionpress.com/js/jquery.easing.js?631296315"></script>
  3642. <script type="text/javascript" src="https://notionpress.com/assets/bookstroe_design/js/bookstore_rewamp_design.js?631296315"></script>
  3643.  
  3644. <!--[if lt IE 9]>
  3645.    <script src="js/html5shiv.js"></script>
  3646.    <script src="js/respond.min.js"></script>
  3647. <![endif]-->
  3648.  
  3649. <!-- Plugins -->
  3650. <script type="text/javascript" src="https://notionpress.com/assets/hover-dropdown/bootstrap-hover-dropdown.min.js?631296315"></script>
  3651. <script type="text/javascript" src="https://notionpress.com/assets/masonry/masonry.js?631296315"></script>
  3652. <script type="text/javascript" src="https://notionpress.com/assets/page-scroller/jquery.ui.totop.min.js?631296315"></script>
  3653. <script type="text/javascript" src="https://notionpress.com/assets/mixitup/jquery.mixitup.js?631296315"></script>
  3654. <script type="text/javascript" src="https://notionpress.com/assets/mixitup/jquery.mixitup.init.js?631296315"></script>
  3655. <script type="text/javascript" src="https://notionpress.com/assets/fancybox/jquery.fancybox.pack.js?631296315"></script>
  3656. <script type="text/javascript" src="https://notionpress.com/assets/easy-pie-chart/jquery.easypiechart.js?631296315"></script>
  3657. <script type="text/javascript" src="https://notionpress.com/assets/waypoints/waypoints.min.js?631296315"></script>
  3658. <!--<script type="text/javascript" src="https://notionpress.com/assets/sticky/jquery.sticky.js"></script>-->
  3659. <script type="text/javascript" src="https://notionpress.com/js/jquery.wp.custom.js?631296315"></script>
  3660. <script type="text/javascript" src="https://notionpress.com/js/jquery.wp.switcher.js?631296315"></script>
  3661.  
  3662.  
  3663.  
  3664.  <script type="text/javascript" charset="utf-8">
  3665.  var _uf = _uf || {};
  3666.  _uf.domain = "notionpress.com";
  3667.  _uf.additional_params_map      = {
  3668.    utm_matchtype: "utm_matchtype",
  3669. utm_device:"utm_device"
  3670.  };
  3671. </script>
  3672. <script src="js/utm_form-1.0.0.min.js" async></script>
  3673.  
  3674.  
  3675. <script type="text/javascript">
  3676. $(window).load(function(){
  3677.  $(".product_detail .buy_now .buy").removeClass("disabled");
  3678. });
  3679. </script>
  3680.  
  3681.  
  3682.  
  3683. <link href="https://notionpress.com//assets/fancybox/jquery.fancybox.css?631296315" rel="stylesheet" type="text/css" media="screen">
  3684. <link href="https://notionpress.com//assets/animate/animate.css?631296315" rel="stylesheet" type="text/css" media="screen">
  3685. <link href="https://notionpress.com//assets/easy-pie-chart/easypiechart.css?631296315" rel="stylesheet" type="text/css" media="screen">
  3686. <link href="https://notionpress.com//assets/timeline/timeline.css?631296315" rel="stylesheet" type="text/css" media="screen">
  3687.  
  3688. <!-- Google Tag Manager (noscript) -->
  3689. <noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-WNBFJ7Q"
  3690. height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
  3691. <!-- End Google Tag Manager (noscript) -->
  3692.  
  3693.  
  3694. <!-- GlobalInventory -->
  3695.  
  3696.  
  3697. <!-- classie.js by @desandro: https://github.com/desandro/classie -->
  3698. <script src="https://notionpress.com/assets/store/js/classie.js"></script>
  3699. <script src="https://notionpress.com/assets/store/js/modalEffects.js"></script>
  3700. <!-- for the blur effect -->
  3701. <!-- by @derSchepp https://github.com/Schepp/CSS-Filters-Polyfill -->
  3702.  
  3703. <!--
  3704. <script>
  3705.  // this is important for IEs
  3706.  var polyfilter_scriptpath = '/js/';
  3707. </script>
  3708. <script src="https://notionpress.com/assets/store/js/cssParser.js"></script>
  3709. <script src="https://notionpress.com/assets/store/js/css-filters-polyfill.js"></script>
  3710. -->
  3711.  
  3712. <!-- batmans modal -->
  3713.  
  3714.  
  3715.  <script src="https://ajax.googleapis.com/ajax/libs/webfont/1.6.26/webfont.js" async></script>
  3716.  <script src="https://notionpress.com/assets/bookstroe_design/fonts.js" async></script>
  3717.  
  3718.  
  3719. <script type="text/javascript">
  3720.  $(document).ready(function(){
  3721.    $('.owl-prev').hide();
  3722.      $('.owl-next').on('click', function(){
  3723.        $(this).siblings('.owl-prev').show();
  3724.      });
  3725.      $('#shelf_slider .owl-theme').on('mouseout', function(){
  3726.        $(this).children('.owl-prev').hide();
  3727.      });
  3728. });
  3729. </script>
  3730.  
  3731.  
  3732. <!-- Readinsta Notification -->
  3733.  
  3734.  
  3735. <script src="https://notionpress.com/assets/read_insta/js/jquery.scrollTo.js"></script>
  3736. <script src="https://notionpress.com/assets/read_insta/js/jsTop.js"></script>
  3737. <a href="#top" id="top-link" alt="Back to Top" style="position: fixed;"><i class="fa fa-angle-up" aria-hidden="true"></i></a>
  3738.  
  3739.  
  3740.  
  3741. <script type="text/javascript">window.NREUM||(NREUM={});NREUM.info={"beacon":"bam.nr-data.net","licenseKey":"NRJS-1dab51cf53eb994037c","applicationID":"567088927","transactionName":"MlZRYRFRWUcFVRJaCQscclYXWVhaS2YUXAAMX1YaCl5TURw=","queueTime":0,"applicationTime":87,"atts":"HhFSF1lLSkk=","errorBeacon":"bam.nr-data.net","agent":""}</script></body>
  3742. </html>
  3743.  
Copyright © 2002-9 Sam Ruby, Mark Pilgrim, Joseph Walton, and Phil Ringnalda