CINXE.COM
Single-Minded Service | MissionBooks.org
<!DOCTYPE html> <html lang="en"> <html xmlns="http://www.w3.org/1999/xhtml" class="no-js"> <head> <!-- Start of Booster Apps Seo-0.1--> <title>Single-Minded Service | MissionBooks.org</title><meta name="description" content="[DESCRIPTION]Empowering Singles for Ministry ImpactMarriage is a good gift from God and should be esteemed, but is it the best indicator of a man or woman’s fitness for kingdom service? Despite their dedication and immense potential, single Chri..." /> <script type="application/ld+json"> { "@context": "https://schema.org", "@type": "WebSite", "name": "MissionBooks.org", "url": "https://missionbooks.org", "potentialAction": { "@type": "SearchAction", "query-input": "required name=query", "target": "https://missionbooks.org/search?q={query}" } } </script><script type="application/ld+json"> { "@context": "https://schema.org", "@type": "Product", "name": "Single-Minded Service", "brand": {"@type": "Brand","name": "William Carey Publishing"}, "sku": "9781645086147", "mpn": "9781645086147", "description": "[DESCRIPTION]\nEmpowering Singles for Ministry Impact\nMarriage is a good gift from God and should be esteemed, but is it the best indicator of a man or woman’s fitness for kingdom service? Despite their dedication and immense potential, single Christians often find themselves overlooked and underutilized in ministry leadership roles.\nIn Single-Minded Service, Lewie Clark draws on biblical insights and historical examples, revealing the essential roles that singles have played—and can still play—in advancing the kingdom of God. He argues that in certain situations, singleness can enhance ministry effectiveness. Clark doesn’t just critique the current state; he offers a clear, actionable vision for how the church can empower singles to take their rightful place in leadership, following in the footsteps of single leaders like Paul and Barnabas. Whether you are single or married, discover how embracing the gifts and callings of singles can lead to a more effective ministry.\nWould you like to order a paperback? Order on Amazon.com here!\n [\/DESCRIPTION] [SUBTITLE]Rediscovering the Essential Role of Singles in Kingdom Leadership[\/SUBTITLE][PREORDER]12\/10\/24[\/PREORDER][CREDIT] Lewie Clark with Tim Grissom [\/CREDIT] [PAGES] 64 [\/PAGES] [BINDING] Paperback [\/BINDING] [PUBLISHER] William Carey Publishing [\/PUBLISHER] [PUBLISHYEAR] 2024 [\/PUBLISHYEAR] [ENDORSEMENT2]\nLewie Clark issues a wakeup call to today's church that if we really want to follow the model of Jesus and the early church, we should be empowering singles for kingdom ministry without presuming they first need to be married. This book is a thoughtful journey that will both encourage single adults that they are fully qualified and equipped for kingdom leadership while simultaneously reminding us all what the true family of believers is all about.\nRev. Barry N. Danylak, PhDExecutive Director, SEE Globally [\/ENDORSEMENT2] [ENDORSEMENT3]\nThe lies we believe influence our thinking and behavior without our conscious awareness. But when these lies get exposed and rejected, we have opportunity to joyfully embrace fresh, wholesome thinking and relating. Lewie’s book powerfully exposes cultural lies that cripple the lives and ministries of many singles. It empowers members of Christ’s family to value the unique freedoms that singles enjoy, at times, giving them an advantage over married Christian workers. I am excited to give this book to friends who are single and to those in Christian leadership so that our cultural lies can be exposed and rejected. Let’s trash the shame and marginalization of singles. Let’s embrace them as fully complete in Christ. Let’s leverage their advantages for the extension of God’s kingdom. You will know the truth and the truth will set you free (John 8:38).\nAlbert EhmannChurch planter, leader, and mentor for 55 years [\/ENDORSEMENT3] [ENDORSEMENT4]\nWould your church hire single Saint Paul as pastor? How about young unwed Amy Carmichael to lead a mission? The data says no, and that’s not just bad for all our Amys and Pauls—it’s a disaster for the spread of the gospel. Sociological headwinds are converging. We must stop sidelining our fastest growing demographic. This book is a wakeup call to Protestants to rethink the sacred role of celibacy for mission. \nDel Fehsenfeld IIILife Action Ministries [\/ENDORSEMENT4] [ENDORSEMENT5]\nAs the World Evangelical Alliance begins to advance a paradigm that fully values, engages, and empowers single and single-again evangelicals, I have turned to Lewie many times for encouragement and advice. I have, perhaps, the advantage of the reader, for not only have I read Single-Minded Service as a book, I have read it as a life; Lewie’s life. May you likewise be encouraged, and more so, challenged by Lewie’s writing, and should the Lord give you favor to know him, his life.\nMark McLeodSingles Advocacy Initiative, WEA [\/ENDORSEMENT5] [ENDORSEMENT6]\nToday, most Christians assume that marriage is a fundamental prerequisite for leadership in the church. But Lewie Clark sheds light on how singles have frequently been the spearheads of Christ’s kingdom, ever since the church’s beginning. This wonderful book will empower singles to love, serve, and lead the body of Christ. \nSeth Osborn, PhDAdjunct Professor, Indiana Wesleyan University [\/ENDORSEMENT6] [ENDORSEMENT7]\nThe bias is real. I spent years helping hundreds of churches find senior pastors, and not one of them would consider an unmarried candidate. And yet for more than forty years, I’ve watched Lewie Clark pastor, lead, and disciple others (myself included). As a single, never-married man, the biblical insights Lewie brings regarding singleness need to be heard by the church.\nTim StevensCEO \u0026amp; Founder, LeadingSmart [\/ENDORSEMENT7] [TOC]\nChapter 1: Finding Our Way\nChapter 2: The Bias\nChapter 3: The Invisible Single\nChapter 4: A Theology of Singleness\nChapter 5: The Kingdom-First Life\n[\/TOC]", "url": "https://missionbooks.org/products/single-minded-service","image": "https://missionbooks.org/cdn/shop/files/Single-MindedService_CVR-Front_1_1714x.jpg?v=1732551344","itemCondition": "https://schema.org/NewCondition", "offers": [{ "@type": "Offer","price": "2.99","priceCurrency": "USD", "itemCondition": "https://schema.org/NewCondition", "url": "https://missionbooks.org/products/single-minded-service?variant=46125811564803", "sku": "9781645086147", "mpn": "9781645086147", "availability" : "https://schema.org/InStock", "priceValidUntil": "2025-03-29","gtin13": "9781645086147"}]} </script> <!-- end of Booster Apps SEO --> <script type="application/vnd.locksmith+json" data-locksmith>{"version":"v191","locked":false,"initialized":true,"scope":"product","access_granted":true,"access_denied":false,"requires_customer":false,"manual_lock":false,"remote_lock":false,"has_timeout":false,"remote_rendered":null,"hide_resource":false,"hide_links_to_resource":false,"transparent":true,"locks":{"all":[],"opened":[]},"keys":[],"keys_signature":"8a650ac2a74db2f71a00011a234767d4941407ead067c6b975a08387460f78b6","state":{"template":"product","theme":39295844470,"product":"single-minded-service","collection":null,"page":null,"blog":null,"article":null,"app":null},"now":1740658965,"path":"\/products\/single-minded-service","locale_root_url":"\/","canonical_url":"https:\/\/missionbooks.org\/products\/single-minded-service","customer_id":null,"customer_id_signature":"8a650ac2a74db2f71a00011a234767d4941407ead067c6b975a08387460f78b6","cart":null}</script><script data-locksmith>!function(){var require=undefined,reqwest=function(){function succeed(e){var t=protocolRe.exec(e.url);return t=t&&t[1]||context.location.protocol,httpsRe.test(t)?twoHundo.test(e.request.status):!!e.request.response}function handleReadyState(e,t,n){return function(){return e._aborted?n(e.request):e._timedOut?n(e.request,"Request is aborted: timeout"):void(e.request&&4==e.request[readyState]&&(e.request.onreadystatechange=noop,succeed(e)?t(e.request):n(e.request)))}}function setHeaders(e,t){var n,s=t.headers||{};s.Accept=s.Accept||defaultHeaders.accept[t.type]||defaultHeaders.accept["*"];var r="undefined"!=typeof FormData&&t.data instanceof FormData;for(n in!t.crossOrigin&&!s[requestedWith]&&(s[requestedWith]=defaultHeaders.requestedWith),!s[contentType]&&!r&&(s[contentType]=t.contentType||defaultHeaders.contentType),s)s.hasOwnProperty(n)&&"setRequestHeader"in e&&e.setRequestHeader(n,s[n])}function setCredentials(e,t){"undefined"!=typeof t.withCredentials&&"undefined"!=typeof e.withCredentials&&(e.withCredentials=!!t.withCredentials)}function generalCallback(e){lastValue=e}function urlappend(e,t){return e+(/[?]/.test(e)?"&":"?")+t}function handleJsonp(e,t,n,s){var r=uniqid++,a=e.jsonpCallback||"callback",o=e.jsonpCallbackName||reqwest.getcallbackPrefix(r),i=new RegExp("((^|[?]|&)"+a+")=([^&]+)"),l=s.match(i),c=doc.createElement("script"),u=0,d=-1!==navigator.userAgent.indexOf("MSIE 10.0");return l?"?"===l[3]?s=s.replace(i,"$1="+o):o=l[3]:s=urlappend(s,a+"="+o),context[o]=generalCallback,c.type="text/javascript",c.src=s,c.async=!0,"undefined"!=typeof c.onreadystatechange&&!d&&(c.htmlFor=c.id="_reqwest_"+r),c.onload=c.onreadystatechange=function(){if(c[readyState]&&"complete"!==c[readyState]&&"loaded"!==c[readyState]||u)return!1;c.onload=c.onreadystatechange=null,c.onclick&&c.onclick(),t(lastValue),lastValue=undefined,head.removeChild(c),u=1},head.appendChild(c),{abort:function(){c.onload=c.onreadystatechange=null,n({},"Request is aborted: timeout",{}),lastValue=undefined,head.removeChild(c),u=1}}}function getRequest(e,t){var n,s=this.o,r=(s.method||"GET").toUpperCase(),a="string"==typeof s?s:s.url,o=!1!==s.processData&&s.data&&"string"!=typeof s.data?reqwest.toQueryString(s.data):s.data||null,i=!1;return("jsonp"==s.type||"GET"==r)&&o&&(a=urlappend(a,o),o=null),"jsonp"==s.type?handleJsonp(s,e,t,a):((n=s.xhr&&s.xhr(s)||xhr(s)).open(r,a,!1!==s.async),setHeaders(n,s),setCredentials(n,s),context[xDomainRequest]&&n instanceof context[xDomainRequest]?(n.onload=e,n.onerror=t,n.onprogress=function(){},i=!0):n.onreadystatechange=handleReadyState(this,e,t),s.before&&s.before(n),i?setTimeout(function(){n.send(o)},200):n.send(o),n)}function Reqwest(e,t){this.o=e,this.fn=t,init.apply(this,arguments)}function setType(e){return null===e?undefined:e.match("json")?"json":e.match("javascript")?"js":e.match("text")?"html":e.match("xml")?"xml":void 0}function init(o,fn){function complete(e){for(o.timeout&&clearTimeout(self.timeout),self.timeout=null;0<self._completeHandlers.length;)self._completeHandlers.shift()(e)}function success(resp){var type=o.type||resp&&setType(resp.getResponseHeader("Content-Type"));resp="jsonp"!==type?self.request:resp;var filteredResponse=globalSetupOptions.dataFilter(resp.responseText,type),r=filteredResponse;try{resp.responseText=r}catch(e){}if(r)switch(type){case"json":try{resp=context.JSON?context.JSON.parse(r):eval("("+r+")")}catch(err){return error(resp,"Could not parse JSON in response",err)}break;case"js":resp=eval(r);break;case"html":resp=r;break;case"xml":resp=resp.responseXML&&resp.responseXML.parseError&&resp.responseXML.parseError.errorCode&&resp.responseXML.parseError.reason?null:resp.responseXML}for(self._responseArgs.resp=resp,self._fulfilled=!0,fn(resp),self._successHandler(resp);0<self._fulfillmentHandlers.length;)resp=self._fulfillmentHandlers.shift()(resp);complete(resp)}function timedOut(){self._timedOut=!0,self.request.abort()}function error(e,t,n){for(e=self.request,self._responseArgs.resp=e,self._responseArgs.msg=t,self._responseArgs.t=n,self._erred=!0;0<self._errorHandlers.length;)self._errorHandlers.shift()(e,t,n);complete(e)}this.url="string"==typeof o?o:o.url,this.timeout=null,this._fulfilled=!1,this._successHandler=function(){},this._fulfillmentHandlers=[],this._errorHandlers=[],this._completeHandlers=[],this._erred=!1,this._responseArgs={};var self=this;fn=fn||function(){},o.timeout&&(this.timeout=setTimeout(function(){timedOut()},o.timeout)),o.success&&(this._successHandler=function(){o.success.apply(o,arguments)}),o.error&&this._errorHandlers.push(function(){o.error.apply(o,arguments)}),o.complete&&this._completeHandlers.push(function(){o.complete.apply(o,arguments)}),this.request=getRequest.call(this,success,error)}function reqwest(e,t){return new Reqwest(e,t)}function normalize(e){return e?e.replace(/\r?\n/g,"\r\n"):""}function serial(e,t){var n,s,r,a,o=e.name,i=e.tagName.toLowerCase(),l=function(e){e&&!e.disabled&&t(o,normalize(e.attributes.value&&e.attributes.value.specified?e.value:e.text))};if(!e.disabled&&o)switch(i){case"input":/reset|button|image|file/i.test(e.type)||(n=/checkbox/i.test(e.type),s=/radio/i.test(e.type),r=e.value,(!n&&!s||e.checked)&&t(o,normalize(n&&""===r?"on":r)));break;case"textarea":t(o,normalize(e.value));break;case"select":if("select-one"===e.type.toLowerCase())l(0<=e.selectedIndex?e.options[e.selectedIndex]:null);else for(a=0;e.length&&a<e.length;a++)e.options[a].selected&&l(e.options[a])}}function eachFormElement(){var e,t,a=this,n=function(e,t){var n,s,r;for(n=0;n<t.length;n++)for(r=e[byTag](t[n]),s=0;s<r.length;s++)serial(r[s],a)};for(t=0;t<arguments.length;t++)e=arguments[t],/input|select|textarea/i.test(e.tagName)&&serial(e,a),n(e,["input","select","textarea"])}function serializeQueryString(){return reqwest.toQueryString(reqwest.serializeArray.apply(null,arguments))}function serializeHash(){var n={};return eachFormElement.apply(function(e,t){e in n?(n[e]&&!isArray(n[e])&&(n[e]=[n[e]]),n[e].push(t)):n[e]=t},arguments),n}function buildParams(e,t,n,s){var r,a,o,i=/\[\]$/;if(isArray(t))for(a=0;t&&a<t.length;a++)o=t[a],n||i.test(e)?s(e,o):buildParams(e+"["+("object"==typeof o?a:"")+"]",o,n,s);else if(t&&"[object Object]"===t.toString())for(r in t)buildParams(e+"["+r+"]",t[r],n,s);else s(e,t)}var context=this,XHR2;if("window"in context)var doc=document,byTag="getElementsByTagName",head=doc[byTag]("head")[0];else try{XHR2=require("xhr2")}catch(ex){throw new Error("Peer dependency `xhr2` required! Please npm install xhr2")}var httpsRe=/^http/,protocolRe=/(^\w+):\/\//,twoHundo=/^(20\d|1223)$/,readyState="readyState",contentType="Content-Type",requestedWith="X-Requested-With",uniqid=0,callbackPrefix="reqwest_"+ +new Date,lastValue,xmlHttpRequest="XMLHttpRequest",xDomainRequest="XDomainRequest",noop=function(){},isArray="function"==typeof Array.isArray?Array.isArray:function(e){return e instanceof Array},defaultHeaders={contentType:"application/x-www-form-urlencoded",requestedWith:xmlHttpRequest,accept:{"*":"text/javascript, text/html, application/xml, text/xml, */*",xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript",js:"application/javascript, text/javascript"}},xhr=function(e){if(!0!==e.crossOrigin)return context[xmlHttpRequest]?new XMLHttpRequest:XHR2?new XHR2:new ActiveXObject("Microsoft.XMLHTTP");var t=context[xmlHttpRequest]?new XMLHttpRequest:null;if(t&&"withCredentials"in t)return t;if(context[xDomainRequest])return new XDomainRequest;throw new Error("Browser does not support cross-origin requests")},globalSetupOptions={dataFilter:function(e){return e}};return Reqwest.prototype={abort:function(){this._aborted=!0,this.request.abort()},retry:function(){init.call(this,this.o,this.fn)},then:function(e,t){return e=e||function(){},t=t||function(){},this._fulfilled?this._responseArgs.resp=e(this._responseArgs.resp):this._erred?t(this._responseArgs.resp,this._responseArgs.msg,this._responseArgs.t):(this._fulfillmentHandlers.push(e),this._errorHandlers.push(t)),this},always:function(e){return this._fulfilled||this._erred?e(this._responseArgs.resp):this._completeHandlers.push(e),this},fail:function(e){return this._erred?e(this._responseArgs.resp,this._responseArgs.msg,this._responseArgs.t):this._errorHandlers.push(e),this},"catch":function(e){return this.fail(e)}},reqwest.serializeArray=function(){var n=[];return eachFormElement.apply(function(e,t){n.push({name:e,value:t})},arguments),n},reqwest.serialize=function(){if(0===arguments.length)return"";var e,t=Array.prototype.slice.call(arguments,0);return(e=t.pop())&&e.nodeType&&t.push(e)&&(e=null),e&&(e=e.type),("map"==e?serializeHash:"array"==e?reqwest.serializeArray:serializeQueryString).apply(null,t)},reqwest.toQueryString=function(e,t){var n,s,r=t||!1,a=[],o=encodeURIComponent,i=function(e,t){t="function"==typeof t?t():null==t?"":t,a[a.length]=o(e)+"="+o(t)};if(isArray(e))for(s=0;e&&s<e.length;s++)i(e[s].name,e[s].value);else for(n in e)e.hasOwnProperty(n)&&buildParams(n,e[n],r,i);return a.join("&").replace(/%20/g,"+")},reqwest.getcallbackPrefix=function(){return callbackPrefix},reqwest.compat=function(e,t){return e&&(e.type&&(e.method=e.type)&&delete e.type,e.dataType&&(e.type=e.dataType),e.jsonpCallback&&(e.jsonpCallbackName=e.jsonpCallback)&&delete e.jsonpCallback,e.jsonp&&(e.jsonpCallback=e.jsonp)),new Reqwest(e,t)},reqwest.ajaxSetup=function(e){for(var t in e=e||{})globalSetupOptions[t]=e[t]},reqwest}(); /*! * Reqwest! A general purpose XHR connection manager * license MIT (c) Dustin Diaz 2015 * https://github.com/ded/reqwest */!function(){var o=window.Locksmith={},e=document.querySelector('script[type="application/vnd.locksmith+json"]'),n=e&&e.innerHTML;if(o.state={},o.util={},o.loading=!1,n)try{o.state=JSON.parse(n)}catch(u){}if(document.addEventListener&&document.querySelector){var s,r,a,t=[76,79,67,75,83,77,73,84,72,49,49],i=function(){r=t.slice(0)},l="style",c=function(e){e&&27!==e.keyCode&&"click"!==e.type||(document.removeEventListener("keydown",c),document.removeEventListener("click",c),s&&document.body.removeChild(s),s=null)};i(),document.addEventListener("keyup",function(e){if(e.keyCode===r[0]){if(clearTimeout(a),r.shift(),0<r.length)return void(a=setTimeout(i,1e3));i(),c(),(s=document.createElement("div"))[l].width="50%",s[l].maxWidth="1000px",s[l].height="85%",s[l].border="1px rgba(0, 0, 0, 0.2) solid",s[l].background="rgba(255, 255, 255, 0.99)",s[l].borderRadius="4px",s[l].position="fixed",s[l].top="50%",s[l].left="50%",s[l].transform="translateY(-50%) translateX(-50%)",s[l].boxShadow="0 2px 5px rgba(0, 0, 0, 0.3), 0 0 100vh 100vw rgba(0, 0, 0, 0.5)",s[l].zIndex="2147483645";var t=document.createElement("textarea");t.value=JSON.stringify(JSON.parse(n),null,2),t[l].border="none",t[l].display="block",t[l].boxSizing="border-box",t[l].width="100%",t[l].height="100%",t[l].background="transparent",t[l].padding="22px",t[l].fontFamily="monospace",t[l].fontSize="14px",t[l].color="#333",t[l].resize="none",t[l].outline="none",t.readOnly=!0,s.appendChild(t),document.body.appendChild(s),t.addEventListener("click",function(e){e.stopImmediatePropagation()}),t.select(),document.addEventListener("keydown",c),document.addEventListener("click",c)}})}o.isEmbedded=-1!==window.location.search.indexOf("_ab=0&_fd=0&_sc=1"),o.path=o.state.path||window.location.pathname,o.basePath=o.state.locale_root_url.concat("/apps/locksmith").replace(/^\/\//,"/"),o.reloading=!1,o.util.console=window.console||{log:function(){},error:function(){}},o.util.makeUrl=function(e,t){var n,s=o.basePath+e,r=[],a=o.cache();for(n in a)r.push(n+"="+encodeURIComponent(a[n]));for(n in t)r.push(n+"="+encodeURIComponent(t[n]));return o.state.customer_id&&(r.push("customer_id="+encodeURIComponent(o.state.customer_id)),r.push("customer_id_signature="+encodeURIComponent(o.state.customer_id_signature))),s+=(-1===s.indexOf("?")?"?":"&")+r.join("&")},o._initializeCallbacks=[],o.on=function(e,t){if("initialize"!==e)throw'Locksmith.on() currently only supports the "initialize" event';o._initializeCallbacks.push(t)},o.initializeSession=function(e){if(!o.isEmbedded){var t=!1,n=!0,s=!0;(e=e||{}).silent&&(s=n=!(t=!0)),o.ping({silent:t,spinner:n,reload:s,callback:function(){o._initializeCallbacks.forEach(function(e){e()})}})}},o.cache=function(e){var t={};try{var n=function r(e){return(document.cookie.match("(^|; )"+e+"=([^;]*)")||0)[2]};t=JSON.parse(decodeURIComponent(n("locksmith-params")||"{}"))}catch(u){}if(e){for(var s in e)t[s]=e[s];document.cookie="locksmith-params=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/",document.cookie="locksmith-params="+encodeURIComponent(JSON.stringify(t))+"; path=/"}return t},o.cache.cart=o.state.cart,o.cache.cartLastSaved=null,o.params=o.cache(),o.util.reload=function(){o.reloading=!0;try{window.location.href=window.location.href.replace(/#.*/,"")}catch(u){o.util.console.error("Preferred reload method failed",u),window.location.reload()}},o.cache.saveCart=function(e){if(!o.cache.cart||o.cache.cart===o.cache.cartLastSaved)return e?e():null;var t=o.cache.cartLastSaved;o.cache.cartLastSaved=o.cache.cart,reqwest({url:"/cart/update.json",method:"post",type:"json",data:{attributes:{locksmith:o.cache.cart}},complete:e,error:function(e){if(o.cache.cartLastSaved=t,!o.reloading)throw e}})},o.util.spinnerHTML='<style>body{background:#FFF}@keyframes spin{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}#loading{display:flex;width:100%;height:50vh;color:#777;align-items:center;justify-content:center}#loading .spinner{display:block;animation:spin 600ms linear infinite;position:relative;width:50px;height:50px}#loading .spinner-ring{stroke:currentColor;stroke-dasharray:100%;stroke-width:2px;stroke-linecap:round;fill:none}</style><div id="loading"><div class="spinner"><svg width="100%" height="100%"><svg preserveAspectRatio="xMinYMin"><circle class="spinner-ring" cx="50%" cy="50%" r="45%"></circle></svg></svg></div></div>',o.util.clobberBody=function(e){document.body.innerHTML=e},o.util.clobberDocument=function(e){e.responseText&&(e=e.responseText),document.documentElement&&document.removeChild(document.documentElement);var t=document.open("text/html","replace");t.writeln(e),t.close(),setTimeout(function(){var e=t.querySelector("[autofocus]");e&&e.focus()},100)},o.util.serializeForm=function(e){if(e&&"FORM"===e.nodeName){var t,n,s={};for(t=e.elements.length-1;0<=t;t-=1)if(""!==e.elements[t].name)switch(e.elements[t].nodeName){case"INPUT":switch(e.elements[t].type){default:case"text":case"hidden":case"password":case"button":case"reset":case"submit":s[e.elements[t].name]=e.elements[t].value;break;case"checkbox":case"radio":e.elements[t].checked&&(s[e.elements[t].name]=e.elements[t].value);break;case"file":}break;case"TEXTAREA":s[e.elements[t].name]=e.elements[t].value;break;case"SELECT":switch(e.elements[t].type){case"select-one":s[e.elements[t].name]=e.elements[t].value;break;case"select-multiple":for(n=e.elements[t].options.length-1;0<=n;n-=1)e.elements[t].options[n].selected&&(s[e.elements[t].name]=e.elements[t].options[n].value)}break;case"BUTTON":switch(e.elements[t].type){case"reset":case"submit":case"button":s[e.elements[t].name]=e.elements[t].value}}return s}},o.util.on=function(e,a,o,t){t=t||document;var i="locksmith-"+e+a,n=function(e){var t=e.target,n=e.target.parentElement,s=t.className.baseVal||t.className||"",r=n.className.baseVal||n.className||"";("string"==typeof s&&-1!==s.split(/\s+/).indexOf(a)||"string"==typeof r&&-1!==r.split(/\s+/).indexOf(a))&&!e[i]&&(e[i]=!0,o(e))};t.attachEvent?t.attachEvent(e,n):t.addEventListener(e,n,!1)},o.util.enableActions=function(e){o.util.on("click","locksmith-action",function(e){e.preventDefault();var t=e.target;t.dataset.confirmWith&&!confirm(t.dataset.confirmWith)||(t.disabled=!0,t.innerText=t.dataset.disableWith,o.post("/action",t.dataset.locksmithParams,{spinner:!1,type:"text",success:function(e){(e=JSON.parse(e.responseText)).message&&alert(e.message),o.util.reload()}}))},e)},o.util.inject=function(e,t){var n=["data","locksmith","append"];if(-1!==t.indexOf(n.join("-"))){var s=document.createElement("div");s.innerHTML=t,e.appendChild(s)}else e.innerHTML=t;var r,a,o=e.querySelectorAll("script");for(a=0;a<o.length;++a){r=o[a];var i=document.createElement("script");if(r.type&&(i.type=r.type),r.src)i.src=r.src;else{var l=document.createTextNode(r.innerHTML);i.appendChild(l)}e.appendChild(i)}var c=e.querySelector("[autofocus]");c&&c.focus()},o.post=function(e,t,n){!1!==(n=n||{}).spinner&&o.util.clobberBody(o.util.spinnerHTML);var s={};n.container===document?(s.layout=1,n.success=function(e){document.getElementById(n.container);o.util.clobberDocument(e)}):n.container&&(s.layout=0,n.success=function(e){var t=document.getElementById(n.container);o.util.inject(t,e),t.id===t.firstChild.id&&t.parentElement.replaceChild(t.firstChild,t)}),n.form_type&&(t.form_type=n.form_type),n.include_layout_classes!==undefined&&(t.include_layout_classes=n.include_layout_classes),n.lock_id!==undefined&&(t.lock_id=n.lock_id),o.loading=!0;var r=o.util.makeUrl(e,s);reqwest({url:r,method:"post",type:n.type||"html",data:t,complete:function(){o.loading=!1},error:function(e){if(!o.reloading)if("dashboard.weglot.com"!==window.location.host){if(!n.silent)throw alert("Something went wrong! Please refresh and try again."),e;console.error(e)}else console.error(e)},success:n.success||o.util.clobberDocument})},o.postResource=function(e,t){e.path=o.path,e.search=window.location.search,e.state=o.state,e.passcode&&(e.passcode=e.passcode.trim()),e.email&&(e.email=e.email.trim()),e.state.cart=o.cache.cart,e.locksmith_json=o.jsonTag,e.locksmith_json_signature=o.jsonTagSignature,o.post("/resource",e,t)},o.ping=function(e){if(!o.isEmbedded){e=e||{};var t=function(){e.reload?o.util.reload():"function"==typeof e.callback&&e.callback()};o.post("/ping",{path:o.path,search:window.location.search,state:o.state},{spinner:!!e.spinner,silent:"undefined"==typeof e.silent||e.silent,type:"text",success:function(e){(e=JSON.parse(e.responseText)).messages&&0<e.messages.length&&o.showMessages(e.messages),e.cart&&o.cache.cart!==e.cart?(o.cache.cart=e.cart,o.cache.saveCart(function(){t(),e.cart&&e.cart.match(/^.+:/)&&o.util.reload()})):t()}})}},o.timeoutMonitor=function(){var e=o.cache.cart;o.ping({callback:function(){e!==o.cache.cart||setTimeout(function(){o.timeoutMonitor()},6e4)}})},o.showMessages=function(e){var t=document.createElement("div");t.style.position="fixed",t.style.left=0,t.style.right=0,t.style.bottom="-50px",t.style.opacity=0,t.style.background="#191919",t.style.color="#ddd",t.style.transition="bottom 0.2s, opacity 0.2s",t.style.zIndex=999999,t.innerHTML=" <style> .locksmith-ab .locksmith-b { display: none; } .locksmith-ab.toggled .locksmith-b { display: flex; } .locksmith-ab.toggled .locksmith-a { display: none; } .locksmith-flex { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; padding: 10px 20px; } .locksmith-message + .locksmith-message { border-top: 1px #555 solid; } .locksmith-message a { color: inherit; font-weight: bold; } .locksmith-message a:hover { color: inherit; opacity: 0.8; } a.locksmith-ab-toggle { font-weight: inherit; text-decoration: underline; } .locksmith-text { flex-grow: 1; } .locksmith-cta { flex-grow: 0; text-align: right; } .locksmith-cta button { transform: scale(0.8); transform-origin: left; } .locksmith-cta > * { display: block; } .locksmith-cta > * + * { margin-top: 10px; } .locksmith-message a.locksmith-close { flex-grow: 0; text-decoration: none; margin-left: 15px; font-size: 30px; font-family: monospace; display: block; padding: 2px 10px; } @media screen and (max-width: 600px) { .locksmith-wide-only { display: none !important; } .locksmith-flex { padding: 0 15px; } .locksmith-flex > * { margin-top: 5px; margin-bottom: 5px; } .locksmith-cta { text-align: left; } } @media screen and (min-width: 601px) { .locksmith-narrow-only { display: none !important; } } </style> "+e.map(function(e){return'<div class="locksmith-message">'+e+"</div>"}).join(""),document.body.appendChild(t),document.body.style.position="relative",document.body.parentElement.style.paddingBottom=t.offsetHeight+"px",setTimeout(function(){t.style.bottom=0,t.style.opacity=1},50),o.util.on("click","locksmith-ab-toggle",function(e){e.preventDefault();for(var t=e.target.parentElement;-1===t.className.split(" ").indexOf("locksmith-ab");)t=t.parentElement;-1!==t.className.split(" ").indexOf("toggled")?t.className=t.className.replace("toggled",""):t.className=t.className+" toggled"}),o.util.enableActions(t)}}()}();</script> <script data-locksmith>Locksmith.cache.cart=null</script> <script data-locksmith>Locksmith.jsonTag="\u003cscript type=\"application\/vnd.locksmith+json\" data-locksmith\u003e{\"version\":\"v191\",\"locked\":false,\"initialized\":true,\"scope\":\"product\",\"access_granted\":true,\"access_denied\":false,\"requires_customer\":false,\"manual_lock\":false,\"remote_lock\":false,\"has_timeout\":false,\"remote_rendered\":null,\"hide_resource\":false,\"hide_links_to_resource\":false,\"transparent\":true,\"locks\":{\"all\":[],\"opened\":[]},\"keys\":[],\"keys_signature\":\"8a650ac2a74db2f71a00011a234767d4941407ead067c6b975a08387460f78b6\",\"state\":{\"template\":\"product\",\"theme\":39295844470,\"product\":\"single-minded-service\",\"collection\":null,\"page\":null,\"blog\":null,\"article\":null,\"app\":null},\"now\":1740658965,\"path\":\"\\\/products\\\/single-minded-service\",\"locale_root_url\":\"\\\/\",\"canonical_url\":\"https:\\\/\\\/missionbooks.org\\\/products\\\/single-minded-service\",\"customer_id\":null,\"customer_id_signature\":\"8a650ac2a74db2f71a00011a234767d4941407ead067c6b975a08387460f78b6\",\"cart\":null}\u003c\/script\u003e";Locksmith.jsonTagSignature="6a46fc44be3c60c81f02a602e26c45c1c415ad70ae8e7495dc8329fd9675207d"</script> <!-- Added by AVADA Upsells --> <script> window.AVADA_UPSELL = window.AVADA_UPSELL || {}; window.AVADA_UPSELL.shopId = 'wfQC3pp1MvMe5Yx0t5Hq'; window.AVADA_UPSELL.status = false; window.AVADA_UPSELL={"offer":[{"id":"i8SHl49JlxnM69hFjtU2","selectPage":"product_page","specificCollections":[],"upsell":"variant","choose":"specific_products","type":"cross_sell","selectCollection":"none","createdAt":"2023-06-23T19:17:12.322Z","impression":0,"totalRevenue":0,"shopId":"wfQC3pp1MvMe5Yx0t5Hq","specificProducts":[{"image":{"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/0052\/5615\/1158\/products\/Reading-Hebrews-Missiologically_CVR-Front_3_1.jpg?v=1678993711"},"images":[{"updated_at":"2023-03-16T13:08:31-06:00","src":"https:\/\/cdn.shopify.com\/s\/files\/1\/0052\/5615\/1158\/products\/Reading-Hebrews-Missiologically_CVR-Front_3_1.jpg?v=1678993711","product_id":7981477921027,"admin_graphql_api_id":"gid:\/\/shopify\/ProductImage\/40207297806595","alt":null,"width":1833,"created_at":"2023-02-23T09:19:09-07:00","variant_ids":[43644212773123,43978808262915],"id":40207297806595,"position":1,"height":2750}],"options":[{"product_id":7981477921027,"values":["EPub (ebook)","Paperback"],"name":"Format","id":10184527806723,"position":1}],"handle":"reading-hebrews-missiologically","id":7981477921027,"variants":[{"inventory_quantity":-22,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/0052\/5615\/1158\/products\/Reading-Hebrews-Missiologically_CVR-Front_3_1.jpg?v=1678993711","price":"9.99","option3":null,"option1":"EPub (ebook)","id":43644212773123,"option2":null,"title":"EPub (ebook)"},{"inventory_quantity":-2,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/0052\/5615\/1158\/products\/Reading-Hebrews-Missiologically_CVR-Front_3_1.jpg?v=1678993711","price":"17.99","option3":null,"option1":"Paperback","id":43978808262915,"option2":null,"title":"Paperback"}],"title":"Reading Hebrews Missiologically"}],"offerProduct":[{"offerId":"HHFa7ALqZkTKL7Hxf4q2","image":{"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/0052\/5615\/1158\/products\/Mission-Daniel_CVR-Front.jpg?v=1660673891"},"images":[{"updated_at":"2022-08-16T12:18:11-06:00","src":"https:\/\/cdn.shopify.com\/s\/files\/1\/0052\/5615\/1158\/products\/Mission-Daniel_CVR-Front.jpg?v=1660673891","product_id":7814560874755,"admin_graphql_api_id":"gid:\/\/shopify\/ProductImage\/38791359660291","alt":null,"width":1800,"created_at":"2022-08-16T12:18:11-06:00","variant_ids":[43168234897667,43978809213187],"id":38791359660291,"position":1,"height":2700}],"index":0,"handle":"mission-in-the-way-of-daniel","variants":[{"inventory_quantity":-24,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/0052\/5615\/1158\/products\/Mission-Daniel_CVR-Front.jpg?v=1660673891","price":"7.99","option3":null,"option1":"EPub (ebook)","id":43168234897667,"option2":null,"title":"EPub (ebook)"},{"inventory_quantity":-2,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/0052\/5615\/1158\/products\/Mission-Daniel_CVR-Front.jpg?v=1660673891","price":"9.99","option3":null,"option1":"Paperback","id":43978809213187,"option2":null,"title":"Paperback"}],"title":"Mission in the Way of Daniel","offerText":"Get other books by Ed Smither!","funnelId":"i8SHl49JlxnM69hFjtU2","options":[{"product_id":7814560874755,"values":["EPub (ebook)","Paperback"],"name":"Format","id":9968779395331,"position":1}],"discountType":"percentage","id":7814560874755,"shopId":"wfQC3pp1MvMe5Yx0t5Hq","createdAt":"2023-06-23T19:17:12.572Z","discount":"20","updatedAt":"2023-06-23T19:17:56.663Z"}],"offer":"Hebrews - Mission Way of Daniel","status":true,"updatedAt":"2023-06-23T19:17:56.664Z"},{"id":"NSTwMWgxORRVN6XHQnsi","selectPage":"product_page","specificCollections":[{"titleCollection":"APM (Association of Professors of Missiology) 2021","handleCollectionPage":"apm","specificCollectionsId":161602666614},{"titleCollection":"ASM (American Society of Missiology) 2022","handleCollectionPage":"asm","specificCollectionsId":161381417078},{"titleCollection":"ASM, APM, AETE Conference 2021","handleCollectionPage":"asm-apm-aete-conference-2021","specificCollectionsId":268281249980},{"titleCollection":"Bibile Museum Recommendations","handleCollectionPage":"bibile-museum-recommendations","specificCollectionsId":402695258371},{"titleCollection":"Books on Money and Mission","handleCollectionPage":"books-on-money-and-mission","specificCollectionsId":403503776003},{"titleCollection":"Brad Vaughn's Recommendations","handleCollectionPage":"brad-vaughns-recommendations","specificCollectionsId":403265552643},{"titleCollection":"Celebrate","handleCollectionPage":"celebrate","specificCollectionsId":136835563638},{"titleCollection":"Christian English Language Educators Association (CELT) Collection","handleCollectionPage":"english-resources","specificCollectionsId":403060359427},{"titleCollection":"Christmas Collection","handleCollectionPage":"christmas-collection","specificCollectionsId":401094377731},{"titleCollection":"Community Arts for God's Purposes","handleCollectionPage":"community-arts-for-gods-purposes","specificCollectionsId":385791328515},{"titleCollection":"EMS (Evangelical Missiological Society) 2022","handleCollectionPage":"ems2022","specificCollectionsId":161605222518},{"titleCollection":"ETS Collection","handleCollectionPage":"ets-collection","specificCollectionsId":398115963139},{"titleCollection":"Fear and Shame Cultures","handleCollectionPage":"resources-for-fear-and-shame-cultures","specificCollectionsId":403486048515},{"titleCollection":"Gifts for Biography Lovers","handleCollectionPage":"gifts-for-biography-lovers","specificCollectionsId":236106219708},{"titleCollection":"Gifts for Disciple-Makers","handleCollectionPage":"gifts-for-field-workers","specificCollectionsId":236103893180},{"titleCollection":"Gifts for Families","handleCollectionPage":"gifts-for-moms","specificCollectionsId":236103794876},{"titleCollection":"Gifts for Mobilizers","handleCollectionPage":"gifts-for-mobilizers","specificCollectionsId":236103729340},{"titleCollection":"Gifts for Sharing","handleCollectionPage":"gifts-for-pastors","specificCollectionsId":236103762108},{"titleCollection":"Gifts for Thinkers","handleCollectionPage":"gifts-for-thinkers","specificCollectionsId":236103958716},{"titleCollection":"Home page","handleCollectionPage":"frontpage","specificCollectionsId":63618318454},{"titleCollection":"Honor Shame 2020","handleCollectionPage":"honor-shame-2020","specificCollectionsId":161606795382},{"titleCollection":"LABOR DAY SALE","handleCollectionPage":"labor-day-sale","specificCollectionsId":166781386870},{"titleCollection":"Livestream Promotions","handleCollectionPage":"livestream-promotions","specificCollectionsId":241792647356},{"titleCollection":"Memorial Day Sale!","handleCollectionPage":"memorial-day-sale","specificCollectionsId":392723169539},{"titleCollection":"Missio Nexus Collection","handleCollectionPage":"missio-nexus","specificCollectionsId":167057391734},{"titleCollection":"Mission Frontiers Magazine Collection","handleCollectionPage":"mission-frontiers-magazine-collection","specificCollectionsId":390573719811},{"titleCollection":"Motus Dei 2020","handleCollectionPage":"motus-dei-2020","specificCollectionsId":167058964598},{"titleCollection":"National African American Mission Conference (NAAMC)","handleCollectionPage":"naamc","specificCollectionsId":165044453494},{"titleCollection":"New Releases","handleCollectionPage":"new-release-books","specificCollectionsId":76906365046},{"titleCollection":"Newest Books for Spring 2023","handleCollectionPage":"newest-books-spring-2023","specificCollectionsId":403359236355},{"titleCollection":"Now Available for Pre-order!","handleCollectionPage":"available-for-pre-order","specificCollectionsId":388128538883},{"titleCollection":"Once a Year Sale!","handleCollectionPage":"lightning-sale","specificCollectionsId":401332732163},{"titleCollection":"Page Turners","handleCollectionPage":"good-stories","specificCollectionsId":166423527542},{"titleCollection":"Pastors Collection","handleCollectionPage":"pastor-collection","specificCollectionsId":399513977091},{"titleCollection":"Perfect Gifts","handleCollectionPage":"perfect-gifts","specificCollectionsId":85481390198},{"titleCollection":"Perfect Pairs","handleCollectionPage":"perfect-pairs","specificCollectionsId":154920845430},{"titleCollection":"Perspectivas Español","handleCollectionPage":"perspectivas-espanol","specificCollectionsId":165079384182},{"titleCollection":"Perspectives","handleCollectionPage":"perspectives","specificCollectionsId":164694982774},{"titleCollection":"Perspectives Canada","handleCollectionPage":"perspectives-canada","specificCollectionsId":165352931446},{"titleCollection":"Perspectives Europe","handleCollectionPage":"perspectives-europe","specificCollectionsId":401435132163},{"titleCollection":"Perspectives Global","handleCollectionPage":"perspectives-global","specificCollectionsId":274403459260},{"titleCollection":"Perspectives SE Asia","handleCollectionPage":"perspectives-se-asia","specificCollectionsId":166012616822},{"titleCollection":"Perspectives USA","handleCollectionPage":"perspectives-student-editions","specificCollectionsId":164695113846},{"titleCollection":"PSP INSTRUCTOR COPIES","handleCollectionPage":"psp-instructor-copies","specificCollectionsId":167737884790},{"titleCollection":"PSP INTL","handleCollectionPage":"psp-intl","specificCollectionsId":166660210806},{"titleCollection":"Special Collection","handleCollectionPage":"special-collection","specificCollectionsId":84741455990},{"titleCollection":"Special Events","handleCollectionPage":"special-events","specificCollectionsId":159354519670},{"titleCollection":"Spirit Walk Collection","handleCollectionPage":"spirit-walk-collection","specificCollectionsId":399000502531},{"titleCollection":"Study Guides","handleCollectionPage":"study-guides","specificCollectionsId":240598745276},{"titleCollection":"The China Chronicles","handleCollectionPage":"the-china-chronicles","specificCollectionsId":396502040835},{"titleCollection":"50 for 50","handleCollectionPage":"50-for-50","specificCollectionsId":156820766838},{"titleCollection":"A. J. Broomhall","handleCollectionPage":"author-a-j-broomhall","specificCollectionsId":78779744374},{"titleCollection":"A. Scott Moreau","handleCollectionPage":"author-a-scott-moreau","specificCollectionsId":78779777142},{"titleCollection":"Abeneazer G. Urga","handleCollectionPage":"author-abeneazer-g-urga","specificCollectionsId":401570300163},{"titleCollection":"Academic","handleCollectionPage":"academic","specificCollectionsId":86429368438},{"titleCollection":"Accord Collection 2021","handleCollectionPage":"accord-collection-2021","specificCollectionsId":278424977596},{"titleCollection":"Africa","handleCollectionPage":"africa","specificCollectionsId":74832871542},{"titleCollection":"African American","handleCollectionPage":"african-american","specificCollectionsId":164319756406},{"titleCollection":"Alan R. Johnson","handleCollectionPage":"author-alan-r-johnson","specificCollectionsId":78779809910},{"titleCollection":"Alan R. Tippett","handleCollectionPage":"author-alan-r-tippett","specificCollectionsId":78779842678},{"titleCollection":"Alan R. Tippett Series","handleCollectionPage":"alan-r-tippett-series","specificCollectionsId":74836148342},{"titleCollection":"Alex Zhou","handleCollectionPage":"author-alex-zhou","specificCollectionsId":393415983363},{"titleCollection":"Alexander Hetherwick","handleCollectionPage":"author-alexander-hetherwick","specificCollectionsId":78789476470},{"titleCollection":"All","handleCollectionPage":"all","specificCollectionsId":158686216310},{"titleCollection":"Allan Starling","handleCollectionPage":"author-allan-starling","specificCollectionsId":78779711606},{"titleCollection":"Allen Harder","handleCollectionPage":"author-allen-harder","specificCollectionsId":78779940982},{"titleCollection":"Allen Yeh","handleCollectionPage":"author-allen-yeh","specificCollectionsId":87161831542},{"titleCollection":"Alvera Mickelsen","handleCollectionPage":"author-alvera-mickelsen","specificCollectionsId":78779908214},{"titleCollection":"Aminta Arrington","handleCollectionPage":"author-aminta-arrington","specificCollectionsId":393412575491},{"titleCollection":"Amy Cogdell","handleCollectionPage":"author-amy-cogdell","specificCollectionsId":393416147203},{"titleCollection":"Animism","handleCollectionPage":"animism","specificCollectionsId":74832543862},{"titleCollection":"Anita Rahma","handleCollectionPage":"author-anita-rahma","specificCollectionsId":399460237571},{"titleCollection":"Anna Hampton","handleCollectionPage":"author-anna-hampton","specificCollectionsId":403420872963},{"titleCollection":"Anna Marie Dahlquist","handleCollectionPage":"author-anna-marie-dahlquist","specificCollectionsId":78779973750},{"titleCollection":"Anneke Companjen","handleCollectionPage":"author-anneke-companjen","specificCollectionsId":78780006518},{"titleCollection":"Antonia van der Meer","handleCollectionPage":"author-antonia-van-der-meer","specificCollectionsId":78790099062},{"titleCollection":"Aradhna","handleCollectionPage":"author-aradhna","specificCollectionsId":78779875446},{"titleCollection":"Arlene Knickerbocker","handleCollectionPage":"author-arlene-knickerbocker","specificCollectionsId":78780072054},{"titleCollection":"Asia","handleCollectionPage":"asia","specificCollectionsId":74832904310},{"titleCollection":"ASIA Sale","handleCollectionPage":"asia-sale","specificCollectionsId":264036090044},{"titleCollection":"AVADA Upsell - Best Sellers","handleCollectionPage":"avada-upsell-best-sellers","specificCollectionsId":403702972675},{"titleCollection":"Ben Naja","handleCollectionPage":"author-ben-naja","specificCollectionsId":78780104822},{"titleCollection":"Berkeley Mickelsen","handleCollectionPage":"author-berkeley-mickelsen","specificCollectionsId":78780137590},{"titleCollection":"Bernie Power","handleCollectionPage":"author-bernie-power","specificCollectionsId":78791049334},{"titleCollection":"Bertil Ekström","handleCollectionPage":"author-bertil-ekstrom","specificCollectionsId":78790918262},{"titleCollection":"Best Sellers","handleCollectionPage":"best-sellers","specificCollectionsId":74831691894},{"titleCollection":"Beth Snodderly","handleCollectionPage":"author-beth-snodderly","specificCollectionsId":78780170358},{"titleCollection":"Betty Barnett","handleCollectionPage":"author-betty-barnett","specificCollectionsId":78780039286},{"titleCollection":"Biblical Studies","handleCollectionPage":"biblical-studies","specificCollectionsId":74833985654},{"titleCollection":"BIBLICAL TEACHING Sale","handleCollectionPage":"biblical-teaching-sale","specificCollectionsId":264036188348},{"titleCollection":"Bill Lowrey","handleCollectionPage":"author-bill-lowrey","specificCollectionsId":78780235894},{"titleCollection":"Bill Musk","handleCollectionPage":"author-bill-musk","specificCollectionsId":78780268662},{"titleCollection":"BIOGRAPHY Sale","handleCollectionPage":"biography-sale","specificCollectionsId":264036253884},{"titleCollection":"Bob Fish","handleCollectionPage":"author-bob-fish","specificCollectionsId":78789116022},{"titleCollection":"Bob van de Pijpekamp","handleCollectionPage":"author-bob-van-de-pijpekamp","specificCollectionsId":78780301430},{"titleCollection":"Booklets","handleCollectionPage":"booklets","specificCollectionsId":168055210102},{"titleCollection":"Brad Vaughn (formerly Jackson Wu)","handleCollectionPage":"author-brad-vaughn","specificCollectionsId":78790885494},{"titleCollection":"Brian Hogan","handleCollectionPage":"author-brian-hogan","specificCollectionsId":78780334198},{"titleCollection":"Brian Howell","handleCollectionPage":"author-brian-howell","specificCollectionsId":78780203126},{"titleCollection":"Brian Johnson","handleCollectionPage":"author-brian-johnson","specificCollectionsId":78788919414}],"upsell":"variant","choose":"specific_products","type":"cross_sell","selectCollection":"selected","offer":"Reading Hebrews Missiologically","createdAt":"2023-05-03T19:52:21.605Z","impression":0,"totalRevenue":0,"shopId":"wfQC3pp1MvMe5Yx0t5Hq","specificProducts":[{"image":{"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/0052\/5615\/1158\/products\/Reading-Hebrews-Missiologically_CVR-Front_3_1.jpg?v=1678993711"},"images":[{"updated_at":"2023-03-16T13:08:31-06:00","src":"https:\/\/cdn.shopify.com\/s\/files\/1\/0052\/5615\/1158\/products\/Reading-Hebrews-Missiologically_CVR-Front_3_1.jpg?v=1678993711","product_id":7981477921027,"admin_graphql_api_id":"gid:\/\/shopify\/ProductImage\/40207297806595","alt":null,"width":1833,"created_at":"2023-02-23T09:19:09-07:00","variant_ids":[43644212773123,43644212805891],"id":40207297806595,"position":1,"height":2750},{"updated_at":"2023-03-16T13:08:47-06:00","src":"https:\/\/cdn.shopify.com\/s\/files\/1\/0052\/5615\/1158\/products\/Reading-Hebrews-Missiologically_CVR-Back.jpg?v=1678993727","product_id":7981477921027,"admin_graphql_api_id":"gid:\/\/shopify\/ProductImage\/40344366809347","alt":null,"width":1814,"created_at":"2023-03-16T13:08:47-06:00","variant_ids":[],"id":40344366809347,"position":2,"height":2721}],"options":[{"product_id":7981477921027,"values":["EPub (ebook)","Paperback"],"name":"Format","id":10184527806723,"position":1}],"handle":"reading-hebrews-missiologically","id":7981477921027,"variants":[{"inventory_quantity":-21,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/0052\/5615\/1158\/products\/Reading-Hebrews-Missiologically_CVR-Front_3_1.jpg?v=1678993711","price":"9.99","option3":null,"option1":"EPub (ebook)","id":43644212773123,"option2":null,"title":"EPub (ebook)"},{"inventory_quantity":-22,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/0052\/5615\/1158\/products\/Reading-Hebrews-Missiologically_CVR-Front_3_1.jpg?v=1678993711","price":"17.99","option3":null,"option1":"Paperback","id":43644212805891,"option2":null,"title":"Paperback"}],"title":"Reading Hebrews Missiologically"}],"offerProduct":[{"offerId":"3V29ZKKICBOuGRRoYGMk","image":{"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/0052\/5615\/1158\/products\/Mission-Daniel_CVR-Front.jpg?v=1660673891"},"images":[{"updated_at":"2022-08-16T12:18:11-06:00","src":"https:\/\/cdn.shopify.com\/s\/files\/1\/0052\/5615\/1158\/products\/Mission-Daniel_CVR-Front.jpg?v=1660673891","product_id":7814560874755,"admin_graphql_api_id":"gid:\/\/shopify\/ProductImage\/38791359660291","alt":null,"width":1800,"created_at":"2022-08-16T12:18:11-06:00","variant_ids":[43168234897667,43168234930435],"id":38791359660291,"position":1,"height":2700},{"updated_at":"2022-08-16T12:18:23-06:00","src":"https:\/\/cdn.shopify.com\/s\/files\/1\/0052\/5615\/1158\/products\/Mission-Daniel_CVR-Back.jpg?v=1660673903","product_id":7814560874755,"admin_graphql_api_id":"gid:\/\/shopify\/ProductImage\/38791363592451","alt":null,"width":1800,"created_at":"2022-08-16T12:18:23-06:00","variant_ids":[],"id":38791363592451,"position":2,"height":2700}],"discount":"20","index":1,"handle":"mission-in-the-way-of-daniel","variants":[{"inventory_quantity":-23,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/0052\/5615\/1158\/products\/Mission-Daniel_CVR-Front.jpg?v=1660673891","price":"7.99","option3":null,"option1":"EPub (ebook)","id":43168234897667,"option2":null,"title":"EPub (ebook)"},{"inventory_quantity":60,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/0052\/5615\/1158\/products\/Mission-Daniel_CVR-Front.jpg?v=1660673891","price":"9.99","option3":null,"option1":"Paperback","id":43168234930435,"option2":null,"title":"Paperback"}],"title":"Mission in the Way of Daniel","offerText":"Have you seen this one?","createdAt":"2023-05-03T19:52:21.956Z","funnelId":"NSTwMWgxORRVN6XHQnsi","options":[{"product_id":7814560874755,"values":["EPub (ebook)","Paperback"],"name":"Format","id":9968779395331,"position":1}],"discountType":"percentage","id":7814560874755,"shopId":"wfQC3pp1MvMe5Yx0t5Hq"},{"offerId":"bc0QfJsB0URitMgcxlmI","image":{"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/0052\/5615\/1158\/products\/Mission-Daniel_CVR-Front.jpg?v=1660673891"},"images":[{"updated_at":"2022-08-16T12:18:11-06:00","src":"https:\/\/cdn.shopify.com\/s\/files\/1\/0052\/5615\/1158\/products\/Mission-Daniel_CVR-Front.jpg?v=1660673891","product_id":7814560874755,"admin_graphql_api_id":"gid:\/\/shopify\/ProductImage\/38791359660291","alt":null,"width":1800,"created_at":"2022-08-16T12:18:11-06:00","variant_ids":[43168234897667,43168234930435],"id":38791359660291,"position":1,"height":2700},{"updated_at":"2022-08-16T12:18:23-06:00","src":"https:\/\/cdn.shopify.com\/s\/files\/1\/0052\/5615\/1158\/products\/Mission-Daniel_CVR-Back.jpg?v=1660673903","product_id":7814560874755,"admin_graphql_api_id":"gid:\/\/shopify\/ProductImage\/38791363592451","alt":null,"width":1800,"created_at":"2022-08-16T12:18:23-06:00","variant_ids":[],"id":38791363592451,"position":2,"height":2700}],"discount":"20","index":0,"handle":"mission-in-the-way-of-daniel","variants":[{"inventory_quantity":-23,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/0052\/5615\/1158\/products\/Mission-Daniel_CVR-Front.jpg?v=1660673891","price":"7.99","option3":null,"option1":"EPub (ebook)","id":43168234897667,"option2":null,"title":"EPub (ebook)"},{"inventory_quantity":60,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/0052\/5615\/1158\/products\/Mission-Daniel_CVR-Front.jpg?v=1660673891","price":"9.99","option3":null,"option1":"Paperback","id":43168234930435,"option2":null,"title":"Paperback"}],"title":"Mission in the Way of Daniel","offerText":"Have you seen this one?","createdAt":"2023-05-03T19:52:21.954Z","funnelId":"NSTwMWgxORRVN6XHQnsi","options":[{"product_id":7814560874755,"values":["EPub (ebook)","Paperback"],"name":"Format","id":9968779395331,"position":1}],"discountType":"percentage","id":7814560874755,"shopId":"wfQC3pp1MvMe5Yx0t5Hq"}],"status":false,"updatedAt":"2023-05-04T21:06:46.893Z"},{"id":"gp6f2eXcUyNETNgBaDkD","selectPage":"product_page","createdAt":"2023-05-03T19:32:11.119Z","specificCollections":[],"upsell":"variant","shopId":"wfQC3pp1MvMe5Yx0t5Hq","type":"cross_sell","selectCollection":"none","impression":1,"offer":"New Funding Models","offerProduct":[{"offerId":"la4UYx5iBG4dw5rkRzoV","image":{"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/0052\/5615\/1158\/products\/jpg.jpg?v=1647639642"},"images":[{"updated_at":"2022-03-18T15:40:42-06:00","src":"https:\/\/cdn.shopify.com\/s\/files\/1\/0052\/5615\/1158\/products\/jpg.jpg?v=1647639642","product_id":7630588444931,"admin_graphql_api_id":"gid:\/\/shopify\/ProductImage\/37309472014595","alt":null,"width":2540,"created_at":"2022-03-18T15:40:42-06:00","variant_ids":[42592375013635,42592375046403],"id":37309472014595,"position":1,"height":3300},{"updated_at":"2022-03-18T15:41:55-06:00","src":"https:\/\/cdn.shopify.com\/s\/files\/1\/0052\/5615\/1158\/products\/301-6_TheRealities-of-Money-Missions_CVR-Back.jpg?v=1647639715","product_id":7630588444931,"admin_graphql_api_id":"gid:\/\/shopify\/ProductImage\/37309478338819","alt":null,"width":2528,"created_at":"2022-03-18T15:41:55-06:00","variant_ids":[],"id":37309478338819,"position":2,"height":3300}],"discount":"20","index":0,"handle":"the-realities-of-money-missions","variants":[{"inventory_quantity":-32,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/0052\/5615\/1158\/products\/jpg.jpg?v=1647639642","price":"9.99","option3":null,"option1":"EPub (ebook)","id":42592375013635,"option2":null,"title":"EPub (ebook)"},{"inventory_quantity":-32,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/0052\/5615\/1158\/products\/jpg.jpg?v=1647639642","price":"27.99","option3":null,"option1":"Paperback","id":42592375046403,"option2":null,"title":"Paperback"}],"title":"The Realities of Money \u0026 Missions","offerText":"Limited time offer","createdAt":"2023-05-03T19:57:15.305Z","funnelId":"gp6f2eXcUyNETNgBaDkD","options":[{"product_id":7630588444931,"values":["EPub (ebook)","Paperback"],"name":"Format","id":9727518310659,"position":1}],"discountType":"percentage","id":7630588444931,"shopId":"wfQC3pp1MvMe5Yx0t5Hq"}],"choose":"specific_products","specificProducts":[{"image":{"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/0052\/5615\/1158\/products\/New-Funding-Models_CVR-Front-2.jpg?v=1680015524"},"images":[{"updated_at":"2023-03-28T08:58:44-06:00","src":"https:\/\/cdn.shopify.com\/s\/files\/1\/0052\/5615\/1158\/products\/New-Funding-Models_CVR-Front-2.jpg?v=1680015524","product_id":8023183950083,"admin_graphql_api_id":"gid:\/\/shopify\/ProductImage\/40430129381635","alt":null,"width":1600,"created_at":"2023-03-28T08:58:44-06:00","variant_ids":[],"id":40430129381635,"position":1,"height":2400},{"updated_at":"2023-03-28T08:58:53-06:00","src":"https:\/\/cdn.shopify.com\/s\/files\/1\/0052\/5615\/1158\/products\/New-Funding-Models_CVR-Back-2.jpg?v=1680015533","product_id":8023183950083,"admin_graphql_api_id":"gid:\/\/shopify\/ProductImage\/40430129840387","alt":null,"width":1600,"created_at":"2023-03-28T08:58:53-06:00","variant_ids":[],"id":40430129840387,"position":2,"height":2399}],"options":[{"product_id":8023183950083,"values":["EPub (ebook)","Paperback"],"name":"Format","id":10234070040835,"position":1}],"handle":"new-funding-models-for-global-mission","id":8023183950083,"variants":[{"inventory_quantity":-145,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/0052\/5615\/1158\/products\/New-Funding-Models_CVR-Front-2.jpg?v=1680015524","price":"6.99","option3":null,"option1":"EPub (ebook)","id":43798149366019,"option2":null,"title":"EPub (ebook)"},{"inventory_quantity":-107,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/0052\/5615\/1158\/products\/New-Funding-Models_CVR-Front-2.jpg?v=1680015524","price":"10.99","option3":null,"option1":"Paperback","id":43798149398787,"option2":null,"title":"Paperback"}],"title":"New Funding Models for Global Mission"}],"status":false,"updatedAt":"2023-05-04T21:06:49.497Z"}],"setting":{"countdownText":"OFFER WILL EXPIRE IN","minutes":"5","query":"button[name='checkout']","originalPriceColor":"#5F605D","textColor":"#000000","seconds":"5","bgColor":"#FFFFFF","queryPopupCart":"a[href='\/cart']","action":"click","actionPopupCart":"click","countDown":true,"shopId":"wfQC3pp1MvMe5Yx0t5Hq","btnBgColor":"#332FD0","discountPriceColor":"#14828f","createdAt":"2023-05-03T19:32:11.059Z","actionColor":"#14828f","btnColor":"#FFFFFF","actionTextColor":"#FFFFFF","theme":"avada-up-sell","id":"gI8mCpHSo76b1rfMmm5q"}} window.AVADA_UPSELL.product = { id: 8815889514755, variants: [{"id":46125811564803,"title":"EPub (ebook)","option1":"EPub (ebook)","option2":null,"option3":null,"sku":"9781645086147","requires_shipping":false,"taxable":false,"featured_image":{"id":45385189327107,"product_id":8815889514755,"position":1,"created_at":"2024-11-25T09:15:43-07:00","updated_at":"2024-11-25T09:15:44-07:00","alt":"Single-Minded Service - MissionBooks.org","width":1714,"height":2400,"src":"\/\/missionbooks.org\/cdn\/shop\/files\/Single-MindedService_CVR-Front_1.jpg?v=1732551344","variant_ids":[46125811564803]},"available":true,"name":"Single-Minded Service - EPub (ebook)","public_title":"EPub (ebook)","options":["EPub (ebook)"],"price":299,"weight":0,"compare_at_price":null,"inventory_management":null,"barcode":"9781645086147","featured_media":{"alt":"Single-Minded Service - MissionBooks.org","id":37397938831619,"position":1,"preview_image":{"aspect_ratio":0.714,"height":2400,"width":1714,"src":"\/\/missionbooks.org\/cdn\/shop\/files\/Single-MindedService_CVR-Front_1.jpg?v=1732551344"}},"requires_selling_plan":false,"selling_plan_allocations":[]}], selectedVariant: null, collections: ["2024 Re-Cap Collection","All","eBooks (ePubs)","Lewie Clark","New Releases","Series","Snapshot Series","Subscription Ebooks","Tim Grissom","WCP Author Perks"], collectionId: [436987232515,158686216310,432089956611,434576457987,76906365046,403911508227,74836082806,404254556419,434576556291,394218471683], }; window.AVADA_UPSELL.cart = {cartItems: []}; window.AVADA_UPSELL.customer = { id: null, email: null, first_name: null, last_name: null, }; </script> <!-- /Added by AVADA Upsells --> <!-- Expression v4.5.1 --> <meta charset="utf-8" /> <!-- Air Reviews Script --> <script> const AIR_REVIEWS = {}; AIR_REVIEWS.product = {"id":8815889514755,"title":"Single-Minded Service","handle":"single-minded-service","description":"\u003cp\u003e[DESCRIPTION]\u003cspan style=\"color: rgb(255, 42, 0);\"\u003e\u003cstrong\u003e\u003c\/strong\u003e\u003c\/span\u003e\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eEmpowering Singles for Ministry Impact\u003c\/strong\u003e\u003c\/p\u003e\n\u003cp\u003eMarriage is a good gift from God and should be esteemed, but is it the best indicator of a man or woman’s fitness for kingdom service? Despite their dedication and immense potential, single Christians often find themselves overlooked and underutilized in ministry leadership roles.\u003c\/p\u003e\n\u003cp\u003eIn \u003cem\u003eSingle-Minded Service\u003c\/em\u003e, Lewie Clark draws on biblical insights and historical examples, revealing the essential roles that singles have played—and can still play—in advancing the kingdom of God. He argues that in certain situations, singleness can enhance ministry effectiveness. Clark doesn’t just critique the current state; he offers a clear, actionable vision for how the church can empower singles to take their rightful place in leadership, following in the footsteps of single leaders like Paul and Barnabas. Whether you are single or married, discover how embracing the gifts and callings of singles can lead to a more effective ministry.\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eWould you like to order a paperback? Order on Amazon.com \u003ca href=\"https:\/\/www.amazon.com\/Single-Minded-Service-Rediscovering-Essential-Leadership\/dp\/1645086550\/ref=sr_1_1?crid=KSR3UJASFDSY\u0026amp;dib=eyJ2IjoiMSJ9.ZetCA4PItPMi0_8HmhSsvA.NWbRA5gRoq0VA635U-Z4ruDjRiPOIIkC6I0PHwiZSQ4\u0026amp;dib_tag=se\u0026amp;keywords=single-minded+service+lewie\u0026amp;qid=1733351846\u0026amp;sprefix=single-minded+service+lewie%2Caps%2C93\u0026amp;sr=8-1\"\u003e\u003cspan style=\"color: rgb(43, 0, 255);\"\u003ehere\u003c\/span\u003e\u003c\/a\u003e\u003c\/strong\u003e!\u003c\/p\u003e\n\u003cp\u003e [\/DESCRIPTION] [SUBTITLE]Rediscovering the Essential Role of Singles in Kingdom Leadership[\/SUBTITLE][PREORDER]12\/10\/24[\/PREORDER][CREDIT] Lewie Clark with Tim Grissom [\/CREDIT] [PAGES] 64 [\/PAGES] [BINDING] Paperback [\/BINDING] [PUBLISHER] William Carey Publishing [\/PUBLISHER] [PUBLISHYEAR] 2024 [\/PUBLISHYEAR] [ENDORSEMENT2]\u003c\/p\u003e\n\u003cblockquote\u003eLewie Clark issues a wakeup call to today's church that if we really want to follow the model of Jesus and the early church, we should be empowering singles for kingdom ministry without presuming they first need to be married. This book is a thoughtful journey that will both encourage single adults that they are fully qualified and equipped for kingdom leadership while simultaneously reminding us all what the true family of believers is all about.\u003c\/blockquote\u003e\n\u003cp\u003e\u003ccite\u003eRev. Barry N. Danylak, PhD\u003c\/cite\u003e\u003cspan\u003eExecutive Director, SEE Globally\u003c\/span\u003e [\/ENDORSEMENT2] [ENDORSEMENT3]\u003c\/p\u003e\n\u003cblockquote\u003eThe lies we believe influence our thinking and behavior without our conscious awareness. But when these lies get exposed and rejected, we have opportunity to joyfully embrace fresh, wholesome thinking and relating. Lewie’s book powerfully exposes cultural lies that cripple the lives and ministries of many singles. It empowers members of Christ’s family to value the unique freedoms that singles enjoy, at times, giving them an advantage over married Christian workers. I am excited to give this book to friends who are single and to those in Christian leadership so that our cultural lies can be exposed and rejected. Let’s trash the shame and marginalization of singles. Let’s embrace them as fully complete in Christ. Let’s leverage their advantages for the extension of God’s kingdom. You will know the truth and the truth will set you free (John 8:38).\u003c\/blockquote\u003e\n\u003cp\u003e\u003ccite\u003eAlbert Ehmann\u003c\/cite\u003e\u003cspan\u003eChurch planter, leader, and mentor for 55 years\u003c\/span\u003e [\/ENDORSEMENT3] [ENDORSEMENT4]\u003c\/p\u003e\n\u003cblockquote\u003eWould your church hire single Saint Paul as pastor? How about young unwed Amy Carmichael to lead a mission? The data says no, and that’s not just bad for all our Amys and Pauls—it’s a disaster for the spread of the gospel. Sociological headwinds are converging. We must stop sidelining our fastest growing demographic. This book is a wakeup call to Protestants to rethink the sacred role of celibacy for mission. \u003c\/blockquote\u003e\n\u003cp\u003e\u003ccite\u003eDel Fehsenfeld III\u003c\/cite\u003e\u003cspan\u003eLife Action Ministries \u003c\/span\u003e [\/ENDORSEMENT4] [ENDORSEMENT5]\u003c\/p\u003e\n\u003cblockquote\u003eAs the World Evangelical Alliance begins to advance a paradigm that fully values, engages, and empowers single and single-again evangelicals, I have turned to Lewie many times for encouragement and advice. I have, perhaps, the advantage of the reader, for not only have I read Single-Minded Service as a book, I have read it as a life; Lewie’s life. May you likewise be encouraged, and more so, challenged by Lewie’s writing, and should the Lord give you favor to know him, his life.\u003c\/blockquote\u003e\n\u003cp\u003e\u003ccite\u003eMark McLeod\u003c\/cite\u003e\u003cspan\u003eSingles Advocacy Initiative, WEA\u003c\/span\u003e [\/ENDORSEMENT5] [ENDORSEMENT6]\u003c\/p\u003e\n\u003cblockquote\u003eToday, most Christians assume that marriage is a fundamental prerequisite for leadership in the church. But Lewie Clark sheds light on how singles have frequently been the spearheads of Christ’s kingdom, ever since the church’s beginning. This wonderful book will empower singles to love, serve, and lead the body of Christ. \u003c\/blockquote\u003e\n\u003cp\u003e\u003ccite\u003eSeth Osborn, PhD\u003c\/cite\u003e\u003cspan\u003eAdjunct Professor, Indiana Wesleyan University \u003c\/span\u003e [\/ENDORSEMENT6] [ENDORSEMENT7]\u003c\/p\u003e\n\u003cblockquote\u003eThe bias is real. I spent years helping hundreds of churches find senior pastors, and not one of them would consider an unmarried candidate. And yet for more than forty years, I’ve watched Lewie Clark pastor, lead, and disciple others (myself included). As a single, never-married man, the biblical insights Lewie brings regarding singleness need to be heard by the church.\u003c\/blockquote\u003e\n\u003cp\u003e\u003ccite\u003eTim Stevens\u003c\/cite\u003e\u003cspan\u003eCEO \u0026amp; Founder, LeadingSmart\u003c\/span\u003e [\/ENDORSEMENT7] [TOC]\u003c\/p\u003e\n\u003cp\u003eChapter 1: Finding Our Way\u003c\/p\u003e\n\u003cp\u003eChapter 2: The Bias\u003c\/p\u003e\n\u003cp\u003eChapter 3: The Invisible Single\u003c\/p\u003e\n\u003cp\u003eChapter 4: A Theology of Singleness\u003c\/p\u003e\n\u003cp\u003eChapter 5: The Kingdom-First Life\u003c\/p\u003e\n\u003cp\u003e[\/TOC]\u003c\/p\u003e","published_at":"2024-11-19T09:04:20-07:00","created_at":"2024-11-11T14:47:20-07:00","vendor":"William Carey Publishing","type":"Book","tags":["biblical examples of single leaders","biblical leadership for singles","challenges for singles in ministry","christian mission leadership","Christian singles in leadership","church biases against singles","church leadership and singleness","empowering singles in ministry","empowering singles in the church","evangelical mission strategies","Family \u0026 Teaming","Inclusion of singles in ministry","kingdom leadership for singles","lewie-clark-with-tim-grissom","ministry opportunities for singles","perk","role of singles in the church","single christian leaders","single missionaries","singleness in christian leadership","singles and church leadership roles","singles in christian ministry","Snapshot"],"price":299,"price_min":299,"price_max":299,"available":true,"price_varies":false,"compare_at_price":null,"compare_at_price_min":0,"compare_at_price_max":0,"compare_at_price_varies":false,"variants":[{"id":46125811564803,"title":"EPub (ebook)","option1":"EPub (ebook)","option2":null,"option3":null,"sku":"9781645086147","requires_shipping":false,"taxable":false,"featured_image":{"id":45385189327107,"product_id":8815889514755,"position":1,"created_at":"2024-11-25T09:15:43-07:00","updated_at":"2024-11-25T09:15:44-07:00","alt":"Single-Minded Service - MissionBooks.org","width":1714,"height":2400,"src":"\/\/missionbooks.org\/cdn\/shop\/files\/Single-MindedService_CVR-Front_1.jpg?v=1732551344","variant_ids":[46125811564803]},"available":true,"name":"Single-Minded Service - EPub (ebook)","public_title":"EPub (ebook)","options":["EPub (ebook)"],"price":299,"weight":0,"compare_at_price":null,"inventory_management":null,"barcode":"9781645086147","featured_media":{"alt":"Single-Minded Service - MissionBooks.org","id":37397938831619,"position":1,"preview_image":{"aspect_ratio":0.714,"height":2400,"width":1714,"src":"\/\/missionbooks.org\/cdn\/shop\/files\/Single-MindedService_CVR-Front_1.jpg?v=1732551344"}},"requires_selling_plan":false,"selling_plan_allocations":[]}],"images":["\/\/missionbooks.org\/cdn\/shop\/files\/Single-MindedService_CVR-Front_1.jpg?v=1732551344","\/\/missionbooks.org\/cdn\/shop\/files\/Single-Minded_Service_CVR-Back_149038dd-0cff-45b1-87e4-e38d95a01f77.jpg?v=1732551352"],"featured_image":"\/\/missionbooks.org\/cdn\/shop\/files\/Single-MindedService_CVR-Front_1.jpg?v=1732551344","options":["Format"],"media":[{"alt":"Single-Minded Service - MissionBooks.org","id":37397938831619,"position":1,"preview_image":{"aspect_ratio":0.714,"height":2400,"width":1714,"src":"\/\/missionbooks.org\/cdn\/shop\/files\/Single-MindedService_CVR-Front_1.jpg?v=1732551344"},"aspect_ratio":0.714,"height":2400,"media_type":"image","src":"\/\/missionbooks.org\/cdn\/shop\/files\/Single-MindedService_CVR-Front_1.jpg?v=1732551344","width":1714},{"alt":"Single-Minded Service - MissionBooks.org","id":37397939290371,"position":2,"preview_image":{"aspect_ratio":0.714,"height":2400,"width":1714,"src":"\/\/missionbooks.org\/cdn\/shop\/files\/Single-Minded_Service_CVR-Back_149038dd-0cff-45b1-87e4-e38d95a01f77.jpg?v=1732551352"},"aspect_ratio":0.714,"height":2400,"media_type":"image","src":"\/\/missionbooks.org\/cdn\/shop\/files\/Single-Minded_Service_CVR-Back_149038dd-0cff-45b1-87e4-e38d95a01f77.jpg?v=1732551352","width":1714}],"requires_selling_plan":false,"selling_plan_groups":[],"content":"\u003cp\u003e[DESCRIPTION]\u003cspan style=\"color: rgb(255, 42, 0);\"\u003e\u003cstrong\u003e\u003c\/strong\u003e\u003c\/span\u003e\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eEmpowering Singles for Ministry Impact\u003c\/strong\u003e\u003c\/p\u003e\n\u003cp\u003eMarriage is a good gift from God and should be esteemed, but is it the best indicator of a man or woman’s fitness for kingdom service? Despite their dedication and immense potential, single Christians often find themselves overlooked and underutilized in ministry leadership roles.\u003c\/p\u003e\n\u003cp\u003eIn \u003cem\u003eSingle-Minded Service\u003c\/em\u003e, Lewie Clark draws on biblical insights and historical examples, revealing the essential roles that singles have played—and can still play—in advancing the kingdom of God. He argues that in certain situations, singleness can enhance ministry effectiveness. Clark doesn’t just critique the current state; he offers a clear, actionable vision for how the church can empower singles to take their rightful place in leadership, following in the footsteps of single leaders like Paul and Barnabas. Whether you are single or married, discover how embracing the gifts and callings of singles can lead to a more effective ministry.\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eWould you like to order a paperback? Order on Amazon.com \u003ca href=\"https:\/\/www.amazon.com\/Single-Minded-Service-Rediscovering-Essential-Leadership\/dp\/1645086550\/ref=sr_1_1?crid=KSR3UJASFDSY\u0026amp;dib=eyJ2IjoiMSJ9.ZetCA4PItPMi0_8HmhSsvA.NWbRA5gRoq0VA635U-Z4ruDjRiPOIIkC6I0PHwiZSQ4\u0026amp;dib_tag=se\u0026amp;keywords=single-minded+service+lewie\u0026amp;qid=1733351846\u0026amp;sprefix=single-minded+service+lewie%2Caps%2C93\u0026amp;sr=8-1\"\u003e\u003cspan style=\"color: rgb(43, 0, 255);\"\u003ehere\u003c\/span\u003e\u003c\/a\u003e\u003c\/strong\u003e!\u003c\/p\u003e\n\u003cp\u003e [\/DESCRIPTION] [SUBTITLE]Rediscovering the Essential Role of Singles in Kingdom Leadership[\/SUBTITLE][PREORDER]12\/10\/24[\/PREORDER][CREDIT] Lewie Clark with Tim Grissom [\/CREDIT] [PAGES] 64 [\/PAGES] [BINDING] Paperback [\/BINDING] [PUBLISHER] William Carey Publishing [\/PUBLISHER] [PUBLISHYEAR] 2024 [\/PUBLISHYEAR] [ENDORSEMENT2]\u003c\/p\u003e\n\u003cblockquote\u003eLewie Clark issues a wakeup call to today's church that if we really want to follow the model of Jesus and the early church, we should be empowering singles for kingdom ministry without presuming they first need to be married. This book is a thoughtful journey that will both encourage single adults that they are fully qualified and equipped for kingdom leadership while simultaneously reminding us all what the true family of believers is all about.\u003c\/blockquote\u003e\n\u003cp\u003e\u003ccite\u003eRev. Barry N. Danylak, PhD\u003c\/cite\u003e\u003cspan\u003eExecutive Director, SEE Globally\u003c\/span\u003e [\/ENDORSEMENT2] [ENDORSEMENT3]\u003c\/p\u003e\n\u003cblockquote\u003eThe lies we believe influence our thinking and behavior without our conscious awareness. But when these lies get exposed and rejected, we have opportunity to joyfully embrace fresh, wholesome thinking and relating. Lewie’s book powerfully exposes cultural lies that cripple the lives and ministries of many singles. It empowers members of Christ’s family to value the unique freedoms that singles enjoy, at times, giving them an advantage over married Christian workers. I am excited to give this book to friends who are single and to those in Christian leadership so that our cultural lies can be exposed and rejected. Let’s trash the shame and marginalization of singles. Let’s embrace them as fully complete in Christ. Let’s leverage their advantages for the extension of God’s kingdom. You will know the truth and the truth will set you free (John 8:38).\u003c\/blockquote\u003e\n\u003cp\u003e\u003ccite\u003eAlbert Ehmann\u003c\/cite\u003e\u003cspan\u003eChurch planter, leader, and mentor for 55 years\u003c\/span\u003e [\/ENDORSEMENT3] [ENDORSEMENT4]\u003c\/p\u003e\n\u003cblockquote\u003eWould your church hire single Saint Paul as pastor? How about young unwed Amy Carmichael to lead a mission? The data says no, and that’s not just bad for all our Amys and Pauls—it’s a disaster for the spread of the gospel. Sociological headwinds are converging. We must stop sidelining our fastest growing demographic. This book is a wakeup call to Protestants to rethink the sacred role of celibacy for mission. \u003c\/blockquote\u003e\n\u003cp\u003e\u003ccite\u003eDel Fehsenfeld III\u003c\/cite\u003e\u003cspan\u003eLife Action Ministries \u003c\/span\u003e [\/ENDORSEMENT4] [ENDORSEMENT5]\u003c\/p\u003e\n\u003cblockquote\u003eAs the World Evangelical Alliance begins to advance a paradigm that fully values, engages, and empowers single and single-again evangelicals, I have turned to Lewie many times for encouragement and advice. I have, perhaps, the advantage of the reader, for not only have I read Single-Minded Service as a book, I have read it as a life; Lewie’s life. May you likewise be encouraged, and more so, challenged by Lewie’s writing, and should the Lord give you favor to know him, his life.\u003c\/blockquote\u003e\n\u003cp\u003e\u003ccite\u003eMark McLeod\u003c\/cite\u003e\u003cspan\u003eSingles Advocacy Initiative, WEA\u003c\/span\u003e [\/ENDORSEMENT5] [ENDORSEMENT6]\u003c\/p\u003e\n\u003cblockquote\u003eToday, most Christians assume that marriage is a fundamental prerequisite for leadership in the church. But Lewie Clark sheds light on how singles have frequently been the spearheads of Christ’s kingdom, ever since the church’s beginning. This wonderful book will empower singles to love, serve, and lead the body of Christ. \u003c\/blockquote\u003e\n\u003cp\u003e\u003ccite\u003eSeth Osborn, PhD\u003c\/cite\u003e\u003cspan\u003eAdjunct Professor, Indiana Wesleyan University \u003c\/span\u003e [\/ENDORSEMENT6] [ENDORSEMENT7]\u003c\/p\u003e\n\u003cblockquote\u003eThe bias is real. I spent years helping hundreds of churches find senior pastors, and not one of them would consider an unmarried candidate. And yet for more than forty years, I’ve watched Lewie Clark pastor, lead, and disciple others (myself included). As a single, never-married man, the biblical insights Lewie brings regarding singleness need to be heard by the church.\u003c\/blockquote\u003e\n\u003cp\u003e\u003ccite\u003eTim Stevens\u003c\/cite\u003e\u003cspan\u003eCEO \u0026amp; Founder, LeadingSmart\u003c\/span\u003e [\/ENDORSEMENT7] [TOC]\u003c\/p\u003e\n\u003cp\u003eChapter 1: Finding Our Way\u003c\/p\u003e\n\u003cp\u003eChapter 2: The Bias\u003c\/p\u003e\n\u003cp\u003eChapter 3: The Invisible Single\u003c\/p\u003e\n\u003cp\u003eChapter 4: A Theology of Singleness\u003c\/p\u003e\n\u003cp\u003eChapter 5: The Kingdom-First Life\u003c\/p\u003e\n\u003cp\u003e[\/TOC]\u003c\/p\u003e"}; AIR_REVIEWS.template = "product"; AIR_REVIEWS.collections = []; AIR_REVIEWS.collectionsName = []; AIR_REVIEWS.customer = { id: null, email: null, first_name: null, last_name: null, }; AIR_REVIEWS.collections.push(`436987232515`); AIR_REVIEWS.collectionsName.push(`2024 Re-Cap Collection`); AIR_REVIEWS.collections.push(`158686216310`); AIR_REVIEWS.collectionsName.push(`All`); AIR_REVIEWS.collections.push(`432089956611`); AIR_REVIEWS.collectionsName.push(`eBooks (ePubs)`); AIR_REVIEWS.collections.push(`434576457987`); AIR_REVIEWS.collectionsName.push(`Lewie Clark`); AIR_REVIEWS.collections.push(`76906365046`); AIR_REVIEWS.collectionsName.push(`New Releases`); AIR_REVIEWS.collections.push(`403911508227`); AIR_REVIEWS.collectionsName.push(`Series`); AIR_REVIEWS.collections.push(`74836082806`); AIR_REVIEWS.collectionsName.push(`Snapshot Series`); AIR_REVIEWS.collections.push(`404254556419`); AIR_REVIEWS.collectionsName.push(`Subscription Ebooks`); AIR_REVIEWS.collections.push(`434576556291`); AIR_REVIEWS.collectionsName.push(`Tim Grissom`); AIR_REVIEWS.collections.push(`394218471683`); AIR_REVIEWS.collectionsName.push(`WCP Author Perks`); AIR_REVIEWS.branding = false; AIR_REVIEWS.appBlock = false; AIR_REVIEWS.shopData = false; AIR_REVIEWS.settings = {"createdAt":"2023-05-03T19:35:51.002Z","reviewWidget":{"customPositionCatalog":"","floatBtnIconCustom":"","showPreview":false,"enableStarRating":true,"showCatalogPage":true,"customPositionCatalogDirection":"after","showOnMobile":true,"showProductPage":true,"desktopPosition":"desktop-right","floatBtnBgColor":"#000000","enablePopupReview":false,"hideNoStarRating":false,"minimumRating":"all-reviews","floatButtonLabel":"Our Reviews","customPositionProductDirection":"after","floatBtnIcon":"https://imgur.com/ttZVtaG.png","customPositionProduct":"","showOnDesktop":true,"floatBtnTextColor":"#FFFFFF","mobilePosition":"mobile-left","showOnProductList":true},"shopDomain":"missionbooks-org.myshopify.com","reviewPop":{"minimumRating":"all-reviews","includedPages":"","emptyImageCustom":"","pageShow":[],"excludedPages":"","showOnMobile":true,"emptyImage":"https://imgur.com/uw78kAx.png","showOnDesktop":true,"desktopPosition":"desktop-bottom-left","enabled":false,"mobilePosition":"mobile-bottom-right","customCss":""},"shopId":"csk8x7MbNFnKTquXSIt9","generalSetting":{"sortOption":"sortlarest@feedback","amzReviewerOption":"all_reviews","amzPhotoOption":"all_contents","enableAggregateRating":true,"amzSortOption":"recent","ratingOption":"All positive","photoOption":"all","amzRatingOption":"positive","autoSubmitPublish":"disabled"},"reviewBlock":{"twoStarColor":"#E67F22","summaryButton":"Write a review","customPosition":".shopify-payment-button","primaryColor":"#121212","fiveStarColor":"#16A086","preset":0,"oneStarColor":"#E84C3D","threeStarColor":"#F1C40F","buttonTextColor":"#FFFFFF","inlinePosition":"below-product","customPositionDirection":"after","buttonBorderRadius":4,"summaryHeading":"Review","policy":"By submitting, I acknowledge the Privacy and that my reviews will be publicly posted and shared online","emptyStarColor":"#BFBFBF","customCss":"","backgroundColor":"#EDEDED","requiredName":true,"headingColor":"#000000","submitTextColor":"#ffffff","singleStarColor":"#14828f","layout":"list","starColorType":"single-color","buttonBackgroundColor":"#14828f","hasPolicy":true,"submitButtonColor":"#166CE1","advancedSetting":true,"fourStarColor":"#27AE61","requiredEmail":false,"secondaryColor":"#383838","font":"Roboto"},"reviewCarouselWidget":{"customPositionHomeDirection":"after","customPositionCatalog":"","showPreview":true,"customPositionProductDirection":"after","carouselHeadingColor":"#14828f","carouselMinimumRating":"all-reviews","carouselHeading":"Hear from other customers","customPositionProduct":"","customPositionHome":"","enableCarousel":true,"customPositionCatalogDirection":"after"},"popReviews":[],"carouselReviews":[]}; AIR_REVIEWS.translations = {"review":"review","reviews":"reviews","See more":"See more","See less":"See less","Recent":"Recent","Highest":"Highest","Lowest":"Lowest","Load more":"Load more","No reviews yet":"No reviews yet","How do you like this item?":"How do you like this item?","Excellent":"Excellent","Good":"Good","Medium":"Medium","Poor":"Poor","Very Bad":"Very Bad","Share your thoughts":"Share your thoughts","Write your feedback":"Write your feedback","Your Information":"Your Information","Your Name":"Your Name","Email":"Email","This is a required field":"This is a required field","Send":"Send","You have reached the file upload limit":"You have reached the file upload limit","Email field is invalid":"Email field is invalid","Review with image":"Review with image","Our Reviews":"Our Reviews","5MB Limit":"5MB Limit","Be the first to write a review":"Be the first to write a review","Submit":"Submit","Submitted":"Submitted","Click to review":"Click to review","Tap to review":"Tap to review","Name":"Name","Thank you for your feedback":"Thank you for your feedback","Invalid file type":"Invalid file type","accepted file types: .gif, .jpg, .png.":"accepted file types: .gif, .jpg, .png.","Invalid file size":"Invalid file size","image size should not be more than 5MB.":"image size should not be more than 5MB.","Your Email":"Your Email","Next":"Next"}; AIR_REVIEWS.productReview = false; </script> <!-- /Air Reviews Script --> <link rel="canonical" href="https://missionbooks.org/products/single-minded-service" /> <meta name="HandheldFriendly" content="True"> <meta name="MobileOptimized" content="320"> <meta name="viewport" content="width=device-width,initial-scale=1.0" /> <meta name="theme-color" content="#007c8a"> <meta name="google-site-verification" content="cwpLs9-FZfHcpTGGpgMpp7wRAtezJaHrjCwcdZfojCA" /> <link rel="shortcut icon" href="//missionbooks.org/cdn/shop/files/wcpfaviconnew.png?v=1613782168" type="image/png" /> <meta property="og:site_name" content="MissionBooks.org" /> <meta property="og:image" content="http://missionbooks.org/cdn/shop/files/Single-MindedService_CVR-Front_1_large.jpg?v=1732551344" /> <meta property="og:description" content="[DESCRIPTION] Empowering Singles for Ministry Impact Marriage is a good gift from God and should be esteemed, but is it..." /> <meta property="og:title" content="Single-Minded Service - MissionBooks.org" /> <meta property="og:type" content="product" /> <meta property="og:url" content="https://missionbooks.org/products/single-minded-service" /> <meta name="twitter:card" content="summary"> <meta name="twitter:title" content="Single-Minded Service"> <meta name="twitter:description" content="[DESCRIPTION] Empowering Singles for Ministry Impact Marriage is a good gift from God and should be esteemed, but is it the best indicator of a man or woman’s fitness for kingdom service? Despite their dedication and immense potential, single Christians often find themselves overlooked and underutilized in ministry leadership roles. In Single-Minded Service, Lewie Clark draws on biblical insights and historical examples, revealing the essential roles that singles have played—and can still play—in advancing the kingdom of God. He argues that in certain situations, singleness can enhance ministry effectiveness. Clark doesn’t just critique the current state; he offers a clear, actionable vision for how the church can empower singles to take their rightful place in leadership, following in the footsteps of single leaders like Paul and Barnabas. Whether you are single or married, discover how embracing the gifts and callings"> <meta name="twitter:image" content="https://missionbooks.org/cdn/shop/files/Single-MindedService_CVR-Front_1_medium.jpg?v=1732551344"> <meta name="twitter:image:width" content="240"> <meta name="twitter:image:height" content="240"> <link href="//missionbooks.org/cdn/shop/t/2/assets/styles.scss.css?v=165003344065625071281739900197" rel="stylesheet" type="text/css" media="all" /> <script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.1/jquery.min.js"></script> <script src="//missionbooks.org/cdn/shopifycloud/shopify/assets/themes_support/api.jquery-b0af070cfe3f5cf7c92f9e2a5da2665ee07ed2aad63bb408f8d6672f894a5996.js" type="text/javascript"></script> <script> Shopify.money_format = "${{amount}}"; window.theme = window.theme || {}; theme.jQuery = jQuery; theme.money_format = "${{amount}}"; theme.productData = {}; theme.setHomepageLayout = function(){ if($('#shopify-section-sidebar [data-section-type="sidebar"]').children().length) { $('#key_content').attr('class', 'col-3-right'); } else { $('#key_content').attr('class', 'col-4'); } }; theme.mobileSnapWidth = 768; document.documentElement.className = document.documentElement.className.replace('no-js', ''); </script> <script>window.performance && window.performance.mark && window.performance.mark('shopify.content_for_header.start');</script><meta name="facebook-domain-verification" content="im52dbyzwcc007pntb8lphhouplm81"> <meta id="shopify-digital-wallet" name="shopify-digital-wallet" content="/5256151158/digital_wallets/dialog"> <meta name="shopify-checkout-api-token" content="6319dcda077fa825420d9babbde014b3"> <meta id="in-context-paypal-metadata" data-shop-id="5256151158" data-venmo-supported="true" data-environment="production" data-locale="en_US" data-paypal-v4="true" data-currency="USD"> <link rel="alternate" type="application/json+oembed" href="https://missionbooks.org/products/single-minded-service.oembed"> <script async="async" src="/checkouts/internal/preloads.js?locale=en-US"></script> <link rel="preconnect" href="https://shop.app" crossorigin="anonymous"> <script async="async" src="https://shop.app/checkouts/internal/preloads.js?locale=en-US&shop_id=5256151158" crossorigin="anonymous"></script> <script id="apple-pay-shop-capabilities" type="application/json">{"shopId":5256151158,"countryCode":"US","currencyCode":"USD","merchantCapabilities":["supports3DS"],"merchantId":"gid:\/\/shopify\/Shop\/5256151158","merchantName":"MissionBooks.org","requiredBillingContactFields":["postalAddress","email","phone"],"requiredShippingContactFields":["postalAddress","email","phone"],"shippingType":"shipping","supportedNetworks":["visa","masterCard","amex","discover","elo","jcb"],"total":{"type":"pending","label":"MissionBooks.org","amount":"1.00"},"shopifyPaymentsEnabled":true,"supportsSubscriptions":true}</script> <script id="shopify-features" type="application/json">{"accessToken":"6319dcda077fa825420d9babbde014b3","betas":["rich-media-storefront-analytics"],"domain":"missionbooks.org","predictiveSearch":true,"shopId":5256151158,"smart_payment_buttons_url":"https:\/\/missionbooks.org\/cdn\/shopifycloud\/payment-sheet\/assets\/latest\/spb.en.js","dynamic_checkout_cart_url":"https:\/\/missionbooks.org\/cdn\/shopifycloud\/payment-sheet\/assets\/latest\/dynamic-checkout-cart.en.js","locale":"en"}</script> <script>var Shopify = Shopify || {}; Shopify.shop = "missionbooks-org.myshopify.com"; Shopify.locale = "en"; Shopify.currency = {"active":"USD","rate":"1.0"}; Shopify.country = "US"; Shopify.theme = {"name":"MissionBooks.org","id":39295844470,"schema_name":"Expression","schema_version":"4.5.1","theme_store_id":230,"role":"main"}; Shopify.theme.handle = "null"; Shopify.theme.style = {"id":null,"handle":null}; Shopify.cdnHost = "missionbooks.org/cdn"; Shopify.routes = Shopify.routes || {}; Shopify.routes.root = "/";</script> <script type="module">!function(o){(o.Shopify=o.Shopify||{}).modules=!0}(window);</script> <script>!function(o){function n(){var o=[];function n(){o.push(Array.prototype.slice.apply(arguments))}return n.q=o,n}var t=o.Shopify=o.Shopify||{};t.loadFeatures=n(),t.autoloadFeatures=n()}(window);</script> <script>window.ShopifyPay = window.ShopifyPay || {}; window.ShopifyPay.apiHost = "shop.app\/pay";</script> <script id="shop-js-analytics" type="application/json">{"pageType":"product"}</script> <script> window.Shopify = window.Shopify || {}; if (!window.Shopify.featureAssets) window.Shopify.featureAssets = {}; window.Shopify.featureAssets['shop-js'] = {"init-fed-cm":["modules/v2/client.init-fed-cm_tjnbtH5M.en.esm.js","modules/v2/chunk.common_Emer7d-7.esm.js"],"init-shop-email-lookup-coordinator":["modules/v2/client.init-shop-email-lookup-coordinator_Cfu9_-Rl.en.esm.js","modules/v2/chunk.common_Emer7d-7.esm.js"],"shop-cash-offers":["modules/v2/client.shop-cash-offers_B_lmdBKl.en.esm.js","modules/v2/chunk.common_Emer7d-7.esm.js","modules/v2/chunk.modal_onirEDew.esm.js"],"avatar":["modules/v2/client.avatar_BTnouDA3.en.esm.js"],"checkout-modal":["modules/v2/client.checkout-modal_BCNWVHSd.en.esm.js","modules/v2/chunk.common_Emer7d-7.esm.js","modules/v2/chunk.modal_onirEDew.esm.js"],"init-customer-accounts-sign-up":["modules/v2/client.init-customer-accounts-sign-up_C_Ma2Dh4.en.esm.js","modules/v2/client.shop-login-button_CTzri0rQ.en.esm.js","modules/v2/chunk.common_Emer7d-7.esm.js","modules/v2/chunk.modal_onirEDew.esm.js"],"shop-toast-manager":["modules/v2/client.shop-toast-manager_CEAHwjrw.en.esm.js","modules/v2/chunk.common_Emer7d-7.esm.js"],"shop-login-button":["modules/v2/client.shop-login-button_CTzri0rQ.en.esm.js","modules/v2/chunk.common_Emer7d-7.esm.js","modules/v2/chunk.modal_onirEDew.esm.js"],"init-customer-accounts":["modules/v2/client.init-customer-accounts_DThjQXXc.en.esm.js","modules/v2/client.shop-login-button_CTzri0rQ.en.esm.js","modules/v2/chunk.common_Emer7d-7.esm.js","modules/v2/chunk.modal_onirEDew.esm.js"],"pay-button":["modules/v2/client.pay-button_B1GkDoqw.en.esm.js","modules/v2/chunk.common_Emer7d-7.esm.js"],"init-shop-for-new-customer-accounts":["modules/v2/client.init-shop-for-new-customer-accounts_YCkIq4Ku.en.esm.js","modules/v2/client.shop-login-button_CTzri0rQ.en.esm.js","modules/v2/chunk.common_Emer7d-7.esm.js","modules/v2/chunk.modal_onirEDew.esm.js"],"lead-capture":["modules/v2/client.lead-capture_DIIxfJg9.en.esm.js","modules/v2/chunk.common_Emer7d-7.esm.js","modules/v2/chunk.modal_onirEDew.esm.js"],"shop-follow-button":["modules/v2/client.shop-follow-button_DwczjgoP.en.esm.js","modules/v2/chunk.common_Emer7d-7.esm.js","modules/v2/chunk.modal_onirEDew.esm.js"],"payment-terms":["modules/v2/client.payment-terms_9OQNt15m.en.esm.js","modules/v2/chunk.common_Emer7d-7.esm.js","modules/v2/chunk.modal_onirEDew.esm.js"]}; </script> <script>(function() { function asyncLoad() { var urls = ["https:\/\/widgetic.com\/sdk\/sdk.js?shop=missionbooks-org.myshopify.com","https:\/\/chimpstatic.com\/mcjs-connected\/js\/users\/5a799f53b89f0bccf1786880f\/db173b432b411904bf158f51b.js?shop=missionbooks-org.myshopify.com","https:\/\/formbuilder.hulkapps.com\/skeletopapp.js?shop=missionbooks-org.myshopify.com","https:\/\/d23dclunsivw3h.cloudfront.net\/redirect-app.js?shop=missionbooks-org.myshopify.com","https:\/\/geolocation-recommendations.shopifyapps.com\/locale_bar\/script.js?shop=missionbooks-org.myshopify.com","https:\/\/cdn-bundler.nice-team.net\/app\/js\/bundler.js?shop=missionbooks-org.myshopify.com","https:\/\/coupon-x.premio.io\/assets\/js\/shopify-cx-fronted.js?shop=missionbooks-org.myshopify.com","https:\/\/geolocation-recommendations.shopifyapps.com\/selectors\/script.js?shop=missionbooks-org.myshopify.com","https:\/\/d1639lhkj5l89m.cloudfront.net\/js\/storefront\/uppromote.js?shop=missionbooks-org.myshopify.com","\/\/cdn.shopify.com\/proxy\/c976d6a4ce46f1bd0e1b0db47dea345f29a43399f6ea9cb21c399a04bd46433c\/pdfflipbook.com\/script\/shopify\/?shop=missionbooks-org.myshopify.com\u0026sp-cache-control=cHVibGljLCBtYXgtYWdlPTkwMA","https:\/\/cdn.hextom.com\/js\/freeshippingbar.js?shop=missionbooks-org.myshopify.com"]; for (var i = 0; i < urls.length; i++) { var s = document.createElement('script'); s.type = 'text/javascript'; s.async = true; s.src = urls[i]; var x = document.getElementsByTagName('script')[0]; x.parentNode.insertBefore(s, x); } }; if(window.attachEvent) { window.attachEvent('onload', asyncLoad); } else { window.addEventListener('load', asyncLoad, false); } })();</script> <script id="__st">var __st={"a":5256151158,"offset":-25200,"reqid":"77101424-af28-4abb-a7a0-47a0a03d7949-1740658965","pageurl":"missionbooks.org\/products\/single-minded-service","u":"9379db74237e","p":"product","rtyp":"product","rid":8815889514755};</script> <script>window.ShopifyPaypalV4VisibilityTracking = true;</script> <script id="captcha-bootstrap">!function(){'use strict';const t='contact',e='account',n='new_comment',o=[[t,t],['blogs',n],['comments',n],[t,'customer']],c=[[e,'customer_login'],[e,'guest_login'],[e,'recover_customer_password'],[e,'create_customer']],r=t=>t.map((([t,e])=>`form[action*='/${t}']:not([data-nocaptcha='true']) input[name='form_type'][value='${e}']`)).join(','),a=t=>()=>t?[...document.querySelectorAll(t)].map((t=>t.form)):[];function s(){const t=[...o],e=r(t);return a(e)}const i='password',u='form_key',d=['recaptcha-v3-token','g-recaptcha-response','h-captcha-response',i],f=()=>{try{return window.sessionStorage}catch{return}},m='__shopify_v',_=t=>t.elements[u];function p(t,e,n=!1){try{const o=window.sessionStorage,c=JSON.parse(o.getItem(e)),{data:r}=function(t){const{data:e,action:n}=t;return t[m]||n?{data:e,action:n}:{data:t,action:n}}(c);for(const[e,n]of Object.entries(r))t.elements[e]&&(t.elements[e].value=n);n&&o.removeItem(e)}catch(o){console.error('form repopulation failed',{error:o})}}const l='form_type',E='cptcha';function T(t){t.dataset[E]=!0}const w=window,h=w.document,L='Shopify',v='ce_forms',y='captcha';let A=!1;((t,e)=>{const n=(g='f06e6c50-85a8-45c8-87d0-21a2b65856fe',I='https://cdn.shopify.com/shopifycloud/storefront-forms-hcaptcha/ce_storefront_forms_captcha_hcaptcha.v1.5.2.iife.js',D={infoText:'Protected by hCaptcha',privacyText:'Privacy',termsText:'Terms'},(t,e,n)=>{const o=w[L][v],c=o.bindForm;if(c)return c(t,g,e,D).then(n);var r;o.q.push([[t,g,e,D],n]),r=I,A||(h.body.append(Object.assign(h.createElement('script'),{id:'captcha-provider',async:!0,src:r})),A=!0)});var g,I,D;w[L]=w[L]||{},w[L][v]=w[L][v]||{},w[L][v].q=[],w[L][y]=w[L][y]||{},w[L][y].protect=function(t,e){n(t,void 0,e),T(t)},Object.freeze(w[L][y]),function(t,e,n,w,h,L){const[v,y,A,g]=function(t,e,n){const i=e?o:[],u=t?c:[],d=[...i,...u],f=r(d),m=r(i),_=r(d.filter((([t,e])=>n.includes(e))));return[a(f),a(m),a(_),s()]}(w,h,L),I=t=>{const e=t.target;return e instanceof HTMLFormElement?e:e&&e.form},D=t=>v().includes(t);t.addEventListener('submit',(t=>{const e=I(t);if(!e)return;const n=D(e)&&!e.dataset.hcaptchaBound&&!e.dataset.recaptchaBound,o=_(e),c=g().includes(e)&&(!o||!o.value);(n||c)&&t.preventDefault(),c&&!n&&(function(t){try{if(!f())return;!function(t){const e=f();if(!e)return;const n=_(t);if(!n)return;const o=n.value;o&&e.removeItem(o)}(t);const e=Array.from(Array(32),(()=>Math.random().toString(36)[2])).join('');!function(t,e){_(t)||t.append(Object.assign(document.createElement('input'),{type:'hidden',name:u})),t.elements[u].value=e}(t,e),function(t,e){const n=f();if(!n)return;const o=[...t.querySelectorAll(`input[type='${i}']`)].map((({name:t})=>t)),c=[...d,...o],r={};for(const[a,s]of new FormData(t).entries())c.includes(a)||(r[a]=s);n.setItem(e,JSON.stringify({[m]:1,action:t.action,data:r}))}(t,e)}catch(e){console.error('failed to persist form',e)}}(e),e.submit())}));const S=(t,e)=>{t&&!t.dataset[E]&&(n(t,e.some((e=>e===t))),T(t))};for(const o of['focusin','change'])t.addEventListener(o,(t=>{const e=I(t);D(e)&&S(e,y())}));const B=e.get('form_key'),M=e.get(l),P=B&&M;t.addEventListener('DOMContentLoaded',(()=>{const t=y();if(P)for(const e of t)e.elements[l].value===M&&p(e,B);[...new Set([...A(),...v().filter((t=>'true'===t.dataset.shopifyCaptcha))])].forEach((e=>S(e,t)))}))}(h,new URLSearchParams(w.location.search),n,t,e,['guest_login'])})(!0,!0)}();</script> <script integrity="sha256-EGCDRYTvIEOXsReXgqGwkAR+5Dl8tickSrieA/ZcQwc=" data-source-attribution="shopify.loadfeatures" defer="defer" src="//missionbooks.org/cdn/shopifycloud/shopify/assets/storefront/load_feature-1060834584ef204397b1179782a1b090047ee4397cb627244ab89e03f65c4307.js" crossorigin="anonymous"></script> <script crossorigin="anonymous" defer="defer" src="//missionbooks.org/cdn/shopifycloud/shopify/assets/shopify_pay/storefront-80e528be853eac23af2454534897ca9536b1d3d04aa043b042f34879a3c111c8.js?v=20220906"></script> <script integrity="sha256-HAs5a9TQVLlKuuHrahvWuke+s1UlxXohfHeoYv8G2D8=" data-source-attribution="shopify.dynamic-checkout" defer="defer" src="//missionbooks.org/cdn/shopifycloud/shopify/assets/storefront/features-1c0b396bd4d054b94abae1eb6a1bd6ba47beb35525c57a217c77a862ff06d83f.js" crossorigin="anonymous"></script> <link rel="stylesheet" media="screen" href="https://missionbooks.org/cdn/shopifycloud/portable-wallets/latest/accelerated-checkout-backwards-compat.css" crossorigin="anonymous"> <style id="shopify-dynamic-checkout-cart">@media screen and (min-width: 750px) { #dynamic-checkout-cart { min-height: 50px; } } @media screen and (max-width: 750px) { #dynamic-checkout-cart { min-height: 240px; } } </style><script>window.performance && window.performance.mark && window.performance.mark('shopify.content_for_header.end');</script> <!-- GSSTART Coming Soon code start. Do not change --> <script type="text/javascript"> gsProductCSID = "8815889514755"; </script><script type="text/javascript" src="https://gravity-software.com/js/shopify/pac_shop7779.js?v=d7c1aaed0df9cf78ddae4a3fcf4433d5"></script> <!-- Coming Soon code end. Do not change GSEND --> <!-- Snippet for Simple Preorder app --> <!--<style id="simple_preorder_style"></style> <script> // Bootstrap for Simple Preorder app var SimplePreorderBootstrap = { "page": "product", "product": { "id": 8815889514755, "title": "Single-Minded Service", "variants": [ { "id": 46125811564803, "inventory_quantity": '-20', "inventory_management": '', "inventory_policy": 'continue' }, ] }, "cart": { "items": [ ] } }; </script> <script src="//missionbooks.org/cdn/shop/t/2/assets/simple-preorder-data.js?v=49131604149421158281648227236" defer="defer"></script> <script src="https://preorder.kad.systems/scripts/missionbooks-org.myshopify.com.js" defer="defer"></script> <script src="//missionbooks.org/cdn/shop/t/2/assets/simple-preorder.js?v=159111328192186536381648212754" defer="defer"></script>--> <!-- Google tag (gtag.js) - Google Ads: 941247799 --> <script async src="https://www.googletagmanager.com/gtag/js?id=Tag_ID"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); <link href="https://monorail-edge.shopifysvc.com" rel="dns-prefetch"> <script>(function(){if ("sendBeacon" in navigator && "performance" in window) {var session_token = document.cookie.match(/_shopify_s=([^;]*)/);function handle_abandonment_event(e) {var entries = performance.getEntries().filter(function(entry) {return /monorail-edge.shopifysvc.com/.test(entry.name);});if (!window.abandonment_tracked && entries.length === 0) {window.abandonment_tracked = true;var currentMs = Date.now();var navigation_start = performance.timing.navigationStart;var payload = {shop_id: 5256151158,url: window.location.href,navigation_start,duration: currentMs - navigation_start,session_token: session_token && session_token.length === 2 ? session_token[1] : "",page_type: "product"};window.navigator.sendBeacon("https://monorail-edge.shopifysvc.com/v1/produce", JSON.stringify({schema_id: "online_store_buyer_site_abandonment/1.1",payload: payload,metadata: {event_created_at_ms: currentMs,event_sent_at_ms: currentMs}}));}}window.addEventListener('pagehide', handle_abandonment_event);}}());</script> <script id="web-pixels-manager-setup">(function d(d,e,n,o,r,i){if(!Boolean(null===(t=null===(a=window.Shopify)||void 0===a?void 0:a.analytics)||void 0===t?void 0:t.replayQueue)){var a,t,s=function(){var d={modern:/Edge?\/(1{2}[4-9]|1[2-9]\d|[2-9]\d{2}|\d{4,})\.\d+(\.\d+|)|Firefox\/(1{2}[4-9]|1[2-9]\d|[2-9]\d{2}|\d{4,})\.\d+(\.\d+|)|Chrom(ium|e)\/(9{2}|\d{3,})\.\d+(\.\d+|)|(Maci|X1{2}).+ Version\/(15\.\d+|(1[6-9]|[2-9]\d|\d{3,})\.\d+)([,.]\d+|)( \(\w+\)|)( Mobile\/\w+|) Safari\/|Chrome.+OPR\/(9{2}|\d{3,})\.\d+\.\d+|(CPU[ +]OS|iPhone[ +]OS|CPU[ +]iPhone|CPU IPhone OS|CPU iPad OS)[ +]+(15[._]\d+|(1[6-9]|[2-9]\d|\d{3,})[._]\d+)([._]\d+|)|Android:?[ /-](13[1-9]|1[4-9]\d|[2-9]\d{2}|\d{4,})(\.\d+|)(\.\d+|)|Android.+Firefox\/(13[2-9]|1[4-9]\d|[2-9]\d{2}|\d{4,})\.\d+(\.\d+|)|Android.+Chrom(ium|e)\/(13[1-9]|1[4-9]\d|[2-9]\d{2}|\d{4,})\.\d+(\.\d+|)|SamsungBrowser\/([2-9]\d|\d{3,})\.\d+/,legacy:/Edge?\/(1[6-9]|[2-9]\d|\d{3,})\.\d+(\.\d+|)|Firefox\/(5[4-9]|[6-9]\d|\d{3,})\.\d+(\.\d+|)|Chrom(ium|e)\/(5[1-9]|[6-9]\d|\d{3,})\.\d+(\.\d+|)([\d.]+$|.*Safari\/(?![\d.]+ Edge\/[\d.]+$))|(Maci|X1{2}).+ Version\/(10\.\d+|(1[1-9]|[2-9]\d|\d{3,})\.\d+)([,.]\d+|)( \(\w+\)|)( Mobile\/\w+|) Safari\/|Chrome.+OPR\/(3[89]|[4-9]\d|\d{3,})\.\d+\.\d+|(CPU[ +]OS|iPhone[ +]OS|CPU[ +]iPhone|CPU IPhone OS|CPU iPad OS)[ +]+(10[._]\d+|(1[1-9]|[2-9]\d|\d{3,})[._]\d+)([._]\d+|)|Android:?[ /-](13[1-9]|1[4-9]\d|[2-9]\d{2}|\d{4,})(\.\d+|)(\.\d+|)|Mobile Safari.+OPR\/([89]\d|\d{3,})\.\d+\.\d+|Android.+Firefox\/(13[2-9]|1[4-9]\d|[2-9]\d{2}|\d{4,})\.\d+(\.\d+|)|Android.+Chrom(ium|e)\/(13[1-9]|1[4-9]\d|[2-9]\d{2}|\d{4,})\.\d+(\.\d+|)|Android.+(UC? ?Browser|UCWEB|U3)[ /]?(15\.([5-9]|\d{2,})|(1[6-9]|[2-9]\d|\d{3,})\.\d+)\.\d+|SamsungBrowser\/(5\.\d+|([6-9]|\d{2,})\.\d+)|Android.+MQ{2}Browser\/(14(\.(9|\d{2,})|)|(1[5-9]|[2-9]\d|\d{3,})(\.\d+|))(\.\d+|)|K[Aa][Ii]OS\/(3\.\d+|([4-9]|\d{2,})\.\d+)(\.\d+|)/},e=d.modern,n=d.legacy,o=navigator.userAgent;return e.test(o)?"modern":(n.test(o),"legacy")}(),l=null!=i?i:{modern:"",legacy:""};window.Shopify=window.Shopify||{};var u=window.Shopify;u.analytics=u.analytics||{};var c=u.analytics;c.replayQueue=[],c.publish=function(d,e,n){return c.replayQueue.push([d,e,n]),!0};try{self.performance.mark("wpm:start")}catch(d){}var f=[n,"/wpm","/b",r,s.substring(0,1),".js"].join(""),h=l[s];!function(d){var e=d.src,n=d.async,o=void 0===n||n,r=d.onload,i=d.onerror,a=d.sri,t=document.createElement("script"),s=document.head,l=document.body;t.async=o,t.src=e,a&&(t.integrity=a,t.crossOrigin="anonymous"),r&&t.addEventListener("load",r),i&&t.addEventListener("error",i),s?s.appendChild(t):l?l.appendChild(t):console.error("Did not find a head or body element to append the script")}({src:f,async:!0,onload:function(){if(!function(){var d,e;return Boolean(null===(e=null===(d=window.Shopify)||void 0===d?void 0:d.analytics)||void 0===e?void 0:e.initialized)}()){var n=window.webPixelsManager.init(d)||void 0;if(n){e(n);var o=window.Shopify.analytics;o.replayQueue.forEach((function(d){var e=d[0],o=d[1],r=d[2];n.publishCustomEvent(e,o,r)})),o.replayQueue=[],o.publish=n.publishCustomEvent,o.visitor=n.visitor,o.initialized=!0}}},onerror:function(){var e=d.storefrontBaseUrl.replace(/\/$/,""),n="".concat(e,"/.well-known/shopify/monorail/unstable/produce_batch"),r=JSON.stringify({metadata:{event_sent_at_ms:(new Date).getTime()},events:[{schema_id:"web_pixels_manager_load/3.1",payload:{version:o||"latest",bundle_target:s,page_url:self.location.href,status:"failed",surface:d.surface,error_msg:"".concat(f," has failed to load")},metadata:{event_created_at_ms:(new Date).getTime()}}]});try{if(self.navigator.sendBeacon.bind(self.navigator)(n,r))return!0}catch(d){}var i=new XMLHttpRequest;try{return i.open("POST",n,!0),i.setRequestHeader("Content-Type","text/plain"),i.send(r),!0}catch(d){console&&console.warn&&console.warn("[Web Pixels Manager] Got an unhandled error while logging a load error.")}return!1},sri:function(d){return"string"==typeof d&&/^sha384-[A-Za-z0-9+/=]+$/.test(d)}(h)?h:""})}})({shopId: 5256151158,storefrontBaseUrl: "https://missionbooks.org",extensionsBaseUrl: "https://extensions.shopifycdn.com/cdn/shopifycloud/web-pixels-manager",surface: "storefront-renderer",enabledBetaFlags: ["6a396365"],webPixelsConfigList: [{"id":"449708291","configuration":"{\"config\":\"{\\\"pixel_id\\\":\\\"G-QCX3G9KSPC\\\",\\\"target_country\\\":\\\"US\\\",\\\"gtag_events\\\":[{\\\"type\\\":\\\"search\\\",\\\"action_label\\\":\\\"G-QCX3G9KSPC\\\"},{\\\"type\\\":\\\"begin_checkout\\\",\\\"action_label\\\":\\\"G-QCX3G9KSPC\\\"},{\\\"type\\\":\\\"view_item\\\",\\\"action_label\\\":[\\\"G-QCX3G9KSPC\\\",\\\"MC-HVB1Y0JC17\\\"]},{\\\"type\\\":\\\"purchase\\\",\\\"action_label\\\":[\\\"G-QCX3G9KSPC\\\",\\\"MC-HVB1Y0JC17\\\"]},{\\\"type\\\":\\\"page_view\\\",\\\"action_label\\\":[\\\"G-QCX3G9KSPC\\\",\\\"MC-HVB1Y0JC17\\\"]},{\\\"type\\\":\\\"add_payment_info\\\",\\\"action_label\\\":\\\"G-QCX3G9KSPC\\\"},{\\\"type\\\":\\\"add_to_cart\\\",\\\"action_label\\\":\\\"G-QCX3G9KSPC\\\"}],\\\"enable_monitoring_mode\\\":false}\"}","eventPayloadVersion":"v1","runtimeContext":"OPEN","scriptVersion":"bb488f4fe6500d2c9bba3ab22eaa32f2","type":"APP","apiClientId":1780363,"privacyPurposes":[]},{"id":"163283203","configuration":"{\"pixel_id\":\"5999643260111277\",\"pixel_type\":\"facebook_pixel\",\"metaapp_system_user_token\":\"-\"}","eventPayloadVersion":"v1","runtimeContext":"OPEN","scriptVersion":"8d894c63179843e74a9691414b5ad83d","type":"APP","apiClientId":2329312,"privacyPurposes":["ANALYTICS","MARKETING","SALE_OF_DATA"]},{"id":"shopify-app-pixel","configuration":"{}","eventPayloadVersion":"v1","runtimeContext":"STRICT","scriptVersion":"0290","apiClientId":"shopify-pixel","type":"APP","privacyPurposes":["ANALYTICS","MARKETING"]},{"id":"shopify-custom-pixel","eventPayloadVersion":"v1","runtimeContext":"LAX","scriptVersion":"0290","apiClientId":"shopify-pixel","type":"CUSTOM","privacyPurposes":["ANALYTICS","MARKETING"]}],isMerchantRequest: false,effectiveTopLevelDomain: "",initData: {"shop":{"name":"MissionBooks.org","paymentSettings":{"currencyCode":"USD"},"myshopifyDomain":"missionbooks-org.myshopify.com","countryCode":"US","storefrontUrl":"https:\/\/missionbooks.org"},"customer":null,"cart":null,"checkout":null,"productVariants":[{"price":{"amount":2.99,"currencyCode":"USD"},"product":{"title":"Single-Minded Service","vendor":"William Carey Publishing","id":"8815889514755","untranslatedTitle":"Single-Minded Service","url":"\/products\/single-minded-service","type":"Book"},"id":"46125811564803","image":{"src":"\/\/missionbooks.org\/cdn\/shop\/files\/Single-MindedService_CVR-Front_1.jpg?v=1732551344"},"sku":"9781645086147","title":"EPub (ebook)","untranslatedTitle":"EPub (ebook)"}],"purchasingCompany":null},},function pageEvents(webPixelsManagerAPI) {webPixelsManagerAPI.publish("page_viewed", {});webPixelsManagerAPI.publish("product_viewed", {"productVariant":{"price":{"amount":2.99,"currencyCode":"USD"},"product":{"title":"Single-Minded Service","vendor":"William Carey Publishing","id":"8815889514755","untranslatedTitle":"Single-Minded Service","url":"\/products\/single-minded-service","type":"Book"},"id":"46125811564803","image":{"src":"\/\/missionbooks.org\/cdn\/shop\/files\/Single-MindedService_CVR-Front_1.jpg?v=1732551344"},"sku":"9781645086147","title":"EPub (ebook)","untranslatedTitle":"EPub (ebook)"}});},"https://missionbooks.org/cdn","91ca3b316ec4b11dfa43953e22321a572bfd898d","fd4c30bewb0c33e81p949af984m6c3bb5d2",{"modern":"","legacy":""});</script> <script>window.ShopifyAnalytics = window.ShopifyAnalytics || {}; window.ShopifyAnalytics.meta = window.ShopifyAnalytics.meta || {}; window.ShopifyAnalytics.meta.currency = 'USD'; var meta = {"product":{"id":8815889514755,"gid":"gid:\/\/shopify\/Product\/8815889514755","vendor":"William Carey Publishing","type":"Book","variants":[{"id":46125811564803,"price":299,"name":"Single-Minded Service - EPub (ebook)","public_title":"EPub (ebook)","sku":"9781645086147"}]},"page":{"pageType":"product","resourceType":"product","resourceId":8815889514755}}; for (var attr in meta) { window.ShopifyAnalytics.meta[attr] = meta[attr]; }</script> <script>window.ShopifyAnalytics.merchantGoogleAnalytics = function() { }; </script> <script class="analytics">(function () { var customDocumentWrite = function(content) { var jquery = null; if (window.jQuery) { jquery = window.jQuery; } else if (window.Checkout && window.Checkout.$) { jquery = window.Checkout.$; } if (jquery) { jquery('body').append(content); } }; var hasLoggedConversion = function(token) { if (token) { return document.cookie.indexOf('loggedConversion=' + token) !== -1; } return false; } var setCookieIfConversion = function(token) { if (token) { var twoMonthsFromNow = new Date(Date.now()); twoMonthsFromNow.setMonth(twoMonthsFromNow.getMonth() + 2); document.cookie = 'loggedConversion=' + token + '; expires=' + twoMonthsFromNow; } } var trekkie = window.ShopifyAnalytics.lib = window.trekkie = window.trekkie || []; if (trekkie.integrations) { return; } trekkie.methods = [ 'identify', 'page', 'ready', 'track', 'trackForm', 'trackLink' ]; trekkie.factory = function(method) { return function() { var args = Array.prototype.slice.call(arguments); args.unshift(method); trekkie.push(args); return trekkie; }; }; for (var i = 0; i < trekkie.methods.length; i++) { var key = trekkie.methods[i]; trekkie[key] = trekkie.factory(key); } trekkie.load = function(config) { trekkie.config = config || {}; trekkie.config.initialDocumentCookie = document.cookie; var first = document.getElementsByTagName('script')[0]; var script = document.createElement('script'); script.type = 'text/javascript'; script.onerror = function(e) { var scriptFallback = document.createElement('script'); scriptFallback.type = 'text/javascript'; scriptFallback.onerror = function(error) { var Monorail = { produce: function produce(monorailDomain, schemaId, payload) { var currentMs = new Date().getTime(); var event = { schema_id: schemaId, payload: payload, metadata: { event_created_at_ms: currentMs, event_sent_at_ms: currentMs } }; return Monorail.sendRequest("https://" + monorailDomain + "/v1/produce", JSON.stringify(event)); }, sendRequest: function sendRequest(endpointUrl, payload) { // Try the sendBeacon API if (window && window.navigator && typeof window.navigator.sendBeacon === 'function' && typeof window.Blob === 'function' && !Monorail.isIos12()) { var blobData = new window.Blob([payload], { type: 'text/plain' }); if (window.navigator.sendBeacon(endpointUrl, blobData)) { return true; } // sendBeacon was not successful } // XHR beacon var xhr = new XMLHttpRequest(); try { xhr.open('POST', endpointUrl); xhr.setRequestHeader('Content-Type', 'text/plain'); xhr.send(payload); } catch (e) { console.log(e); } return false; }, isIos12: function isIos12() { return window.navigator.userAgent.lastIndexOf('iPhone; CPU iPhone OS 12_') !== -1 || window.navigator.userAgent.lastIndexOf('iPad; CPU OS 12_') !== -1; } }; Monorail.produce('monorail-edge.shopifysvc.com', 'trekkie_storefront_load_errors/1.1', {shop_id: 5256151158, theme_id: 39295844470, app_name: "storefront", context_url: window.location.href, source_url: "//missionbooks.org/cdn/s/trekkie.storefront.68728afc2577e1593a48001edcb560128ef43fd2.min.js"}); }; scriptFallback.async = true; scriptFallback.src = '//missionbooks.org/cdn/s/trekkie.storefront.68728afc2577e1593a48001edcb560128ef43fd2.min.js'; first.parentNode.insertBefore(scriptFallback, first); }; script.async = true; script.src = '//missionbooks.org/cdn/s/trekkie.storefront.68728afc2577e1593a48001edcb560128ef43fd2.min.js'; first.parentNode.insertBefore(script, first); }; trekkie.load( {"Trekkie":{"appName":"storefront","development":false,"defaultAttributes":{"shopId":5256151158,"isMerchantRequest":null,"themeId":39295844470,"themeCityHash":"7401688635882444056","contentLanguage":"en","currency":"USD"},"isServerSideCookieWritingEnabled":true,"monorailRegion":"shop_domain"},"Session Attribution":{},"S2S":{"facebookCapiEnabled":true,"source":"trekkie-storefront-renderer","apiClientId":580111}} ); var loaded = false; trekkie.ready(function() { if (loaded) return; loaded = true; window.ShopifyAnalytics.lib = window.trekkie; var originalDocumentWrite = document.write; document.write = customDocumentWrite; try { window.ShopifyAnalytics.merchantGoogleAnalytics.call(this); } catch(error) {}; document.write = originalDocumentWrite; window.ShopifyAnalytics.lib.page(null,{"pageType":"product","resourceType":"product","resourceId":8815889514755,"shopifyEmitted":true}); var match = window.location.pathname.match(/checkouts\/(.+)\/(thank_you|post_purchase)/) var token = match? match[1]: undefined; if (!hasLoggedConversion(token)) { setCookieIfConversion(token); window.ShopifyAnalytics.lib.track("Viewed Product",{"currency":"USD","variantId":46125811564803,"productId":8815889514755,"productGid":"gid:\/\/shopify\/Product\/8815889514755","name":"Single-Minded Service - EPub (ebook)","price":"2.99","sku":"9781645086147","brand":"William Carey Publishing","variant":"EPub (ebook)","category":"Book","nonInteraction":true},undefined,undefined,{"shopifyEmitted":true}); window.ShopifyAnalytics.lib.track("monorail:\/\/trekkie_storefront_viewed_product\/1.1",{"currency":"USD","variantId":46125811564803,"productId":8815889514755,"productGid":"gid:\/\/shopify\/Product\/8815889514755","name":"Single-Minded Service - EPub (ebook)","price":"2.99","sku":"9781645086147","brand":"William Carey Publishing","variant":"EPub (ebook)","category":"Book","nonInteraction":true,"referer":"https:\/\/missionbooks.org\/products\/single-minded-service"}); } }); var eventsListenerScript = document.createElement('script'); eventsListenerScript.async = true; eventsListenerScript.src = "//missionbooks.org/cdn/shopifycloud/shopify/assets/shop_events_listener-bbbf3223c550be0dd72914a2fa06aaa88eb8943e96f9ea31fb63e7e27e0f97f4.js"; document.getElementsByTagName('head')[0].appendChild(eventsListenerScript); })();</script> <script> if (!window.ga || (window.ga && typeof window.ga !== 'function')) { window.ga = function ga() { (window.ga.q = window.ga.q || []).push(arguments); Shopify.analytics.publish("ga_stub_called", {}, {sendTo: "google_osp_migration"}); console.error("Shopify's Google Analytics stub called with:", Array.from(arguments), "\nSee https://help.shopify.com/manual/promoting-marketing/pixels/pixel-migration#google for more information."); }; Shopify.analytics.publish("ga_stub_initialized", {}, {sendTo: "google_osp_migration"}); } </script> <script defer src="https://missionbooks.org/cdn/shopifycloud/perf-kit/shopify-perf-kit-1.4.0.min.js" data-application="storefront-renderer" data-shop-id="5256151158" data-render-region="gcp-asia-southeast1" data-page-type="product" data-theme-instance-id="39295844470" data-monorail-region="shop_domain" data-resource-timing-sampling-rate="10" ></script> </head> <body id="page-product"> <div id="wrapthewrap"> <div id="wrap" class="clearfix"> <div id="shopify-section-header" class="shopify-section"><style type="text/css"> .logo-image-wrap { width: 250px; } </style> <div data-section-type="header"> <style type="text/css"> .announcement { background: #107784; color: #ffffff; } </style> <div class="announcement"> <div class="announcement__inner"> Resources that edify, equip, and empower disciples of Jesus to make disciples of Jesus. </div> </div> <div id="mobile-header"> <button id="toggle-mobile-menu" aria-controls="mobile-nav" aria-label="Open or close menu">Menu<span class="s1"></span><span class="s2"></span><span class="s3"></span></button> <a class="cartitems" href="/cart">Cart (<span class="count">0</span>)</a> <div id="mobile-nav" class="mobile-nav" role="navigation" aria-label="Mobile navigation"> <div class="nav-page active"> <div class="search"> <form action="/search" method="get"> <button tabindex="-1" type="submit" aria-label="Submit"><svg fill="#000000" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"> <title>Search</title> <path d="M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"/> <path d="M0 0h24v24H0z" fill="none"/> </svg></button> <input tabindex="-1" type="text" name="q" id="q" value="" aria-label="Search" placeholder="Search" /> </form> </div><!-- .search --> <ul class="nav"> <li > <a tabindex="-1" href="/">Home</a> </li> <li class="has-children"> <a tabindex="-1" href="/collections/all">Books</a> <button tabindex="-1" class="mobile-expand" data-menu="menu-1-2" aria-haspopup="true" aria-controls="mobile-menu-1-2"> <svg fill="#000000" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"> <title>Right</title> <path class="svg-chevron-shadow" fill="#bbbbbb" d="M8.59 16.64l4.58-4.59-4.58-4.59L10 6.05l6 6-6 6z"/> <path class="svg-chevron-line" fill="#ffffff" d="M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"/> <path class="svg-chevron-bounds" d="M0-.25h24v24H0z" fill="none"/> </svg> </button> </li> <li > <a tabindex="-1" href="/collections/courses">Courses</a> </li> <li class="has-children"> <a tabindex="-1" href="#">Authors</a> <button tabindex="-1" class="mobile-expand" data-menu="menu-1-4" aria-haspopup="true" aria-controls="mobile-menu-1-4"> <svg fill="#000000" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"> <title>Right</title> <path class="svg-chevron-shadow" fill="#bbbbbb" d="M8.59 16.64l4.58-4.59-4.58-4.59L10 6.05l6 6-6 6z"/> <path class="svg-chevron-line" fill="#ffffff" d="M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"/> <path class="svg-chevron-bounds" d="M0-.25h24v24H0z" fill="none"/> </svg> </button> </li> <li class="has-children"> <a tabindex="-1" href="#">About</a> <button tabindex="-1" class="mobile-expand" data-menu="menu-1-5" aria-haspopup="true" aria-controls="mobile-menu-1-5"> <svg fill="#000000" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"> <title>Right</title> <path class="svg-chevron-shadow" fill="#bbbbbb" d="M8.59 16.64l4.58-4.59-4.58-4.59L10 6.05l6 6-6 6z"/> <path class="svg-chevron-line" fill="#ffffff" d="M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"/> <path class="svg-chevron-bounds" d="M0-.25h24v24H0z" fill="none"/> </svg> </button> </li> <li class="has-children"> <a tabindex="-1" href="/pages/contact">Contact</a> <button tabindex="-1" class="mobile-expand" data-menu="menu-1-6" aria-haspopup="true" aria-controls="mobile-menu-1-6"> <svg fill="#000000" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"> <title>Right</title> <path class="svg-chevron-shadow" fill="#bbbbbb" d="M8.59 16.64l4.58-4.59-4.58-4.59L10 6.05l6 6-6 6z"/> <path class="svg-chevron-line" fill="#ffffff" d="M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"/> <path class="svg-chevron-bounds" d="M0-.25h24v24H0z" fill="none"/> </svg> </button> </li> <li > <a tabindex="-1" href="https://missionbooks.org/account/login?checkout_url=%2Fcheckouts%2Fcn%2Fc1-0388e8c983683b11d97d1987d467a4b5%3F_ga%3Dundefined">Login</a> </li> <li > <a tabindex="-1" href="https://missionbooks.org/pages/donation-page">Give</a> </li> </ul> </div> <div class="nav-page" id="mobile-menu-1-2" data-menu="menu-1-2"> <div class="nav-page__header"> <button tabindex="-1" class="mobile-return" aria-label="Return to previous menu" aria-controls="mobile-menu-1-2"><svg fill="#000000" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"> <title>Left</title> <path class="svg-chevron-shadow" fill="#bbbbbb" d="M15.41 16.59l-4.58-4.59 4.58-4.59L14 6.0l-6 6 6 6z"/> <path class="svg-chevron-line" fill="#ffffff" d="M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"/> <path class="svg-chevron-bounds" d="M0-.5h24v24H0z" fill="none"/> </svg></button> <span class="nav-page__header__title"> Books </span> </div> <ul class="nav"> <li class="has-children"> <a tabindex="-1" href="#">Featured</a> <button tabindex="-1" class="mobile-expand" data-menu="menu-2-1" aria-haspopup="true" aria-controls="mobile-menu-2-1"> <svg fill="#000000" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"> <title>Right</title> <path class="svg-chevron-shadow" fill="#bbbbbb" d="M8.59 16.64l4.58-4.59-4.58-4.59L10 6.05l6 6-6 6z"/> <path class="svg-chevron-line" fill="#ffffff" d="M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"/> <path class="svg-chevron-bounds" d="M0-.25h24v24H0z" fill="none"/> </svg> </button> </li> <li class="has-children"> <a tabindex="-1" href="#">Religions & Worldview</a> <button tabindex="-1" class="mobile-expand" data-menu="menu-2-2" aria-haspopup="true" aria-controls="mobile-menu-2-2"> <svg fill="#000000" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"> <title>Right</title> <path class="svg-chevron-shadow" fill="#bbbbbb" d="M8.59 16.64l4.58-4.59-4.58-4.59L10 6.05l6 6-6 6z"/> <path class="svg-chevron-line" fill="#ffffff" d="M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"/> <path class="svg-chevron-bounds" d="M0-.25h24v24H0z" fill="none"/> </svg> </button> </li> <li class="has-children"> <a tabindex="-1" href="#">Region</a> <button tabindex="-1" class="mobile-expand" data-menu="menu-2-3" aria-haspopup="true" aria-controls="mobile-menu-2-3"> <svg fill="#000000" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"> <title>Right</title> <path class="svg-chevron-shadow" fill="#bbbbbb" d="M8.59 16.64l4.58-4.59-4.58-4.59L10 6.05l6 6-6 6z"/> <path class="svg-chevron-line" fill="#ffffff" d="M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"/> <path class="svg-chevron-bounds" d="M0-.25h24v24H0z" fill="none"/> </svg> </button> </li> <li class="has-children"> <a tabindex="-1" href="#">Going</a> <button tabindex="-1" class="mobile-expand" data-menu="menu-2-4" aria-haspopup="true" aria-controls="mobile-menu-2-4"> <svg fill="#000000" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"> <title>Right</title> <path class="svg-chevron-shadow" fill="#bbbbbb" d="M8.59 16.64l4.58-4.59-4.58-4.59L10 6.05l6 6-6 6z"/> <path class="svg-chevron-line" fill="#ffffff" d="M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"/> <path class="svg-chevron-bounds" d="M0-.25h24v24H0z" fill="none"/> </svg> </button> </li> <li class="has-children"> <a tabindex="-1" href="#">Sending & Supporting</a> <button tabindex="-1" class="mobile-expand" data-menu="menu-2-5" aria-haspopup="true" aria-controls="mobile-menu-2-5"> <svg fill="#000000" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"> <title>Right</title> <path class="svg-chevron-shadow" fill="#bbbbbb" d="M8.59 16.64l4.58-4.59-4.58-4.59L10 6.05l6 6-6 6z"/> <path class="svg-chevron-line" fill="#ffffff" d="M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"/> <path class="svg-chevron-bounds" d="M0-.25h24v24H0z" fill="none"/> </svg> </button> </li> <li class="has-children"> <a tabindex="-1" href="#">General Missiology</a> <button tabindex="-1" class="mobile-expand" data-menu="menu-2-6" aria-haspopup="true" aria-controls="mobile-menu-2-6"> <svg fill="#000000" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"> <title>Right</title> <path class="svg-chevron-shadow" fill="#bbbbbb" d="M8.59 16.64l4.58-4.59-4.58-4.59L10 6.05l6 6-6 6z"/> <path class="svg-chevron-line" fill="#ffffff" d="M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"/> <path class="svg-chevron-bounds" d="M0-.25h24v24H0z" fill="none"/> </svg> </button> </li> <li class="has-children"> <a tabindex="-1" href="#">Perspectives</a> <button tabindex="-1" class="mobile-expand" data-menu="menu-2-7" aria-haspopup="true" aria-controls="mobile-menu-2-7"> <svg fill="#000000" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"> <title>Right</title> <path class="svg-chevron-shadow" fill="#bbbbbb" d="M8.59 16.64l4.58-4.59-4.58-4.59L10 6.05l6 6-6 6z"/> <path class="svg-chevron-line" fill="#ffffff" d="M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"/> <path class="svg-chevron-bounds" d="M0-.25h24v24H0z" fill="none"/> </svg> </button> </li> <li class="has-children"> <a tabindex="-1" href="#">Series</a> <button tabindex="-1" class="mobile-expand" data-menu="menu-2-8" aria-haspopup="true" aria-controls="mobile-menu-2-8"> <svg fill="#000000" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"> <title>Right</title> <path class="svg-chevron-shadow" fill="#bbbbbb" d="M8.59 16.64l4.58-4.59-4.58-4.59L10 6.05l6 6-6 6z"/> <path class="svg-chevron-line" fill="#ffffff" d="M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"/> <path class="svg-chevron-bounds" d="M0-.25h24v24H0z" fill="none"/> </svg> </button> </li> <li class="has-children"> <a tabindex="-1" href="#">Other</a> <button tabindex="-1" class="mobile-expand" data-menu="menu-2-9" aria-haspopup="true" aria-controls="mobile-menu-2-9"> <svg fill="#000000" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"> <title>Right</title> <path class="svg-chevron-shadow" fill="#bbbbbb" d="M8.59 16.64l4.58-4.59-4.58-4.59L10 6.05l6 6-6 6z"/> <path class="svg-chevron-line" fill="#ffffff" d="M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"/> <path class="svg-chevron-bounds" d="M0-.25h24v24H0z" fill="none"/> </svg> </button> </li> </ul> </div> <div class="nav-page" id="mobile-menu-1-4" data-menu="menu-1-4"> <div class="nav-page__header"> <button tabindex="-1" class="mobile-return" aria-label="Return to previous menu" aria-controls="mobile-menu-1-4"><svg fill="#000000" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"> <title>Left</title> <path class="svg-chevron-shadow" fill="#bbbbbb" d="M15.41 16.59l-4.58-4.59 4.58-4.59L14 6.0l-6 6 6 6z"/> <path class="svg-chevron-line" fill="#ffffff" d="M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"/> <path class="svg-chevron-bounds" d="M0-.5h24v24H0z" fill="none"/> </svg></button> <span class="nav-page__header__title"> Authors </span> </div> <ul class="nav"> <li > <a tabindex="-1" href="/pages/authors">Authors A-Z</a> </li> <li class="has-children"> <a tabindex="-1" href="#">Contact an Author</a> <button tabindex="-1" class="mobile-expand" data-menu="menu-4-2" aria-haspopup="true" aria-controls="mobile-menu-4-2"> <svg fill="#000000" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"> <title>Right</title> <path class="svg-chevron-shadow" fill="#bbbbbb" d="M8.59 16.64l4.58-4.59-4.58-4.59L10 6.05l6 6-6 6z"/> <path class="svg-chevron-line" fill="#ffffff" d="M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"/> <path class="svg-chevron-bounds" d="M0-.25h24v24H0z" fill="none"/> </svg> </button> </li> </ul> </div> <div class="nav-page" id="mobile-menu-1-5" data-menu="menu-1-5"> <div class="nav-page__header"> <button tabindex="-1" class="mobile-return" aria-label="Return to previous menu" aria-controls="mobile-menu-1-5"><svg fill="#000000" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"> <title>Left</title> <path class="svg-chevron-shadow" fill="#bbbbbb" d="M15.41 16.59l-4.58-4.59 4.58-4.59L14 6.0l-6 6 6 6z"/> <path class="svg-chevron-line" fill="#ffffff" d="M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"/> <path class="svg-chevron-bounds" d="M0-.5h24v24H0z" fill="none"/> </svg></button> <span class="nav-page__header__title"> About </span> </div> <ul class="nav"> <li > <a tabindex="-1" href="/pages/about-william-carey-publishing">About</a> </li> <li > <a tabindex="-1" href="/blogs/news">Blog</a> </li> <li > <a tabindex="-1" href="/pages/mission-and-vision">Mission and Vision</a> </li> <li > <a tabindex="-1" href="/pages/submission-guidelines">Submission Guidelines</a> </li> <li > <a tabindex="-1" href="https://missionbooks.org/pages/faqs">Frequently Asked Questions</a> </li> <li > <a tabindex="-1" href="/pages/imprints">Imprints</a> </li> <li > <a tabindex="-1" href="/pages/permissions">Permissions</a> </li> <li > <a tabindex="-1" href="/pages/translations-rights-requests">Translations & Rights Requests</a> </li> </ul> </div> <div class="nav-page" id="mobile-menu-1-6" data-menu="menu-1-6"> <div class="nav-page__header"> <button tabindex="-1" class="mobile-return" aria-label="Return to previous menu" aria-controls="mobile-menu-1-6"><svg fill="#000000" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"> <title>Left</title> <path class="svg-chevron-shadow" fill="#bbbbbb" d="M15.41 16.59l-4.58-4.59 4.58-4.59L14 6.0l-6 6 6 6z"/> <path class="svg-chevron-line" fill="#ffffff" d="M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"/> <path class="svg-chevron-bounds" d="M0-.5h24v24H0z" fill="none"/> </svg></button> <span class="nav-page__header__title"> Contact </span> </div> <ul class="nav"> <li > <a tabindex="-1" href="https://missionbooks.org/pages/contact">General Inquiries</a> </li> <li > <a tabindex="-1" href="https://missionbooks.org/pages/international-order-form">International Order Form</a> </li> <li > <a tabindex="-1" href="https://cdn.shopify.com/s/files/1/0052/5615/1158/files/Business_Application_WCP-1.pdf?v=1711567084">Business Account Application</a> </li> </ul> </div> <div class="nav-page" id="mobile-menu-2-1" data-menu="menu-2-1"> <div class="nav-page__header"> <button tabindex="-1" class="mobile-return" aria-label="Return to previous menu" aria-controls="mobile-menu-2-1"><svg fill="#000000" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"> <title>Left</title> <path class="svg-chevron-shadow" fill="#bbbbbb" d="M15.41 16.59l-4.58-4.59 4.58-4.59L14 6.0l-6 6 6 6z"/> <path class="svg-chevron-line" fill="#ffffff" d="M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"/> <path class="svg-chevron-bounds" d="M0-.5h24v24H0z" fill="none"/> </svg></button> <span class="nav-page__header__title"> Featured </span> </div> <ul class="nav"> <li> <a tabindex="-1" href="/collections/best-sellers">Best Sellers</a> </li> <li> <a tabindex="-1" href="/collections/new-releases">New Releases</a> </li> </ul> </div> <div class="nav-page" id="mobile-menu-2-2" data-menu="menu-2-2"> <div class="nav-page__header"> <button tabindex="-1" class="mobile-return" aria-label="Return to previous menu" aria-controls="mobile-menu-2-2"><svg fill="#000000" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"> <title>Left</title> <path class="svg-chevron-shadow" fill="#bbbbbb" d="M15.41 16.59l-4.58-4.59 4.58-4.59L14 6.0l-6 6 6 6z"/> <path class="svg-chevron-line" fill="#ffffff" d="M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"/> <path class="svg-chevron-bounds" d="M0-.5h24v24H0z" fill="none"/> </svg></button> <span class="nav-page__header__title"> Religions & Worldview </span> </div> <ul class="nav"> <li> <a tabindex="-1" href="/collections/animism-1">Animism</a> </li> <li> <a tabindex="-1" href="/collections/buddhism">Buddhism</a> </li> <li> <a tabindex="-1" href="/collections/confucianism">Confucianism</a> </li> <li> <a tabindex="-1" href="/collections/hinduism-1">Hinduism</a> </li> <li> <a tabindex="-1" href="/collections/islam">Islam</a> </li> <li> <a tabindex="-1" href="/collections/secularism">Secularism</a> </li> </ul> </div> <div class="nav-page" id="mobile-menu-2-3" data-menu="menu-2-3"> <div class="nav-page__header"> <button tabindex="-1" class="mobile-return" aria-label="Return to previous menu" aria-controls="mobile-menu-2-3"><svg fill="#000000" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"> <title>Left</title> <path class="svg-chevron-shadow" fill="#bbbbbb" d="M15.41 16.59l-4.58-4.59 4.58-4.59L14 6.0l-6 6 6 6z"/> <path class="svg-chevron-line" fill="#ffffff" d="M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"/> <path class="svg-chevron-bounds" d="M0-.5h24v24H0z" fill="none"/> </svg></button> <span class="nav-page__header__title"> Region </span> </div> <ul class="nav"> <li> <a tabindex="-1" href="/collections/africa">Africa</a> </li> <li> <a tabindex="-1" href="/collections/east-asia">East Asia</a> </li> <li> <a tabindex="-1" href="/collections/latin-and-south-america">Latin & South America</a> </li> <li> <a tabindex="-1" href="/collections/mena-middle-east-and-north-africa">Middle East & North Africa</a> </li> <li> <a tabindex="-1" href="/collections/north-america-and-europe">North America & Europe</a> </li> <li> <a tabindex="-1" href="/collections/south-asia">South Asia</a> </li> <li> <a tabindex="-1" href="/collections/southeast-asia">Southeast Asia</a> </li> <li> <a tabindex="-1" href="/collections/refugees-and-diaspora">Refugees & Diaspora</a> </li> </ul> </div> <div class="nav-page" id="mobile-menu-2-4" data-menu="menu-2-4"> <div class="nav-page__header"> <button tabindex="-1" class="mobile-return" aria-label="Return to previous menu" aria-controls="mobile-menu-2-4"><svg fill="#000000" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"> <title>Left</title> <path class="svg-chevron-shadow" fill="#bbbbbb" d="M15.41 16.59l-4.58-4.59 4.58-4.59L14 6.0l-6 6 6 6z"/> <path class="svg-chevron-line" fill="#ffffff" d="M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"/> <path class="svg-chevron-bounds" d="M0-.5h24v24H0z" fill="none"/> </svg></button> <span class="nav-page__header__title"> Going </span> </div> <ul class="nav"> <li> <a tabindex="-1" href="/collections/crossing-cultures-contextualization">Crossing Cultures & Contextualization</a> </li> <li> <a tabindex="-1" href="/collections/evangelism-church-planting">Evangelism & Church Planting</a> </li> <li> <a tabindex="-1" href="/collections/family-teaming">Family & Teaming</a> </li> <li> <a tabindex="-1" href="/collections/leadership-and-training">Leadership & Training</a> </li> <li> <a tabindex="-1" href="https://missionbooks.org/collections/orality">Orality</a> </li> <li> <a tabindex="-1" href="/collections/practical-outreach">Practical Outreach</a> </li> <li> <a tabindex="-1" href="/collections/spiritual-formation-1">Spiritual Formation</a> </li> </ul> </div> <div class="nav-page" id="mobile-menu-2-5" data-menu="menu-2-5"> <div class="nav-page__header"> <button tabindex="-1" class="mobile-return" aria-label="Return to previous menu" aria-controls="mobile-menu-2-5"><svg fill="#000000" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"> <title>Left</title> <path class="svg-chevron-shadow" fill="#bbbbbb" d="M15.41 16.59l-4.58-4.59 4.58-4.59L14 6.0l-6 6 6 6z"/> <path class="svg-chevron-line" fill="#ffffff" d="M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"/> <path class="svg-chevron-bounds" d="M0-.5h24v24H0z" fill="none"/> </svg></button> <span class="nav-page__header__title"> Sending & Supporting </span> </div> <ul class="nav"> <li> <a tabindex="-1" href="/collections/member-care-1">Member Care</a> </li> <li> <a tabindex="-1" href="/collections/mobilization-1">Mobilization</a> </li> <li> <a tabindex="-1" href="/collections/preparing-and-returning">Preparing & Returning</a> </li> </ul> </div> <div class="nav-page" id="mobile-menu-2-6" data-menu="menu-2-6"> <div class="nav-page__header"> <button tabindex="-1" class="mobile-return" aria-label="Return to previous menu" aria-controls="mobile-menu-2-6"><svg fill="#000000" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"> <title>Left</title> <path class="svg-chevron-shadow" fill="#bbbbbb" d="M15.41 16.59l-4.58-4.59 4.58-4.59L14 6.0l-6 6 6 6z"/> <path class="svg-chevron-line" fill="#ffffff" d="M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"/> <path class="svg-chevron-bounds" d="M0-.5h24v24H0z" fill="none"/> </svg></button> <span class="nav-page__header__title"> General Missiology </span> </div> <ul class="nav"> <li> <a tabindex="-1" href="/collections/history-biography">History & Biography</a> </li> <li> <a tabindex="-1" href="/collections/people-of-color">People of Color</a> </li> <li> <a tabindex="-1" href="/collections/theology-and-missiology">Theology & Missiology</a> </li> <li> <a tabindex="-1" href="/collections/women-missions">Women & Missions</a> </li> <li> <a tabindex="-1" href="/collections/special-focus">Special Topics</a> </li> </ul> </div> <div class="nav-page" id="mobile-menu-2-7" data-menu="menu-2-7"> <div class="nav-page__header"> <button tabindex="-1" class="mobile-return" aria-label="Return to previous menu" aria-controls="mobile-menu-2-7"><svg fill="#000000" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"> <title>Left</title> <path class="svg-chevron-shadow" fill="#bbbbbb" d="M15.41 16.59l-4.58-4.59 4.58-4.59L14 6.0l-6 6 6 6z"/> <path class="svg-chevron-line" fill="#ffffff" d="M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"/> <path class="svg-chevron-bounds" d="M0-.5h24v24H0z" fill="none"/> </svg></button> <span class="nav-page__header__title"> Perspectives </span> </div> <ul class="nav"> <li> <a tabindex="-1" href="/collections/perspectives-all-languages">Perspectives</a> </li> <li> <a tabindex="-1" href="https://missionbooks.org/collections/perspectives-student-editions">USA Students</a> </li> <li> <a tabindex="-1" href="https://missionbooks.org/collections/perspectives-canada">Canada Students</a> </li> <li> <a tabindex="-1" href="https://missionbooks.org/collections/perspectives-europe">Europe Students</a> </li> <li> <a tabindex="-1" href="https://missionbooks.org/collections/perspectives-global">Global Students</a> </li> <li> <a tabindex="-1" href="/collections/next-steps-collection">Next Steps- Alumni</a> </li> </ul> </div> <div class="nav-page" id="mobile-menu-2-8" data-menu="menu-2-8"> <div class="nav-page__header"> <button tabindex="-1" class="mobile-return" aria-label="Return to previous menu" aria-controls="mobile-menu-2-8"><svg fill="#000000" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"> <title>Left</title> <path class="svg-chevron-shadow" fill="#bbbbbb" d="M15.41 16.59l-4.58-4.59 4.58-4.59L14 6.0l-6 6 6 6z"/> <path class="svg-chevron-line" fill="#ffffff" d="M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"/> <path class="svg-chevron-bounds" d="M0-.5h24v24H0z" fill="none"/> </svg></button> <span class="nav-page__header__title"> Series </span> </div> <ul class="nav"> <li> <a tabindex="-1" href="/collections/alan-r-tippett-series">Alan R. Tippett</a> </li> <li> <a tabindex="-1" href="/collections/the-china-chronicles">China Chronicles</a> </li> <li> <a tabindex="-1" href="/collections/ems-series">EMS</a> </li> <li> <a tabindex="-1" href="https://missionbooks.org/collections/global-member-care-series">Global Member Care</a> </li> <li> <a tabindex="-1" href="https://missionbooks.org/collections/kgmlf">KGMLF</a> </li> <li> <a tabindex="-1" href="https://missionbooks.org/collections/reading-missiologically-series">Reading the Bible Missiologically</a> </li> <li> <a tabindex="-1" href="/collections/seanet">SEANET</a> </li> <li> <a tabindex="-1" href="/collections/snapshot-series">Snapshot</a> </li> <li> <a tabindex="-1" href="/collections/wea">WEA</a> </li> </ul> </div> <div class="nav-page" id="mobile-menu-2-9" data-menu="menu-2-9"> <div class="nav-page__header"> <button tabindex="-1" class="mobile-return" aria-label="Return to previous menu" aria-controls="mobile-menu-2-9"><svg fill="#000000" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"> <title>Left</title> <path class="svg-chevron-shadow" fill="#bbbbbb" d="M15.41 16.59l-4.58-4.59 4.58-4.59L14 6.0l-6 6 6 6z"/> <path class="svg-chevron-line" fill="#ffffff" d="M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"/> <path class="svg-chevron-bounds" d="M0-.5h24v24H0z" fill="none"/> </svg></button> <span class="nav-page__header__title"> Other </span> </div> <ul class="nav"> <li> <a tabindex="-1" href="https://missionbooks.org/collections/non-english-resources">Non-English Resources</a> </li> <li> <a tabindex="-1" href="/collections/free-resources">Free Resources</a> </li> <li> <a tabindex="-1" href="/products/gift-card">Gift Cards</a> </li> <li> <a tabindex="-1" href="/collections/magazines">Magazines</a> </li> </ul> </div> <div class="nav-page" id="mobile-menu-4-2" data-menu="menu-4-2"> <div class="nav-page__header"> <button tabindex="-1" class="mobile-return" aria-label="Return to previous menu" aria-controls="mobile-menu-4-2"><svg fill="#000000" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"> <title>Left</title> <path class="svg-chevron-shadow" fill="#bbbbbb" d="M15.41 16.59l-4.58-4.59 4.58-4.59L14 6.0l-6 6 6 6z"/> <path class="svg-chevron-line" fill="#ffffff" d="M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"/> <path class="svg-chevron-bounds" d="M0-.5h24v24H0z" fill="none"/> </svg></button> <span class="nav-page__header__title"> Contact an Author </span> </div> <ul class="nav"> <li> <a tabindex="-1" href="/pages/write-to-an-author">Write to an Author</a> </li> <li> <a tabindex="-1" href="/pages/book-an-author-to-speak">Book an Author to Speak</a> </li> <li> <a tabindex="-1" href="/pages/request-an-author-interview">Request an Author Interview</a> </li> </ul> </div> </div> </div> <a href="#" class="cover-all toggle-mobile-menu"></a> <div id="header" class="container clearfix"> <div id="shoplogo" class="centered"> <a class="logo-image-wrap" href="/" title="MissionBooks.org"><img src="//missionbooks.org/cdn/shop/files/WCP_wo-com_Teal.png?v=1639428922" alt="" /></a> </div><!-- #shoplogo --> <div class="header-upper-right"> <ul class="social-links plain"> <li><a title="Twitter" class="twitter" target="_blank" href="https://twitter.com/wcpbooks"><svg width="48px" height="40px" viewBox="0 0 48 40" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> <title>Twitter</title> <defs></defs> <g id="Icons" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"> <g id="Black" transform="translate(-240.000000, -299.000000)" fill="#000000"> <path d="M288,303.735283 C286.236309,304.538462 284.337383,305.081618 282.345483,305.324305 C284.379644,304.076201 285.940482,302.097147 286.675823,299.739617 C284.771263,300.895269 282.666667,301.736006 280.418384,302.18671 C278.626519,300.224991 276.065504,299 273.231203,299 C267.796443,299 263.387216,303.521488 263.387216,309.097508 C263.387216,309.88913 263.471738,310.657638 263.640782,311.397255 C255.456242,310.975442 248.201444,306.959552 243.341433,300.843265 C242.493397,302.339834 242.008804,304.076201 242.008804,305.925244 C242.008804,309.426869 243.747139,312.518238 246.389857,314.329722 C244.778306,314.280607 243.256911,313.821235 241.9271,313.070061 L241.9271,313.194294 C241.9271,318.08848 245.322064,322.17082 249.8299,323.095341 C249.004402,323.33225 248.133826,323.450704 247.235077,323.450704 C246.601162,323.450704 245.981335,323.390033 245.381229,323.271578 C246.634971,327.28169 250.269414,330.2026 254.580032,330.280607 C251.210424,332.99061 246.961789,334.605634 242.349709,334.605634 C241.555203,334.605634 240.769149,334.559408 240,334.466956 C244.358514,337.327194 249.53689,339 255.095615,339 C273.211481,339 283.114633,323.615385 283.114633,310.270495 C283.114633,309.831347 283.106181,309.392199 283.089276,308.961719 C285.013559,307.537378 286.684275,305.760563 288,303.735283" id="Twitter"></path> </g> <g id="Credit" transform="translate(-1332.000000, -476.000000)"></g> </g> </svg></a></li> <li><a title="Facebook" class="facebook" target="_blank" href="https://www.facebook.com/williamcareypublishing/"><svg width="48px" height="48px" viewBox="0 0 48 48" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> <title>Facebook</title> <defs></defs> <g id="Icons" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"> <g id="Black" transform="translate(-325.000000, -295.000000)" fill="#000000"> <path d="M350.638355,343 L327.649232,343 C326.185673,343 325,341.813592 325,340.350603 L325,297.649211 C325,296.18585 326.185859,295 327.649232,295 L370.350955,295 C371.813955,295 373,296.18585 373,297.649211 L373,340.350603 C373,341.813778 371.813769,343 370.350955,343 L358.119305,343 L358.119305,324.411755 L364.358521,324.411755 L365.292755,317.167586 L358.119305,317.167586 L358.119305,312.542641 C358.119305,310.445287 358.701712,309.01601 361.70929,309.01601 L365.545311,309.014333 L365.545311,302.535091 C364.881886,302.446808 362.604784,302.24957 359.955552,302.24957 C354.424834,302.24957 350.638355,305.625526 350.638355,311.825209 L350.638355,317.167586 L344.383122,317.167586 L344.383122,324.411755 L350.638355,324.411755 L350.638355,343 L350.638355,343 Z" id="Facebook"></path> </g> <g id="Credit" transform="translate(-1417.000000, -472.000000)"></g> </g> </svg></a></li> <li><a title="Youtube" class="youtube" target="_blank" href="https://www.youtube.com/results?search_query=william+carey+Publishing"><svg width="48px" height="34px" viewBox="0 0 48 34" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> <title>Youtube</title> <defs></defs> <g id="Icons" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"> <g id="Black" transform="translate(-567.000000, -302.000000)" fill="#000000"> <path d="M586.044,325.269916 L586.0425,311.687742 L599.0115,318.502244 L586.044,325.269916 Z M614.52,309.334163 C614.52,309.334163 614.0505,306.003199 612.612,304.536366 C610.7865,302.610299 608.7405,302.601235 607.803,302.489448 C601.086,302 591.0105,302 591.0105,302 L590.9895,302 C590.9895,302 580.914,302 574.197,302.489448 C573.258,302.601235 571.2135,302.610299 569.3865,304.536366 C567.948,306.003199 567.48,309.334163 567.48,309.334163 C567.48,309.334163 567,313.246723 567,317.157773 L567,320.82561 C567,324.73817 567.48,328.64922 567.48,328.64922 C567.48,328.64922 567.948,331.980184 569.3865,333.447016 C571.2135,335.373084 573.612,335.312658 574.68,335.513574 C578.52,335.885191 591,336 591,336 C591,336 601.086,335.984894 607.803,335.495446 C608.7405,335.382148 610.7865,335.373084 612.612,333.447016 C614.0505,331.980184 614.52,328.64922 614.52,328.64922 C614.52,328.64922 615,324.73817 615,320.82561 L615,317.157773 C615,313.246723 614.52,309.334163 614.52,309.334163 L614.52,309.334163 Z" id="Youtube"></path> </g> <g id="Credit" transform="translate(-1659.000000, -479.000000)"></g> </g> </svg></a></li> <li><a title="Instagram" class="instagram" target="_blank" href="https://instagram.com/wcpbooks"><svg width="48px" height="48px" viewBox="0 0 48 48" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> <title>Instagram</title> <defs></defs> <g id="Icons" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"> <g id="Black" transform="translate(-642.000000, -295.000000)" fill="#000000"> <path d="M666.000048,295 C659.481991,295 658.664686,295.027628 656.104831,295.144427 C653.550311,295.260939 651.805665,295.666687 650.279088,296.260017 C648.700876,296.873258 647.362454,297.693897 646.028128,299.028128 C644.693897,300.362454 643.873258,301.700876 643.260017,303.279088 C642.666687,304.805665 642.260939,306.550311 642.144427,309.104831 C642.027628,311.664686 642,312.481991 642,319.000048 C642,325.518009 642.027628,326.335314 642.144427,328.895169 C642.260939,331.449689 642.666687,333.194335 643.260017,334.720912 C643.873258,336.299124 644.693897,337.637546 646.028128,338.971872 C647.362454,340.306103 648.700876,341.126742 650.279088,341.740079 C651.805665,342.333313 653.550311,342.739061 656.104831,342.855573 C658.664686,342.972372 659.481991,343 666.000048,343 C672.518009,343 673.335314,342.972372 675.895169,342.855573 C678.449689,342.739061 680.194335,342.333313 681.720912,341.740079 C683.299124,341.126742 684.637546,340.306103 685.971872,338.971872 C687.306103,337.637546 688.126742,336.299124 688.740079,334.720912 C689.333313,333.194335 689.739061,331.449689 689.855573,328.895169 C689.972372,326.335314 690,325.518009 690,319.000048 C690,312.481991 689.972372,311.664686 689.855573,309.104831 C689.739061,306.550311 689.333313,304.805665 688.740079,303.279088 C688.126742,301.700876 687.306103,300.362454 685.971872,299.028128 C684.637546,297.693897 683.299124,296.873258 681.720912,296.260017 C680.194335,295.666687 678.449689,295.260939 675.895169,295.144427 C673.335314,295.027628 672.518009,295 666.000048,295 Z M666.000048,299.324317 C672.40826,299.324317 673.167356,299.348801 675.69806,299.464266 C678.038036,299.570966 679.308818,299.961946 680.154513,300.290621 C681.274771,300.725997 682.074262,301.246066 682.91405,302.08595 C683.753934,302.925738 684.274003,303.725229 684.709379,304.845487 C685.038054,305.691182 685.429034,306.961964 685.535734,309.30194 C685.651199,311.832644 685.675683,312.59174 685.675683,319.000048 C685.675683,325.40826 685.651199,326.167356 685.535734,328.69806 C685.429034,331.038036 685.038054,332.308818 684.709379,333.154513 C684.274003,334.274771 683.753934,335.074262 682.91405,335.91405 C682.074262,336.753934 681.274771,337.274003 680.154513,337.709379 C679.308818,338.038054 678.038036,338.429034 675.69806,338.535734 C673.167737,338.651199 672.408736,338.675683 666.000048,338.675683 C659.591264,338.675683 658.832358,338.651199 656.30194,338.535734 C653.961964,338.429034 652.691182,338.038054 651.845487,337.709379 C650.725229,337.274003 649.925738,336.753934 649.08595,335.91405 C648.246161,335.074262 647.725997,334.274771 647.290621,333.154513 C646.961946,332.308818 646.570966,331.038036 646.464266,328.69806 C646.348801,326.167356 646.324317,325.40826 646.324317,319.000048 C646.324317,312.59174 646.348801,311.832644 646.464266,309.30194 C646.570966,306.961964 646.961946,305.691182 647.290621,304.845487 C647.725997,303.725229 648.246066,302.925738 649.08595,302.08595 C649.925738,301.246066 650.725229,300.725997 651.845487,300.290621 C652.691182,299.961946 653.961964,299.570966 656.30194,299.464266 C658.832644,299.348801 659.59174,299.324317 666.000048,299.324317 Z M666.000048,306.675683 C659.193424,306.675683 653.675683,312.193424 653.675683,319.000048 C653.675683,325.806576 659.193424,331.324317 666.000048,331.324317 C672.806576,331.324317 678.324317,325.806576 678.324317,319.000048 C678.324317,312.193424 672.806576,306.675683 666.000048,306.675683 Z M666.000048,327 C661.581701,327 658,323.418299 658,319.000048 C658,314.581701 661.581701,311 666.000048,311 C670.418299,311 674,314.581701 674,319.000048 C674,323.418299 670.418299,327 666.000048,327 Z M681.691284,306.188768 C681.691284,307.779365 680.401829,309.068724 678.811232,309.068724 C677.22073,309.068724 675.931276,307.779365 675.931276,306.188768 C675.931276,304.598171 677.22073,303.308716 678.811232,303.308716 C680.401829,303.308716 681.691284,304.598171 681.691284,306.188768 Z" id="Instagram"></path> </g> <g id="Credit" transform="translate(-1734.000000, -472.000000)"></g> </g> </svg></a></li> </ul> </div> <div id="navblock" class="clearfix"> <div class="searchcartwrap"> <div class="search"> <form action="/search" method="get"> <button type="submit" aria-label="Submit"><svg fill="#000000" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"> <title>Search</title> <path d="M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"/> <path d="M0 0h24v24H0z" fill="none"/> </svg></button> <input type="text" name="q" id="q" value="" aria-label="Search" placeholder="Search" /> </form> </div> <!-- .search --> <div id="cart"> <div class="inner"> <a class="cartitems" href="/cart">Cart (<span class="count">0</span>)</a> </div> </div> <!-- #cart --> </div> <div class="menu-wrapper" role="wcl-navigation "> <ul class="wcl-nav " role="menubar "> <li role="menuitem "><a href="/">Home</a> </li> <li role="menuitem "><a href="/collections/all">Books</a> <div class="mega-menu " id="bookmega" aria-hidden="true " role="menu "> <div class="wcl-nav-column "> <a href=""><h3>Featured</h3></a> <ul class="notelese"> <li role="menuitem "><a href= "/collections/best-sellers">Best Sellers</a></li> <li role="menuitem "><a href= "/collections/new-releases">New Releases</a></li> </ul> <a href=""><h3>Religions & Worldview</h3></a> <ul class="notelese"> <li role="menuitem "><a href= "/collections/animism-1">Animism</a></li> <li role="menuitem "><a href= "/collections/buddhism">Buddhism</a></li> <li role="menuitem "><a href= "/collections/confucianism">Confucianism</a></li> <li role="menuitem "><a href= "/collections/hinduism-1">Hinduism</a></li> <li role="menuitem "><a href= "/collections/islam">Islam</a></li> <li role="menuitem "><a href= "/collections/secularism">Secularism</a></li> </ul> </div> <div class="wcl-nav-column "> <a href=""><h3>Region</h3></a> <ul class="notelese"> <li role="menuitem "><a href= "/collections/africa">Africa</a></li> <li role="menuitem "><a href= "/collections/east-asia">East Asia</a></li> <li role="menuitem "><a href= "/collections/latin-and-south-america">Latin & South America</a></li> <li role="menuitem "><a href= "/collections/mena-middle-east-and-north-africa">Middle East & North Africa</a></li> <li role="menuitem "><a href= "/collections/north-america-and-europe">North America & Europe</a></li> <li role="menuitem "><a href= "/collections/south-asia">South Asia</a></li> <li role="menuitem "><a href= "/collections/southeast-asia">Southeast Asia</a></li> <li role="menuitem "><a href= "/collections/refugees-and-diaspora">Refugees & Diaspora</a></li> </ul> <a href=""><h3>Going</h3></a> <ul class="notelese"> <li role="menuitem "><a href= "/collections/crossing-cultures-contextualization">Crossing Cultures & Contextualization</a></li> <li role="menuitem "><a href= "/collections/evangelism-church-planting">Evangelism & Church Planting</a></li> <li role="menuitem "><a href= "/collections/family-teaming">Family & Teaming</a></li> <li role="menuitem "><a href= "/collections/leadership-and-training">Leadership & Training</a></li> <li role="menuitem "><a href= "https://missionbooks.org/collections/orality">Orality</a></li> <li role="menuitem "><a href= "/collections/practical-outreach">Practical Outreach</a></li> <li role="menuitem "><a href= "/collections/spiritual-formation-1">Spiritual Formation</a></li> </ul> </div> <div class="wcl-nav-column "> <a href=""><h3>Sending & Supporting</h3></a> <ul class="notelese"> <li role="menuitem "><a href= "/collections/member-care-1">Member Care</a></li> <li role="menuitem "><a href= "/collections/mobilization-1">Mobilization</a></li> <li role="menuitem "><a href= "/collections/preparing-and-returning">Preparing & Returning</a></li> </ul> <a href=""><h3>General Missiology</h3></a> <ul class="notelese"> <li role="menuitem "><a href= "/collections/history-biography">History & Biography</a></li> <li role="menuitem "><a href= "/collections/people-of-color">People of Color</a></li> <li role="menuitem "><a href= "/collections/theology-and-missiology">Theology & Missiology</a></li> <li role="menuitem "><a href= "/collections/women-missions">Women & Missions</a></li> <li role="menuitem "><a href= "/collections/special-focus">Special Topics</a></li> </ul> </div> <div class="wcl-nav-column "> <a href=""><h3>Perspectives</h3></a> <ul class="notelese"> <li role="menuitem "><a href= "/collections/perspectives-all-languages">Perspectives</a></li> <li role="menuitem "><a href= "https://missionbooks.org/collections/perspectives-student-editions">USA Students</a></li> <li role="menuitem "><a href= "https://missionbooks.org/collections/perspectives-canada">Canada Students</a></li> <li role="menuitem "><a href= "https://missionbooks.org/collections/perspectives-europe">Europe Students</a></li> <li role="menuitem "><a href= "https://missionbooks.org/collections/perspectives-global">Global Students</a></li> <li role="menuitem "><a href= "/collections/next-steps-collection">Next Steps- Alumni</a></li> </ul> <a href=""><h3>Series</h3></a> <ul class="notelese"> <li role="menuitem "><a href= "/collections/alan-r-tippett-series">Alan R. Tippett</a></li> <li role="menuitem "><a href= "/collections/the-china-chronicles">China Chronicles</a></li> <li role="menuitem "><a href= "/collections/ems-series">EMS</a></li> <li role="menuitem "><a href= "https://missionbooks.org/collections/global-member-care-series">Global Member Care</a></li> <li role="menuitem "><a href= "https://missionbooks.org/collections/kgmlf">KGMLF</a></li> <li role="menuitem "><a href= "https://missionbooks.org/collections/reading-missiologically-series">Reading the Bible Missiologically</a></li> <li role="menuitem "><a href= "/collections/seanet">SEANET</a></li> <li role="menuitem "><a href= "/collections/snapshot-series">Snapshot</a></li> <li role="menuitem "><a href= "/collections/wea">WEA</a></li> </ul> </div> <div class="wcl-nav-column "> <a href=""><h3>Other</h3></a> <ul class="notelese"> <li role="menuitem "><a href= "https://missionbooks.org/collections/non-english-resources">Non-English Resources</a></li> <li role="menuitem "><a href= "/collections/free-resources">Free Resources</a></li> <li role="menuitem "><a href= "/products/gift-card">Gift Cards</a></li> <li role="menuitem "><a href= "/collections/magazines">Magazines</a></li> </ul> </div> </li> <li role="menuitem "><a href="/collections/courses">Courses</a> </li> <li role="menuitem "><a href="#">Authors</a> <div class="mega-menu " aria-hidden="true " role="menu "> <div class="wcl-nav-column "> <ul class="else"> <li><a href= "/pages/authors">Authors A-Z</a></li> <h3>Contact an Author</h3> <ul> <li role="menuitem "><a href= "/pages/write-to-an-author">Write to an Author</a></li> <li role="menuitem "><a href= "/pages/book-an-author-to-speak">Book an Author to Speak</a></li> <li role="menuitem "><a href= "/pages/request-an-author-interview">Request an Author Interview</a></li> </ul> </ul> </div> </div> </li> <li role="menuitem "><a href="#">About</a> <div class="mega-menu " aria-hidden="true " role="menu "> <div class="wcl-nav-column "> <ul class="else"> <li><a href= "/pages/about-william-carey-publishing">About</a></li> <li><a href= "/blogs/news">Blog</a></li> <li><a href= "/pages/mission-and-vision">Mission and Vision</a></li> <li><a href= "/pages/submission-guidelines">Submission Guidelines</a></li> <li><a href= "https://missionbooks.org/pages/faqs">Frequently Asked Questions</a></li> <li><a href= "/pages/imprints">Imprints</a></li> <li><a href= "/pages/permissions">Permissions</a></li> <li><a href= "/pages/translations-rights-requests">Translations & Rights Requests</a></li> </ul> </div> </div> </li> <li role="menuitem "><a href="/pages/contact">Contact</a> <div class="mega-menu " aria-hidden="true " role="menu "> <div class="wcl-nav-column "> <ul class="else"> <li><a href= "https://missionbooks.org/pages/contact">General Inquiries</a></li> <li><a href= "https://missionbooks.org/pages/international-order-form">International Order Form</a></li> <li><a href= "https://cdn.shopify.com/s/files/1/0052/5615/1158/files/Business_Application_WCP-1.pdf?v=1711567084">Business Account Application</a></li> </ul> </div> </div> </li> <li role="menuitem "><a href="https://missionbooks.org/account/login?checkout_url=%2Fcheckouts%2Fcn%2Fc1-0388e8c983683b11d97d1987d467a4b5%3F_ga%3Dundefined">Login</a> </li> <li role="menuitem "><a href="https://missionbooks.org/pages/donation-page">Give</a> </li> </ul> </div> </div> </div><!-- #header --> </div> </div> <div class="container"> <div id="shopify-section-product-template" class="shopify-section"> <div data-section-type="product-template"> <div id="breadcrumbs"> <span class="text"> <a href="/" title="Home">Home</a> » <a href="/products/single-minded-service">Single-Minded Service</a> </span> <div class="social clearfix"> <div class="socitem facebookcont"> <div class="fb-like" data-send="false" data-layout="button_count" data-width="80" data-show-faces="false"></div> <div id="fb-root"></div> <script>(function(d, s, id) { var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) return; js = d.createElement(s); js.id = id; js.src = "//connect.facebook.net/en_GB/all.js#xfbml=1&status=0"; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk'));</script> </div> <div class="socitem twittercont"> <a href="https://twitter.com/share" class="twitter-share-button" data-count="none">Tweet</a> <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script> </div> <div class="socitem pinterestcont"> <a href="http://pinterest.com/pin/create/button/?url=https://missionbooks.org/products/single-minded-service&media=http://missionbooks.org/cdn/shop/files/Single-MindedService_CVR-Front_1.jpg?v=1732551344&description=Single-Minded Service" class="pin-it-button" target="_blank" count-layout="none"><img border="0" src="//assets.pinterest.com/images/PinExt.png" title="Pin It" /></a> <script type="text/javascript" src="//assets.pinterest.com/js/pinit.js"></script> </div> </div> </div><!-- #breadcrumbs --> <div id="content" class="product-area" itemscope itemtype="http://schema.org/Product"> <meta itemprop="name" content="Single-Minded Service" /> <meta itemprop="url" content="https://missionbooks.org/products/single-minded-service" /> <meta itemprop="image" content="http://missionbooks.org/cdn/shop/files/Single-MindedService_CVR-Front_1_1024x.jpg?v=1732551344" /> <div itemprop="offers" itemscope itemtype="http://schema.org/Offer"> <meta itemprop="price" content="2.99" /> <meta itemprop="priceCurrency" content="USD" /> <link itemprop="availability" href="http://schema.org/InStock" /> </div> <h1>Single-Minded Service</h1> <div class="productimages"> <div class="main"> <a href="//missionbooks.org/cdn/shop/files/Single-MindedService_CVR-Front_1.jpg?v=1732551344"> <div class="rimage-outer-wrapper" style="max-width: 1714px; max-height: 263px"> <div class="rimage-wrapper lazyload--placeholder" style="padding-top:151.515%"> <img class="rimage__image lazyload fade-in " data-src="//missionbooks.org/cdn/shop/files/Single-MindedService_CVR-Front_1_{width}x.jpg?v=1732551344" data-widths="[180, 220, 300, 360, 460, 540, 720, 900, 1080, 1296, 1512, 1728, 2048]" data-aspectratio="0.7141666666666666" data-sizes="auto" alt="Single-Minded Service - MissionBooks.org" > <noscript> <img src="//missionbooks.org/cdn/shop/files/Single-MindedService_CVR-Front_1_1024x1024.jpg?v=1732551344" alt="Single-Minded Service - MissionBooks.org" class="rimage__image"> </noscript> </div> </div> </a> </div><!-- .main --> <div class="thumbs clearfix"> <ul> <li> <a rel="gallery" title="Single-Minded Service - MissionBooks.org" href="//missionbooks.org/cdn/shop/files/Single-MindedService_CVR-Front_1.jpg?v=1732551344" title="Single-Minded Service"> <div class="rimage-outer-wrapper" style="max-width: 1714px; max-height: 263px"> <div class="rimage-wrapper lazyload--placeholder" style="padding-top:151.515%"> <img class="rimage__image lazyload fade-in " data-src="//missionbooks.org/cdn/shop/files/Single-MindedService_CVR-Front_1_{width}x.jpg?v=1732551344" data-widths="[180, 220, 300, 360, 460, 540, 720, 900, 1080, 1296, 1512, 1728, 2048]" data-aspectratio="0.7141666666666666" data-sizes="auto" alt="Single-Minded Service - MissionBooks.org" > <noscript> <img src="//missionbooks.org/cdn/shop/files/Single-MindedService_CVR-Front_1_1024x1024.jpg?v=1732551344" alt="Single-Minded Service - MissionBooks.org" class="rimage__image"> </noscript> </div> </div> </a> </li> <li> <a rel="gallery" title="Single-Minded Service - MissionBooks.org" href="//missionbooks.org/cdn/shop/files/Single-Minded_Service_CVR-Back_149038dd-0cff-45b1-87e4-e38d95a01f77.jpg?v=1732551352" title="Single-Minded Service"> <div class="rimage-outer-wrapper" style="max-width: 1714px; max-height: 263px"> <div class="rimage-wrapper lazyload--placeholder" style="padding-top:151.515%"> <img class="rimage__image lazyload fade-in " data-src="//missionbooks.org/cdn/shop/files/Single-Minded_Service_CVR-Back_149038dd-0cff-45b1-87e4-e38d95a01f77_{width}x.jpg?v=1732551352" data-widths="[180, 220, 300, 360, 460, 540, 720, 900, 1080, 1296, 1512, 1728, 2048]" data-aspectratio="0.7141666666666666" data-sizes="auto" alt="Single-Minded Service - MissionBooks.org" > <noscript> <img src="//missionbooks.org/cdn/shop/files/Single-Minded_Service_CVR-Back_149038dd-0cff-45b1-87e4-e38d95a01f77_1024x1024.jpg?v=1732551352" alt="Single-Minded Service - MissionBooks.org" class="rimage__image"> </noscript> </div> </div> </a> </li> </ul> </div><!-- .thumbs --> <div class="customProductToc" ><span>Show Table of Contents</span><span style="display:none;">Hide Table of Contents</span><div style="display:none;"><h3>Table of Contents</h3><p> </p> <p>Chapter 1: Finding Our Way</p> <p>Chapter 2: The Bias</p> <p>Chapter 3: The Invisible Single</p> <p>Chapter 4: A Theology of Singleness</p> <p>Chapter 5: The Kingdom-First Life</p> <p> </p></div></div> <script> $('.customProductToc span').click(function(){ $('.customProductToc div').fadeToggle(); $('.customProductToc span').toggle(); }); </script> <style type="text/css"> .customProductToc {margin-top:20px;} .customProductToc span {text-decoration:underline;cursor:pointer;} </style> </div><!-- .productimages --> <div class="productdetail"> <span class="shopify-product-reviews-badge" data-id="8815889514755"></span> <form method="post" action="/cart/add" id="product-form-8815889514755" accept-charset="UTF-8" class="product-form" enctype="multipart/form-data" data-product-id="8815889514755" data-enable-history-state="true"><input type="hidden" name="form_type" value="product" /><input type="hidden" name="utf8" value="✓" /> <div class="variants"> <input type="hidden" name="id" value="46125811564803" /> <div class="price-field"> <span class="current-price"> $2.99 </span> </div> <div class="selector-wrapper single-option"> Format: EPub (ebook)<br/> </div> </div><!-- .variants --> <script> (function() { // is an empty array in Liquid // even in eligible stores. It only disappears after encoding as JSON var product = {"id":8815889514755,"title":"Single-Minded Service","handle":"single-minded-service","description":"\u003cp\u003e[DESCRIPTION]\u003cspan style=\"color: rgb(255, 42, 0);\"\u003e\u003cstrong\u003e\u003c\/strong\u003e\u003c\/span\u003e\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eEmpowering Singles for Ministry Impact\u003c\/strong\u003e\u003c\/p\u003e\n\u003cp\u003eMarriage is a good gift from God and should be esteemed, but is it the best indicator of a man or woman’s fitness for kingdom service? Despite their dedication and immense potential, single Christians often find themselves overlooked and underutilized in ministry leadership roles.\u003c\/p\u003e\n\u003cp\u003eIn \u003cem\u003eSingle-Minded Service\u003c\/em\u003e, Lewie Clark draws on biblical insights and historical examples, revealing the essential roles that singles have played—and can still play—in advancing the kingdom of God. He argues that in certain situations, singleness can enhance ministry effectiveness. Clark doesn’t just critique the current state; he offers a clear, actionable vision for how the church can empower singles to take their rightful place in leadership, following in the footsteps of single leaders like Paul and Barnabas. Whether you are single or married, discover how embracing the gifts and callings of singles can lead to a more effective ministry.\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eWould you like to order a paperback? Order on Amazon.com \u003ca href=\"https:\/\/www.amazon.com\/Single-Minded-Service-Rediscovering-Essential-Leadership\/dp\/1645086550\/ref=sr_1_1?crid=KSR3UJASFDSY\u0026amp;dib=eyJ2IjoiMSJ9.ZetCA4PItPMi0_8HmhSsvA.NWbRA5gRoq0VA635U-Z4ruDjRiPOIIkC6I0PHwiZSQ4\u0026amp;dib_tag=se\u0026amp;keywords=single-minded+service+lewie\u0026amp;qid=1733351846\u0026amp;sprefix=single-minded+service+lewie%2Caps%2C93\u0026amp;sr=8-1\"\u003e\u003cspan style=\"color: rgb(43, 0, 255);\"\u003ehere\u003c\/span\u003e\u003c\/a\u003e\u003c\/strong\u003e!\u003c\/p\u003e\n\u003cp\u003e [\/DESCRIPTION] [SUBTITLE]Rediscovering the Essential Role of Singles in Kingdom Leadership[\/SUBTITLE][PREORDER]12\/10\/24[\/PREORDER][CREDIT] Lewie Clark with Tim Grissom [\/CREDIT] [PAGES] 64 [\/PAGES] [BINDING] Paperback [\/BINDING] [PUBLISHER] William Carey Publishing [\/PUBLISHER] [PUBLISHYEAR] 2024 [\/PUBLISHYEAR] [ENDORSEMENT2]\u003c\/p\u003e\n\u003cblockquote\u003eLewie Clark issues a wakeup call to today's church that if we really want to follow the model of Jesus and the early church, we should be empowering singles for kingdom ministry without presuming they first need to be married. This book is a thoughtful journey that will both encourage single adults that they are fully qualified and equipped for kingdom leadership while simultaneously reminding us all what the true family of believers is all about.\u003c\/blockquote\u003e\n\u003cp\u003e\u003ccite\u003eRev. Barry N. Danylak, PhD\u003c\/cite\u003e\u003cspan\u003eExecutive Director, SEE Globally\u003c\/span\u003e [\/ENDORSEMENT2] [ENDORSEMENT3]\u003c\/p\u003e\n\u003cblockquote\u003eThe lies we believe influence our thinking and behavior without our conscious awareness. But when these lies get exposed and rejected, we have opportunity to joyfully embrace fresh, wholesome thinking and relating. Lewie’s book powerfully exposes cultural lies that cripple the lives and ministries of many singles. It empowers members of Christ’s family to value the unique freedoms that singles enjoy, at times, giving them an advantage over married Christian workers. I am excited to give this book to friends who are single and to those in Christian leadership so that our cultural lies can be exposed and rejected. Let’s trash the shame and marginalization of singles. Let’s embrace them as fully complete in Christ. Let’s leverage their advantages for the extension of God’s kingdom. You will know the truth and the truth will set you free (John 8:38).\u003c\/blockquote\u003e\n\u003cp\u003e\u003ccite\u003eAlbert Ehmann\u003c\/cite\u003e\u003cspan\u003eChurch planter, leader, and mentor for 55 years\u003c\/span\u003e [\/ENDORSEMENT3] [ENDORSEMENT4]\u003c\/p\u003e\n\u003cblockquote\u003eWould your church hire single Saint Paul as pastor? How about young unwed Amy Carmichael to lead a mission? The data says no, and that’s not just bad for all our Amys and Pauls—it’s a disaster for the spread of the gospel. Sociological headwinds are converging. We must stop sidelining our fastest growing demographic. This book is a wakeup call to Protestants to rethink the sacred role of celibacy for mission. \u003c\/blockquote\u003e\n\u003cp\u003e\u003ccite\u003eDel Fehsenfeld III\u003c\/cite\u003e\u003cspan\u003eLife Action Ministries \u003c\/span\u003e [\/ENDORSEMENT4] [ENDORSEMENT5]\u003c\/p\u003e\n\u003cblockquote\u003eAs the World Evangelical Alliance begins to advance a paradigm that fully values, engages, and empowers single and single-again evangelicals, I have turned to Lewie many times for encouragement and advice. I have, perhaps, the advantage of the reader, for not only have I read Single-Minded Service as a book, I have read it as a life; Lewie’s life. May you likewise be encouraged, and more so, challenged by Lewie’s writing, and should the Lord give you favor to know him, his life.\u003c\/blockquote\u003e\n\u003cp\u003e\u003ccite\u003eMark McLeod\u003c\/cite\u003e\u003cspan\u003eSingles Advocacy Initiative, WEA\u003c\/span\u003e [\/ENDORSEMENT5] [ENDORSEMENT6]\u003c\/p\u003e\n\u003cblockquote\u003eToday, most Christians assume that marriage is a fundamental prerequisite for leadership in the church. But Lewie Clark sheds light on how singles have frequently been the spearheads of Christ’s kingdom, ever since the church’s beginning. This wonderful book will empower singles to love, serve, and lead the body of Christ. \u003c\/blockquote\u003e\n\u003cp\u003e\u003ccite\u003eSeth Osborn, PhD\u003c\/cite\u003e\u003cspan\u003eAdjunct Professor, Indiana Wesleyan University \u003c\/span\u003e [\/ENDORSEMENT6] [ENDORSEMENT7]\u003c\/p\u003e\n\u003cblockquote\u003eThe bias is real. I spent years helping hundreds of churches find senior pastors, and not one of them would consider an unmarried candidate. And yet for more than forty years, I’ve watched Lewie Clark pastor, lead, and disciple others (myself included). As a single, never-married man, the biblical insights Lewie brings regarding singleness need to be heard by the church.\u003c\/blockquote\u003e\n\u003cp\u003e\u003ccite\u003eTim Stevens\u003c\/cite\u003e\u003cspan\u003eCEO \u0026amp; Founder, LeadingSmart\u003c\/span\u003e [\/ENDORSEMENT7] [TOC]\u003c\/p\u003e\n\u003cp\u003eChapter 1: Finding Our Way\u003c\/p\u003e\n\u003cp\u003eChapter 2: The Bias\u003c\/p\u003e\n\u003cp\u003eChapter 3: The Invisible Single\u003c\/p\u003e\n\u003cp\u003eChapter 4: A Theology of Singleness\u003c\/p\u003e\n\u003cp\u003eChapter 5: The Kingdom-First Life\u003c\/p\u003e\n\u003cp\u003e[\/TOC]\u003c\/p\u003e","published_at":"2024-11-19T09:04:20-07:00","created_at":"2024-11-11T14:47:20-07:00","vendor":"William Carey Publishing","type":"Book","tags":["biblical examples of single leaders","biblical leadership for singles","challenges for singles in ministry","christian mission leadership","Christian singles in leadership","church biases against singles","church leadership and singleness","empowering singles in ministry","empowering singles in the church","evangelical mission strategies","Family \u0026 Teaming","Inclusion of singles in ministry","kingdom leadership for singles","lewie-clark-with-tim-grissom","ministry opportunities for singles","perk","role of singles in the church","single christian leaders","single missionaries","singleness in christian leadership","singles and church leadership roles","singles in christian ministry","Snapshot"],"price":299,"price_min":299,"price_max":299,"available":true,"price_varies":false,"compare_at_price":null,"compare_at_price_min":0,"compare_at_price_max":0,"compare_at_price_varies":false,"variants":[{"id":46125811564803,"title":"EPub (ebook)","option1":"EPub (ebook)","option2":null,"option3":null,"sku":"9781645086147","requires_shipping":false,"taxable":false,"featured_image":{"id":45385189327107,"product_id":8815889514755,"position":1,"created_at":"2024-11-25T09:15:43-07:00","updated_at":"2024-11-25T09:15:44-07:00","alt":"Single-Minded Service - MissionBooks.org","width":1714,"height":2400,"src":"\/\/missionbooks.org\/cdn\/shop\/files\/Single-MindedService_CVR-Front_1.jpg?v=1732551344","variant_ids":[46125811564803]},"available":true,"name":"Single-Minded Service - EPub (ebook)","public_title":"EPub (ebook)","options":["EPub (ebook)"],"price":299,"weight":0,"compare_at_price":null,"inventory_management":null,"barcode":"9781645086147","featured_media":{"alt":"Single-Minded Service - MissionBooks.org","id":37397938831619,"position":1,"preview_image":{"aspect_ratio":0.714,"height":2400,"width":1714,"src":"\/\/missionbooks.org\/cdn\/shop\/files\/Single-MindedService_CVR-Front_1.jpg?v=1732551344"}},"requires_selling_plan":false,"selling_plan_allocations":[]}],"images":["\/\/missionbooks.org\/cdn\/shop\/files\/Single-MindedService_CVR-Front_1.jpg?v=1732551344","\/\/missionbooks.org\/cdn\/shop\/files\/Single-Minded_Service_CVR-Back_149038dd-0cff-45b1-87e4-e38d95a01f77.jpg?v=1732551352"],"featured_image":"\/\/missionbooks.org\/cdn\/shop\/files\/Single-MindedService_CVR-Front_1.jpg?v=1732551344","options":["Format"],"media":[{"alt":"Single-Minded Service - MissionBooks.org","id":37397938831619,"position":1,"preview_image":{"aspect_ratio":0.714,"height":2400,"width":1714,"src":"\/\/missionbooks.org\/cdn\/shop\/files\/Single-MindedService_CVR-Front_1.jpg?v=1732551344"},"aspect_ratio":0.714,"height":2400,"media_type":"image","src":"\/\/missionbooks.org\/cdn\/shop\/files\/Single-MindedService_CVR-Front_1.jpg?v=1732551344","width":1714},{"alt":"Single-Minded Service - MissionBooks.org","id":37397939290371,"position":2,"preview_image":{"aspect_ratio":0.714,"height":2400,"width":1714,"src":"\/\/missionbooks.org\/cdn\/shop\/files\/Single-Minded_Service_CVR-Back_149038dd-0cff-45b1-87e4-e38d95a01f77.jpg?v=1732551352"},"aspect_ratio":0.714,"height":2400,"media_type":"image","src":"\/\/missionbooks.org\/cdn\/shop\/files\/Single-Minded_Service_CVR-Back_149038dd-0cff-45b1-87e4-e38d95a01f77.jpg?v=1732551352","width":1714}],"requires_selling_plan":false,"selling_plan_groups":[],"content":"\u003cp\u003e[DESCRIPTION]\u003cspan style=\"color: rgb(255, 42, 0);\"\u003e\u003cstrong\u003e\u003c\/strong\u003e\u003c\/span\u003e\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eEmpowering Singles for Ministry Impact\u003c\/strong\u003e\u003c\/p\u003e\n\u003cp\u003eMarriage is a good gift from God and should be esteemed, but is it the best indicator of a man or woman’s fitness for kingdom service? Despite their dedication and immense potential, single Christians often find themselves overlooked and underutilized in ministry leadership roles.\u003c\/p\u003e\n\u003cp\u003eIn \u003cem\u003eSingle-Minded Service\u003c\/em\u003e, Lewie Clark draws on biblical insights and historical examples, revealing the essential roles that singles have played—and can still play—in advancing the kingdom of God. He argues that in certain situations, singleness can enhance ministry effectiveness. Clark doesn’t just critique the current state; he offers a clear, actionable vision for how the church can empower singles to take their rightful place in leadership, following in the footsteps of single leaders like Paul and Barnabas. Whether you are single or married, discover how embracing the gifts and callings of singles can lead to a more effective ministry.\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eWould you like to order a paperback? Order on Amazon.com \u003ca href=\"https:\/\/www.amazon.com\/Single-Minded-Service-Rediscovering-Essential-Leadership\/dp\/1645086550\/ref=sr_1_1?crid=KSR3UJASFDSY\u0026amp;dib=eyJ2IjoiMSJ9.ZetCA4PItPMi0_8HmhSsvA.NWbRA5gRoq0VA635U-Z4ruDjRiPOIIkC6I0PHwiZSQ4\u0026amp;dib_tag=se\u0026amp;keywords=single-minded+service+lewie\u0026amp;qid=1733351846\u0026amp;sprefix=single-minded+service+lewie%2Caps%2C93\u0026amp;sr=8-1\"\u003e\u003cspan style=\"color: rgb(43, 0, 255);\"\u003ehere\u003c\/span\u003e\u003c\/a\u003e\u003c\/strong\u003e!\u003c\/p\u003e\n\u003cp\u003e [\/DESCRIPTION] [SUBTITLE]Rediscovering the Essential Role of Singles in Kingdom Leadership[\/SUBTITLE][PREORDER]12\/10\/24[\/PREORDER][CREDIT] Lewie Clark with Tim Grissom [\/CREDIT] [PAGES] 64 [\/PAGES] [BINDING] Paperback [\/BINDING] [PUBLISHER] William Carey Publishing [\/PUBLISHER] [PUBLISHYEAR] 2024 [\/PUBLISHYEAR] [ENDORSEMENT2]\u003c\/p\u003e\n\u003cblockquote\u003eLewie Clark issues a wakeup call to today's church that if we really want to follow the model of Jesus and the early church, we should be empowering singles for kingdom ministry without presuming they first need to be married. This book is a thoughtful journey that will both encourage single adults that they are fully qualified and equipped for kingdom leadership while simultaneously reminding us all what the true family of believers is all about.\u003c\/blockquote\u003e\n\u003cp\u003e\u003ccite\u003eRev. Barry N. Danylak, PhD\u003c\/cite\u003e\u003cspan\u003eExecutive Director, SEE Globally\u003c\/span\u003e [\/ENDORSEMENT2] [ENDORSEMENT3]\u003c\/p\u003e\n\u003cblockquote\u003eThe lies we believe influence our thinking and behavior without our conscious awareness. But when these lies get exposed and rejected, we have opportunity to joyfully embrace fresh, wholesome thinking and relating. Lewie’s book powerfully exposes cultural lies that cripple the lives and ministries of many singles. It empowers members of Christ’s family to value the unique freedoms that singles enjoy, at times, giving them an advantage over married Christian workers. I am excited to give this book to friends who are single and to those in Christian leadership so that our cultural lies can be exposed and rejected. Let’s trash the shame and marginalization of singles. Let’s embrace them as fully complete in Christ. Let’s leverage their advantages for the extension of God’s kingdom. You will know the truth and the truth will set you free (John 8:38).\u003c\/blockquote\u003e\n\u003cp\u003e\u003ccite\u003eAlbert Ehmann\u003c\/cite\u003e\u003cspan\u003eChurch planter, leader, and mentor for 55 years\u003c\/span\u003e [\/ENDORSEMENT3] [ENDORSEMENT4]\u003c\/p\u003e\n\u003cblockquote\u003eWould your church hire single Saint Paul as pastor? How about young unwed Amy Carmichael to lead a mission? The data says no, and that’s not just bad for all our Amys and Pauls—it’s a disaster for the spread of the gospel. Sociological headwinds are converging. We must stop sidelining our fastest growing demographic. This book is a wakeup call to Protestants to rethink the sacred role of celibacy for mission. \u003c\/blockquote\u003e\n\u003cp\u003e\u003ccite\u003eDel Fehsenfeld III\u003c\/cite\u003e\u003cspan\u003eLife Action Ministries \u003c\/span\u003e [\/ENDORSEMENT4] [ENDORSEMENT5]\u003c\/p\u003e\n\u003cblockquote\u003eAs the World Evangelical Alliance begins to advance a paradigm that fully values, engages, and empowers single and single-again evangelicals, I have turned to Lewie many times for encouragement and advice. I have, perhaps, the advantage of the reader, for not only have I read Single-Minded Service as a book, I have read it as a life; Lewie’s life. May you likewise be encouraged, and more so, challenged by Lewie’s writing, and should the Lord give you favor to know him, his life.\u003c\/blockquote\u003e\n\u003cp\u003e\u003ccite\u003eMark McLeod\u003c\/cite\u003e\u003cspan\u003eSingles Advocacy Initiative, WEA\u003c\/span\u003e [\/ENDORSEMENT5] [ENDORSEMENT6]\u003c\/p\u003e\n\u003cblockquote\u003eToday, most Christians assume that marriage is a fundamental prerequisite for leadership in the church. But Lewie Clark sheds light on how singles have frequently been the spearheads of Christ’s kingdom, ever since the church’s beginning. This wonderful book will empower singles to love, serve, and lead the body of Christ. \u003c\/blockquote\u003e\n\u003cp\u003e\u003ccite\u003eSeth Osborn, PhD\u003c\/cite\u003e\u003cspan\u003eAdjunct Professor, Indiana Wesleyan University \u003c\/span\u003e [\/ENDORSEMENT6] [ENDORSEMENT7]\u003c\/p\u003e\n\u003cblockquote\u003eThe bias is real. I spent years helping hundreds of churches find senior pastors, and not one of them would consider an unmarried candidate. And yet for more than forty years, I’ve watched Lewie Clark pastor, lead, and disciple others (myself included). As a single, never-married man, the biblical insights Lewie brings regarding singleness need to be heard by the church.\u003c\/blockquote\u003e\n\u003cp\u003e\u003ccite\u003eTim Stevens\u003c\/cite\u003e\u003cspan\u003eCEO \u0026amp; Founder, LeadingSmart\u003c\/span\u003e [\/ENDORSEMENT7] [TOC]\u003c\/p\u003e\n\u003cp\u003eChapter 1: Finding Our Way\u003c\/p\u003e\n\u003cp\u003eChapter 2: The Bias\u003c\/p\u003e\n\u003cp\u003eChapter 3: The Invisible Single\u003c\/p\u003e\n\u003cp\u003eChapter 4: A Theology of Singleness\u003c\/p\u003e\n\u003cp\u003eChapter 5: The Kingdom-First Life\u003c\/p\u003e\n\u003cp\u003e[\/TOC]\u003c\/p\u003e"}; if (typeof product.selling_plan_groups === 'undefined') { console.log("This shop is not eligible for subscriptions. Please make sure to be using Shopify Payments"); } })(); </script> <div class="quantity"> <label for="quantity">Quantity</label> <input type="text" name="quantity" value="1" size="3" /> </div> <div class="with-payment-button"> <div class="add-to-cart-container"> <input type="submit" name="add" value=" Preorder: Expected 12/10/24 " class="addtocart button button--alt" /> </div> </div> <p class="line-item-property__field"> <input id="preorder" type="hidden" name="properties[Preorder]" value="Expected 12/10/24 "> </p> <input type="hidden" name="product-id" value="8815889514755" /><input type="hidden" name="section-id" value="product-template" /></form> <div class="description pagecontent simple"> <div class="customProductDetails"> <div id="productTitle">Single-Minded Service</div><div id="customProductSubtitle"> Rediscovering the Essential Role of Singles in Kingdom Leadership </div> <div id="customProductCredit"> Lewie Clark with Tim Grissom </div> <div class="customProductDescription"> <span style="color: rgb(255, 42, 0);"><strong></strong></span></p> <p><strong>Empowering Singles for Ministry Impact</strong></p> <p>Marriage is a good gift from God and should be esteemed, but is it the best indicator of a man or woman’s fitness for kingdom service? Despite their dedication and immense potential, single Christians often find themselves overlooked and underutilized in ministry leadership roles.</p> <p>In <em>Single-Minded Service</em>, Lewie Clark draws on biblical insights and historical examples, revealing the essential roles that singles have played—and can still play—in advancing the kingdom of God. He argues that in certain situations, singleness can enhance ministry effectiveness. Clark doesn’t just critique the current state; he offers a clear, actionable vision for how the church can empower singles to take their rightful place in leadership, following in the footsteps of single leaders like Paul and Barnabas. Whether you are single or married, discover how embracing the gifts and callings of singles can lead to a more effective ministry.</p> <p><strong>Would you like to order a paperback? Order on Amazon.com <a href="https://www.amazon.com/Single-Minded-Service-Rediscovering-Essential-Leadership/dp/1645086550/ref=sr_1_1?crid=KSR3UJASFDSY&dib=eyJ2IjoiMSJ9.ZetCA4PItPMi0_8HmhSsvA.NWbRA5gRoq0VA635U-Z4ruDjRiPOIIkC6I0PHwiZSQ4&dib_tag=se&keywords=single-minded+service+lewie&qid=1733351846&sprefix=single-minded+service+lewie%2Caps%2C93&sr=8-1"><span style="color: rgb(43, 0, 255);">here</span></a></strong>!</p> <p> </div> <h3>Endorsements</h3> <ul class="customerProductEndorsements"> <li></p> <blockquote>Lewie Clark issues a wakeup call to today's church that if we really want to follow the model of Jesus and the early church, we should be empowering singles for kingdom ministry without presuming they first need to be married. This book is a thoughtful journey that will both encourage single adults that they are fully qualified and equipped for kingdom leadership while simultaneously reminding us all what the true family of believers is all about.</blockquote> <p><cite>Rev. Barry N. Danylak, PhD</cite><span>Executive Director, SEE Globally</span> </li> <li></p> <blockquote>The lies we believe influence our thinking and behavior without our conscious awareness. But when these lies get exposed and rejected, we have opportunity to joyfully embrace fresh, wholesome thinking and relating. Lewie’s book powerfully exposes cultural lies that cripple the lives and ministries of many singles. It empowers members of Christ’s family to value the unique freedoms that singles enjoy, at times, giving them an advantage over married Christian workers. I am excited to give this book to friends who are single and to those in Christian leadership so that our cultural lies can be exposed and rejected. Let’s trash the shame and marginalization of singles. Let’s embrace them as fully complete in Christ. Let’s leverage their advantages for the extension of God’s kingdom. You will know the truth and the truth will set you free (John 8:38).</blockquote> <p><cite>Albert Ehmann</cite><span>Church planter, leader, and mentor for 55 years</span> </li> <li></p> <blockquote>Would your church hire single Saint Paul as pastor? How about young unwed Amy Carmichael to lead a mission? The data says no, and that’s not just bad for all our Amys and Pauls—it’s a disaster for the spread of the gospel. Sociological headwinds are converging. We must stop sidelining our fastest growing demographic. This book is a wakeup call to Protestants to rethink the sacred role of celibacy for mission. </blockquote> <p><cite>Del Fehsenfeld III</cite><span>Life Action Ministries </span> </li> <li></p> <blockquote>As the World Evangelical Alliance begins to advance a paradigm that fully values, engages, and empowers single and single-again evangelicals, I have turned to Lewie many times for encouragement and advice. I have, perhaps, the advantage of the reader, for not only have I read Single-Minded Service as a book, I have read it as a life; Lewie’s life. May you likewise be encouraged, and more so, challenged by Lewie’s writing, and should the Lord give you favor to know him, his life.</blockquote> <p><cite>Mark McLeod</cite><span>Singles Advocacy Initiative, WEA</span> </li> <li></p> <blockquote>Today, most Christians assume that marriage is a fundamental prerequisite for leadership in the church. But Lewie Clark sheds light on how singles have frequently been the spearheads of Christ’s kingdom, ever since the church’s beginning. This wonderful book will empower singles to love, serve, and lead the body of Christ. </blockquote> <p><cite>Seth Osborn, PhD</cite><span>Adjunct Professor, Indiana Wesleyan University </span> </li> <li></p> <blockquote>The bias is real. I spent years helping hundreds of churches find senior pastors, and not one of them would consider an unmarried candidate. And yet for more than forty years, I’ve watched Lewie Clark pastor, lead, and disciple others (myself included). As a single, never-married man, the biblical insights Lewie brings regarding singleness need to be heard by the church.</blockquote> <p><cite>Tim Stevens</cite><span>CEO & Founder, LeadingSmart</span> </li> </ul> <script src="//missionbooks.org/cdn/shop/t/2/assets/slick.min.js?v=71779134894361685811529961667" type="text/javascript"></script> <script> $(document).ready(function(){ $('.customerProductEndorsements').slick({ dots: true, arrows: true, autoplay: true, pauseOnFocus: true }); }); </script> <h3>Additional Details</h3> <ul id="customProductDetailItems"> <li id="customProductPages">Pages: <span> 64 </span></li> <li id="customProductPublisher" >Publisher: <span> William Carey Publishing </span></li> <li id="customProductBinding" >Binding: <span> Paperback </span></li> <li id ="customProductPublishYear">Publish Year: <span> 2024 </span></li> <li id ="customProductPublishYear">ISBN: <span></span></li> <li>Vendor: <span>William Carey Publishing</span> </ul> </div> </div> </div><!-- .productdetail --> <div class="clearit"></div> <div class="productlist"> <h3>You may also like</h3> <div class="product"> <a class="imagecontainer" href="/products/leading-from-below"> <div class="inner"> <div class="img1"> <div class="rimage-outer-wrapper" style="max-width: 1600px; max-height: 263px"> <div class="rimage-wrapper lazyload--placeholder" style="padding-top:151.515%"> <img class="rimage__image lazyload fade-in " data-src="//missionbooks.org/cdn/shop/files/Leading-from-Below_CVR-Front_{width}x.jpg?v=1738178666" data-widths="[180, 220, 300, 360, 460, 540, 720, 900, 1080, 1296, 1512, 1728, 2048]" data-aspectratio="0.6666666666666666" data-sizes="auto" alt="Leading from Below" > <noscript> <img src="//missionbooks.org/cdn/shop/files/Leading-from-Below_CVR-Front_1024x1024.jpg?v=1738178666" alt="Leading from Below" class="rimage__image"> </noscript> </div> </div> </div> <div class="img2"> <div class="rimage-outer-wrapper" style="max-width: 1600px; max-height: 263px"> <div class="rimage-wrapper lazyload--placeholder" style="padding-top:151.515%"> <img class="rimage__image lazyload fade-in " data-src="//missionbooks.org/cdn/shop/files/Leading-from-Below_CVR-Back_1_{width}x.jpg?v=1740514174" data-widths="[180, 220, 300, 360, 460, 540, 720, 900, 1080, 1296, 1512, 1728, 2048]" data-aspectratio="0.6666666666666666" data-sizes="auto" alt="Leading from Below" > <noscript> <img src="//missionbooks.org/cdn/shop/files/Leading-from-Below_CVR-Back_1_1024x1024.jpg?v=1740514174" alt="Leading from Below" class="rimage__image"> </noscript> </div> </div> </div> </div> </a> <div class="title"> <a href="/products/leading-from-below"> Leading from Below </a> </div> <div class="foot"> <div class="price"> <span class="amount"> <span class="from">From </span> $11.99 </span> </div> <div class="buttoncont"> <a href="/products/leading-from-below">More details</a> </div> </div> </div> <div class="product"> <a class="imagecontainer" href="/products/one-new-humanity"> <div class="inner"> <div class="img1"> <div class="rimage-outer-wrapper" style="max-width: 1600px; max-height: 263px"> <div class="rimage-wrapper lazyload--placeholder" style="padding-top:151.515%"> <img class="rimage__image lazyload fade-in " data-src="//missionbooks.org/cdn/shop/files/OneNewHumanity_CVR-Front_1_{width}x.jpg?v=1737576042" data-widths="[180, 220, 300, 360, 460, 540, 720, 900, 1080, 1296, 1512, 1728, 2048]" data-aspectratio="0.6666666666666666" data-sizes="auto" alt="One New Humanity" > <noscript> <img src="//missionbooks.org/cdn/shop/files/OneNewHumanity_CVR-Front_1_1024x1024.jpg?v=1737576042" alt="One New Humanity" class="rimage__image"> </noscript> </div> </div> </div> <div class="img2"> <div class="rimage-outer-wrapper" style="max-width: 1600px; max-height: 263px"> <div class="rimage-wrapper lazyload--placeholder" style="padding-top:151.515%"> <img class="rimage__image lazyload fade-in " data-src="//missionbooks.org/cdn/shop/files/OneNewHumanity_CVR-Back_{width}x.jpg?v=1737576050" data-widths="[180, 220, 300, 360, 460, 540, 720, 900, 1080, 1296, 1512, 1728, 2048]" data-aspectratio="0.6666666666666666" data-sizes="auto" alt="One New Humanity" > <noscript> <img src="//missionbooks.org/cdn/shop/files/OneNewHumanity_CVR-Back_1024x1024.jpg?v=1737576050" alt="One New Humanity" class="rimage__image"> </noscript> </div> </div> </div> </div> </a> <div class="title"> <a href="/products/one-new-humanity"> One New Humanity </a> </div> <div class="foot"> <div class="price"> <span class="amount"> <span class="from">From </span> $17.99 </span> </div> <div class="buttoncont"> <a href="/products/one-new-humanity">More details</a> </div> </div> </div> <div class="product"> <a class="imagecontainer" href="/products/love-child"> <div class="inner"> <div class="img1"> <div class="rimage-outer-wrapper" style="max-width: 1500px; max-height: 263px"> <div class="rimage-wrapper lazyload--placeholder" style="padding-top:151.515%"> <img class="rimage__image lazyload fade-in " data-src="//missionbooks.org/cdn/shop/files/LoveChild_CVR-Front_{width}x.jpg?v=1734475611" data-widths="[180, 220, 300, 360, 460, 540, 720, 900, 1080, 1296, 1512, 1728, 2048]" data-aspectratio="0.625" data-sizes="auto" alt="Love Child - MissionBooks.org" > <noscript> <img src="//missionbooks.org/cdn/shop/files/LoveChild_CVR-Front_1024x1024.jpg?v=1734475611" alt="Love Child - MissionBooks.org" class="rimage__image"> </noscript> </div> </div> </div> <div class="img2"> <div class="rimage-outer-wrapper" style="max-width: 1500px; max-height: 263px"> <div class="rimage-wrapper lazyload--placeholder" style="padding-top:151.515%"> <img class="rimage__image lazyload fade-in " data-src="//missionbooks.org/cdn/shop/files/Love_Child_CVR-Back_38262c5b-4c17-4aba-905c-fd18c0600f88_{width}x.jpg?v=1738339174" data-widths="[180, 220, 300, 360, 460, 540, 720, 900, 1080, 1296, 1512, 1728, 2048]" data-aspectratio="0.625" data-sizes="auto" alt="Love Child" > <noscript> <img src="//missionbooks.org/cdn/shop/files/Love_Child_CVR-Back_38262c5b-4c17-4aba-905c-fd18c0600f88_1024x1024.jpg?v=1738339174" alt="Love Child" class="rimage__image"> </noscript> </div> </div> </div> </div> </a> <div class="title"> <a href="/products/love-child"> Love Child </a> </div> <div class="foot"> <div class="price"> <span class="amount"> <span class="from">From </span> $7.99 </span> </div> <div class="buttoncont"> <a href="/products/love-child">More details</a> </div> </div> </div> <div class="product last"> <a class="imagecontainer" href="/products/reading-james-missiologically"> <div class="inner"> <div class="img1"> <div class="rimage-outer-wrapper" style="max-width: 1600px; max-height: 263px"> <div class="rimage-wrapper lazyload--placeholder" style="padding-top:151.515%"> <img class="rimage__image lazyload fade-in " data-src="//missionbooks.org/cdn/shop/files/Reading-James-Missiologically_CVR-Front_{width}x.jpg?v=1734458682" data-widths="[180, 220, 300, 360, 460, 540, 720, 900, 1080, 1296, 1512, 1728, 2048]" data-aspectratio="0.6666666666666666" data-sizes="auto" alt="Reading James Missiologically - MissionBooks.org" > <noscript> <img src="//missionbooks.org/cdn/shop/files/Reading-James-Missiologically_CVR-Front_1024x1024.jpg?v=1734458682" alt="Reading James Missiologically - MissionBooks.org" class="rimage__image"> </noscript> </div> </div> </div> <div class="img2"> <div class="rimage-outer-wrapper" style="max-width: 1600px; max-height: 263px"> <div class="rimage-wrapper lazyload--placeholder" style="padding-top:151.515%"> <img class="rimage__image lazyload fade-in " data-src="//missionbooks.org/cdn/shop/files/Reading-James-Missiologically_CVR-Back_{width}x.jpg?v=1734458691" data-widths="[180, 220, 300, 360, 460, 540, 720, 900, 1080, 1296, 1512, 1728, 2048]" data-aspectratio="0.6666666666666666" data-sizes="auto" alt="Reading James Missiologically - MissionBooks.org" > <noscript> <img src="//missionbooks.org/cdn/shop/files/Reading-James-Missiologically_CVR-Back_1024x1024.jpg?v=1734458691" alt="Reading James Missiologically - MissionBooks.org" class="rimage__image"> </noscript> </div> </div> </div> </div> </a> <div class="title"> <a href="/products/reading-james-missiologically"> Reading James Missiologically </a> </div> <div class="foot"> <div class="price"> <span class="amount"> <span class="from">From </span> $15.99 </span> </div> <div class="buttoncont"> <a href="/products/reading-james-missiologically">More details</a> </div> </div> </div> </div> <div id="shopify-product-reviews" data-id="8815889514755"></div> </div> </div> </div> <script type="application/json" id="ProductJson-8815889514755"> {"id":8815889514755,"title":"Single-Minded Service","handle":"single-minded-service","description":"\u003cp\u003e[DESCRIPTION]\u003cspan style=\"color: rgb(255, 42, 0);\"\u003e\u003cstrong\u003e\u003c\/strong\u003e\u003c\/span\u003e\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eEmpowering Singles for Ministry Impact\u003c\/strong\u003e\u003c\/p\u003e\n\u003cp\u003eMarriage is a good gift from God and should be esteemed, but is it the best indicator of a man or woman’s fitness for kingdom service? Despite their dedication and immense potential, single Christians often find themselves overlooked and underutilized in ministry leadership roles.\u003c\/p\u003e\n\u003cp\u003eIn \u003cem\u003eSingle-Minded Service\u003c\/em\u003e, Lewie Clark draws on biblical insights and historical examples, revealing the essential roles that singles have played—and can still play—in advancing the kingdom of God. He argues that in certain situations, singleness can enhance ministry effectiveness. Clark doesn’t just critique the current state; he offers a clear, actionable vision for how the church can empower singles to take their rightful place in leadership, following in the footsteps of single leaders like Paul and Barnabas. Whether you are single or married, discover how embracing the gifts and callings of singles can lead to a more effective ministry.\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eWould you like to order a paperback? Order on Amazon.com \u003ca href=\"https:\/\/www.amazon.com\/Single-Minded-Service-Rediscovering-Essential-Leadership\/dp\/1645086550\/ref=sr_1_1?crid=KSR3UJASFDSY\u0026amp;dib=eyJ2IjoiMSJ9.ZetCA4PItPMi0_8HmhSsvA.NWbRA5gRoq0VA635U-Z4ruDjRiPOIIkC6I0PHwiZSQ4\u0026amp;dib_tag=se\u0026amp;keywords=single-minded+service+lewie\u0026amp;qid=1733351846\u0026amp;sprefix=single-minded+service+lewie%2Caps%2C93\u0026amp;sr=8-1\"\u003e\u003cspan style=\"color: rgb(43, 0, 255);\"\u003ehere\u003c\/span\u003e\u003c\/a\u003e\u003c\/strong\u003e!\u003c\/p\u003e\n\u003cp\u003e [\/DESCRIPTION] [SUBTITLE]Rediscovering the Essential Role of Singles in Kingdom Leadership[\/SUBTITLE][PREORDER]12\/10\/24[\/PREORDER][CREDIT] Lewie Clark with Tim Grissom [\/CREDIT] [PAGES] 64 [\/PAGES] [BINDING] Paperback [\/BINDING] [PUBLISHER] William Carey Publishing [\/PUBLISHER] [PUBLISHYEAR] 2024 [\/PUBLISHYEAR] [ENDORSEMENT2]\u003c\/p\u003e\n\u003cblockquote\u003eLewie Clark issues a wakeup call to today's church that if we really want to follow the model of Jesus and the early church, we should be empowering singles for kingdom ministry without presuming they first need to be married. This book is a thoughtful journey that will both encourage single adults that they are fully qualified and equipped for kingdom leadership while simultaneously reminding us all what the true family of believers is all about.\u003c\/blockquote\u003e\n\u003cp\u003e\u003ccite\u003eRev. Barry N. Danylak, PhD\u003c\/cite\u003e\u003cspan\u003eExecutive Director, SEE Globally\u003c\/span\u003e [\/ENDORSEMENT2] [ENDORSEMENT3]\u003c\/p\u003e\n\u003cblockquote\u003eThe lies we believe influence our thinking and behavior without our conscious awareness. But when these lies get exposed and rejected, we have opportunity to joyfully embrace fresh, wholesome thinking and relating. Lewie’s book powerfully exposes cultural lies that cripple the lives and ministries of many singles. It empowers members of Christ’s family to value the unique freedoms that singles enjoy, at times, giving them an advantage over married Christian workers. I am excited to give this book to friends who are single and to those in Christian leadership so that our cultural lies can be exposed and rejected. Let’s trash the shame and marginalization of singles. Let’s embrace them as fully complete in Christ. Let’s leverage their advantages for the extension of God’s kingdom. You will know the truth and the truth will set you free (John 8:38).\u003c\/blockquote\u003e\n\u003cp\u003e\u003ccite\u003eAlbert Ehmann\u003c\/cite\u003e\u003cspan\u003eChurch planter, leader, and mentor for 55 years\u003c\/span\u003e [\/ENDORSEMENT3] [ENDORSEMENT4]\u003c\/p\u003e\n\u003cblockquote\u003eWould your church hire single Saint Paul as pastor? How about young unwed Amy Carmichael to lead a mission? The data says no, and that’s not just bad for all our Amys and Pauls—it’s a disaster for the spread of the gospel. Sociological headwinds are converging. We must stop sidelining our fastest growing demographic. This book is a wakeup call to Protestants to rethink the sacred role of celibacy for mission. \u003c\/blockquote\u003e\n\u003cp\u003e\u003ccite\u003eDel Fehsenfeld III\u003c\/cite\u003e\u003cspan\u003eLife Action Ministries \u003c\/span\u003e [\/ENDORSEMENT4] [ENDORSEMENT5]\u003c\/p\u003e\n\u003cblockquote\u003eAs the World Evangelical Alliance begins to advance a paradigm that fully values, engages, and empowers single and single-again evangelicals, I have turned to Lewie many times for encouragement and advice. I have, perhaps, the advantage of the reader, for not only have I read Single-Minded Service as a book, I have read it as a life; Lewie’s life. May you likewise be encouraged, and more so, challenged by Lewie’s writing, and should the Lord give you favor to know him, his life.\u003c\/blockquote\u003e\n\u003cp\u003e\u003ccite\u003eMark McLeod\u003c\/cite\u003e\u003cspan\u003eSingles Advocacy Initiative, WEA\u003c\/span\u003e [\/ENDORSEMENT5] [ENDORSEMENT6]\u003c\/p\u003e\n\u003cblockquote\u003eToday, most Christians assume that marriage is a fundamental prerequisite for leadership in the church. But Lewie Clark sheds light on how singles have frequently been the spearheads of Christ’s kingdom, ever since the church’s beginning. This wonderful book will empower singles to love, serve, and lead the body of Christ. \u003c\/blockquote\u003e\n\u003cp\u003e\u003ccite\u003eSeth Osborn, PhD\u003c\/cite\u003e\u003cspan\u003eAdjunct Professor, Indiana Wesleyan University \u003c\/span\u003e [\/ENDORSEMENT6] [ENDORSEMENT7]\u003c\/p\u003e\n\u003cblockquote\u003eThe bias is real. I spent years helping hundreds of churches find senior pastors, and not one of them would consider an unmarried candidate. And yet for more than forty years, I’ve watched Lewie Clark pastor, lead, and disciple others (myself included). As a single, never-married man, the biblical insights Lewie brings regarding singleness need to be heard by the church.\u003c\/blockquote\u003e\n\u003cp\u003e\u003ccite\u003eTim Stevens\u003c\/cite\u003e\u003cspan\u003eCEO \u0026amp; Founder, LeadingSmart\u003c\/span\u003e [\/ENDORSEMENT7] [TOC]\u003c\/p\u003e\n\u003cp\u003eChapter 1: Finding Our Way\u003c\/p\u003e\n\u003cp\u003eChapter 2: The Bias\u003c\/p\u003e\n\u003cp\u003eChapter 3: The Invisible Single\u003c\/p\u003e\n\u003cp\u003eChapter 4: A Theology of Singleness\u003c\/p\u003e\n\u003cp\u003eChapter 5: The Kingdom-First Life\u003c\/p\u003e\n\u003cp\u003e[\/TOC]\u003c\/p\u003e","published_at":"2024-11-19T09:04:20-07:00","created_at":"2024-11-11T14:47:20-07:00","vendor":"William Carey Publishing","type":"Book","tags":["biblical examples of single leaders","biblical leadership for singles","challenges for singles in ministry","christian mission leadership","Christian singles in leadership","church biases against singles","church leadership and singleness","empowering singles in ministry","empowering singles in the church","evangelical mission strategies","Family \u0026 Teaming","Inclusion of singles in ministry","kingdom leadership for singles","lewie-clark-with-tim-grissom","ministry opportunities for singles","perk","role of singles in the church","single christian leaders","single missionaries","singleness in christian leadership","singles and church leadership roles","singles in christian ministry","Snapshot"],"price":299,"price_min":299,"price_max":299,"available":true,"price_varies":false,"compare_at_price":null,"compare_at_price_min":0,"compare_at_price_max":0,"compare_at_price_varies":false,"variants":[{"id":46125811564803,"title":"EPub (ebook)","option1":"EPub (ebook)","option2":null,"option3":null,"sku":"9781645086147","requires_shipping":false,"taxable":false,"featured_image":{"id":45385189327107,"product_id":8815889514755,"position":1,"created_at":"2024-11-25T09:15:43-07:00","updated_at":"2024-11-25T09:15:44-07:00","alt":"Single-Minded Service - MissionBooks.org","width":1714,"height":2400,"src":"\/\/missionbooks.org\/cdn\/shop\/files\/Single-MindedService_CVR-Front_1.jpg?v=1732551344","variant_ids":[46125811564803]},"available":true,"name":"Single-Minded Service - EPub (ebook)","public_title":"EPub (ebook)","options":["EPub (ebook)"],"price":299,"weight":0,"compare_at_price":null,"inventory_management":null,"barcode":"9781645086147","featured_media":{"alt":"Single-Minded Service - MissionBooks.org","id":37397938831619,"position":1,"preview_image":{"aspect_ratio":0.714,"height":2400,"width":1714,"src":"\/\/missionbooks.org\/cdn\/shop\/files\/Single-MindedService_CVR-Front_1.jpg?v=1732551344"}},"requires_selling_plan":false,"selling_plan_allocations":[]}],"images":["\/\/missionbooks.org\/cdn\/shop\/files\/Single-MindedService_CVR-Front_1.jpg?v=1732551344","\/\/missionbooks.org\/cdn\/shop\/files\/Single-Minded_Service_CVR-Back_149038dd-0cff-45b1-87e4-e38d95a01f77.jpg?v=1732551352"],"featured_image":"\/\/missionbooks.org\/cdn\/shop\/files\/Single-MindedService_CVR-Front_1.jpg?v=1732551344","options":["Format"],"media":[{"alt":"Single-Minded Service - MissionBooks.org","id":37397938831619,"position":1,"preview_image":{"aspect_ratio":0.714,"height":2400,"width":1714,"src":"\/\/missionbooks.org\/cdn\/shop\/files\/Single-MindedService_CVR-Front_1.jpg?v=1732551344"},"aspect_ratio":0.714,"height":2400,"media_type":"image","src":"\/\/missionbooks.org\/cdn\/shop\/files\/Single-MindedService_CVR-Front_1.jpg?v=1732551344","width":1714},{"alt":"Single-Minded Service - MissionBooks.org","id":37397939290371,"position":2,"preview_image":{"aspect_ratio":0.714,"height":2400,"width":1714,"src":"\/\/missionbooks.org\/cdn\/shop\/files\/Single-Minded_Service_CVR-Back_149038dd-0cff-45b1-87e4-e38d95a01f77.jpg?v=1732551352"},"aspect_ratio":0.714,"height":2400,"media_type":"image","src":"\/\/missionbooks.org\/cdn\/shop\/files\/Single-Minded_Service_CVR-Back_149038dd-0cff-45b1-87e4-e38d95a01f77.jpg?v=1732551352","width":1714}],"requires_selling_plan":false,"selling_plan_groups":[],"content":"\u003cp\u003e[DESCRIPTION]\u003cspan style=\"color: rgb(255, 42, 0);\"\u003e\u003cstrong\u003e\u003c\/strong\u003e\u003c\/span\u003e\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eEmpowering Singles for Ministry Impact\u003c\/strong\u003e\u003c\/p\u003e\n\u003cp\u003eMarriage is a good gift from God and should be esteemed, but is it the best indicator of a man or woman’s fitness for kingdom service? Despite their dedication and immense potential, single Christians often find themselves overlooked and underutilized in ministry leadership roles.\u003c\/p\u003e\n\u003cp\u003eIn \u003cem\u003eSingle-Minded Service\u003c\/em\u003e, Lewie Clark draws on biblical insights and historical examples, revealing the essential roles that singles have played—and can still play—in advancing the kingdom of God. He argues that in certain situations, singleness can enhance ministry effectiveness. Clark doesn’t just critique the current state; he offers a clear, actionable vision for how the church can empower singles to take their rightful place in leadership, following in the footsteps of single leaders like Paul and Barnabas. Whether you are single or married, discover how embracing the gifts and callings of singles can lead to a more effective ministry.\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eWould you like to order a paperback? Order on Amazon.com \u003ca href=\"https:\/\/www.amazon.com\/Single-Minded-Service-Rediscovering-Essential-Leadership\/dp\/1645086550\/ref=sr_1_1?crid=KSR3UJASFDSY\u0026amp;dib=eyJ2IjoiMSJ9.ZetCA4PItPMi0_8HmhSsvA.NWbRA5gRoq0VA635U-Z4ruDjRiPOIIkC6I0PHwiZSQ4\u0026amp;dib_tag=se\u0026amp;keywords=single-minded+service+lewie\u0026amp;qid=1733351846\u0026amp;sprefix=single-minded+service+lewie%2Caps%2C93\u0026amp;sr=8-1\"\u003e\u003cspan style=\"color: rgb(43, 0, 255);\"\u003ehere\u003c\/span\u003e\u003c\/a\u003e\u003c\/strong\u003e!\u003c\/p\u003e\n\u003cp\u003e [\/DESCRIPTION] [SUBTITLE]Rediscovering the Essential Role of Singles in Kingdom Leadership[\/SUBTITLE][PREORDER]12\/10\/24[\/PREORDER][CREDIT] Lewie Clark with Tim Grissom [\/CREDIT] [PAGES] 64 [\/PAGES] [BINDING] Paperback [\/BINDING] [PUBLISHER] William Carey Publishing [\/PUBLISHER] [PUBLISHYEAR] 2024 [\/PUBLISHYEAR] [ENDORSEMENT2]\u003c\/p\u003e\n\u003cblockquote\u003eLewie Clark issues a wakeup call to today's church that if we really want to follow the model of Jesus and the early church, we should be empowering singles for kingdom ministry without presuming they first need to be married. This book is a thoughtful journey that will both encourage single adults that they are fully qualified and equipped for kingdom leadership while simultaneously reminding us all what the true family of believers is all about.\u003c\/blockquote\u003e\n\u003cp\u003e\u003ccite\u003eRev. Barry N. Danylak, PhD\u003c\/cite\u003e\u003cspan\u003eExecutive Director, SEE Globally\u003c\/span\u003e [\/ENDORSEMENT2] [ENDORSEMENT3]\u003c\/p\u003e\n\u003cblockquote\u003eThe lies we believe influence our thinking and behavior without our conscious awareness. But when these lies get exposed and rejected, we have opportunity to joyfully embrace fresh, wholesome thinking and relating. Lewie’s book powerfully exposes cultural lies that cripple the lives and ministries of many singles. It empowers members of Christ’s family to value the unique freedoms that singles enjoy, at times, giving them an advantage over married Christian workers. I am excited to give this book to friends who are single and to those in Christian leadership so that our cultural lies can be exposed and rejected. Let’s trash the shame and marginalization of singles. Let’s embrace them as fully complete in Christ. Let’s leverage their advantages for the extension of God’s kingdom. You will know the truth and the truth will set you free (John 8:38).\u003c\/blockquote\u003e\n\u003cp\u003e\u003ccite\u003eAlbert Ehmann\u003c\/cite\u003e\u003cspan\u003eChurch planter, leader, and mentor for 55 years\u003c\/span\u003e [\/ENDORSEMENT3] [ENDORSEMENT4]\u003c\/p\u003e\n\u003cblockquote\u003eWould your church hire single Saint Paul as pastor? How about young unwed Amy Carmichael to lead a mission? The data says no, and that’s not just bad for all our Amys and Pauls—it’s a disaster for the spread of the gospel. Sociological headwinds are converging. We must stop sidelining our fastest growing demographic. This book is a wakeup call to Protestants to rethink the sacred role of celibacy for mission. \u003c\/blockquote\u003e\n\u003cp\u003e\u003ccite\u003eDel Fehsenfeld III\u003c\/cite\u003e\u003cspan\u003eLife Action Ministries \u003c\/span\u003e [\/ENDORSEMENT4] [ENDORSEMENT5]\u003c\/p\u003e\n\u003cblockquote\u003eAs the World Evangelical Alliance begins to advance a paradigm that fully values, engages, and empowers single and single-again evangelicals, I have turned to Lewie many times for encouragement and advice. I have, perhaps, the advantage of the reader, for not only have I read Single-Minded Service as a book, I have read it as a life; Lewie’s life. May you likewise be encouraged, and more so, challenged by Lewie’s writing, and should the Lord give you favor to know him, his life.\u003c\/blockquote\u003e\n\u003cp\u003e\u003ccite\u003eMark McLeod\u003c\/cite\u003e\u003cspan\u003eSingles Advocacy Initiative, WEA\u003c\/span\u003e [\/ENDORSEMENT5] [ENDORSEMENT6]\u003c\/p\u003e\n\u003cblockquote\u003eToday, most Christians assume that marriage is a fundamental prerequisite for leadership in the church. But Lewie Clark sheds light on how singles have frequently been the spearheads of Christ’s kingdom, ever since the church’s beginning. This wonderful book will empower singles to love, serve, and lead the body of Christ. \u003c\/blockquote\u003e\n\u003cp\u003e\u003ccite\u003eSeth Osborn, PhD\u003c\/cite\u003e\u003cspan\u003eAdjunct Professor, Indiana Wesleyan University \u003c\/span\u003e [\/ENDORSEMENT6] [ENDORSEMENT7]\u003c\/p\u003e\n\u003cblockquote\u003eThe bias is real. I spent years helping hundreds of churches find senior pastors, and not one of them would consider an unmarried candidate. And yet for more than forty years, I’ve watched Lewie Clark pastor, lead, and disciple others (myself included). As a single, never-married man, the biblical insights Lewie brings regarding singleness need to be heard by the church.\u003c\/blockquote\u003e\n\u003cp\u003e\u003ccite\u003eTim Stevens\u003c\/cite\u003e\u003cspan\u003eCEO \u0026amp; Founder, LeadingSmart\u003c\/span\u003e [\/ENDORSEMENT7] [TOC]\u003c\/p\u003e\n\u003cp\u003eChapter 1: Finding Our Way\u003c\/p\u003e\n\u003cp\u003eChapter 2: The Bias\u003c\/p\u003e\n\u003cp\u003eChapter 3: The Invisible Single\u003c\/p\u003e\n\u003cp\u003eChapter 4: A Theology of Singleness\u003c\/p\u003e\n\u003cp\u003eChapter 5: The Kingdom-First Life\u003c\/p\u003e\n\u003cp\u003e[\/TOC]\u003c\/p\u003e"} </script> <script data-locksmith> var load = function () { Locksmith.initializeSession({silent: window.location.search === ""}); Locksmith.util.on('submit', 'locksmith-resource-form', function (event) { event.preventDefault(); var data = Locksmith.util.serializeForm(event.target); Locksmith.postResource(data, { spinner: false, container: 'locksmith-content' }); }); Locksmith.util.on('click', 'locksmith-manual-trigger', function (event) { event.preventDefault(); Locksmith.postResource({}, { spinner: true, container: document }); }); Locksmith.submitPasscode = function (passcode) { Locksmith.postResource( { passcode: passcode }, { spinner: false, container: 'locksmith-content' } ); }; }; if (typeof Locksmith !== 'undefined') { load(); } else { window.addEventListener('load', load); } </script> </div> <div id="shopify-section-footer" class="shopify-section"><div class="container"> <div id="footer"> <div class="signupcol"> </div><!-- .signupcol --> <div class="iconcol"> <h4>Follow Us</h4> <ul class="social-links plain"> <li><a title="Twitter" class="twitter" target="_blank" href="https://twitter.com/wcpbooks"><svg width="48px" height="40px" viewBox="0 0 48 40" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> <title>Twitter</title> <defs></defs> <g id="Icons" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"> <g id="Black" transform="translate(-240.000000, -299.000000)" fill="#000000"> <path d="M288,303.735283 C286.236309,304.538462 284.337383,305.081618 282.345483,305.324305 C284.379644,304.076201 285.940482,302.097147 286.675823,299.739617 C284.771263,300.895269 282.666667,301.736006 280.418384,302.18671 C278.626519,300.224991 276.065504,299 273.231203,299 C267.796443,299 263.387216,303.521488 263.387216,309.097508 C263.387216,309.88913 263.471738,310.657638 263.640782,311.397255 C255.456242,310.975442 248.201444,306.959552 243.341433,300.843265 C242.493397,302.339834 242.008804,304.076201 242.008804,305.925244 C242.008804,309.426869 243.747139,312.518238 246.389857,314.329722 C244.778306,314.280607 243.256911,313.821235 241.9271,313.070061 L241.9271,313.194294 C241.9271,318.08848 245.322064,322.17082 249.8299,323.095341 C249.004402,323.33225 248.133826,323.450704 247.235077,323.450704 C246.601162,323.450704 245.981335,323.390033 245.381229,323.271578 C246.634971,327.28169 250.269414,330.2026 254.580032,330.280607 C251.210424,332.99061 246.961789,334.605634 242.349709,334.605634 C241.555203,334.605634 240.769149,334.559408 240,334.466956 C244.358514,337.327194 249.53689,339 255.095615,339 C273.211481,339 283.114633,323.615385 283.114633,310.270495 C283.114633,309.831347 283.106181,309.392199 283.089276,308.961719 C285.013559,307.537378 286.684275,305.760563 288,303.735283" id="Twitter"></path> </g> <g id="Credit" transform="translate(-1332.000000, -476.000000)"></g> </g> </svg></a></li> <li><a title="Facebook" class="facebook" target="_blank" href="https://www.facebook.com/williamcareypublishing/"><svg width="48px" height="48px" viewBox="0 0 48 48" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> <title>Facebook</title> <defs></defs> <g id="Icons" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"> <g id="Black" transform="translate(-325.000000, -295.000000)" fill="#000000"> <path d="M350.638355,343 L327.649232,343 C326.185673,343 325,341.813592 325,340.350603 L325,297.649211 C325,296.18585 326.185859,295 327.649232,295 L370.350955,295 C371.813955,295 373,296.18585 373,297.649211 L373,340.350603 C373,341.813778 371.813769,343 370.350955,343 L358.119305,343 L358.119305,324.411755 L364.358521,324.411755 L365.292755,317.167586 L358.119305,317.167586 L358.119305,312.542641 C358.119305,310.445287 358.701712,309.01601 361.70929,309.01601 L365.545311,309.014333 L365.545311,302.535091 C364.881886,302.446808 362.604784,302.24957 359.955552,302.24957 C354.424834,302.24957 350.638355,305.625526 350.638355,311.825209 L350.638355,317.167586 L344.383122,317.167586 L344.383122,324.411755 L350.638355,324.411755 L350.638355,343 L350.638355,343 Z" id="Facebook"></path> </g> <g id="Credit" transform="translate(-1417.000000, -472.000000)"></g> </g> </svg></a></li> <li><a title="Youtube" class="youtube" target="_blank" href="https://www.youtube.com/results?search_query=william+carey+Publishing"><svg width="48px" height="34px" viewBox="0 0 48 34" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> <title>Youtube</title> <defs></defs> <g id="Icons" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"> <g id="Black" transform="translate(-567.000000, -302.000000)" fill="#000000"> <path d="M586.044,325.269916 L586.0425,311.687742 L599.0115,318.502244 L586.044,325.269916 Z M614.52,309.334163 C614.52,309.334163 614.0505,306.003199 612.612,304.536366 C610.7865,302.610299 608.7405,302.601235 607.803,302.489448 C601.086,302 591.0105,302 591.0105,302 L590.9895,302 C590.9895,302 580.914,302 574.197,302.489448 C573.258,302.601235 571.2135,302.610299 569.3865,304.536366 C567.948,306.003199 567.48,309.334163 567.48,309.334163 C567.48,309.334163 567,313.246723 567,317.157773 L567,320.82561 C567,324.73817 567.48,328.64922 567.48,328.64922 C567.48,328.64922 567.948,331.980184 569.3865,333.447016 C571.2135,335.373084 573.612,335.312658 574.68,335.513574 C578.52,335.885191 591,336 591,336 C591,336 601.086,335.984894 607.803,335.495446 C608.7405,335.382148 610.7865,335.373084 612.612,333.447016 C614.0505,331.980184 614.52,328.64922 614.52,328.64922 C614.52,328.64922 615,324.73817 615,320.82561 L615,317.157773 C615,313.246723 614.52,309.334163 614.52,309.334163 L614.52,309.334163 Z" id="Youtube"></path> </g> <g id="Credit" transform="translate(-1659.000000, -479.000000)"></g> </g> </svg></a></li> <li><a title="Instagram" class="instagram" target="_blank" href="https://instagram.com/wcpbooks"><svg width="48px" height="48px" viewBox="0 0 48 48" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> <title>Instagram</title> <defs></defs> <g id="Icons" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"> <g id="Black" transform="translate(-642.000000, -295.000000)" fill="#000000"> <path d="M666.000048,295 C659.481991,295 658.664686,295.027628 656.104831,295.144427 C653.550311,295.260939 651.805665,295.666687 650.279088,296.260017 C648.700876,296.873258 647.362454,297.693897 646.028128,299.028128 C644.693897,300.362454 643.873258,301.700876 643.260017,303.279088 C642.666687,304.805665 642.260939,306.550311 642.144427,309.104831 C642.027628,311.664686 642,312.481991 642,319.000048 C642,325.518009 642.027628,326.335314 642.144427,328.895169 C642.260939,331.449689 642.666687,333.194335 643.260017,334.720912 C643.873258,336.299124 644.693897,337.637546 646.028128,338.971872 C647.362454,340.306103 648.700876,341.126742 650.279088,341.740079 C651.805665,342.333313 653.550311,342.739061 656.104831,342.855573 C658.664686,342.972372 659.481991,343 666.000048,343 C672.518009,343 673.335314,342.972372 675.895169,342.855573 C678.449689,342.739061 680.194335,342.333313 681.720912,341.740079 C683.299124,341.126742 684.637546,340.306103 685.971872,338.971872 C687.306103,337.637546 688.126742,336.299124 688.740079,334.720912 C689.333313,333.194335 689.739061,331.449689 689.855573,328.895169 C689.972372,326.335314 690,325.518009 690,319.000048 C690,312.481991 689.972372,311.664686 689.855573,309.104831 C689.739061,306.550311 689.333313,304.805665 688.740079,303.279088 C688.126742,301.700876 687.306103,300.362454 685.971872,299.028128 C684.637546,297.693897 683.299124,296.873258 681.720912,296.260017 C680.194335,295.666687 678.449689,295.260939 675.895169,295.144427 C673.335314,295.027628 672.518009,295 666.000048,295 Z M666.000048,299.324317 C672.40826,299.324317 673.167356,299.348801 675.69806,299.464266 C678.038036,299.570966 679.308818,299.961946 680.154513,300.290621 C681.274771,300.725997 682.074262,301.246066 682.91405,302.08595 C683.753934,302.925738 684.274003,303.725229 684.709379,304.845487 C685.038054,305.691182 685.429034,306.961964 685.535734,309.30194 C685.651199,311.832644 685.675683,312.59174 685.675683,319.000048 C685.675683,325.40826 685.651199,326.167356 685.535734,328.69806 C685.429034,331.038036 685.038054,332.308818 684.709379,333.154513 C684.274003,334.274771 683.753934,335.074262 682.91405,335.91405 C682.074262,336.753934 681.274771,337.274003 680.154513,337.709379 C679.308818,338.038054 678.038036,338.429034 675.69806,338.535734 C673.167737,338.651199 672.408736,338.675683 666.000048,338.675683 C659.591264,338.675683 658.832358,338.651199 656.30194,338.535734 C653.961964,338.429034 652.691182,338.038054 651.845487,337.709379 C650.725229,337.274003 649.925738,336.753934 649.08595,335.91405 C648.246161,335.074262 647.725997,334.274771 647.290621,333.154513 C646.961946,332.308818 646.570966,331.038036 646.464266,328.69806 C646.348801,326.167356 646.324317,325.40826 646.324317,319.000048 C646.324317,312.59174 646.348801,311.832644 646.464266,309.30194 C646.570966,306.961964 646.961946,305.691182 647.290621,304.845487 C647.725997,303.725229 648.246066,302.925738 649.08595,302.08595 C649.925738,301.246066 650.725229,300.725997 651.845487,300.290621 C652.691182,299.961946 653.961964,299.570966 656.30194,299.464266 C658.832644,299.348801 659.59174,299.324317 666.000048,299.324317 Z M666.000048,306.675683 C659.193424,306.675683 653.675683,312.193424 653.675683,319.000048 C653.675683,325.806576 659.193424,331.324317 666.000048,331.324317 C672.806576,331.324317 678.324317,325.806576 678.324317,319.000048 C678.324317,312.193424 672.806576,306.675683 666.000048,306.675683 Z M666.000048,327 C661.581701,327 658,323.418299 658,319.000048 C658,314.581701 661.581701,311 666.000048,311 C670.418299,311 674,314.581701 674,319.000048 C674,323.418299 670.418299,327 666.000048,327 Z M681.691284,306.188768 C681.691284,307.779365 680.401829,309.068724 678.811232,309.068724 C677.22073,309.068724 675.931276,307.779365 675.931276,306.188768 C675.931276,304.598171 677.22073,303.308716 678.811232,303.308716 C680.401829,303.308716 681.691284,304.598171 681.691284,306.188768 Z" id="Instagram"></path> </g> <g id="Credit" transform="translate(-1734.000000, -472.000000)"></g> </g> </svg></a></li> </ul> </div><!-- .iconcol --> <div class="navcol"> <ul> <li><a href="/search">Search</a></li> <li> | <a href="https://missionbooks.us5.list-manage.com/subscribe?u=5a799f53b89f0bccf1786880f&id=cadfb96451">Subscribe for Discounts & New Releases</a></li> <li> | <a href="https://missionbooks-org.myshopify.com/apps/birthday">Birthday Club (free birthday gift)</a></li> <li> | <a href="/pages/about-william-carey-publishing">About Us</a></li> <li> | <a href="/pages/submission-guidelines">Submissions</a></li> <li> | <a href="/pages/permissions">Permissions</a></li> <li> | <a href="/pages/translations-rights-requests">Translations & Rights Requests</a></li> <li> | <a href="/pages/desk-copies">Desk Copy Request</a></li> <li> | <a href="/pages/authors">Authors</a></li> <li> | <a href="/pages/job-openings">Job Opportunities</a></li> <li> | <a href="/pages/shipping-and-returns">Shipping & Returns</a></li> <li> | <a href="/pages/terms-of-use-privacy-policy">Terms of Use & Privacy</a></li> <li> | <a href="/pages/catalog">Latest Catalog</a></li> <li> | <a href="/pages/psporders">PSP Class Orders</a></li> <li> | <a href="/pages/contact">Contact Us</a></li> <li> | <a href="https://cdn.shopify.com/s/files/1/0052/5615/1158/files/WCP_Business_Application_2023.pdf?v=1681319421">Business Account Application</a></li> </ul> </div><!-- .navcol --> <div class="partners"> <p><em>Visit Our Other Publications:</em> <ul> <li><a href="http://www.missionfrontiers.org/" target="_blank">Mission Frontiers</a></li> <li><a href="http://www.ijfm.org/" target="_blank">IJFM</a></li> </ul> <img src="//missionbooks.org/cdn/shop/t/2/assets/ecpa.jpg?v=36353882353676762261532372620" alt="" /> <img src="//missionbooks.org/cdn/shop/t/2/assets/ibpa.jpg?v=37195719675288927281532372621" alt="" /> </p> </div> <div class="credits"> <div class="cards"> <img src="//missionbooks.org/cdn/shopifycloud/shopify/assets/payment_icons/american_express-12858714bc10cdf384b62b8f41d20f56d8c32c1b8fed98b662f2bfc158dcbcf0.svg" alt="american_express" /> <img src="//missionbooks.org/cdn/shopifycloud/shopify/assets/payment_icons/apple_pay-f6db0077dc7c325b436ecbdcf254239100b35b70b1663bc7523d7c424901fa09.svg" alt="apple_pay" /> <img src="//missionbooks.org/cdn/shopifycloud/shopify/assets/payment_icons/discover-cc9808e50193c7496e7a5245eb86d5e06f02e2476c0fe70f2c40016707d35461.svg" alt="discover" /> <img src="//missionbooks.org/cdn/shopifycloud/shopify/assets/payment_icons/google_pay-c66a29c63facf2053bf69352982c958e9675cabea4f2f7ccec08d169d1856b31.svg" alt="google_pay" /> <img src="//missionbooks.org/cdn/shopifycloud/shopify/assets/payment_icons/master-173035bc8124581983d4efa50cf8626e8553c2b311353fbf67485f9c1a2b88d1.svg" alt="master" /> <img src="//missionbooks.org/cdn/shopifycloud/shopify/assets/payment_icons/paypal-49e4c1e03244b6d2de0d270ca0d22dd15da6e92cc7266e93eb43762df5aa355d.svg" alt="paypal" /> <img src="//missionbooks.org/cdn/shopifycloud/shopify/assets/payment_icons/shopify_pay-957a48d1202dc65a7890b292de764ee886f7e64cea486ae82e291e9dc824c914.svg" alt="shopify_pay" /> <img src="//missionbooks.org/cdn/shopifycloud/shopify/assets/payment_icons/venmo-e46496b4036966108664ea6a65bfeddd373275087df5f94cc3e5564fdb493eb0.svg" alt="venmo" /> <img src="//missionbooks.org/cdn/shopifycloud/shopify/assets/payment_icons/visa-319d545c6fd255c9aad5eeaad21fd6f7f7b4fdbdb1a35ce83b89cca12a187f00.svg" alt="visa" /> </div><!-- .cards --> © 2025 <a href="/" title="">MissionBooks.org</a>. | eCommerce by <a href="https://battalioncommerce.com/" target="_blank">Battalion</a> </div><!-- .credits --> </div><!-- #footer --> </div> </div> </div><!-- #wrap --> </div><!-- #wrapthewrap --> <!-- Tabs --> <script>(function(a){a.fn.willtabs=function(c){var b={ tabTextColour:"#333", tabBG:"#eee", activeTabTextColour:"#333", activeTabBG:"#fff", borderStyle:"1px solid #999",tabTopMargin:"20px",contentPadding:"10px 0"};a.extend(b,c);a(this).each(function(){if(a(this).hasClass(".willtab-container")){var d=a(this)}else{var d=a(this).find(".willtab-container")}d.each(function(){var e=a(this).children(".willtab-tabs");var f=a(this).children(".willtab-content");e.css({margin:b.tabTopMargin+" 0 0 0",display:"block","border-bottom":b.borderStyle}).bind("checkstyle",function(){var g=a(this).find("li");g.find("a").css({"float":"left","border-top":b.borderStyle,"border-right":b.borderStyle,"border-left":b.borderStyle,background:b.tabBG,padding:"5px 15px",margin:"2px 0 0","text-decoration":"none",color:b.tabTextColour}).each(function(h){if(h>0){a(this).css("margin-left","-1px")}});g.filter(".active").find("a").css({color:b.activeTabTextColour,background:b.activeTabBG,"padding-top":"7px","margin-top":"0"})});e.find("li").css({"float":"left","list-style":"none",margin:"0"});a("<li />").css({"list-style":"none",clear:"both",height:0}).appendTo(e);f.css({clear:"both",padding:b.contentPadding});e.find("a[data-title]").each(function(){a(this).html(a(this).attr("data-title"))});e.find("a").bind("click",function(){f.children(".tab-"+a(this).attr("data-tab")).show().siblings().hide();e.children(".active").removeClass("active");a(this).parent().addClass("active");e.trigger("checkstyle");return false});e.find("a:first").trigger("click")})})};a(function(){a("body").willtabs()})}(jQuery)); </script> <script src="//missionbooks.org/cdn/shop/t/2/assets/vendor.js?v=169865431883203208321532547782" type="text/javascript"></script> <script src="//missionbooks.org/cdn/shop/t/2/assets/theme.js?v=68463962274839674711645115879" type="text/javascript"></script> <!--The below script removes Locksmtih app attributes from cart.json when the page loads. Locksmith "forgets" the customer,and they need to be reauthorized on each page load--> <script> window.addEventListener('load', () => { document.cookie="locksmith-params={}"; $.post('/cart/update.json', {attributes: {locksmith: null}}); }); </script> <!--End Locksmith script | Erica/Locksmith/2023.09.14--> <!-- **BEGIN** Hextom USB Integration // Main Include - DO NOT MODIFY --> <!-- **BEGIN** Hextom USB Integration // Main - DO NOT MODIFY --> <script type="application/javascript"> window.hextom_usb = { p1: [ { "v1": "-3,1", "v2": "", "v3": ")koobe( buPE", "v4": "46125811564803", "v5": "continue" } ], p2: [ "sredael elgnis fo selpmaxe lacilbib" , "selgnis rof pihsredael lacilbib" , "yrtsinim ni selgnis rof segnellahc" , "pihsredael noissim naitsirhc" , "pihsredael ni selgnis naitsirhC" , "selgnis tsniaga sesaib hcruhc" , "ssenelgnis dna pihsredael hcruhc" , "yrtsinim ni selgnis gnirewopme" , "hcruhc eht ni selgnis gnirewopme" , "seigetarts noissim lacilegnave" , "gnimaeT & ylimaF" , "yrtsinim ni selgnis fo noisulcnI" , "selgnis rof pihsredael modgnik" , "mossirg-mit-htiw-kralc-eiwel" , "selgnis rof seitinutroppo yrtsinim" , "krep" , "hcruhc eht ni selgnis fo elor" , "sredael naitsirhc elgnis" , "seiranoissim elgnis" , "pihsredael naitsirhc ni ssenelgnis" , "selor pihsredael hcruhc dna selgnis" , "yrtsinim naitsirhc ni selgnis" , "tohspanS" ], p3: { } }; </script> <!-- **END** Hextom USB Integration // Main - DO NOT MODIFY --> <!-- **END** Hextom USB Integration // Main Include - DO NOT MODIFY --> <!-- **BEGIN** Hextom FSB Integration // Main Include - DO NOT MODIFY --> <!-- **BEGIN** Hextom FSB Integration // Main - DO NOT MODIFY --> <script type="application/javascript"> window.hextom_fsb_meta = { p1: [ "sredael elgnis fo selpmaxe lacilbib" , "selgnis rof pihsredael lacilbib" , "yrtsinim ni selgnis rof segnellahc" , "pihsredael noissim naitsirhc" , "pihsredael ni selgnis naitsirhC" , "selgnis tsniaga sesaib hcruhc" , "ssenelgnis dna pihsredael hcruhc" , "yrtsinim ni selgnis gnirewopme" , "hcruhc eht ni selgnis gnirewopme" , "seigetarts noissim lacilegnave" , "gnimaeT ;pma& ylimaF" , "yrtsinim ni selgnis fo noisulcnI" , "selgnis rof pihsredael modgnik" , "mossirg-mit-htiw-kralc-eiwel" , "selgnis rof seitinutroppo yrtsinim" , "krep" , "hcruhc eht ni selgnis fo elor" , "sredael naitsirhc elgnis" , "seiranoissim elgnis" , "pihsredael naitsirhc ni ssenelgnis" , "selor pihsredael hcruhc dna selgnis" , "yrtsinim naitsirhc ni selgnis" , "tohspanS" ], p2: { } }; </script> <!-- **END** Hextom FSB Integration // Main - DO NOT MODIFY --> <!-- **END** Hextom FSB Integration // Main Include - DO NOT MODIFY --> <link href="//missionbooks.org/cdn/shop/t/2/assets/paywhirl-styles.scss.css?v=10485593415060013791639062742" rel="stylesheet" type="text/css" media="all" /> <script> /*! jQuery v3.5.1 -ajax,-ajax/jsonp,-ajax/load,-ajax/script,-ajax/var/location,-ajax/var/nonce,-ajax/var/rquery,-ajax/xhr,-manipulation/_evalUrl,-deprecated/ajax-event-alias,-effects,-effects/Tween,-effects/animatedSelector | (c) JS Foundation and other contributors | jquery.org/license */ !function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(g,e){"use strict";var t=[],r=Object.getPrototypeOf,s=t.slice,v=t.flat?function(e){return t.flat.call(e)}:function(e){return t.concat.apply([],e)},u=t.push,i=t.indexOf,n={},o=n.toString,y=n.hasOwnProperty,a=y.toString,l=a.call(Object),m={},b=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType},x=function(e){return null!=e&&e===e.window},w=g.document,c={type:!0,src:!0,nonce:!0,noModule:!0};function C(e,t,n){var r,i,o=(n=n||w).createElement("script");if(o.text=e,t)for(r in c)(i=t[r]||t.getAttribute&&t.getAttribute(r))&&o.setAttribute(r,i);n.head.appendChild(o).parentNode.removeChild(o)}function T(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?n[o.call(e)]||"object":typeof e}var f="3.5.1 -ajax,-ajax/jsonp,-ajax/load,-ajax/script,-ajax/var/location,-ajax/var/nonce,-ajax/var/rquery,-ajax/xhr,-manipulation/_evalUrl,-deprecated/ajax-event-alias,-effects,-effects/Tween,-effects/animatedSelector",E=function(e,t){return new E.fn.init(e,t)};function d(e){var t=!!e&&"length"in e&&e.length,n=T(e);return!b(e)&&!x(e)&&("array"===n||0===t||"number"==typeof t&&0<t&&t-1 in e)}E.fn=E.prototype={jquery:f,constructor:E,length:0,toArray:function(){return s.call(this)},get:function(e){return null==e?s.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=E.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return E.each(this,e)},map:function(n){return this.pushStack(E.map(this,function(e,t){return n.call(e,t,e)}))},slice:function(){return this.pushStack(s.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(E.grep(this,function(e,t){return(t+1)%2}))},odd:function(){return this.pushStack(E.grep(this,function(e,t){return t%2}))},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(0<=n&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:u,sort:t.sort,splice:t.splice},E.extend=E.fn.extend=function(){var e,t,n,r,i,o,a=arguments[0]||{},s=1,u=arguments.length,l=!1;for("boolean"==typeof a&&(l=a,a=arguments[s]||{},s++),"object"==typeof a||b(a)||(a={}),s===u&&(a=this,s--);s<u;s++)if(null!=(e=arguments[s]))for(t in e)r=e[t],"__proto__"!==t&&a!==r&&(l&&r&&(E.isPlainObject(r)||(i=Array.isArray(r)))?(n=a[t],o=i&&!Array.isArray(n)?[]:i||E.isPlainObject(n)?n:{},i=!1,a[t]=E.extend(l,o,r)):void 0!==r&&(a[t]=r));return a},E.extend({expando:"jQuery"+(f+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var t,n;return!(!e||"[object Object]"!==o.call(e))&&(!(t=r(e))||"function"==typeof(n=y.call(t,"constructor")&&t.constructor)&&a.call(n)===l)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e,t,n){C(e,{nonce:t&&t.nonce},n)},each:function(e,t){var n,r=0;if(d(e)){for(n=e.length;r<n;r++)if(!1===t.call(e[r],r,e[r]))break}else for(r in e)if(!1===t.call(e[r],r,e[r]))break;return e},makeArray:function(e,t){var n=t||[];return null!=e&&(d(Object(e))?E.merge(n,"string"==typeof e?[e]:e):u.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:i.call(t,e,n)},merge:function(e,t){for(var n=+t.length,r=0,i=e.length;r<n;r++)e[i++]=t[r];return e.length=i,e},grep:function(e,t,n){for(var r=[],i=0,o=e.length,a=!n;i<o;i++)!t(e[i],i)!==a&&r.push(e[i]);return r},map:function(e,t,n){var r,i,o=0,a=[];if(d(e))for(r=e.length;o<r;o++)null!=(i=t(e[o],o,n))&&a.push(i);else for(o in e)null!=(i=t(e[o],o,n))&&a.push(i);return v(a)},guid:1,support:m}),"function"==typeof Symbol&&(E.fn[Symbol.iterator]=t[Symbol.iterator]),E.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){n["[object "+t+"]"]=t.toLowerCase()});var p=function(n){var e,p,x,o,i,h,f,g,w,u,l,C,T,a,E,v,s,c,y,A="sizzle"+1*new Date,d=n.document,N=0,r=0,m=ue(),b=ue(),S=ue(),k=ue(),D=function(e,t){return e===t&&(l=!0),0},L={}.hasOwnProperty,t=[],j=t.pop,q=t.push,O=t.push,P=t.slice,H=function(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1},I="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",R="[\\x20\\t\\r\\n\\f]",B="(?:\\\\[\\da-fA-F]{1,6}"+R+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",M="\\["+R+"*("+B+")(?:"+R+"*([*^$|!~]?=)"+R+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+B+"))|)"+R+"*\\]",W=":("+B+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+M+")*)|.*)\\)|)",F=new RegExp(R+"+","g"),$=new RegExp("^"+R+"+|((?:^|[^\\\\])(?:\\\\.)*)"+R+"+$","g"),z=new RegExp("^"+R+"*,"+R+"*"),_=new RegExp("^"+R+"*([>+~]|"+R+")"+R+"*"),U=new RegExp(R+"|>"),V=new RegExp(W),X=new RegExp("^"+B+"$"),Q={ID:new RegExp("^#("+B+")"),CLASS:new RegExp("^\\.("+B+")"),TAG:new RegExp("^("+B+"|[*])"),ATTR:new RegExp("^"+M),PSEUDO:new RegExp("^"+W),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+R+"*(even|odd|(([+-]|)(\\d*)n|)"+R+"*(?:([+-]|)"+R+"*(\\d+)|))"+R+"*\\)|)","i"),bool:new RegExp("^(?:"+I+")$","i"),needsContext:new RegExp("^"+R+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+R+"*((?:-\\d)?\\d*)"+R+"*\\)|)(?=[^-]|$)","i")},Y=/HTML$/i,G=/^(?:input|select|textarea|button)$/i,K=/^h\d$/i,J=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new RegExp("\\\\[\\da-fA-F]{1,6}"+R+"?|\\\\([^\\r\\n\\f])","g"),ne=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},re=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ie=function(e,t){return t?"\0"===e?"\ufffd":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},oe=function(){C()},ae=xe(function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{O.apply(t=P.call(d.childNodes),d.childNodes),t[d.childNodes.length].nodeType}catch(e){O={apply:t.length?function(e,t){q.apply(e,P.call(t))}:function(e,t){var n=e.length,r=0;while(e[n++]=t[r++]);e.length=n-1}}}function se(t,e,n,r){var i,o,a,s,u,l,c,f=e&&e.ownerDocument,d=e?e.nodeType:9;if(n=n||[],"string"!=typeof t||!t||1!==d&&9!==d&&11!==d)return n;if(!r&&(C(e),e=e||T,E)){if(11!==d&&(u=Z.exec(t)))if(i=u[1]){if(9===d){if(!(a=e.getElementById(i)))return n;if(a.id===i)return n.push(a),n}else if(f&&(a=f.getElementById(i))&&y(e,a)&&a.id===i)return n.push(a),n}else{if(u[2])return O.apply(n,e.getElementsByTagName(t)),n;if((i=u[3])&&p.getElementsByClassName&&e.getElementsByClassName)return O.apply(n,e.getElementsByClassName(i)),n}if(p.qsa&&!k[t+" "]&&(!v||!v.test(t))&&(1!==d||"object"!==e.nodeName.toLowerCase())){if(c=t,f=e,1===d&&(U.test(t)||_.test(t))){(f=ee.test(t)&&ye(e.parentNode)||e)===e&&p.scope||((s=e.getAttribute("id"))?s=s.replace(re,ie):e.setAttribute("id",s=A)),o=(l=h(t)).length;while(o--)l[o]=(s?"#"+s:":scope")+" "+be(l[o]);c=l.join(",")}try{return O.apply(n,f.querySelectorAll(c)),n}catch(e){k(t,!0)}finally{s===A&&e.removeAttribute("id")}}}return g(t.replace($,"$1"),e,n,r)}function ue(){var r=[];return function e(t,n){return r.push(t+" ")>x.cacheLength&&delete e[r.shift()],e[t+" "]=n}}function le(e){return e[A]=!0,e}function ce(e){var t=T.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function fe(e,t){var n=e.split("|"),r=n.length;while(r--)x.attrHandle[n[r]]=t}function de(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)while(n=n.nextSibling)if(n===t)return-1;return e?1:-1}function pe(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function he(n){return function(e){var t=e.nodeName.toLowerCase();return("input"===t||"button"===t)&&e.type===n}}function ge(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&ae(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function ve(a){return le(function(o){return o=+o,le(function(e,t){var n,r=a([],e.length,o),i=r.length;while(i--)e[n=r[i]]&&(e[n]=!(t[n]=e[n]))})})}function ye(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}for(e in p=se.support={},i=se.isXML=function(e){var t=e.namespaceURI,n=(e.ownerDocument||e).documentElement;return!Y.test(t||n&&n.nodeName||"HTML")},C=se.setDocument=function(e){var t,n,r=e?e.ownerDocument||e:d;return r!=T&&9===r.nodeType&&r.documentElement&&(a=(T=r).documentElement,E=!i(T),d!=T&&(n=T.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",oe,!1):n.attachEvent&&n.attachEvent("onunload",oe)),p.scope=ce(function(e){return a.appendChild(e).appendChild(T.createElement("div")),"undefined"!=typeof e.querySelectorAll&&!e.querySelectorAll(":scope fieldset div").length}),p.attributes=ce(function(e){return e.className="i",!e.getAttribute("className")}),p.getElementsByTagName=ce(function(e){return e.appendChild(T.createComment("")),!e.getElementsByTagName("*").length}),p.getElementsByClassName=J.test(T.getElementsByClassName),p.getById=ce(function(e){return a.appendChild(e).id=A,!T.getElementsByName||!T.getElementsByName(A).length}),p.getById?(x.filter.ID=function(e){var t=e.replace(te,ne);return function(e){return e.getAttribute("id")===t}},x.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&E){var n=t.getElementById(e);return n?[n]:[]}}):(x.filter.ID=function(e){var n=e.replace(te,ne);return function(e){var t="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return t&&t.value===n}},x.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&E){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];i=t.getElementsByName(e),r=0;while(o=i[r++])if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),x.find.TAG=p.getElementsByTagName?function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):p.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){while(n=o[i++])1===n.nodeType&&r.push(n);return r}return o},x.find.CLASS=p.getElementsByClassName&&function(e,t){if("undefined"!=typeof t.getElementsByClassName&&E)return t.getElementsByClassName(e)},s=[],v=[],(p.qsa=J.test(T.querySelectorAll))&&(ce(function(e){var t;a.appendChild(e).innerHTML="<a id='"+A+"'></a><select id='"+A+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&v.push("[*^$]="+R+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||v.push("\\["+R+"*(?:value|"+I+")"),e.querySelectorAll("[id~="+A+"-]").length||v.push("~="),(t=T.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||v.push("\\["+R+"*name"+R+"*="+R+"*(?:''|\"\")"),e.querySelectorAll(":checked").length||v.push(":checked"),e.querySelectorAll("a#"+A+"+*").length||v.push(".#.+[+~]"),e.querySelectorAll("\\\f"),v.push("[\\r\\n\\f]")}),ce(function(e){e.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var t=T.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&v.push("name"+R+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&v.push(":enabled",":disabled"),a.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&v.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),v.push(",.*:")})),(p.matchesSelector=J.test(c=a.matches||a.webkitMatchesSelector||a.mozMatchesSelector||a.oMatchesSelector||a.msMatchesSelector))&&ce(function(e){p.disconnectedMatch=c.call(e,"*"),c.call(e,"[s!='']:x"),s.push("!=",W)}),v=v.length&&new RegExp(v.join("|")),s=s.length&&new RegExp(s.join("|")),t=J.test(a.compareDocumentPosition),y=t||J.test(a.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)while(t=t.parentNode)if(t===e)return!0;return!1},D=t?function(e,t){if(e===t)return l=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!p.sortDetached&&t.compareDocumentPosition(e)===n?e==T||e.ownerDocument==d&&y(d,e)?-1:t==T||t.ownerDocument==d&&y(d,t)?1:u?H(u,e)-H(u,t):0:4&n?-1:1)}:function(e,t){if(e===t)return l=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,a=[e],s=[t];if(!i||!o)return e==T?-1:t==T?1:i?-1:o?1:u?H(u,e)-H(u,t):0;if(i===o)return de(e,t);n=e;while(n=n.parentNode)a.unshift(n);n=t;while(n=n.parentNode)s.unshift(n);while(a[r]===s[r])r++;return r?de(a[r],s[r]):a[r]==d?-1:s[r]==d?1:0}),T},se.matches=function(e,t){return se(e,null,null,t)},se.matchesSelector=function(e,t){if(C(e),p.matchesSelector&&E&&!k[t+" "]&&(!s||!s.test(t))&&(!v||!v.test(t)))try{var n=c.call(e,t);if(n||p.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){k(t,!0)}return 0<se(t,T,null,[e]).length},se.contains=function(e,t){return(e.ownerDocument||e)!=T&&C(e),y(e,t)},se.attr=function(e,t){(e.ownerDocument||e)!=T&&C(e);var n=x.attrHandle[t.toLowerCase()],r=n&&L.call(x.attrHandle,t.toLowerCase())?n(e,t,!E):void 0;return void 0!==r?r:p.attributes||!E?e.getAttribute(t):(r=e.getAttributeNode(t))&&r.specified?r.value:null},se.escape=function(e){return(e+"").replace(re,ie)},se.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},se.uniqueSort=function(e){var t,n=[],r=0,i=0;if(l=!p.detectDuplicates,u=!p.sortStable&&e.slice(0),e.sort(D),l){while(t=e[i++])t===e[i]&&(r=n.push(i));while(r--)e.splice(n[r],1)}return u=null,e},o=se.getText=function(e){var t,n="",r=0,i=e.nodeType;if(i){if(1===i||9===i||11===i){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=o(e)}else if(3===i||4===i)return e.nodeValue}else while(t=e[r++])n+=o(t);return n},(x=se.selectors={cacheLength:50,createPseudo:le,match:Q,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(te,ne),e[3]=(e[3]||e[4]||e[5]||"").replace(te,ne),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||se.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&se.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return Q.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&V.test(n)&&(t=h(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(te,ne).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=m[e+" "];return t||(t=new RegExp("(^|"+R+")"+e+"("+R+"|$)"))&&m(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(n,r,i){return function(e){var t=se.attr(e,n);return null==t?"!="===r:!r||(t+="","="===r?t===i:"!="===r?t!==i:"^="===r?i&&0===t.indexOf(i):"*="===r?i&&-1<t.indexOf(i):"$="===r?i&&t.slice(-i.length)===i:"~="===r?-1<(" "+t.replace(F," ")+" ").indexOf(i):"|="===r&&(t===i||t.slice(0,i.length+1)===i+"-"))}},CHILD:function(h,e,t,g,v){var y="nth"!==h.slice(0,3),m="last"!==h.slice(-4),b="of-type"===e;return 1===g&&0===v?function(e){return!!e.parentNode}:function(e,t,n){var r,i,o,a,s,u,l=y!==m?"nextSibling":"previousSibling",c=e.parentNode,f=b&&e.nodeName.toLowerCase(),d=!n&&!b,p=!1;if(c){if(y){while(l){a=e;while(a=a[l])if(b?a.nodeName.toLowerCase()===f:1===a.nodeType)return!1;u=l="only"===h&&!u&&"nextSibling"}return!0}if(u=[m?c.firstChild:c.lastChild],m&&d){p=(s=(r=(i=(o=(a=c)[A]||(a[A]={}))[a.uniqueID]||(o[a.uniqueID]={}))[h]||[])[0]===N&&r[1])&&r[2],a=s&&c.childNodes[s];while(a=++s&&a&&a[l]||(p=s=0)||u.pop())if(1===a.nodeType&&++p&&a===e){i[h]=[N,s,p];break}}else if(d&&(p=s=(r=(i=(o=(a=e)[A]||(a[A]={}))[a.uniqueID]||(o[a.uniqueID]={}))[h]||[])[0]===N&&r[1]),!1===p)while(a=++s&&a&&a[l]||(p=s=0)||u.pop())if((b?a.nodeName.toLowerCase()===f:1===a.nodeType)&&++p&&(d&&((i=(o=a[A]||(a[A]={}))[a.uniqueID]||(o[a.uniqueID]={}))[h]=[N,p]),a===e))break;return(p-=v)===g||p%g==0&&0<=p/g}}},PSEUDO:function(e,o){var t,a=x.pseudos[e]||x.setFilters[e.toLowerCase()]||se.error("unsupported pseudo: "+e);return a[A]?a(o):1<a.length?(t=[e,e,"",o],x.setFilters.hasOwnProperty(e.toLowerCase())?le(function(e,t){var n,r=a(e,o),i=r.length;while(i--)e[n=H(e,r[i])]=!(t[n]=r[i])}):function(e){return a(e,0,t)}):a}},pseudos:{not:le(function(e){var r=[],i=[],s=f(e.replace($,"$1"));return s[A]?le(function(e,t,n,r){var i,o=s(e,null,r,[]),a=e.length;while(a--)(i=o[a])&&(e[a]=!(t[a]=i))}):function(e,t,n){return r[0]=e,s(r,null,n,i),r[0]=null,!i.pop()}}),has:le(function(t){return function(e){return 0<se(t,e).length}}),contains:le(function(t){return t=t.replace(te,ne),function(e){return-1<(e.textContent||o(e)).indexOf(t)}}),lang:le(function(n){return X.test(n||"")||se.error("unsupported lang: "+n),n=n.replace(te,ne).toLowerCase(),function(e){var t;do{if(t=E?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return(t=t.toLowerCase())===n||0===t.indexOf(n+"-")}while((e=e.parentNode)&&1===e.nodeType);return!1}}),target:function(e){var t=n.location&&n.location.hash;return t&&t.slice(1)===e.id},root:function(e){return e===a},focus:function(e){return e===T.activeElement&&(!T.hasFocus||T.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:ge(!1),disabled:ge(!0),checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!x.pseudos.empty(e)},header:function(e){return K.test(e.nodeName)},input:function(e){return G.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:ve(function(){return[0]}),last:ve(function(e,t){return[t-1]}),eq:ve(function(e,t,n){return[n<0?n+t:n]}),even:ve(function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e}),odd:ve(function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e}),lt:ve(function(e,t,n){for(var r=n<0?n+t:t<n?t:n;0<=--r;)e.push(r);return e}),gt:ve(function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r);return e})}}).pseudos.nth=x.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})x.pseudos[e]=pe(e);for(e in{submit:!0,reset:!0})x.pseudos[e]=he(e);function me(){}function be(e){for(var t=0,n=e.length,r="";t<n;t++)r+=e[t].value;return r}function xe(s,e,t){var u=e.dir,l=e.next,c=l||u,f=t&&"parentNode"===c,d=r++;return e.first?function(e,t,n){while(e=e[u])if(1===e.nodeType||f)return s(e,t,n);return!1}:function(e,t,n){var r,i,o,a=[N,d];if(n){while(e=e[u])if((1===e.nodeType||f)&&s(e,t,n))return!0}else while(e=e[u])if(1===e.nodeType||f)if(i=(o=e[A]||(e[A]={}))[e.uniqueID]||(o[e.uniqueID]={}),l&&l===e.nodeName.toLowerCase())e=e[u]||e;else{if((r=i[c])&&r[0]===N&&r[1]===d)return a[2]=r[2];if((i[c]=a)[2]=s(e,t,n))return!0}return!1}}function we(i){return 1<i.length?function(e,t,n){var r=i.length;while(r--)if(!i[r](e,t,n))return!1;return!0}:i[0]}function Ce(e,t,n,r,i){for(var o,a=[],s=0,u=e.length,l=null!=t;s<u;s++)(o=e[s])&&(n&&!n(o,r,i)||(a.push(o),l&&t.push(s)));return a}function Te(p,h,g,v,y,e){return v&&!v[A]&&(v=Te(v)),y&&!y[A]&&(y=Te(y,e)),le(function(e,t,n,r){var i,o,a,s=[],u=[],l=t.length,c=e||function(e,t,n){for(var r=0,i=t.length;r<i;r++)se(e,t[r],n);return n}(h||"*",n.nodeType?[n]:n,[]),f=!p||!e&&h?c:Ce(c,s,p,n,r),d=g?y||(e?p:l||v)?[]:t:f;if(g&&g(f,d,n,r),v){i=Ce(d,u),v(i,[],n,r),o=i.length;while(o--)(a=i[o])&&(d[u[o]]=!(f[u[o]]=a))}if(e){if(y||p){if(y){i=[],o=d.length;while(o--)(a=d[o])&&i.push(f[o]=a);y(null,d=[],i,r)}o=d.length;while(o--)(a=d[o])&&-1<(i=y?H(e,a):s[o])&&(e[i]=!(t[i]=a))}}else d=Ce(d===t?d.splice(l,d.length):d),y?y(null,t,d,r):O.apply(t,d)})}function Ee(e){for(var i,t,n,r=e.length,o=x.relative[e[0].type],a=o||x.relative[" "],s=o?1:0,u=xe(function(e){return e===i},a,!0),l=xe(function(e){return-1<H(i,e)},a,!0),c=[function(e,t,n){var r=!o&&(n||t!==w)||((i=t).nodeType?u(e,t,n):l(e,t,n));return i=null,r}];s<r;s++)if(t=x.relative[e[s].type])c=[xe(we(c),t)];else{if((t=x.filter[e[s].type].apply(null,e[s].matches))[A]){for(n=++s;n<r;n++)if(x.relative[e[n].type])break;return Te(1<s&&we(c),1<s&&be(e.slice(0,s-1).concat({value:" "===e[s-2].type?"*":""})).replace($,"$1"),t,s<n&&Ee(e.slice(s,n)),n<r&&Ee(e=e.slice(n)),n<r&&be(e))}c.push(t)}return we(c)}return me.prototype=x.filters=x.pseudos,x.setFilters=new me,h=se.tokenize=function(e,t){var n,r,i,o,a,s,u,l=b[e+" "];if(l)return t?0:l.slice(0);a=e,s=[],u=x.preFilter;while(a){for(o in n&&!(r=z.exec(a))||(r&&(a=a.slice(r[0].length)||a),s.push(i=[])),n=!1,(r=_.exec(a))&&(n=r.shift(),i.push({value:n,type:r[0].replace($," ")}),a=a.slice(n.length)),x.filter)!(r=Q[o].exec(a))||u[o]&&!(r=u[o](r))||(n=r.shift(),i.push({value:n,type:o,matches:r}),a=a.slice(n.length));if(!n)break}return t?a.length:a?se.error(e):b(e,s).slice(0)},f=se.compile=function(e,t){var n,v,y,m,b,r,i=[],o=[],a=S[e+" "];if(!a){t||(t=h(e)),n=t.length;while(n--)(a=Ee(t[n]))[A]?i.push(a):o.push(a);(a=S(e,(v=o,m=0<(y=i).length,b=0<v.length,r=function(e,t,n,r,i){var o,a,s,u=0,l="0",c=e&&[],f=[],d=w,p=e||b&&x.find.TAG("*",i),h=N+=null==d?1:Math.random()||.1,g=p.length;for(i&&(w=t==T||t||i);l!==g&&null!=(o=p[l]);l++){if(b&&o){a=0,t||o.ownerDocument==T||(C(o),n=!E);while(s=v[a++])if(s(o,t||T,n)){r.push(o);break}i&&(N=h)}m&&((o=!s&&o)&&u--,e&&c.push(o))}if(u+=l,m&&l!==u){a=0;while(s=y[a++])s(c,f,t,n);if(e){if(0<u)while(l--)c[l]||f[l]||(f[l]=j.call(r));f=Ce(f)}O.apply(r,f),i&&!e&&0<f.length&&1<u+y.length&&se.uniqueSort(r)}return i&&(N=h,w=d),c},m?le(r):r))).selector=e}return a},g=se.select=function(e,t,n,r){var i,o,a,s,u,l="function"==typeof e&&e,c=!r&&h(e=l.selector||e);if(n=n||[],1===c.length){if(2<(o=c[0]=c[0].slice(0)).length&&"ID"===(a=o[0]).type&&9===t.nodeType&&E&&x.relative[o[1].type]){if(!(t=(x.find.ID(a.matches[0].replace(te,ne),t)||[])[0]))return n;l&&(t=t.parentNode),e=e.slice(o.shift().value.length)}i=Q.needsContext.test(e)?0:o.length;while(i--){if(a=o[i],x.relative[s=a.type])break;if((u=x.find[s])&&(r=u(a.matches[0].replace(te,ne),ee.test(o[0].type)&&ye(t.parentNode)||t))){if(o.splice(i,1),!(e=r.length&&be(o)))return O.apply(n,r),n;break}}}return(l||f(e,c))(r,t,!E,n,!t||ee.test(e)&&ye(t.parentNode)||t),n},p.sortStable=A.split("").sort(D).join("")===A,p.detectDuplicates=!!l,C(),p.sortDetached=ce(function(e){return 1&e.compareDocumentPosition(T.createElement("fieldset"))}),ce(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")})||fe("type|href|height|width",function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),p.attributes&&ce(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||fe("value",function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue}),ce(function(e){return null==e.getAttribute("disabled")})||fe(I,function(e,t,n){var r;if(!n)return!0===e[t]?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null}),se}(g);E.find=p,E.expr=p.selectors,E.expr[":"]=E.expr.pseudos,E.uniqueSort=E.unique=p.uniqueSort,E.text=p.getText,E.isXMLDoc=p.isXML,E.contains=p.contains,E.escapeSelector=p.escape;var h=function(e,t,n){var r=[],i=void 0!==n;while((e=e[t])&&9!==e.nodeType)if(1===e.nodeType){if(i&&E(e).is(n))break;r.push(e)}return r},A=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},N=E.expr.match.needsContext;function S(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}var k=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function D(e,n,r){return b(n)?E.grep(e,function(e,t){return!!n.call(e,t,e)!==r}):n.nodeType?E.grep(e,function(e){return e===n!==r}):"string"!=typeof n?E.grep(e,function(e){return-1<i.call(n,e)!==r}):E.filter(n,e,r)}E.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?E.find.matchesSelector(r,e)?[r]:[]:E.find.matches(e,E.grep(t,function(e){return 1===e.nodeType}))},E.fn.extend({find:function(e){var t,n,r=this.length,i=this;if("string"!=typeof e)return this.pushStack(E(e).filter(function(){for(t=0;t<r;t++)if(E.contains(i[t],this))return!0}));for(n=this.pushStack([]),t=0;t<r;t++)E.find(e,i[t],n);return 1<r?E.uniqueSort(n):n},filter:function(e){return this.pushStack(D(this,e||[],!1))},not:function(e){return this.pushStack(D(this,e||[],!0))},is:function(e){return!!D(this,"string"==typeof e&&N.test(e)?E(e):e||[],!1).length}});var L,j=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(E.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||L,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:j.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof E?t[0]:t,E.merge(this,E.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:w,!0)),k.test(r[1])&&E.isPlainObject(t))for(r in t)b(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=w.getElementById(r[2]))&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):b(e)?void 0!==n.ready?n.ready(e):e(E):E.makeArray(e,this)}).prototype=E.fn,L=E(w);var q=/^(?:parents|prev(?:Until|All))/,O={children:!0,contents:!0,next:!0,prev:!0};function P(e,t){while((e=e[t])&&1!==e.nodeType);return e}E.fn.extend({has:function(e){var t=E(e,this),n=t.length;return this.filter(function(){for(var e=0;e<n;e++)if(E.contains(this,t[e]))return!0})},closest:function(e,t){var n,r=0,i=this.length,o=[],a="string"!=typeof e&&E(e);if(!N.test(e))for(;r<i;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(a?-1<a.index(n):1===n.nodeType&&E.find.matchesSelector(n,e))){o.push(n);break}return this.pushStack(1<o.length?E.uniqueSort(o):o)},index:function(e){return e?"string"==typeof e?i.call(E(e),this[0]):i.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(E.uniqueSort(E.merge(this.get(),E(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),E.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return h(e,"parentNode")},parentsUntil:function(e,t,n){return h(e,"parentNode",n)},next:function(e){return P(e,"nextSibling")},prev:function(e){return P(e,"previousSibling")},nextAll:function(e){return h(e,"nextSibling")},prevAll:function(e){return h(e,"previousSibling")},nextUntil:function(e,t,n){return h(e,"nextSibling",n)},prevUntil:function(e,t,n){return h(e,"previousSibling",n)},siblings:function(e){return A((e.parentNode||{}).firstChild,e)},children:function(e){return A(e.firstChild)},contents:function(e){return null!=e.contentDocument&&r(e.contentDocument)?e.contentDocument:(S(e,"template")&&(e=e.content||e),E.merge([],e.childNodes))}},function(r,i){E.fn[r]=function(e,t){var n=E.map(this,i,e);return"Until"!==r.slice(-5)&&(t=e),t&&"string"==typeof t&&(n=E.filter(t,n)),1<this.length&&(O[r]||E.uniqueSort(n),q.test(r)&&n.reverse()),this.pushStack(n)}});var H=/[^\x20\t\r\n\f]+/g;function I(e){return e}function R(e){throw e}function B(e,t,n,r){var i;try{e&&b(i=e.promise)?i.call(e).done(t).fail(n):e&&b(i=e.then)?i.call(e,t,n):t.apply(void 0,[e].slice(r))}catch(e){n.apply(void 0,[e])}}E.Callbacks=function(r){var e,n;r="string"==typeof r?(e=r,n={},E.each(e.match(H)||[],function(e,t){n[t]=!0}),n):E.extend({},r);var i,t,o,a,s=[],u=[],l=-1,c=function(){for(a=a||r.once,o=i=!0;u.length;l=-1){t=u.shift();while(++l<s.length)!1===s[l].apply(t[0],t[1])&&r.stopOnFalse&&(l=s.length,t=!1)}r.memory||(t=!1),i=!1,a&&(s=t?[]:"")},f={add:function(){return s&&(t&&!i&&(l=s.length-1,u.push(t)),function n(e){E.each(e,function(e,t){b(t)?r.unique&&f.has(t)||s.push(t):t&&t.length&&"string"!==T(t)&&n(t)})}(arguments),t&&!i&&c()),this},remove:function(){return E.each(arguments,function(e,t){var n;while(-1<(n=E.inArray(t,s,n)))s.splice(n,1),n<=l&&l--}),this},has:function(e){return e?-1<E.inArray(e,s):0<s.length},empty:function(){return s&&(s=[]),this},disable:function(){return a=u=[],s=t="",this},disabled:function(){return!s},lock:function(){return a=u=[],t||i||(s=t=""),this},locked:function(){return!!a},fireWith:function(e,t){return a||(t=[e,(t=t||[]).slice?t.slice():t],u.push(t),i||c()),this},fire:function(){return f.fireWith(this,arguments),this},fired:function(){return!!o}};return f},E.extend({Deferred:function(e){var o=[["notify","progress",E.Callbacks("memory"),E.Callbacks("memory"),2],["resolve","done",E.Callbacks("once memory"),E.Callbacks("once memory"),0,"resolved"],["reject","fail",E.Callbacks("once memory"),E.Callbacks("once memory"),1,"rejected"]],i="pending",a={state:function(){return i},always:function(){return s.done(arguments).fail(arguments),this},"catch":function(e){return a.then(null,e)},pipe:function(){var i=arguments;return E.Deferred(function(r){E.each(o,function(e,t){var n=b(i[t[4]])&&i[t[4]];s[t[1]](function(){var e=n&&n.apply(this,arguments);e&&b(e.promise)?e.promise().progress(r.notify).done(r.resolve).fail(r.reject):r[t[0]+"With"](this,n?[e]:arguments)})}),i=null}).promise()},then:function(t,n,r){var u=0;function l(i,o,a,s){return function(){var n=this,r=arguments,e=function(){var e,t;if(!(i<u)){if((e=a.apply(n,r))===o.promise())throw new TypeError("Thenable self-resolution");t=e&&("object"==typeof e||"function"==typeof e)&&e.then,b(t)?s?t.call(e,l(u,o,I,s),l(u,o,R,s)):(u++,t.call(e,l(u,o,I,s),l(u,o,R,s),l(u,o,I,o.notifyWith))):(a!==I&&(n=void 0,r=[e]),(s||o.resolveWith)(n,r))}},t=s?e:function(){try{e()}catch(e){E.Deferred.exceptionHook&&E.Deferred.exceptionHook(e,t.stackTrace),u<=i+1&&(a!==R&&(n=void 0,r=[e]),o.rejectWith(n,r))}};i?t():(E.Deferred.getStackHook&&(t.stackTrace=E.Deferred.getStackHook()),g.setTimeout(t))}}return E.Deferred(function(e){o[0][3].add(l(0,e,b(r)?r:I,e.notifyWith)),o[1][3].add(l(0,e,b(t)?t:I)),o[2][3].add(l(0,e,b(n)?n:R))}).promise()},promise:function(e){return null!=e?E.extend(e,a):a}},s={};return E.each(o,function(e,t){var n=t[2],r=t[5];a[t[1]]=n.add,r&&n.add(function(){i=r},o[3-e][2].disable,o[3-e][3].disable,o[0][2].lock,o[0][3].lock),n.add(t[3].fire),s[t[0]]=function(){return s[t[0]+"With"](this===s?void 0:this,arguments),this},s[t[0]+"With"]=n.fireWith}),a.promise(s),e&&e.call(s,s),s},when:function(e){var n=arguments.length,t=n,r=Array(t),i=s.call(arguments),o=E.Deferred(),a=function(t){return function(e){r[t]=this,i[t]=1<arguments.length?s.call(arguments):e,--n||o.resolveWith(r,i)}};if(n<=1&&(B(e,o.done(a(t)).resolve,o.reject,!n),"pending"===o.state()||b(i[t]&&i[t].then)))return o.then();while(t--)B(i[t],a(t),o.reject);return o.promise()}});var M=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;E.Deferred.exceptionHook=function(e,t){g.console&&g.console.warn&&e&&M.test(e.name)&&g.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},E.readyException=function(e){g.setTimeout(function(){throw e})};var W=E.Deferred();function F(){w.removeEventListener("DOMContentLoaded",F),g.removeEventListener("load",F),E.ready()}E.fn.ready=function(e){return W.then(e)["catch"](function(e){E.readyException(e)}),this},E.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--E.readyWait:E.isReady)||(E.isReady=!0)!==e&&0<--E.readyWait||W.resolveWith(w,[E])}}),E.ready.then=W.then,"complete"===w.readyState||"loading"!==w.readyState&&!w.documentElement.doScroll?g.setTimeout(E.ready):(w.addEventListener("DOMContentLoaded",F),g.addEventListener("load",F));var $=function(e,t,n,r,i,o,a){var s=0,u=e.length,l=null==n;if("object"===T(n))for(s in i=!0,n)$(e,t,s,n[s],!0,o,a);else if(void 0!==r&&(i=!0,b(r)||(a=!0),l&&(a?(t.call(e,r),t=null):(l=t,t=function(e,t,n){return l.call(E(e),n)})),t))for(;s<u;s++)t(e[s],n,a?r:r.call(e[s],s,t(e[s],n)));return i?e:l?t.call(e):u?t(e[0],n):o},z=/^-ms-/,_=/-([a-z])/g;function U(e,t){return t.toUpperCase()}function V(e){return e.replace(z,"ms-").replace(_,U)}var X=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};function Q(){this.expando=E.expando+Q.uid++}Q.uid=1,Q.prototype={cache:function(e){var t=e[this.expando];return t||(t={},X(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var r,i=this.cache(e);if("string"==typeof t)i[V(t)]=n;else for(r in t)i[V(r)]=t[r];return i},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][V(t)]},access:function(e,t,n){return void 0===t||t&&"string"==typeof t&&void 0===n?this.get(e,t):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,r=e[this.expando];if(void 0!==r){if(void 0!==t){n=(t=Array.isArray(t)?t.map(V):(t=V(t))in r?[t]:t.match(H)||[]).length;while(n--)delete r[t[n]]}(void 0===t||E.isEmptyObject(r))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!E.isEmptyObject(t)}};var Y=new Q,G=new Q,K=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,J=/[A-Z]/g;function Z(e,t,n){var r,i;if(void 0===n&&1===e.nodeType)if(r="data-"+t.replace(J,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(r))){try{n="true"===(i=n)||"false"!==i&&("null"===i?null:i===+i+""?+i:K.test(i)?JSON.parse(i):i)}catch(e){}G.set(e,t,n)}else n=void 0;return n}E.extend({hasData:function(e){return G.hasData(e)||Y.hasData(e)},data:function(e,t,n){return G.access(e,t,n)},removeData:function(e,t){G.remove(e,t)},_data:function(e,t,n){return Y.access(e,t,n)},_removeData:function(e,t){Y.remove(e,t)}}),E.fn.extend({data:function(n,e){var t,r,i,o=this[0],a=o&&o.attributes;if(void 0===n){if(this.length&&(i=G.get(o),1===o.nodeType&&!Y.get(o,"hasDataAttrs"))){t=a.length;while(t--)a[t]&&0===(r=a[t].name).indexOf("data-")&&(r=V(r.slice(5)),Z(o,r,i[r]));Y.set(o,"hasDataAttrs",!0)}return i}return"object"==typeof n?this.each(function(){G.set(this,n)}):$(this,function(e){var t;if(o&&void 0===e)return void 0!==(t=G.get(o,n))?t:void 0!==(t=Z(o,n))?t:void 0;this.each(function(){G.set(this,n,e)})},null,e,1<arguments.length,null,!0)},removeData:function(e){return this.each(function(){G.remove(this,e)})}}),E.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=Y.get(e,t),n&&(!r||Array.isArray(n)?r=Y.access(e,t,E.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=E.queue(e,t),r=n.length,i=n.shift(),o=E._queueHooks(e,t);"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,function(){E.dequeue(e,t)},o)),!r&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return Y.get(e,n)||Y.access(e,n,{empty:E.Callbacks("once memory").add(function(){Y.remove(e,[t+"queue",n])})})}}),E.fn.extend({queue:function(t,n){var e=2;return"string"!=typeof t&&(n=t,t="fx",e--),arguments.length<e?E.queue(this[0],t):void 0===n?this:this.each(function(){var e=E.queue(this,t,n);E._queueHooks(this,t),"fx"===t&&"inprogress"!==e[0]&&E.dequeue(this,t)})},dequeue:function(e){return this.each(function(){E.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,i=E.Deferred(),o=this,a=this.length,s=function(){--r||i.resolveWith(o,[o])};"string"!=typeof e&&(t=e,e=void 0),e=e||"fx";while(a--)(n=Y.get(o[a],e+"queueHooks"))&&n.empty&&(r++,n.empty.add(s));return s(),i.promise(t)}});var ee=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,te=new RegExp("^(?:([+-])=|)("+ee+")([a-z%]*)$","i"),ne=["Top","Right","Bottom","Left"],re=w.documentElement,ie=function(e){return E.contains(e.ownerDocument,e)},oe={composed:!0};re.getRootNode&&(ie=function(e){return E.contains(e.ownerDocument,e)||e.getRootNode(oe)===e.ownerDocument});var ae=function(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&ie(e)&&"none"===E.css(e,"display")};var se={};function ue(e,t){for(var n,r,i,o,a,s,u,l=[],c=0,f=e.length;c<f;c++)(r=e[c]).style&&(n=r.style.display,t?("none"===n&&(l[c]=Y.get(r,"display")||null,l[c]||(r.style.display="")),""===r.style.display&&ae(r)&&(l[c]=(u=a=o=void 0,a=(i=r).ownerDocument,s=i.nodeName,(u=se[s])||(o=a.body.appendChild(a.createElement(s)),u=E.css(o,"display"),o.parentNode.removeChild(o),"none"===u&&(u="block"),se[s]=u)))):"none"!==n&&(l[c]="none",Y.set(r,"display",n)));for(c=0;c<f;c++)null!=l[c]&&(e[c].style.display=l[c]);return e}E.fn.extend({show:function(){return ue(this,!0)},hide:function(){return ue(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){ae(this)?E(this).show():E(this).hide()})}});var le,ce,fe=/^(?:checkbox|radio)$/i,de=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,pe=/^$|^module$|\/(?:java|ecma)script/i;le=w.createDocumentFragment().appendChild(w.createElement("div")),(ce=w.createElement("input")).setAttribute("type","radio"),ce.setAttribute("checked","checked"),ce.setAttribute("name","t"),le.appendChild(ce),m.checkClone=le.cloneNode(!0).cloneNode(!0).lastChild.checked,le.innerHTML="<textarea>x</textarea>",m.noCloneChecked=!!le.cloneNode(!0).lastChild.defaultValue,le.innerHTML="<option></option>",m.option=!!le.lastChild;var he={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function ge(e,t){var n;return n="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&S(e,t)?E.merge([e],n):n}function ve(e,t){for(var n=0,r=e.length;n<r;n++)Y.set(e[n],"globalEval",!t||Y.get(t[n],"globalEval"))}he.tbody=he.tfoot=he.colgroup=he.caption=he.thead,he.th=he.td,m.option||(he.optgroup=he.option=[1,"<select multiple='multiple'>","</select>"]);var ye=/<|&#?\w+;/;function me(e,t,n,r,i){for(var o,a,s,u,l,c,f=t.createDocumentFragment(),d=[],p=0,h=e.length;p<h;p++)if((o=e[p])||0===o)if("object"===T(o))E.merge(d,o.nodeType?[o]:o);else if(ye.test(o)){a=a||f.appendChild(t.createElement("div")),s=(de.exec(o)||["",""])[1].toLowerCase(),u=he[s]||he._default,a.innerHTML=u[1]+E.htmlPrefilter(o)+u[2],c=u[0];while(c--)a=a.lastChild;E.merge(d,a.childNodes),(a=f.firstChild).textContent=""}else d.push(t.createTextNode(o));f.textContent="",p=0;while(o=d[p++])if(r&&-1<E.inArray(o,r))i&&i.push(o);else if(l=ie(o),a=ge(f.appendChild(o),"script"),l&&ve(a),n){c=0;while(o=a[c++])pe.test(o.type||"")&&n.push(o)}return f}var be=/^key/,xe=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,we=/^([^.]*)(?:\.(.+)|)/;function Ce(){return!0}function Te(){return!1}function Ee(e,t){return e===function(){try{return w.activeElement}catch(e){}}()==("focus"===t)}function Ae(e,t,n,r,i,o){var a,s;if("object"==typeof t){for(s in"string"!=typeof n&&(r=r||n,n=void 0),t)Ae(e,s,n,r,t[s],o);return e}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),!1===i)i=Te;else if(!i)return e;return 1===o&&(a=i,(i=function(e){return E().off(e),a.apply(this,arguments)}).guid=a.guid||(a.guid=E.guid++)),e.each(function(){E.event.add(this,t,i,r,n)})}function Ne(e,i,o){o?(Y.set(e,i,!1),E.event.add(e,i,{namespace:!1,handler:function(e){var t,n,r=Y.get(this,i);if(1&e.isTrigger&&this[i]){if(r.length)(E.event.special[i]||{}).delegateType&&e.stopPropagation();else if(r=s.call(arguments),Y.set(this,i,r),t=o(this,i),this[i](),r!==(n=Y.get(this,i))||t?Y.set(this,i,!1):n={},r!==n)return e.stopImmediatePropagation(),e.preventDefault(),n.value}else r.length&&(Y.set(this,i,{value:E.event.trigger(E.extend(r[0],E.Event.prototype),r.slice(1),this)}),e.stopImmediatePropagation())}})):void 0===Y.get(e,i)&&E.event.add(e,i,Ce)}E.event={global:{},add:function(t,e,n,r,i){var o,a,s,u,l,c,f,d,p,h,g,v=Y.get(t);if(X(t)){n.handler&&(n=(o=n).handler,i=o.selector),i&&E.find.matchesSelector(re,i),n.guid||(n.guid=E.guid++),(u=v.events)||(u=v.events=Object.create(null)),(a=v.handle)||(a=v.handle=function(e){return"undefined"!=typeof E&&E.event.triggered!==e.type?E.event.dispatch.apply(t,arguments):void 0}),l=(e=(e||"").match(H)||[""]).length;while(l--)p=g=(s=we.exec(e[l])||[])[1],h=(s[2]||"").split(".").sort(),p&&(f=E.event.special[p]||{},p=(i?f.delegateType:f.bindType)||p,f=E.event.special[p]||{},c=E.extend({type:p,origType:g,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&E.expr.match.needsContext.test(i),namespace:h.join(".")},o),(d=u[p])||((d=u[p]=[]).delegateCount=0,f.setup&&!1!==f.setup.call(t,r,h,a)||t.addEventListener&&t.addEventListener(p,a)),f.add&&(f.add.call(t,c),c.handler.guid||(c.handler.guid=n.guid)),i?d.splice(d.delegateCount++,0,c):d.push(c),E.event.global[p]=!0)}},remove:function(e,t,n,r,i){var o,a,s,u,l,c,f,d,p,h,g,v=Y.hasData(e)&&Y.get(e);if(v&&(u=v.events)){l=(t=(t||"").match(H)||[""]).length;while(l--)if(p=g=(s=we.exec(t[l])||[])[1],h=(s[2]||"").split(".").sort(),p){f=E.event.special[p]||{},d=u[p=(r?f.delegateType:f.bindType)||p]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=d.length;while(o--)c=d[o],!i&&g!==c.origType||n&&n.guid!==c.guid||s&&!s.test(c.namespace)||r&&r!==c.selector&&("**"!==r||!c.selector)||(d.splice(o,1),c.selector&&d.delegateCount--,f.remove&&f.remove.call(e,c));a&&!d.length&&(f.teardown&&!1!==f.teardown.call(e,h,v.handle)||E.removeEvent(e,p,v.handle),delete u[p])}else for(p in u)E.event.remove(e,p+t[l],n,r,!0);E.isEmptyObject(u)&&Y.remove(e,"handle events")}},dispatch:function(e){var t,n,r,i,o,a,s=new Array(arguments.length),u=E.event.fix(e),l=(Y.get(this,"events")||Object.create(null))[u.type]||[],c=E.event.special[u.type]||{};for(s[0]=u,t=1;t<arguments.length;t++)s[t]=arguments[t];if(u.delegateTarget=this,!c.preDispatch||!1!==c.preDispatch.call(this,u)){a=E.event.handlers.call(this,u,l),t=0;while((i=a[t++])&&!u.isPropagationStopped()){u.currentTarget=i.elem,n=0;while((o=i.handlers[n++])&&!u.isImmediatePropagationStopped())u.rnamespace&&!1!==o.namespace&&!u.rnamespace.test(o.namespace)||(u.handleObj=o,u.data=o.data,void 0!==(r=((E.event.special[o.origType]||{}).handle||o.handler).apply(i.elem,s))&&!1===(u.result=r)&&(u.preventDefault(),u.stopPropagation()))}return c.postDispatch&&c.postDispatch.call(this,u),u.result}},handlers:function(e,t){var n,r,i,o,a,s=[],u=t.delegateCount,l=e.target;if(u&&l.nodeType&&!("click"===e.type&&1<=e.button))for(;l!==this;l=l.parentNode||this)if(1===l.nodeType&&("click"!==e.type||!0!==l.disabled)){for(o=[],a={},n=0;n<u;n++)void 0===a[i=(r=t[n]).selector+" "]&&(a[i]=r.needsContext?-1<E(i,this).index(l):E.find(i,this,null,[l]).length),a[i]&&o.push(r);o.length&&s.push({elem:l,handlers:o})}return l=this,u<t.length&&s.push({elem:l,handlers:t.slice(u)}),s},addProp:function(t,e){Object.defineProperty(E.Event.prototype,t,{enumerable:!0,configurable:!0,get:b(e)?function(){if(this.originalEvent)return e(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[t]},set:function(e){Object.defineProperty(this,t,{enumerable:!0,configurable:!0,writable:!0,value:e})}})},fix:function(e){return e[E.expando]?e:new E.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){var t=this||e;return fe.test(t.type)&&t.click&&S(t,"input")&&Ne(t,"click",Ce),!1},trigger:function(e){var t=this||e;return fe.test(t.type)&&t.click&&S(t,"input")&&Ne(t,"click"),!0},_default:function(e){var t=e.target;return fe.test(t.type)&&t.click&&S(t,"input")&&Y.get(t,"click")||S(t,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},E.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},E.Event=function(e,t){if(!(this instanceof E.Event))return new E.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?Ce:Te,this.target=e.target&&3===e.target.nodeType?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,t&&E.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[E.expando]=!0},E.Event.prototype={constructor:E.Event,isDefaultPrevented:Te,isPropagationStopped:Te,isImmediatePropagationStopped:Te,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=Ce,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=Ce,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=Ce,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},E.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,"char":!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:function(e){var t=e.button;return null==e.which&&be.test(e.type)?null!=e.charCode?e.charCode:e.keyCode:!e.which&&void 0!==t&&xe.test(e.type)?1&t?1:2&t?3:4&t?2:0:e.which}},E.event.addProp),E.each({focus:"focusin",blur:"focusout"},function(e,t){E.event.special[e]={setup:function(){return Ne(this,e,Ee),!1},trigger:function(){return Ne(this,e),!0},delegateType:t}}),E.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,i){E.event.special[e]={delegateType:i,bindType:i,handle:function(e){var t,n=e.relatedTarget,r=e.handleObj;return n&&(n===this||E.contains(this,n))||(e.type=r.origType,t=r.handler.apply(this,arguments),e.type=i),t}}}),E.fn.extend({on:function(e,t,n,r){return Ae(this,e,t,n,r)},one:function(e,t,n,r){return Ae(this,e,t,n,r,1)},off:function(e,t,n){var r,i;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,E(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"==typeof e){for(i in e)this.off(i,t,e[i]);return this}return!1!==t&&"function"!=typeof t||(n=t,t=void 0),!1===n&&(n=Te),this.each(function(){E.event.remove(this,e,n,t)})}});var Se=/<script|<style|<link/i,ke=/checked\s*(?:[^=]|=\s*.checked.)/i,De=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function Le(e,t){return S(e,"table")&&S(11!==t.nodeType?t:t.firstChild,"tr")&&E(e).children("tbody")[0]||e}function je(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function qe(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Oe(e,t){var n,r,i,o,a,s;if(1===t.nodeType){if(Y.hasData(e)&&(s=Y.get(e).events))for(i in Y.remove(t,"handle events"),s)for(n=0,r=s[i].length;n<r;n++)E.event.add(t,i,s[i][n]);G.hasData(e)&&(o=G.access(e),a=E.extend({},o),G.set(t,a))}}function Pe(n,r,i,o){r=v(r);var e,t,a,s,u,l,c=0,f=n.length,d=f-1,p=r[0],h=b(p);if(h||1<f&&"string"==typeof p&&!m.checkClone&&ke.test(p))return n.each(function(e){var t=n.eq(e);h&&(r[0]=p.call(this,e,t.html())),Pe(t,r,i,o)});if(f&&(t=(e=me(r,n[0].ownerDocument,!1,n,o)).firstChild,1===e.childNodes.length&&(e=t),t||o)){for(s=(a=E.map(ge(e,"script"),je)).length;c<f;c++)u=e,c!==d&&(u=E.clone(u,!0,!0),s&&E.merge(a,ge(u,"script"))),i.call(n[c],u,c);if(s)for(l=a[a.length-1].ownerDocument,E.map(a,qe),c=0;c<s;c++)u=a[c],pe.test(u.type||"")&&!Y.access(u,"globalEval")&&E.contains(l,u)&&(u.src&&"module"!==(u.type||"").toLowerCase()?E._evalUrl&&!u.noModule&&E._evalUrl(u.src,{nonce:u.nonce||u.getAttribute("nonce")},l):C(u.textContent.replace(De,""),u,l))}return n}function He(e,t,n){for(var r,i=t?E.filter(t,e):e,o=0;null!=(r=i[o]);o++)n||1!==r.nodeType||E.cleanData(ge(r)),r.parentNode&&(n&&ie(r)&&ve(ge(r,"script")),r.parentNode.removeChild(r));return e}E.extend({htmlPrefilter:function(e){return e},clone:function(e,t,n){var r,i,o,a,s,u,l,c=e.cloneNode(!0),f=ie(e);if(!(m.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||E.isXMLDoc(e)))for(a=ge(c),r=0,i=(o=ge(e)).length;r<i;r++)s=o[r],u=a[r],void 0,"input"===(l=u.nodeName.toLowerCase())&&fe.test(s.type)?u.checked=s.checked:"input"!==l&&"textarea"!==l||(u.defaultValue=s.defaultValue);if(t)if(n)for(o=o||ge(e),a=a||ge(c),r=0,i=o.length;r<i;r++)Oe(o[r],a[r]);else Oe(e,c);return 0<(a=ge(c,"script")).length&&ve(a,!f&&ge(e,"script")),c},cleanData:function(e){for(var t,n,r,i=E.event.special,o=0;void 0!==(n=e[o]);o++)if(X(n)){if(t=n[Y.expando]){if(t.events)for(r in t.events)i[r]?E.event.remove(n,r):E.removeEvent(n,r,t.handle);n[Y.expando]=void 0}n[G.expando]&&(n[G.expando]=void 0)}}}),E.fn.extend({detach:function(e){return He(this,e,!0)},remove:function(e){return He(this,e)},text:function(e){return $(this,function(e){return void 0===e?E.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)})},null,e,arguments.length)},append:function(){return Pe(this,arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Le(this,e).appendChild(e)})},prepend:function(){return Pe(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Le(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return Pe(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return Pe(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(E.cleanData(ge(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return E.clone(this,e,t)})},html:function(e){return $(this,function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!Se.test(e)&&!he[(de.exec(e)||["",""])[1].toLowerCase()]){e=E.htmlPrefilter(e);try{for(;n<r;n++)1===(t=this[n]||{}).nodeType&&(E.cleanData(ge(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var n=[];return Pe(this,arguments,function(e){var t=this.parentNode;E.inArray(this,n)<0&&(E.cleanData(ge(this)),t&&t.replaceChild(e,this))},n)}}),E.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,a){E.fn[e]=function(e){for(var t,n=[],r=E(e),i=r.length-1,o=0;o<=i;o++)t=o===i?this:this.clone(!0),E(r[o])[a](t),u.apply(n,t.get());return this.pushStack(n)}});var Ie=new RegExp("^("+ee+")(?!px)[a-z%]+$","i"),Re=function(e){var t=e.ownerDocument.defaultView;return t&&t.opener||(t=g),t.getComputedStyle(e)},Be=function(e,t,n){var r,i,o={};for(i in t)o[i]=e.style[i],e.style[i]=t[i];for(i in r=n.call(e),t)e.style[i]=o[i];return r},Me=new RegExp(ne.join("|"),"i");function We(e,t,n){var r,i,o,a,s=e.style;return(n=n||Re(e))&&(""!==(a=n.getPropertyValue(t)||n[t])||ie(e)||(a=E.style(e,t)),!m.pixelBoxStyles()&&Ie.test(a)&&Me.test(t)&&(r=s.width,i=s.minWidth,o=s.maxWidth,s.minWidth=s.maxWidth=s.width=a,a=n.width,s.width=r,s.minWidth=i,s.maxWidth=o)),void 0!==a?a+"":a}function Fe(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}!function(){function e(){if(l){u.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",l.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",re.appendChild(u).appendChild(l);var e=g.getComputedStyle(l);n="1%"!==e.top,s=12===t(e.marginLeft),l.style.right="60%",o=36===t(e.right),r=36===t(e.width),l.style.position="absolute",i=12===t(l.offsetWidth/3),re.removeChild(u),l=null}}function t(e){return Math.round(parseFloat(e))}var n,r,i,o,a,s,u=w.createElement("div"),l=w.createElement("div");l.style&&(l.style.backgroundClip="content-box",l.cloneNode(!0).style.backgroundClip="",m.clearCloneStyle="content-box"===l.style.backgroundClip,E.extend(m,{boxSizingReliable:function(){return e(),r},pixelBoxStyles:function(){return e(),o},pixelPosition:function(){return e(),n},reliableMarginLeft:function(){return e(),s},scrollboxSize:function(){return e(),i},reliableTrDimensions:function(){var e,t,n,r;return null==a&&(e=w.createElement("table"),t=w.createElement("tr"),n=w.createElement("div"),e.style.cssText="position:absolute;left:-11111px",t.style.height="1px",n.style.height="9px",re.appendChild(e).appendChild(t).appendChild(n),r=g.getComputedStyle(t),a=3<parseInt(r.height),re.removeChild(e)),a}}))}();var $e=["Webkit","Moz","ms"],ze=w.createElement("div").style,_e={};function Ue(e){var t=E.cssProps[e]||_e[e];return t||(e in ze?e:_e[e]=function(e){var t=e[0].toUpperCase()+e.slice(1),n=$e.length;while(n--)if((e=$e[n]+t)in ze)return e}(e)||e)}var Ve,Xe,Qe=/^(none|table(?!-c[ea]).+)/,Ye=/^--/,Ge={position:"absolute",visibility:"hidden",display:"block"},Ke={letterSpacing:"0",fontWeight:"400"};function Je(e,t,n){var r=te.exec(t);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):t}function Ze(e,t,n,r,i,o){var a="width"===t?1:0,s=0,u=0;if(n===(r?"border":"content"))return 0;for(;a<4;a+=2)"margin"===n&&(u+=E.css(e,n+ne[a],!0,i)),r?("content"===n&&(u-=E.css(e,"padding"+ne[a],!0,i)),"margin"!==n&&(u-=E.css(e,"border"+ne[a]+"Width",!0,i))):(u+=E.css(e,"padding"+ne[a],!0,i),"padding"!==n?u+=E.css(e,"border"+ne[a]+"Width",!0,i):s+=E.css(e,"border"+ne[a]+"Width",!0,i));return!r&&0<=o&&(u+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-o-u-s-.5))||0),u}function et(e,t,n){var r=Re(e),i=(!m.boxSizingReliable()||n)&&"border-box"===E.css(e,"boxSizing",!1,r),o=i,a=We(e,t,r),s="offset"+t[0].toUpperCase()+t.slice(1);if(Ie.test(a)){if(!n)return a;a="auto"}return(!m.boxSizingReliable()&&i||!m.reliableTrDimensions()&&S(e,"tr")||"auto"===a||!parseFloat(a)&&"inline"===E.css(e,"display",!1,r))&&e.getClientRects().length&&(i="border-box"===E.css(e,"boxSizing",!1,r),(o=s in e)&&(a=e[s])),(a=parseFloat(a)||0)+Ze(e,t,n||(i?"border":"content"),o,r,a)+"px"}E.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=We(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var i,o,a,s=V(t),u=Ye.test(t),l=e.style;if(u||(t=Ue(s)),a=E.cssHooks[t]||E.cssHooks[s],void 0===n)return a&&"get"in a&&void 0!==(i=a.get(e,!1,r))?i:l[t];"string"===(o=typeof n)&&(i=te.exec(n))&&i[1]&&(n=function(e,t,n,r){var i,o,a=20,s=r?function(){return r.cur()}:function(){return E.css(e,t,"")},u=s(),l=n&&n[3]||(E.cssNumber[t]?"":"px"),c=e.nodeType&&(E.cssNumber[t]||"px"!==l&&+u)&&te.exec(E.css(e,t));if(c&&c[3]!==l){u/=2,l=l||c[3],c=+u||1;while(a--)E.style(e,t,c+l),(1-o)*(1-(o=s()/u||.5))<=0&&(a=0),c/=o;c*=2,E.style(e,t,c+l),n=n||[]}return n&&(c=+c||+u||0,i=n[1]?c+(n[1]+1)*n[2]:+n[2],r&&(r.unit=l,r.start=c,r.end=i)),i}(e,t,i),o="number"),null!=n&&n==n&&("number"!==o||u||(n+=i&&i[3]||(E.cssNumber[s]?"":"px")),m.clearCloneStyle||""!==n||0!==t.indexOf("background")||(l[t]="inherit"),a&&"set"in a&&void 0===(n=a.set(e,n,r))||(u?l.setProperty(t,n):l[t]=n))}},css:function(e,t,n,r){var i,o,a,s=V(t);return Ye.test(t)||(t=Ue(s)),(a=E.cssHooks[t]||E.cssHooks[s])&&"get"in a&&(i=a.get(e,!0,n)),void 0===i&&(i=We(e,t,r)),"normal"===i&&t in Ke&&(i=Ke[t]),""===n||n?(o=parseFloat(i),!0===n||isFinite(o)?o||0:i):i}}),E.each(["height","width"],function(e,u){E.cssHooks[u]={get:function(e,t,n){if(t)return!Qe.test(E.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?et(e,u,n):Be(e,Ge,function(){return et(e,u,n)})},set:function(e,t,n){var r,i=Re(e),o=!m.scrollboxSize()&&"absolute"===i.position,a=(o||n)&&"border-box"===E.css(e,"boxSizing",!1,i),s=n?Ze(e,u,n,a,i):0;return a&&o&&(s-=Math.ceil(e["offset"+u[0].toUpperCase()+u.slice(1)]-parseFloat(i[u])-Ze(e,u,"border",!1,i)-.5)),s&&(r=te.exec(t))&&"px"!==(r[3]||"px")&&(e.style[u]=t,t=E.css(e,u)),Je(0,t,s)}}}),E.cssHooks.marginLeft=Fe(m.reliableMarginLeft,function(e,t){if(t)return(parseFloat(We(e,"marginLeft"))||e.getBoundingClientRect().left-Be(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),E.each({margin:"",padding:"",border:"Width"},function(i,o){E.cssHooks[i+o]={expand:function(e){for(var t=0,n={},r="string"==typeof e?e.split(" "):[e];t<4;t++)n[i+ne[t]+o]=r[t]||r[t-2]||r[0];return n}},"margin"!==i&&(E.cssHooks[i+o].set=Je)}),E.fn.extend({css:function(e,t){return $(this,function(e,t,n){var r,i,o={},a=0;if(Array.isArray(t)){for(r=Re(e),i=t.length;a<i;a++)o[t[a]]=E.css(e,t[a],!1,r);return o}return void 0!==n?E.style(e,t,n):E.css(e,t)},e,t,1<arguments.length)}}),E.fn.delay=function(r,e){return r=E.fx&&E.fx.speeds[r]||r,e=e||"fx",this.queue(e,function(e,t){var n=g.setTimeout(e,r);t.stop=function(){g.clearTimeout(n)}})},Ve=w.createElement("input"),Xe=w.createElement("select").appendChild(w.createElement("option")),Ve.type="checkbox",m.checkOn=""!==Ve.value,m.optSelected=Xe.selected,(Ve=w.createElement("input")).value="t",Ve.type="radio",m.radioValue="t"===Ve.value;var tt,nt=E.expr.attrHandle;E.fn.extend({attr:function(e,t){return $(this,E.attr,e,t,1<arguments.length)},removeAttr:function(e){return this.each(function(){E.removeAttr(this,e)})}}),E.extend({attr:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return"undefined"==typeof e.getAttribute?E.prop(e,t,n):(1===o&&E.isXMLDoc(e)||(i=E.attrHooks[t.toLowerCase()]||(E.expr.match.bool.test(t)?tt:void 0)),void 0!==n?null===n?void E.removeAttr(e,t):i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:(e.setAttribute(t,n+""),n):i&&"get"in i&&null!==(r=i.get(e,t))?r:null==(r=E.find.attr(e,t))?void 0:r)},attrHooks:{type:{set:function(e,t){if(!m.radioValue&&"radio"===t&&S(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r=0,i=t&&t.match(H);if(i&&1===e.nodeType)while(n=i[r++])e.removeAttribute(n)}}),tt={set:function(e,t,n){return!1===t?E.removeAttr(e,n):e.setAttribute(n,n),n}},E.each(E.expr.match.bool.source.match(/\w+/g),function(e,t){var a=nt[t]||E.find.attr;nt[t]=function(e,t,n){var r,i,o=t.toLowerCase();return n||(i=nt[o],nt[o]=r,r=null!=a(e,t,n)?o:null,nt[o]=i),r}});var rt=/^(?:input|select|textarea|button)$/i,it=/^(?:a|area)$/i;function ot(e){return(e.match(H)||[]).join(" ")}function at(e){return e.getAttribute&&e.getAttribute("class")||""}function st(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(H)||[]}E.fn.extend({prop:function(e,t){return $(this,E.prop,e,t,1<arguments.length)},removeProp:function(e){return this.each(function(){delete this[E.propFix[e]||e]})}}),E.extend({prop:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&E.isXMLDoc(e)||(t=E.propFix[t]||t,i=E.propHooks[t]),void 0!==n?i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:e[t]=n:i&&"get"in i&&null!==(r=i.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=E.find.attr(e,"tabindex");return t?parseInt(t,10):rt.test(e.nodeName)||it.test(e.nodeName)&&e.href?0:-1}}},propFix:{"for":"htmlFor","class":"className"}}),m.optSelected||(E.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),E.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){E.propFix[this.toLowerCase()]=this}),E.fn.extend({addClass:function(t){var e,n,r,i,o,a,s,u=0;if(b(t))return this.each(function(e){E(this).addClass(t.call(this,e,at(this)))});if((e=st(t)).length)while(n=this[u++])if(i=at(n),r=1===n.nodeType&&" "+ot(i)+" "){a=0;while(o=e[a++])r.indexOf(" "+o+" ")<0&&(r+=o+" ");i!==(s=ot(r))&&n.setAttribute("class",s)}return this},removeClass:function(t){var e,n,r,i,o,a,s,u=0;if(b(t))return this.each(function(e){E(this).removeClass(t.call(this,e,at(this)))});if(!arguments.length)return this.attr("class","");if((e=st(t)).length)while(n=this[u++])if(i=at(n),r=1===n.nodeType&&" "+ot(i)+" "){a=0;while(o=e[a++])while(-1<r.indexOf(" "+o+" "))r=r.replace(" "+o+" "," ");i!==(s=ot(r))&&n.setAttribute("class",s)}return this},toggleClass:function(i,t){var o=typeof i,a="string"===o||Array.isArray(i);return"boolean"==typeof t&&a?t?this.addClass(i):this.removeClass(i):b(i)?this.each(function(e){E(this).toggleClass(i.call(this,e,at(this),t),t)}):this.each(function(){var e,t,n,r;if(a){t=0,n=E(this),r=st(i);while(e=r[t++])n.hasClass(e)?n.removeClass(e):n.addClass(e)}else void 0!==i&&"boolean"!==o||((e=at(this))&&Y.set(this,"__className__",e),this.setAttribute&&this.setAttribute("class",e||!1===i?"":Y.get(this,"__className__")||""))})},hasClass:function(e){var t,n,r=0;t=" "+e+" ";while(n=this[r++])if(1===n.nodeType&&-1<(" "+ot(at(n))+" ").indexOf(t))return!0;return!1}});var ut=/\r/g;E.fn.extend({val:function(n){var r,e,i,t=this[0];return arguments.length?(i=b(n),this.each(function(e){var t;1===this.nodeType&&(null==(t=i?n.call(this,e,E(this).val()):n)?t="":"number"==typeof t?t+="":Array.isArray(t)&&(t=E.map(t,function(e){return null==e?"":e+""})),(r=E.valHooks[this.type]||E.valHooks[this.nodeName.toLowerCase()])&&"set"in r&&void 0!==r.set(this,t,"value")||(this.value=t))})):t?(r=E.valHooks[t.type]||E.valHooks[t.nodeName.toLowerCase()])&&"get"in r&&void 0!==(e=r.get(t,"value"))?e:"string"==typeof(e=t.value)?e.replace(ut,""):null==e?"":e:void 0}}),E.extend({valHooks:{option:{get:function(e){var t=E.find.attr(e,"value");return null!=t?t:ot(E.text(e))}},select:{get:function(e){var t,n,r,i=e.options,o=e.selectedIndex,a="select-one"===e.type,s=a?null:[],u=a?o+1:i.length;for(r=o<0?u:a?o:0;r<u;r++)if(((n=i[r]).selected||r===o)&&!n.disabled&&(!n.parentNode.disabled||!S(n.parentNode,"optgroup"))){if(t=E(n).val(),a)return t;s.push(t)}return s},set:function(e,t){var n,r,i=e.options,o=E.makeArray(t),a=i.length;while(a--)((r=i[a]).selected=-1<E.inArray(E.valHooks.option.get(r),o))&&(n=!0);return n||(e.selectedIndex=-1),o}}}}),E.each(["radio","checkbox"],function(){E.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=-1<E.inArray(E(e).val(),t)}},m.checkOn||(E.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})}),m.focusin="onfocusin"in g;var lt=/^(?:focusinfocus|focusoutblur)$/,ct=function(e){e.stopPropagation()};E.extend(E.event,{trigger:function(e,t,n,r){var i,o,a,s,u,l,c,f,d=[n||w],p=y.call(e,"type")?e.type:e,h=y.call(e,"namespace")?e.namespace.split("."):[];if(o=f=a=n=n||w,3!==n.nodeType&&8!==n.nodeType&&!lt.test(p+E.event.triggered)&&(-1<p.indexOf(".")&&(p=(h=p.split(".")).shift(),h.sort()),u=p.indexOf(":")<0&&"on"+p,(e=e[E.expando]?e:new E.Event(p,"object"==typeof e&&e)).isTrigger=r?2:3,e.namespace=h.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=n),t=null==t?[e]:E.makeArray(t,[e]),c=E.event.special[p]||{},r||!c.trigger||!1!==c.trigger.apply(n,t))){if(!r&&!c.noBubble&&!x(n)){for(s=c.delegateType||p,lt.test(s+p)||(o=o.parentNode);o;o=o.parentNode)d.push(o),a=o;a===(n.ownerDocument||w)&&d.push(a.defaultView||a.parentWindow||g)}i=0;while((o=d[i++])&&!e.isPropagationStopped())f=o,e.type=1<i?s:c.bindType||p,(l=(Y.get(o,"events")||Object.create(null))[e.type]&&Y.get(o,"handle"))&&l.apply(o,t),(l=u&&o[u])&&l.apply&&X(o)&&(e.result=l.apply(o,t),!1===e.result&&e.preventDefault());return e.type=p,r||e.isDefaultPrevented()||c._default&&!1!==c._default.apply(d.pop(),t)||!X(n)||u&&b(n[p])&&!x(n)&&((a=n[u])&&(n[u]=null),E.event.triggered=p,e.isPropagationStopped()&&f.addEventListener(p,ct),n[p](),e.isPropagationStopped()&&f.removeEventListener(p,ct),E.event.triggered=void 0,a&&(n[u]=a)),e.result}},simulate:function(e,t,n){var r=E.extend(new E.Event,n,{type:e,isSimulated:!0});E.event.trigger(r,null,t)}}),E.fn.extend({trigger:function(e,t){return this.each(function(){E.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return E.event.trigger(e,t,n,!0)}}),m.focusin||E.each({focus:"focusin",blur:"focusout"},function(n,r){var i=function(e){E.event.simulate(r,e.target,E.event.fix(e))};E.event.special[r]={setup:function(){var e=this.ownerDocument||this.document||this,t=Y.access(e,r);t||e.addEventListener(n,i,!0),Y.access(e,r,(t||0)+1)},teardown:function(){var e=this.ownerDocument||this.document||this,t=Y.access(e,r)-1;t?Y.access(e,r,t):(e.removeEventListener(n,i,!0),Y.remove(e,r))}}}),E.parseXML=function(e){var t;if(!e||"string"!=typeof e)return null;try{t=(new g.DOMParser).parseFromString(e,"text/xml")}catch(e){t=void 0}return t&&!t.getElementsByTagName("parsererror").length||E.error("Invalid XML: "+e),t};var ft,dt=/\[\]$/,pt=/\r?\n/g,ht=/^(?:submit|button|image|reset|file)$/i,gt=/^(?:input|select|textarea|keygen)/i;function vt(n,e,r,i){var t;if(Array.isArray(e))E.each(e,function(e,t){r||dt.test(n)?i(n,t):vt(n+"["+("object"==typeof t&&null!=t?e:"")+"]",t,r,i)});else if(r||"object"!==T(e))i(n,e);else for(t in e)vt(n+"["+t+"]",e[t],r,i)}E.param=function(e,t){var n,r=[],i=function(e,t){var n=b(t)?t():t;r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!E.isPlainObject(e))E.each(e,function(){i(this.name,this.value)});else for(n in e)vt(n,e[n],t,i);return r.join("&")},E.fn.extend({serialize:function(){return E.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=E.prop(this,"elements");return e?E.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!E(this).is(":disabled")&>.test(this.nodeName)&&!ht.test(e)&&(this.checked||!fe.test(e))}).map(function(e,t){var n=E(this).val();return null==n?null:Array.isArray(n)?E.map(n,function(e){return{name:t.name,value:e.replace(pt,"\r\n")}}):{name:t.name,value:n.replace(pt,"\r\n")}}).get()}}),E.fn.extend({wrapAll:function(e){var t;return this[0]&&(b(e)&&(e=e.call(this[0])),t=E(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){var e=this;while(e.firstElementChild)e=e.firstElementChild;return e}).append(this)),this},wrapInner:function(n){return b(n)?this.each(function(e){E(this).wrapInner(n.call(this,e))}):this.each(function(){var e=E(this),t=e.contents();t.length?t.wrapAll(n):e.append(n)})},wrap:function(t){var n=b(t);return this.each(function(e){E(this).wrapAll(n?t.call(this,e):t)})},unwrap:function(e){return this.parent(e).not("body").each(function(){E(this).replaceWith(this.childNodes)}),this}}),E.expr.pseudos.hidden=function(e){return!E.expr.pseudos.visible(e)},E.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},m.createHTMLDocument=((ft=w.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===ft.childNodes.length),E.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(m.createHTMLDocument?((r=(t=w.implementation.createHTMLDocument("")).createElement("base")).href=w.location.href,t.head.appendChild(r)):t=w),o=!n&&[],(i=k.exec(e))?[t.createElement(i[1])]:(i=me([e],t,o),o&&o.length&&E(o).remove(),E.merge([],i.childNodes)));var r,i,o},E.offset={setOffset:function(e,t,n){var r,i,o,a,s,u,l=E.css(e,"position"),c=E(e),f={};"static"===l&&(e.style.position="relative"),s=c.offset(),o=E.css(e,"top"),u=E.css(e,"left"),("absolute"===l||"fixed"===l)&&-1<(o+u).indexOf("auto")?(a=(r=c.position()).top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(u)||0),b(t)&&(t=t.call(e,n,E.extend({},s))),null!=t.top&&(f.top=t.top-s.top+a),null!=t.left&&(f.left=t.left-s.left+i),"using"in t?t.using.call(e,f):("number"==typeof f.top&&(f.top+="px"),"number"==typeof f.left&&(f.left+="px"),c.css(f))}},E.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){E.offset.setOffset(this,t,e)});var e,n,r=this[0];return r?r.getClientRects().length?(e=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if("fixed"===E.css(r,"position"))t=r.getBoundingClientRect();else{t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;while(e&&(e===n.body||e===n.documentElement)&&"static"===E.css(e,"position"))e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=E(e).offset()).top+=E.css(e,"borderTopWidth",!0),i.left+=E.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-E.css(r,"marginTop",!0),left:t.left-i.left-E.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var e=this.offsetParent;while(e&&"static"===E.css(e,"position"))e=e.offsetParent;return e||re})}}),E.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,i){var o="pageYOffset"===i;E.fn[t]=function(e){return $(this,function(e,t,n){var r;if(x(e)?r=e:9===e.nodeType&&(r=e.defaultView),void 0===n)return r?r[i]:e[t];r?r.scrollTo(o?r.pageXOffset:n,o?n:r.pageYOffset):e[t]=n},t,e,arguments.length)}}),E.each(["top","left"],function(e,n){E.cssHooks[n]=Fe(m.pixelPosition,function(e,t){if(t)return t=We(e,n),Ie.test(t)?E(e).position()[n]+"px":t})}),E.each({Height:"height",Width:"width"},function(a,s){E.each({padding:"inner"+a,content:s,"":"outer"+a},function(r,o){E.fn[o]=function(e,t){var n=arguments.length&&(r||"boolean"!=typeof e),i=r||(!0===e||!0===t?"margin":"border");return $(this,function(e,t,n){var r;return x(e)?0===o.indexOf("outer")?e["inner"+a]:e.document.documentElement["client"+a]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+a],r["scroll"+a],e.body["offset"+a],r["offset"+a],r["client"+a])):void 0===n?E.css(e,t,i):E.style(e,t,n,i)},s,n?e:void 0,n)}})}),E.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),E.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,n){E.fn[n]=function(e,t){return 0<arguments.length?this.on(n,null,e,t):this.trigger(n)}});var yt=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;E.proxy=function(e,t){var n,r,i;if("string"==typeof t&&(n=e[t],t=e,e=n),b(e))return r=s.call(arguments,2),(i=function(){return e.apply(t||this,r.concat(s.call(arguments)))}).guid=e.guid=e.guid||E.guid++,i},E.holdReady=function(e){e?E.readyWait++:E.ready(!0)},E.isArray=Array.isArray,E.parseJSON=JSON.parse,E.nodeName=S,E.isFunction=b,E.isWindow=x,E.camelCase=V,E.type=T,E.now=Date.now,E.isNumeric=function(e){var t=E.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},E.trim=function(e){return null==e?"":(e+"").replace(yt,"")},"function"==typeof define&&define.amd&&define("jquery",[],function(){return E});var mt=g.jQuery,bt=g.$;return E.noConflict=function(e){return g.$===E&&(g.$=bt),e&&g.jQuery===E&&(g.jQuery=mt),E},"undefined"==typeof e&&(g.jQuery=g.$=E),E}); window.paywhirlForShopify = window.paywhirlForShopify || {}; window.paywhirlForShopify.jQuery = jQuery.noConflict(true); </script> <script> window.paywhirlForShopify = window.paywhirlForShopify || {}; window.paywhirlForShopify.settings = { /* * Original theme, to which the styling should be adjusted * * Recognized values are: 'boundless', 'brooklyn', 'dawn', 'debut', 'express', * 'minimal', 'narrative', 'simple', 'supply', 'venture' and 'custom' */ theme: 'custom', /* * Callback function for adjusting product price when the user selects a subscription plan * * Parameters: * - $planSelector: jQuery 3.5+ object containing the current plan selector * - prices: an object containing following properties * - price: Unformatted, numeric price * - price_formatted: Formatted price * - price_formatted_without_trailing_zeros: Formatted price excluding decimal point and trailing zeros * - compare_at_price: Unformatted, numeric regular price * - compare_at_price_formatted: Formatted regular price * - compare_at_price_formatted_without_trailing_zeros: Formatted regular price excluding decimal point and trailing zeros */ updatePrice: function($planSelector, prices) { console.log('PayWhirl: Updating price to ' + prices.price_formatted); // Find wrapping node of the current product var wrapperSel = [ 'div[data-section-type]', '.shopify-section', '[data-pf-type="ProductBox"]' ].join(','); var $wrapper = $planSelector.closest(wrapperSel); if ($wrapper.length === 0) { $wrapper = $planSelector.parents('body'); } // Find a node containing the price var containerSel = [ '#ProductPrice', '#productPrice-product-template', '#ProductPrice-product-template', '#productPrice > .visually-hidden', '.price .price-item--regular', '.product__price .price-item--regular', '.product__price .product__price--reg', '.product__price .product__current-price', '.product-single__price', '[data-pf-type="ProductPrice"]', '[id^=productPrice-]' ].join(','); var $container = $wrapper.find(containerSel); if ($container.length === 0) { console.log('PayWhirl: Price container element could not be found. Contact our support for assistance.'); return; } // Update content of the price node if (this.theme === 'supply') { price = prices.price_formatted.split('.'); $container.html(price[0] + '<sup>' + price[1] + '</sup>'); } else { $container.html(prices.price_formatted); } }, /* * Translations */ translations: { en: { 'plan-selector-title': 'Purchase options', 'one-time-purchase-label': 'One-time purchase', }, pl: { 'plan-selector-title': 'Opcje zakupu', 'one-time-purchase-label': 'Jednorazowy zakup', } } }; </script> <script> (function(paywhirl) { var $ = paywhirl.jQuery; var settings = paywhirl.settings; function translate(key) { var locale = (window.Shopify && window.Shopify.locale) ? window.Shopify.locale : 'en'; var translations = settings.translations[locale] || settings.translations['en']; return translations[key]; } function setupPlanSelector($node) { var product = JSON.parse($node[0].dataset.product); function getSectionId() { return $node.data('sectionId'); } function getNodeId() { return $node.attr('id'); } function getPlanSelector() { return $(document.getElementById(getNodeId())); } function getForm() { var form = getPlanSelector().closest('form[action*="/cart/add"]'); if (form.length === 0) { form = $('#product-form-' + getSectionId()); } return form; } function getVariantId() { var id = getForm().find(':input[name="id"]').val(); if (!id) { console.log('PayWhirl: Could not detect the id of current product variant. ' + 'This usually happens on unrecognized themes. Please contact our support or ' + 'your theme developer for assistance'); return null; } return parseInt(id); } function getSellingPlanInput() { return getPlanSelector().find(':input[name="selling_plan"]'); } function updateTranslations() { getPlanSelector().find('[data-i18n]').each(function() { var me = $(this); var text = translate(me.data('i18n')); me.text(text).removeAttr('data-i18n'); }); } function updateDescription(planId) { var planId = planId ? parseInt(planId) : null; var desc = planId ? (product.selling_plans_by_id[planId].description || '') : ''; getPlanSelector().find('.paywhirl-plan-selector-description').html(desc); } function updatePrice(planId) { var variantId = getVariantId(); if (!variantId) { return; } var variant = product.variants_by_id[variantId]; var planId = planId ? parseInt(planId) : null; var prices = { price: variant.price, price_formatted: variant.price_formatted, price_formatted_without_trailing_zeros: variant.price_formatted_without_trailing_zeros, compare_at_price: variant.compare_at_price, compare_at_price_formatted: variant.compare_at_price_formatted, compare_at_price_formatted_without_trailing_zeros: variant.compare_at_price_formatted_without_trailing_zeros } if (planId) { prices.price = variant.selling_plan_allocations_by_id[planId].price prices.price_formatted = variant.selling_plan_allocations_by_id[planId].price_formatted prices.price_formatted_without_trailing_zeros = variant.selling_plan_allocations_by_id[planId].price_formatted_without_trailing_zeros prices.compare_at_price = variant.selling_plan_allocations_by_id[planId].compare_at_price prices.compare_at_price_formatted = variant.selling_plan_allocations_by_id[planId].compare_at_price_formatted prices.compare_at_price_formatted_without_trailing_zeros = variant.selling_plan_allocations_by_id[planId].compare_at_price_formatted_without_trailing_zeros } settings.updatePrice(getPlanSelector(), prices); } function filterGroupsForVariant(variantId) { var variant = product.variants_by_id[variantId]; getPlanSelector().find('.paywhirl-plan-selector-group').each(function() { var groupId = $(this).find('[name=paywhirl-plan-selector-group]').val(); var isAvailable = groupId ? (variant.available_group_ids[groupId] || false) : (!product.requires_selling_plan); $(this).toggleClass('paywhirl-group-available', isAvailable); }); selectPlan(getSelectedOrFirstAvailablePlanId()); } function variantChanged(forceUpdate = false) { var variantId = getVariantId(); if (!variantId) { return; } if (!variantChanged.previousId || variantChanged.previousId !== variantId || forceUpdate) { filterGroupsForVariant(variantId); } variantChanged.previousId = variantId; } function getSelectedOrFirstAvailablePlanId() { var group = getPlanSelector().find('.paywhirl-group-available.paywhirl-group-selected').first(); if (!group.length) { group = getPlanSelector().find('.paywhirl-group-available').first(); } return group.find('select').val(); } function selectPlan(planId) { var groupId = planId ? product.selling_plans_by_id[parseInt(planId)].selling_plan_group_id : ''; var group = getPlanSelector() .find(':input[name="paywhirl-plan-selector-group"][value="' + groupId + '"]') .closest('.paywhirl-plan-selector-group'); group .find('.paywhirl-plan-selector-plan select') .val(planId); group .addClass('paywhirl-group-selected') .find(':input[name="paywhirl-plan-selector-group"]').prop('checked', true); group .siblings() .removeClass('paywhirl-group-selected'); getSellingPlanInput().val(planId); updateDescription(planId); updatePrice(planId); } function selectSelectedPlan() { var planId = getPlanSelector() .find(':input[name="paywhirl-plan-selector-group"]:checked') .closest('.paywhirl-plan-selector-group') .find('select') .val(); selectPlan(planId); } updateTranslations(); // Workaround for the plan selector being outside of the main product form in Dawn if (getPlanSelector().closest('form[action*="/cart/add"]').length === 0) { getPlanSelector().find('input').attr('form', getForm().attr('id')); } $('body').on('change', '#' + getNodeId() + ' input[name="paywhirl-plan-selector-group"]', selectSelectedPlan); $('body').on('change', '#' + getNodeId() + ' .paywhirl-plan-selector-group select', selectSelectedPlan); getForm().addClass(getNodeId() + '-form'); $('body').on('DOMSubtreeModified', '.' + getNodeId() + '-form', function() { setTimeout(variantChanged, 10); }); // Workaround for monitoring AJAX price updates in Dawn $('body').on('DOMSubtreeModified', '#price-' + getSectionId(), function(ev) { $el = $(ev.currentTarget).find('.price'); if ($el.hasClass('paywhirl-price-ignored')) { return; } $el.addClass('paywhirl-price-ignored'); variantChanged(true); }); variantChanged(); if (product.selected_selling_plan) { selectPlan(product.selected_selling_plan.id.toString()); } setTimeout(selectSelectedPlan, 30); getPlanSelector().show(); } $('body').addClass("paywhirl-theme-" + settings.theme); $('fieldset.paywhirl-plan-selector').each(function() { setupPlanSelector($(this)); }); })(window.paywhirlForShopify); </script> <link href="//missionbooks.org/cdn/shop/t/2/assets/shopacado-styles.css?v=129131991365366110201692894283" rel="stylesheet" type="text/css" media="all" /> <script id="adp-discount-tiers-default" type="text/x-handlebars-template"> <div class="adp-discount-tiers"> <h4>{{{product_message}}}</h4> <table class="adp-discount-table"> <thead> <tr> <th>Minimum Qty</th> <th>Discount</th> </tr> </thead> <tbody> {{#vol_rows}} <tr> <td>{{{quantity}}} +</td> <td>{{{price.title}}}</td> </tr> {{/vol_rows}} </tbody> </table> </div> </script> <script id="adp-discount-tiers-detailed" type="text/x-handlebars-template"> <div class="adp-discount-tiers"><h4>{{{product_message}}}</h4> <table class="adp-discount-table"> <thead> <tr> <th>Qty</th> <th>Discount</th> </tr> </thead> <tbody> {{#vol_rows}} <tr> <td>Buy {{{quantity}}}</td> <td>{{{price.title}}} each</td> </tr> {{/vol_rows}} </tbody> </table> </div> </script> <script id="adp-discount-tiers-grid" type="text/x-handlebars-template"> <div class="adp-discount-tiers"><h4>{{{product_message}}}</h4> <table class="adp-discount-table"> <thead> <tr> <th>Minimum Qty</th> <th>Maximum Qty</th> <th>Discount</th> </tr> </thead> <tbody> {{#vol_rows}} <tr> <td>{{{quantity}}}</td> <td>{{{next_range_qty}}}</td> <td>{{{price.title}}}</td> </tr> {{/vol_rows}} </tbody> </table> </div> </script> <script id="adp-discount-tiers-grid-alt" type="text/x-handlebars-template"> <div class="adp-discount-tiers"><h4>{{{product_message}}}</h4> <table class="adp-discount-table"> <thead> <tr> <th>Qty</th> <th>Discount</th> </tr> </thead> <tbody> {{#vol_rows}} <tr> <td>{{{quantity}}} - {{{next_range_qty}}}</td> <td>{{{price.title}}}</td> </tr> {{/vol_rows}} </tbody> </table> </div> </script> <script id="adp-buy-x-discount-tiers" type="text/x-handlebars-template"> <div class="adp-discount-tiers"><h4>{{{product_message}}}</h4> <table class="adp-discount-table"> <thead> <tr> <th>Qty</th> <th>Discount</th> </tr> </thead> <tbody> {{#vol_rows}} <tr> <td>Buy {{{quantity}}}</td> <td>{{{price.title}}}</td> </tr> {{/vol_rows}} </tbody> </table> </div> </script> <script type="text/javascript"> window.appikon = { customer: {} }; window.appikon.product = { id: 8815889514755, price: 299, variant_price: '299' }; window.appikon.product_collections = [] window.appikon.product_collections.push(436987232515) window.appikon.product_collections.push(158686216310) window.appikon.product_collections.push(432089956611) window.appikon.product_collections.push(434576457987) window.appikon.product_collections.push(76906365046) window.appikon.product_collections.push(403911508227) window.appikon.product_collections.push(74836082806) window.appikon.product_collections.push(404254556419) window.appikon.product_collections.push(434576556291) window.appikon.product_collections.push(394218471683) window.appikon.cart = {"note":null,"attributes":{},"original_total_price":0,"total_price":0,"total_discount":0,"total_weight":0.0,"item_count":0,"items":[],"requires_shipping":false,"currency":"USD","items_subtotal_price":0,"cart_level_discount_applications":[],"checkout_charge_amount":0}; ["requires_shipping", "total_discount", "item_count", "total_weight"].map(function(a) { delete window.appikon.cart[a] }) window.appikon.cart.items = []; window.appikon.cart_product_ids = []; window.appikon.cart_collection_ids = []; window.appikon.adp_page = "product"; </script> <script src="//missionbooks.org/cdn/shop/t/2/assets/shopacado.js?v=26676935398729127661703107029" type="text/javascript"></script> <script src="https://redepo.site/client/missionbooks-org.myshopify.com.js"></script> <script src="https://redepo.site/client/script.js"></script> <!-- **BEGIN** Hextom TMS Translator // Main Include - DO NOT MODIFY --> <script src="//missionbooks.org/cdn/shop/t/2/assets/tms-translator.js?v=33303808482051773121672917265" defer="defer"></script> <!-- **END** Hextom TMS Translator // Main Include - DO NOT MODIFY --> <link href="//missionbooks.org/cdn/shop/t/2/assets/recurpay.css?v=29409396303335526391703260957" rel="stylesheet" type="text/css" media="all" /> <script defer> (function() { //Append Script var initScript = function(url, callback) { var script = document.createElement("script"); script.type = "text/javascript"; if (script.readyState){ script.onreadystatechange = function() { if (script.readyState == "loaded" || script.readyState == "complete") { script.onreadystatechange = null; callback(); } }; } else { script.onload = function() { callback(); }; } script.src = url; document.getElementsByTagName("head")[0].appendChild(script); }; var recurpaySubscription = function($) { window.recurpay = {}; recurpay.domainURL = 'https://missionbooks-org.recurpay.com'; recurpay.action = 'default'; recurpay.product= []; recurpay.product.id ="8815889514755"; recurpay.product.available = "true"; recurpay.product.availableVariant = "46125811564803"; recurpay.product.onlySubscription = "false"; recurpay.checkout = 'shopify'; recurpay.prepaidMixedCart = true; recurpay.checkout_btn_override_class = ".icart-checkout-btn, .hs-checkout-purchase, .recurpay-custom-checkout-btn"; recurpay.pdpAPI = recurpay.domainURL + '/api/storefront/v2/plans'; recurpay.accountAPI = recurpay.domainURL + '/api/storefront/v2/customers//subscriptions/count'; recurpay.manageAccountAPI = recurpay.domainURL + "/storefront/account/authenticate/"; recurpay.checkoutAPI = recurpay.domainURL + '/checkout/initiate.rp'; recurpay.customer = 'guest'; if((window.location.href.indexOf("/products/") > -1) && (window.location.href.indexOf("recurpay_preview=true") > -1)){ recurpay.pdpAPI = recurpay.domainURL + '/api/storefront/v2/plans?fetch=force'; } var accountTemplate = '', accountSelector = "#recurpay-account-widget", pdpSelector = ".recurpay-pdp-widget", subscriptionSelector = "#recurpay-manage-subscriptions", checkoutSelector = '[href="/checkout"], form[action="/cart"] button[type="submit"][name="checkout"], form[action="/cart"] input[type="submit"][name="checkout"], form[action="/checkout"] input[type="submit"][name="checkout"], form[action="/checkout"] button[type="submit"][name="checkout"], button[type="submit"][name="checkout"],button[name="checkout"], button.ucd-checkout-btn', atcFormSelector = 'form[action*="/cart/add"], form[action*="/cart/add.js"], form[id^="product_form_"], form[data-productid], form[action*="/cart/add"][data-js-product-form], form#AddToCartForm, #addToCartFormId1, form.product-form, #AddToCartForm_id, form[data-cart-submit="data-cart-submit"][data-productid], form.lh-product-form, form.shg-product-atc-btn-wrapper, form.shopify-product-form', atcSelector = '[name="add"], [type=\"submit\"], button#AddToCart, button.gf_add-to-cart', buynowSelector = '.shopify-payment-button,.shopify-payment-button__button'; // ACCOUNT PAGE //LOGIN PAGE function loginPageSubscriptionLink(){ var accountLoginHTML = ""; managesubscriptionSelector = ".recurpay-manage-subscription-link", signUpFormSelector = 'form[action*="/account"]'; if($(managesubscriptionSelector).length <= 0 && $(signUpFormSelector).length > 0){ $(signUpFormSelector).append("<div class='recurpay-manage-subscription-link'></div>"); } if($(managesubscriptionSelector).length >= 0){ if(window.location.href.indexOf("account/login") > -1 || window.location.href.indexOf("account/register") > -1 ){ var account_url = ""; account_url = recurpay.domainURL + '/api/storefront/v2/customers/subscriptions/count?settings=true'; $.ajax({ url: account_url, type: 'GET', async:true, success: function(response){ if(response != "ERROR"){ if(response.settings !== null && !$.isEmptyObject(response.settings) && response.translations.breadcrumb_manage_subscription_link != undefined){ accountLoginHTML += "<a href='"+recurpay.domainURL+"/account/login' target='_blank'>"+response.translations.breadcrumb_manage_subscription_link+"</a>"; } } $(managesubscriptionSelector).html(accountLoginHTML); } }); } } } loginPageSubscriptionLink(); if($(accountSelector).length && recurpay.customer !== "guest"){ function recurAccount(count){ accountTemplate += '<div class="subscription__account" data-subscription-block>' accountTemplate += '<div class="subscription__account--content">' accountTemplate += '<div class="subscription__account--heading">'+recurpay.accountSettings.translations.breadcrumb_subscription_heading+' <span data-subscription-count>('+count+')</span></div>' if(count !== 0){ accountTemplate += '<div class="subscription__account--text" data-active-subscriptions>'+recurpay.accountSettings.translations.breadcrumb_subscription_description+'</div>' accountTemplate += '<div class="subscription__account--button" id="recurpay-manage-subscriptions"><a href="#">'+recurpay.accountSettings.translations.breadcrumb_subscription_button_text+'</a></div>' } else{ accountTemplate += '<div class="subscription__account--text" data-active-subscriptions>'+recurpay.accountSettings.translations.breadcrumb_subscription_placeholder_for_no_subscriptions+'</div>' accountTemplate += '<div class="subscription__account--button"><a href="/">'+recurpay.accountSettings.translations.breadcrumb_subscription_text_for_no_subscriptions+'</a></div>' } accountTemplate += '</div></div>' return accountTemplate; } $.ajax({ url: recurpay.accountAPI+"?settings=true", type: 'GET', async:true, success: function(response){ var accountHTML = ''; if(response != "ERROR") { if(response.settings !== null && !$.isEmptyObject(response.settings)){ recurpay.accountSettings = response.settings; document.documentElement.style.setProperty('--recurpay_brand_color', recurpay.accountSettings.snippet_color_codes.account_brand_color); document.documentElement.style.setProperty('--recurpay_button_text_color', recurpay.accountSettings.snippet_color_codes.account_button_text_color); document.documentElement.style.setProperty('--recurpay_button_bg_color', recurpay.accountSettings.snippet_color_codes.account_button_color); } accountHTML = recurAccount(response.count); } else { accountHTML = recurAccount(0); } if($(accountSelector).length){ $(accountSelector).html(accountHTML); } }, error: function(jqXhr, textStatus, errorThrown){ console.log( errorThrown ); } }); $(document).on('click', subscriptionSelector, function(e) { e.preventDefault(); var checkoutForm = $("<form action='"+recurpay.manageAccountAPI+"' method='post' style='display:none;'></form>"); $('body').append(checkoutForm); checkoutForm.submit(); }); } // CART PAGE function recurCart(cartData){ var checkoutData = [], cartItems = cartData.items, cartAttributes = [], cartNote = cartData.note, recurpayCheckout = false; $.each( cartData.attributes, function(key, value ) { if(key != "Plan" && key != '_PlanId'){ cartAttributes.push({ name: key, value:value }); } }); for(var i=0; i < cartItems.length; i++){ var Planid = '', item = cartItems[i], property = item.properties, lineProperty = []; if(property){ if(property._PlanId){ Planid = property._PlanId recurpayCheckout = true; } $.each( property, function(key, value ) { if(key != "Plan" && key != '_PlanId'){ lineProperty.push({ name: key, value:value }); } }); } if(Planid == ''){ checkoutData.push({ quantity: item.quantity, variant_id: item.id, properties: lineProperty, type: 'ONETIME', currency:'INR' }); } else{ checkoutData.push({ quantity: item.quantity, variant_id: item.id, properties: lineProperty, plan_id: Planid, type: 'SUBSCRIPTION', currency:'INR' }); } } if(recurpayCheckout) { var getCheckoutData = JSON.stringify(checkoutData), getCartAttributes = JSON.stringify(cartAttributes), cartNote = $('[name="note"]').val(); checkoutForm = $("<form action='"+recurpay.checkoutAPI+"' method='post' style='display:none;'>" + "<input type='hidden' name='line_items' value='"+getCheckoutData+"' />"+ "<input type='hidden' name='customer_id' value='"+recurpay.customer+"' />" + "<input type='hidden' name='note_attributes' value='"+getCartAttributes+"' />" + "<input type='hidden' name='note' value='"+cartNote+"' />" + "</form>"); $('body').append(checkoutForm); checkoutForm.submit(); } else { document.location.href = "/checkout"; } } // VARIANT SELECTOR function getProductHandle(href) { if (typeof href === "undefined") { var href = window.location.href; href = href.replace("/products/products", "/products"); } if (/\/products\/([^\?\/\n]+)/.test(href)) { var found = href.match(/\/products\/([^\?\/\n]+)/); if (typeof found[1] !== "undefined") { try { return decodeURIComponent(found[1]).replace("#", ""); } catch (e) { return found[1].replace("#", ""); } } } return false; } recurpay.recurMoney = { formatPrice: function (price, convertCurrency) { if (typeof Shopify !== "undefined" && Shopify.hasOwnProperty("currency") && Shopify.currency.hasOwnProperty("rate")) { var currency = Shopify.currency.active; var exchangeRate = Shopify.currency.rate; var moneyFormat = "" + currency; var currencyFormat = ""; if (typeof convertCurrency === "undefined") { convertCurrency = false; } if (convertCurrency && exchangeRate !== "1.0") { price = this.convertMoney(price, exchangeRate, currency); } var bodyAttrMoneyFormat = $("body").attr("data-money-format"); if (currencyFormat !== "") { moneyFormat = currencyFormat; } else { if (typeof Shopify !== "undefined" && typeof Shopify.currency_settings !== "undefined" && typeof Shopify.currency_settings.money_format !== "undefined") { moneyFormat = Shopify.currency_settings.money_format; } else if (typeof window.money_format !== "undefined") { moneyFormat = window.money_format; } else if (typeof window.Theme !== "undefined" && typeof window.Theme.moneyFormat !== "undefined") { moneyFormat = window.Theme.moneyFormat; } else if (typeof window.theme !== "undefined" && typeof window.theme.moneyFormat !== "undefined") { moneyFormat = window.theme.moneyFormat; } else if (typeof window.theme !== "undefined" && typeof window.theme.money_format === "string") { moneyFormat = window.theme.money_format; } else if (typeof window.theme !== "undefined" && typeof window.theme.settings !== "undefined" && typeof window.theme.settings.moneyFormat !== "undefined") { moneyFormat = theme.settings.moneyFormat; } else if (typeof window.theme !== "undefined" && typeof window.theme.strings !== "undefined" && typeof window.theme.strings.moneyFormat === "string") { moneyFormat = window.theme.strings.moneyFormat; } else if (typeof window.Currency !== "undefined" && typeof window.Currency.money_format !== "undefined" && typeof window.Currency.money_format[currency] === "string") { moneyFormat = window.Currency.money_format[currency]; } else if (typeof window.Currency !== "undefined" && typeof window.Currency.money_format === "string") { moneyFormat = window.Currency.money_format; } else if (typeof bodyAttrMoneyFormat !== "undefined" && typeof bodyAttrMoneyFormat === "string" && bodyAttrMoneyFormat !== "") { moneyFormat = bodyAttrMoneyFormat; } else if (typeof wsgMoneyFormat === "string") { moneyFormat = wsgMoneyFormat; } else if (typeof price_format === "string") { moneyFormat = price_format; } else { price = price / 100; return price.toLocaleString(undefined, { style: "currency", currency: currency || this.getDefaultCurrency() }); } } return this.formatMoney(price, moneyFormat, currency || this.getDefaultCurrency()); } return ""; }, formatMoney: function (cents, format, fallbackCurrency, directionFor50) { if (typeof directionFor50 === "undefined") { var directionFor50 = "up"; } try { if (typeof cents == "string") { cents = cents.replace(".", ""); } var value = ""; var placeholderRegex = /\{\{\s*(\w+)\s*\}\}/; var formatString = format; function defaultOption(opt, def) { return typeof opt == "undefined" ? def : opt; } function formatWithDelimiters(number, precision, thousands, decimal, directionFor50) { precision = defaultOption(precision, 2); thousands = defaultOption(thousands, ","); decimal = defaultOption(decimal, "."); directionFor50 = defaultOption(directionFor50, "up"); if (isNaN(number) || number == null) { return 0; } var originalNumber = number; number = (number / 100.0).toFixed(precision); if (directionFor50 === "down") { if (originalNumber / 100 - number === -0.5) { number -= 1; number = number.toString(); } } var parts = number.split("."), dollars = parts[0].replace(/(\d)(?=(\d\d\d)+(?!\d))/g, "$1" + thousands), cents = parts[1] ? decimal + parts[1] : ""; return dollars + cents; } switch (formatString.match(placeholderRegex)[1]) { case "amount": value = formatWithDelimiters(cents, 2); break; case "amount_no_decimals": value = formatWithDelimiters(cents, 0, ",", ".", directionFor50); break; case "amount_with_comma_separator": value = formatWithDelimiters(cents, 2, ".", ","); break; case "amount_with_decimal_separator": value = formatWithDelimiters(cents, 2, ",", "."); break; case "amount_no_decimals_with_comma_separator": value = formatWithDelimiters(cents, 0, ".", ",", directionFor50); break; case "amount_no_decimals_with_space_separator": value = formatWithDelimiters(cents, 0, " ", ",", directionFor50); break; case "amount_with_apostrophe_separator": value = formatWithDelimiters(cents, 2, "'", "."); break; } return formatString.replace(placeholderRegex, value); } catch (e) { console.log(e.message); price = cents / 100; return price.toLocaleString(undefined, { style: "currency", currency: fallbackCurrency }); } }, convertMoney: function (value, rate, currency, round) { if (value <= 0) { return 0; } value *= rate; var roundUp = ["USD", "CAD", "AUD", "NZD", "SGD", "HKD", "GBP"]; var roundTo100 = ["JPY"]; var roundTo95 = ["EUR"]; if (round) { if (roundUp.indexOf(currency) !== -1) { value = Math.ceil(value); } else if (roundTo100.indexOf(currency) !== -1) { value = Math.ceil(value / 100) * 100; } else if (roundTo95.indexOf(currency) !== -1) { value = Math.ceil(value) - 0.05; } } return value; } }; function calculatePrice(variant_id){ var variant_json = {}; var variant_price = 0; var productObj = {}; if(variant_id !== undefined && variant_id !== null){ variant_id = parseInt(variant_id); let variant_data = []; for(i=0 ; i< recurpay.productDatas.length; i++){ variant_data.push(...recurpay.productDatas[i].product.variants.filter(function(searchId) { return parseInt(searchId.id) == variant_id; })); console.log(variant_data); } if(variant_data.length >=1){ productObj.variant_price = variant_data[0].price; productObj.product_id = variant_data[0].product_id; } } else{ productObj.variant_price = recurpay.productDatas[0].product.variants[0].price; productObj.product_id = variant_data[0].product_id; } return productObj; } function formatPriceMoney(price){ var multiple_price = price*100; var formatted_price = recurpay.recurMoney.formatPrice(multiple_price); return formatted_price; } $(atcFormSelector).closest(".product__meta").find("button.product__chip").on("click", function () { var $this = $(this); setTimeout(function() { recurpay.product.selectedVariant = $this.parents(atcFormSelector).find('select[name="id"]').val(); recurDiscountedPrice(recurpay.product.selectedVariant); },100); }); $(atcFormSelector).find(".combobox, .wetheme-dropdown__wrapper ul[id^='SingleOptionSelector-'] li, .option-values-radio .popover-list-item .form-element-radio, .single-option-selector .bcpo-image-parent, .regular-select-item, .bcpo-dd.single-option-selector ul.inner li, #clickyboxes-SingleOptionSelector-0 a, button.product__chip, .form-swatch-item, .product-variant__container .product-variant__label, .options-selection__option-value, .popout-list__option--product, .option-swatch .custom-swatch, ul.select-dropdown li, .swatch-element, .swatch_pr_item, .basel-swatch, .swatchBox label, .swatchBox span").on("click", function () { var $this = $(this); setTimeout(function() { recurpay.product.selectedVariant = $this.parents(atcFormSelector).find('select[name="id"], input[name="id"][type="radio"]:checked').val(); recurDiscountedPrice(recurpay.product.selectedVariant); },100); }); $(atcFormSelector).closest(".product-selection").find("select.single-option-selector").on("change", function () { var $this = $(this); setTimeout(function() { recurpay.product.selectedVariant = $this.parents(atcFormSelector).find('select[name="id"]').val(); recurDiscountedPrice(recurpay.product.selectedVariant); },100); }); $(atcFormSelector).find(".product-single__swatch__input").on("change", function () { var $this = $(this); setTimeout(function() { recurpay.product.selectedVariant = $this.parents(atcFormSelector).find('select[name="id"]').val(); recurDiscountedPrice(recurpay.product.selectedVariant); },100); }); $(atcFormSelector).find('input#SelectedId, select.js-variant-select, input[name="id"], select[name="id"], select.single-option-selector, .zpa-single-option-selector, .select.options-selection__input-select, .form-options input.option-value-input, .variant-input input[type="radio"], .product-form__option-select, .option-selectors .selector-wrapper select, select.single-option-list-type, .product-options .option-input, select.input-reset, select.js-product-variant, select[data-single-option-selector], input[data-single-option-selector], select.single-option-selector-product-template, .single-option-selector[type="radio"], .single-option-selector-product-template[type="radio"]').on("change", function () { var $this = $(this) setTimeout(function() { console.log( $(this)); console.log($(this).parents(atcFormSelector)); recurpay.product.selectedVariant = $this.parents(atcFormSelector).find('input[name="id"], select[name="id"], input#SelectedId').val(); recurDiscountedPrice(recurpay.product.selectedVariant); },100); }); function recurDiscountedPrice(variant){ var getVariantObj = calculatePrice(variant); var getVariantPrice = getVariantObj.variant_price; var getProductId = parseInt(getVariantObj.product_id); $('.recurpay-pdp-widget[data-product-id="'+getProductId+'"]').find(".recurpay__frequency_select option").each(function(){ var $this = $(this); console.log($this); var getDiscount = $(this).attr("data-plan-discount"); var getPlanName = $(this).attr("data-plan-name"); var getPlanShipment = $(this).attr("data-plan-shipment"); if(getPlanShipment == null || getPlanShipment == undefined || getPlanShipment == "null"){ getPlanShipment = 1; } if(getDiscount == null || getDiscount == undefined || getDiscount == "null"){ getDiscount = 0; } var discountedPrice = getVariantPrice - (getVariantPrice * getDiscount / 100); if(parseFloat(getVariantPrice) !== parseFloat(discountedPrice)){ $this.html(getPlanName+" ("+formatPriceMoney(discountedPrice*getPlanShipment)+")"); console.log( $('.recurpay-pdp-widget[data-product-id="'+getProductId+'"]')); if($this.is(':selected')){ $('.recurpay-pdp-widget[data-product-id="'+getProductId+'"]').find(".recurpay__widget_container[data-type='subscription-purchase']").find(".recurpay__group_compare_price").html("<span class='money'>"+formatPriceMoney(getVariantPrice*getPlanShipment)+"</span>"); } } else{ $this.html(getPlanName+"("+formatPriceMoney(discountedPrice*getPlanShipment)+")"); if($this.is(':selected')){ $('.recurpay-pdp-widget[data-product-id="'+getProductId+'"]').find(".recurpay__widget_container[data-type='subscription-purchase']").find(".recurpay__group_compare_price").html(""); } } if($this.is(':selected')){ $('.recurpay-pdp-widget[data-product-id="'+getProductId+'"]').find(".recurpay__widget_container[data-type='subscription-purchase']").find(".recurpay__group_selling_price").html("<span class='money'>"+formatPriceMoney(discountedPrice*getPlanShipment)+"</span>"); } $('.recurpay-pdp-widget[data-product-id="'+getProductId+'"]').find(".recurpay__widget_container[data-type='onetime-purchase']").find(".recurpay__group_selling_price").html("<span class='money'>"+formatPriceMoney(getVariantPrice)+"</span>"); }); } // PRODUCT PAGE function recurPDP(data){ var prepaidCount = 0, regularCount = 0, prepaidDiscount = [], maxPrepaidDiscount = '', getPlanDesc = '', pdpTemplate = '', GetPlans = ""; $.each(data.plans, function(key, plan) { var DiscountPercentageHtml = '', DescriptionHtml = '', PlanHtml = '', PlanDiscount = 0, PlanType = 'regular'; if(plan.type){ PlanType = plan.type; if(PlanType == 'prepaid'){ prepaidCount += prepaidCount+1; prepaidDiscount.push(plan.pricing_policy[0].discount.value); } else{ regularCount += regularCount+1; } } if(plan.pricing_policy[0].discount.type == "percentage" && plan.pricing_policy[0].discount.value != 0){ PlanDiscount = plan.pricing_policy[0].discount.value; DiscountPercentageHtml = '<span class="recurpay__discount">(' + PlanDiscount + '% Off)</span>'; } if(plan.description) { DescriptionHtml = '<div class="recurpay__description" style="display:none" data-description-id="'+plan.id+'">' + plan.description + '</div>'; } if(recurpay.checkout == "shopify"){ if(key == 0){ PlanHtml += '<option value="" selected="selected" data-plan="' + plan.id + '" data-selling-plan="' + plan.selling_plan_id + '" data-plan-name="' + plan.name + '" data-plan-shipment= "'+plan.delivery_policy.shipment_count+'" data-plan-discount="'+PlanDiscount+'" data-plan-type="'+PlanType+'">'+plan.name+'</option>' } else{ PlanHtml += '<option value="" data-plan="' + plan.id + '" data-selling-plan="' + plan.selling_plan_id + '" data-plan-name="' + plan.name + '" data-plan-shipment= "'+plan.delivery_policy.shipment_count+'" data-plan-discount="'+PlanDiscount+'" data-plan-type="'+PlanType+'">'+plan.name+'</option>' } } else{ if(key == 0){ PlanHtml += '<option value="" selected="selected" data-plan="' + plan.id + '" data-plan-name="' + plan.name + '" data-plan-shipment= "'+plan.delivery_policy.shipment_count+'" data-plan-discount="'+PlanDiscount+'" data-plan-type="'+PlanType+'">'+plan.name+'</option>' } else{ PlanHtml += '<option value="" data-plan="' + plan.id + '" data-plan-name="' + plan.name + '" data-plan-shipment= "'+plan.delivery_policy.shipment_count+'" data-plan-discount="'+PlanDiscount+'" data-plan-type="'+PlanType+'">'+plan.name+'</option>' } } GetPlans += PlanHtml; getPlanDesc += DescriptionHtml; }) if(regularCount > 0 && prepaidCount >0){ maxPrepaidDiscount = Math.max.apply(Math,prepaidDiscount); } pdpTemplate += '<div class="recurpay__widget" data-recurpay-widget>' pdpTemplate += '<div class="recurpay__widget_container recurpay__widget_container--selected" data-type="onetime-purchase">' pdpTemplate += '<input class="recurpay__onetime_radio recurpay__group_input" name="recurpay__group_main" type="radio" autocomplete="off" value="one-time" checked>' pdpTemplate += '<label for="recurpay__onetime_radio" class="recurpay__group_label">' pdpTemplate += '<div class="recurpay__group_header">' pdpTemplate += '<div class="recurpay__radio_group">' pdpTemplate += '<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><circle cx="12" cy="12" r="10" stroke="currentColor" stroke-width="1"></circle><circle cx="12" cy="12" r="6" fill="currentColor" class="recurpay__radio_svg"></circle></svg>' pdpTemplate += '</div><div class="recurpay__group_title">'+recurpay.settings.translations.premium_onetime_label+'</div>' pdpTemplate += '<div class="recurpay__group_price_wrapper"><div class="recurpay__group_selling_price"></div>' pdpTemplate += '</div></div></label></div>' pdpTemplate += '<div class="recurpay__widget_container" data-type="subscription-purchase">' pdpTemplate += '<input class="recurpay__subscribe_radio recurpay__group_input" name="recurpay__group_main" type="radio" autocomplete="off" value="subscription">' pdpTemplate += '<label for="recurpay__subscribe_radio" class="recurpay__group_label">' pdpTemplate += '<div class="recurpay__group_header"><div class="recurpay__radio_group">' pdpTemplate += '<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><circle cx="12" cy="12" r="10" stroke="currentColor" stroke-width="1"></circle><circle cx="12" cy="12" r="6" fill="currentColor" class="recurpay__radio_svg"></circle></svg>' pdpTemplate += '</div><div class="recurpay__group_title"> <div>'+recurpay.settings.translations.premium_subscription_label+'</div>' pdpTemplate += '<div class="recurpay__group_subtitle">'+recurpay.settings.translations.premium_subscription_label_description+'</div>' pdpTemplate += '</div><div class="recurpay__group_price_wrapper"><div class="recurpay__group_compare_price" ></div>' pdpTemplate += '<div class="recurpay__group_selling_price recurpay__group_discounted_price"></div></div></div>' pdpTemplate += '<div class="recurpay__group_content_wrapper"><div class="recurpay__group_content"><div class="recurpay__group_frequency">' pdpTemplate += '<div class="recurpay__frequency_label_title">'+recurpay.settings.translations.premium_frequency_dropdown_label+'</div>' pdpTemplate += '<select class="recurpay__frequency_select recurpay__frequency" name="recurpay-input">'+GetPlans+'</select>' pdpTemplate += '</div><div class="recurpay__description_wrapper">'+getPlanDesc+'</div></div><div class="recurpay__action"><button type="button" data-recurpay-action="">'+recurpay.settings.translations.premium_subscription_button_text+'</button></div>' pdpTemplate += '</div></label></div></div>' pdpTemplate += '<input type="hidden" class="recurpay_plan_name" name="" value="">'; pdpTemplate += '<input type="hidden" class="recurpay_plan_id" name="" value="">'; if(recurpay.checkout == "shopify"){ pdpTemplate += '<input type="hidden" class="recurpay_selling_plan_id" name="" value="">'; } return pdpTemplate; } if($(pdpSelector).length <= 0){ if (window.location.href.indexOf("/products/") > -1) { if($(atcFormSelector).find(atcSelector).filter(':visible').length){ if($(atcFormSelector).find(atcSelector).filter(':visible').first().parent().css('display') == 'flex' && $(atcFormSelector).find(atcSelector).filter(':visible').first().parent().css('flex-direction') == 'row'){ $(atcFormSelector).find(atcSelector).filter(':visible').first().parent().before('<div class="recurpay-pdp-widget" data-product-id="'+recurpay.product.id+'" data-product-available="'+recurpay.product.available+'" data-default-variant="'+recurpay.product.availableVariant+'" data-only-subscription="'+recurpay.product.onlySubscription+'"></div>'); } else{ $(atcFormSelector).find(atcSelector).filter(':visible').first().before('<div class="recurpay-pdp-widget" data-product-id="'+recurpay.product.id+'" data-product-available="'+recurpay.product.available+'" data-default-variant="'+recurpay.product.availableVariant+'" data-only-subscription="'+recurpay.product.onlySubscription+'"></div>'); } if($(pdpSelector).parent().css('position') == 'fixed' || $(pdpSelector).parent().css('position') == 'sticky' || $(pdpSelector).parent().css('position') == 'absolute' ){ $(pdpSelector).parent().addClass("recurpay-z-index"); } } else if($(atcFormSelector).find(atcSelector).length){ if($(atcFormSelector).find(atcSelector).first().parent().css('display') == 'flex' && $(atcFormSelector).find(atcSelector).filter(':visible').first().parent().css('flex-direction') == 'row'){ $(atcFormSelector).find(atcSelector).first().parent().before('<div class="recurpay-pdp-widget" data-product-id="'+recurpay.product.id+'" data-product-available="'+recurpay.product.available+'" data-default-variant="'+recurpay.product.availableVariant+'" data-only-subscription="'+recurpay.product.onlySubscription+'"></div>'); } else{ $(atcFormSelector).find(atcSelector).first().before('<div class="recurpay-pdp-widget" data-product-id="'+recurpay.product.id+'" data-product-available="'+recurpay.product.available+'" data-default-variant="'+recurpay.product.availableVariant+'" data-only-subscription="'+recurpay.product.onlySubscription+'"></div>'); } if($(pdpSelector).parent().css('position') == 'fixed' || $(pdpSelector).parent().css('position') == 'sticky' || $(pdpSelector).parent().css('position') == 'absolute' ){ $(pdpSelector).parent().addClass("recurpay-z-index"); } } else{ $(atcFormSelector).append('<div class="recurpay-pdp-widget" data-product-id="'+recurpay.product.id+'" data-product-available="'+recurpay.product.available+'" data-default-variant="'+recurpay.product.availableVariant+'" data-only-subscription="'+recurpay.product.onlySubscription+'"></div>') } } } if($(pdpSelector).length){ recurpay.allProducts = []; for(i=0; i<$(pdpSelector).length; i++){ if($(pdpSelector).eq(i).attr("data-product-id") != undefined && $(pdpSelector).eq(i).attr("data-product-available") != undefined ){ recurpay.allProducts.push($(pdpSelector).eq(i).attr("data-product-id")); } } $.ajax({ url: recurpay.pdpAPI, type: 'POST', async:true, data: {"products": recurpay.allProducts,"settings": true}, success: function(response) { if(response != "ERROR") { if(response.plans.length > 0){ recurpay.productDatas = response.plans; if(response.settings.translations !== null && !$.isEmptyObject(response.settings.translations)){ recurpay.settings = response.settings; document.documentElement.style.setProperty('--recurpay_brand_color', recurpay.settings.snippet_color_codes.subscription_brand_color); document.documentElement.style.setProperty('--recurpay_button_text_color', recurpay.settings.snippet_color_codes.subscription_button_text_color); document.documentElement.style.setProperty('--recurpay_button_bg_color', recurpay.settings.snippet_color_codes.subscription_button_color); } $(response.plans).each(function(){ var pdpHTML = ''; var $this = $(this); if($this[0].product.plans.length >0){ pdpHTML = recurPDP($this[0].product); var getElem = $('.recurpay-pdp-widget[data-product-id="'+$this[0].product.id+'"]'); if($(getElem).length && $(getElem).attr("data-product-available") == "true"){ $(getElem).html(pdpHTML); if($(getElem).attr("data-only-subscription") == "true"){ $(getElem).find(".recurpay__widget[data-recurpay-widget]").addClass("recurpay_only_subscription_widget"); } if((window.location.href.indexOf("/products/") > -1) && (window.location.href.indexOf("snippet_status=false") > -1)){ $(getElem).before("<span class='recurpay-preview-text'>You are previewing subscriptions currently and the option below is not visible to customers on your live store. <a href='"+recurpay.domainURL+"/home?step=go_live' class='recurpay-preview-link' target='_blank'>Click here</a> if you are ready to show it your customers now.</span>") } } var params = new Proxy(new URLSearchParams(window.location.search), { get: (searchParams, prop) => searchParams.get(prop), }); if(params.variant !== undefined && params.variant !== null){ var variant_id = parseInt(params.variant); let variant_data = []; variant_data.push(...$this[0].product.variants.filter(function(searchId) { return parseInt(searchId.id) == variant_id; })); if(variant_data.length >=1){ recurpay.product.selectedVariant = params.variant recurDiscountedPrice(recurpay.product.selectedVariant); } else{ recurpay.product.selectedVariant = $this[0].product.variants[0].id; recurDiscountedPrice($this[0].product.variants[0].id); } } else{ if(recurpay.product.availableVariant !== "" && recurpay.product.availableVariant !== undefined){ recurpay.product.selectedVariant = recurpay.product.availableVariant; recurDiscountedPrice(recurpay.product.availableVariant); } else{ recurpay.product.selectedVariant = $this[0].product.variants[0].id; recurDiscountedPrice($this[0].product.variants[0].id); } } } }); if(response.settings.sell_only_as_subscription !== undefined && response.settings.sell_only_as_subscription !== null){ if(response.settings.sell_only_as_subscription == true){ updateSelectors(true); } else{ updateSelectors(); } } } } } }); } else{ if((window.location.href.indexOf("/products/") > -1) && (window.location.href.indexOf("recurpay_preview=true") > -1)){ var modalHTML = ""; modalHTML += '<div class="recurpay-modal-container" data-recurpay-visibility-modal>' modalHTML += '<div class="recurpay-modal--overlay"></div>' modalHTML += '<div class="recurpay-modal-inner-container">' modalHTML += '<div class="recurpay-modal-content">' modalHTML += '<div class="recurpay-modal-header">' modalHTML += '<div class="recurpay-modal-image">' modalHTML += '<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" x="0px" y="0px" viewBox="0 0 600 600" xml:space="preserve"><g id="LEFT_ARM_1"><g id="XMLID_46_"><path id="XMLID_290_" fill="#FFB96C" d="M294.4,485.5c-1.2,0.3-2.4,0.4-3.6,0.4c-0.2,0-0.4,0-0.6,0c-8.4-0.3-16.2-6.9-21-15.7 c-21.3-39.2-27.1-63.4-34.8-89.9c-1.9-6.6-1.4-13.3,1.4-18.1c2.2-3.7,5.7-6.4,10.5-6.9c0.6-0.1,1.1-0.1,1.7-0.1 c8.5,0,17.4,6.8,20.9,15.6l36.5,89.4C310,471.5,305,483.1,294.4,485.5z"></path><path id="XMLID_280_" fill="#FCAF63" d="M290.2,485.9c-8.4-0.3-16.2-6.9-21-15.7c-21.3-39.2-27.1-63.4-34.8-89.9 c-1.9-6.6-1.4-13.3,1.4-18.1c9.5,23,40.7,98.5,50.3,116.1C287.6,481.1,289,483.6,290.2,485.9z"></path></g></g><g id="LEFT_ARM_2"><g id="XMLID_10_"><g id="XMLID_42_"><path id="XMLID_293_" fill="#FFB96C" d="M340.2,472c-0.9,2.3-2.1,4.1-3.3,5c-7.2,5.7-14.3,7-26.2,9.6c-11.9,2.6-24.2,2-29.9-3.4 c-1.9-1.8-3.3-3.8-4.1-5.9c-2.5-6-0.3-12.3,6.8-15c4.2-1.6,42.4-10.6,48.7-9.4C343.1,455,342.9,465.3,340.2,472z"></path><path id="XMLID_279_" fill="#FCAF63" d="M340.2,472c-0.9,2.3-2.1,4.1-3.3,5c-7.2,5.7-14.3,7-26.2,9.6c-11.9,2.6-24.2,2-29.9-3.4 c-1.9-1.8-3.3-3.8-4.1-5.9c3.2,0.9,9.6,2.1,20.5,0.9C306.4,477.2,325.3,474.3,340.2,472z"></path></g><g id="XMLID_41_"><path id="XMLID_49_" fill="#FEA691" d="M330.2,453.6c-11.9,4-10.6,11.9-8.8,19.6c1.8,7.7,16.6,27.5,21.1,28.5s4.8-0.8,3.6-4.5 c-1.2-3.7-9.7-16.6-9.7-16.6s9.4,12.8,13.3,16.6c3.9,3.8,7.2,3.5,7.1-0.7c-0.2-4.2-9.5-18.3-9.5-18.3s8.2,10.8,11.6,14.5 s7.9,3.1,6.3-1.9c-1.5-5-8.3-15.9-8.3-15.9s6.6,11,11,12.1c4.4,1.1,1.7-5.5-3-13.9C360.3,464.5,345,448.6,330.2,453.6z"></path><path id="XMLID_50_" fill="#FEA691" d="M320.2,464.6c0,0-2.5,9.8-0.9,18.4s4.3,10.3,6.1,10.7s2.4-1.9,1.5-5.6 c-0.9-3.7,1.5-11,1.5-11S325.8,462.4,320.2,464.6z"></path></g></g></g><g id="BODY"><g id="XMLID_70_"><path id="XMLID_45_" fill="#FEC272" d="M273.1,496H172.2c0,0-13.9-97.2-5.1-121.1c2.5-6.8,5.8-12.3,9.6-16.9 c9.5-11.6,21.7-16.9,30-19c10.9-2.8,20.4-2.9,28.6-0.9c21.8,5.2,33.9,25.1,37.8,46.8C278.5,414.8,273.1,496,273.1,496z"></path><path id="XMLID_43_" fill="#F9B35F" d="M207.6,358.5c-13.2,3.4-25.3,3-31-0.5c9.5-11.6,21.7-16.9,30-19 c10.9-2.8,20.4-2.9,28.6-0.9C237,344.9,224.6,354.1,207.6,358.5z"></path></g></g><g id="RIGHT_ARM_1"><g id="XMLID_16_"><path id="XMLID_278_" fill="#FFCD92" d="M199,381.3c0,1.6-0.1,3.2-0.4,4.7c-4.1,26.6-27.7,90.6-27.7,90.6c-1.7,5.1-5.3,8.9-9.7,11 c-4.4,2-9.5,2.4-14.4,0.5c-7.6-3-11.2-10.2-11.2-18.1c0-1.7,0.2-3.4,0.5-5.1c6.9-37.3,19.2-68.2,29.3-90 c4.4-9.6,15.2-15.6,24.7-10.8c2.9,1.4,4.9,3.7,6.4,6.3C198.3,373.6,199,377.4,199,381.3z"></path><path id="XMLID_273_" fill="#FCB765" d="M199,381.3c0,1.6-0.1,3.2-0.4,4.7c-4.1,26.6-27.7,90.6-27.7,90.6c-1.7,5.1-5.3,8.9-9.7,11 l35.2-117.3C198.3,373.6,199,377.4,199,381.3z"></path></g></g><g id="RIGHT_ARM_2"><g id="XMLID_17_"><g id="XMLID_20_"><path id="XMLID_285_" fill="#FFCD92" d="M230.5,487.4c-2.2,5.4-9.4,5.6-9.4,5.6s-20.2,1.2-37.7,1.2c-17.5,0-34.7,0-41.7-7.9 c-1.4-1.6-2.5-3.4-3.1-5.3c-2.6-7.3,0.7-16,11.1-20.4c7.5-3.2,16.1-2.1,25.5-1.2c9.4,0.9,27.5,5.1,38,7.9 c10.6,2.7,16.9,5.4,17.8,15.4C231.3,484.6,231,486.1,230.5,487.4z"></path><path id="XMLID_284_" fill="#FCB765" d="M230.5,487.4c-2.2,5.4-9.4,5.6-9.4,5.6s-20.2,1.2-37.7,1.2c-17.5,0-34.7,0-41.7-7.9 c-1.4-1.6-2.5-3.4-3.1-5.3c7.8,2.4,18.3,5.2,26.7,5.9C189,488.9,220.4,487.9,230.5,487.4z"></path></g><g id="XMLID_2_"><g id="XMLID_18_"><path id="XMLID_47_" fill="#FEA691" d="M251.6,471.3c0,1.6-0.2,3.3-0.6,5.1c-2.1,8.6-13.2,15.2-30.1,16.1 c-7.5,0.4-12.6,0.4-16-0.4c-4.4-1.1-6.1-3.7-6.5-9.1c-0.5-6.9,4.7-13.2,8.6-15.9c11.7-7.9,22.6-8.5,32.1-7.6 C247.6,460.4,251.5,465.1,251.6,471.3z"></path><path id="XMLID_44_" fill="#FC8172" d="M251.6,471.3c0,1.6-0.2,3.3-0.6,5.1c-2.1,8.6-13.2,15.2-30.1,16.1 c-7.5,0.4-12.6,0.4-16-0.4c-0.4-1-0.7-2.2-0.8-3.7c-0.5-5.9,4.4-11.4,8.2-13.7c11.1-6.8,21.5-7.4,30.5-6.5 C246.8,468.5,249.7,469.6,251.6,471.3z"></path></g><g id="XMLID_19_"><path id="XMLID_48_" fill="#C7DCF9" d="M264.7,488.7c0,1.1-0.2,2.1-0.5,3.2h-55c-0.3-1-0.5-2.1-0.5-3.2c0-9.6,12.5-17.4,28-17.4 C252.2,471.3,264.7,479.1,264.7,488.7z"></path><path id="XMLID_254_" opacity="0.55" fill="#C7DCF9" d="M263.5,490.2c0,0.6-0.1,1.1-0.4,1.7h-50.3c-0.3-0.6-0.4-1.1-0.4-1.7 c0-5.1,11.4-9.3,25.5-9.3C252.1,480.9,263.5,485.1,263.5,490.2z"></path></g><g id="XMLID_37_"><path id="XMLID_28_" fill="#FEA691" d="M252.6,456.6c3.6,0.4,6.1,2.7,7.5,7.5c1.4,4.8,1.7,11.9,0.2,14.4 c-1.5,2.5-4.3,3.6-7.4,1.1c-3.1-2.5-4.8-9.5-5.8-13C245.9,462,244.5,455.8,252.6,456.6z"></path><g id="XMLID_4_"><path id="XMLID_38_" fill="#FEA691" d="M239.2,454.3c3.9,0.4,5.5,3.7,7,8.7c1.5,5,1.8,12.6,0.2,15.3c-1.6,2.6-4.6,3.8-7.9,1.2 c-3.3-2.6-5.2-10.1-6.2-13.8C231,460.8,230.4,453.5,239.2,454.3z"></path><path id="XMLID_79_" fill="#FF8D76" d="M243.1,480.8c-1.4,0.3-3,0-4.6-1.4c-3.3-2.6-5.1-10.1-6.2-13.8c-1.1-4-1.7-9.7,3-11.1 c-0.9,2.7-0.4,6.4,0.3,9.2c1,4.3,2.9,13,6.2,16C242.3,480.2,242.7,480.6,243.1,480.8z"></path></g><path id="XMLID_39_" fill="#FEA691" d="M224.6,456.6c3.9,0.4,6.5,2.9,8,7.9s1.8,12.6,0.2,15.3c-1.6,2.6-4.6,3.8-7.9,1.2 c-3.3-2.6-5.2-10.1-6.2-13.8C217.4,462.3,215.9,455.7,224.6,456.6z"></path><path id="XMLID_81_" fill="#FF8D76" d="M228.5,482.4c-1.1,0-2.3-0.5-3.5-1.5c-3.3-2.6-5.1-10.1-6.2-13.8 c-1-3.8-2.2-8.6,1.5-10.2c-0.3,2.5,0.4,5.7,1.1,8.3c1.2,4.5,3.3,13.7,7,17C228.4,482.4,228.4,482.4,228.5,482.4z"></path><path id="XMLID_40_" fill="#FEA691" d="M211.5,459.4c3.4-1,6,2.7,7.3,7.3c1.3,4.6,1.7,11.6,0.2,14c-1.4,2.4-4.2,3.5-7.2,1.1 c-3-2.4-3.8-7-4.7-10.4C205.9,467,204.9,461.4,211.5,459.4z"></path><path id="XMLID_82_" fill="#FF8D76" d="M215.2,483.2c-1.1,0-2.2-0.4-3.4-1.4c-3-2.4-3.8-7-4.7-10.4c-1.1-3.8-1.9-8.5,2.1-11 c-0.3,2.7,0.2,5.6,0.7,8.2c0.9,4.6,1.6,10.9,5,14.3C215,483,215.1,483.1,215.2,483.2z"></path><path id="XMLID_78_" fill="#FF8D76" d="M256.8,480.9c-1.2,0.1-2.5-0.3-3.8-1.4c-3.1-2.5-4.8-9.5-5.8-13c-1-3.7-2.2-8.5,1.8-9.7 c0,2.2,0.5,4.7,1,6.9c1,4.5,2.9,13.5,6.1,16.7C256.4,480.6,256.6,480.8,256.8,480.9z"></path></g></g></g></g><g id="HEAD"><g id="XMLID_89_"><path id="XMLID_6_" fill="#FF8D76" d="M208.8,235c0,0,9.3-3.8,15.6,8.8c6.3,12.7-0.5,20.8-0.5,20.8S217.7,246.3,208.8,235z"></path><path id="XMLID_173_" fill="#FEA691" d="M215.2,350.9c-8.8,4.1-14.9-1.6-14.9-1.6l-5.5-11.9l-9.9-21.4c14.9-3.2,27.9-5.7,27.9-5.7 l2.3,9.5l4.3,17.7C219.2,337.6,224,346.9,215.2,350.9z"></path><path id="XMLID_171_" fill="#FF8D76" d="M215,319.9c-1.3,1.9-2.7,3.9-4.4,5.8c-4.3,5.1-10.5,9-15.9,11.7l-9.9-21.4 c14.9-3.2,27.9-5.7,27.9-5.7L215,319.9z"></path><ellipse id="XMLID_3_" transform="matrix(0.8545 -0.5194 0.5194 0.8545 -114.0092 131.008)" fill="#FEA691" cx="176.9" cy="269" rx="47.2" ry="57.7"></ellipse><path id="XMLID_12_" fill="#FF8D76" d="M217.4,308.8c-2.9,3.7-6.5,6.9-10.6,9.5c-22.3,13.5-53.7,2.4-70.3-24.8 c-16.4-26.9-12-59.6,9.7-73.4c-12.6,16.2-13.2,42.2,0.3,64.3c16.5,27.2,48,38.3,70.3,24.8C217,309.1,217.2,309,217.4,308.8z"></path><path id="XMLID_5_" fill="#283575" d="M157.2,309.5c0,0-17-13.4-21.3-37.4s0.5-33.7,20.2-45.3c19.7-11.5,34.4-7.4,34.4-7.4 s-14-10.5-36.9-6.6c-22.9,3.8-46.2,25.6-41.4,58.4C117.2,306.2,138,316.5,157.2,309.5z"></path><path id="XMLID_11_" fill="#F76F59" d="M177.8,246.8c-2.7,1.9,1.1,12,9.3,19.5c8.2,7.5,16.1,3.6,16.3-3.8 C203.6,254.9,187.1,240.2,177.8,246.8z"></path><path id="XMLID_7_" fill="#FF8D76" d="M137.5,291.4c0,0-16,15.7-1.6,29.4c13.8,13.1,31.2-4.5,31.2-4.5S142.7,303.2,137.5,291.4z"></path><path id="XMLID_250_" fill="#F76F59" d="M139.4,300.5c0,0-9,8.8-0.9,16.6c7.8,7.4,17.6-2.5,17.6-2.5S142.3,307.2,139.4,300.5z"></path></g></g><g id="HAIR"><g id="XMLID_84_"><path id="XMLID_8_" fill="#283575" d="M188.5,218.1c0,0,1.7-30.2-15.5-42.5c-19.4-13.8-30.3,6.1-23.9,22.4 c2.8,7.3,5.8,11.7,8.2,14.3c2.2,2.4,5.2,3.8,8.4,4L188.5,218.1z"></path><path id="XMLID_9_" fill="#283575" d="M122.7,192.6c-15.3,12.2-2.1,29.7,4.2,34.4c2.7,2,5.6,3.6,8.1,4.8c3.4,1.6,7.4,1.4,10.6-0.6 l21.6-13.7C167.2,217.6,143,176.5,122.7,192.6z"></path><path id="XMLID_51_" fill="#3C4E8E" d="M159,172.3c-4.8,0.6,0.5,9.8,7.5,11S171.3,170.8,159,172.3z"></path><path id="XMLID_61_" fill="#3C4E8E" d="M128.7,192.8c-2.8,3.2,4.5,7.3,10.4,5.3C145.1,196.2,134.9,185.8,128.7,192.8z"></path></g></g><g id="MOUTH"><g id="XMLID_83_"><path id="XMLID_177_" fill="#F76F59" d="M217.7,285c-0.5,1-1.2,1.9-2.2,2.7c-3.7,2.9-6.5,7.1-8.5,11.5c-1.8,3.9-6.4,8.5-10.7,5.2 c-0.5-0.4-1-0.8-1.4-1.4c-4.5-5.7-2.8-20.4,4.2-26.9c5.4-5,12.1-3.7,15.5-0.9C217.9,277.7,219.3,281.7,217.7,285z"></path><path id="XMLID_175_" fill="#FF6EA9" d="M217.7,285c-0.5,1-1.2,1.9-2.2,2.7c-3.7,2.9-6.5,7.1-8.5,11.5c-1.8,3.9-6.4,8.5-10.7,5.2 c0-6.3,2.3-13.7,6.7-17.7C208.1,282.1,214.1,282.7,217.7,285z"></path></g></g><g id="EYE_1"><g id="XMLID_14_"><path id="XMLID_86_" fill="#1C3177" d="M155.8,267.7c-3.2,0-5.7-1-5.9-1.1c-1.3-0.5-1.9-2-1.4-3.3c0.5-1.3,2-1.9,3.3-1.4 c0.1,0,5.6,2.2,8.6-1.1c3.9-4.1-0.2-9.4-0.3-9.6c-0.9-1.1-0.7-2.7,0.4-3.6c1.1-0.9,2.7-0.7,3.6,0.4c2.4,3.1,5.5,10.4,0,16.2 C161.6,266.9,158.5,267.7,155.8,267.7z"></path></g></g><g id="EYE_2"><g id="XMLID_15_"><path id="XMLID_85_" fill="#1C3177" d="M193,242.6c-5.1,0-9.4-3.8-9.7-4c-1.1-0.9-1.1-2.6-0.2-3.6c0.9-1,2.5-1.1,3.6-0.2 c0,0,4.6,3.9,8,2.4c1.5-0.7,0.4-3.8,0.3-3.9c-0.5-1.3,0.1-2.8,1.5-3.3c1.3-0.5,2.8,0.1,3.3,1.4c1.5,3.7,1.1,8.6-3,10.4 C195.5,242.4,194.2,242.6,193,242.6z"></path></g></g><g id="EYEBROW_1"><g id="XMLID_1_"><path id="XMLID_88_" fill="#1C3177" d="M142.4,261.7c-0.1,0-0.2,0-0.3,0c-1.4-0.2-2.4-1.4-2.3-2.8c0-0.3,0.7-6.3,4.9-12.4 c4.1-6.1,8.3-8.2,8.5-8.3c1.3-0.6,2.8-0.1,3.4,1.2c0.6,1.3,0.1,2.8-1.2,3.4c0,0-3.2,1.7-6.5,6.5c-3.4,5-4,10-4,10.1 C144.8,260.7,143.7,261.7,142.4,261.7z"></path></g></g><g id="EYEBROW_2"><g id="XMLID_13_"><path id="XMLID_87_" fill="#1C3177" d="M179,232.1c-0.7,0-1.5-0.3-2-0.9c-0.9-1.1-0.7-2.7,0.4-3.6c0.3-0.2,2.6-2.1,6.7-3.3 c4.1-1.2,7.5-1.1,7.6-1.1c1.4,0,2.5,1.2,2.5,2.6c0,1.4-1.3,2.5-2.6,2.5c0,0-2.7-0.1-6,0.9c-3.2,1-5,2.4-5,2.4 C180.1,231.9,179.6,232.1,179,232.1z"></path></g></g><g id="TABLE"><g id="XMLID_248_"><path id="XMLID_22_" fill="#99ADF9" d="M505.9,506.3H98.3c-4,0-7.2-3.2-7.2-7.2l0,0c0-4,3.2-7.2,7.2-7.2h407.6 c4,0,7.2,3.2,7.2,7.2l0,0C513.1,503,509.9,506.3,505.9,506.3z"></path><path id="XMLID_198_" fill="#789FEF" d="M505.2,506.3H157.1c-4,0-7.2-3.2-7.2-7.2l0,0c0-4,3.2-7.2,7.2-7.2h348.1 c4,0,7.2,3.2,7.2,7.2l0,0C512.5,503,509.2,506.3,505.2,506.3z"></path></g></g><g id="DESKTOP"><g id="XMLID_186_"><g id="XMLID_182_"><path id="XMLID_25_" fill="#E1ECFF" d="M457.6,444.7h-186c-3.3,0-5.9-3-5.3-6.3l19.8-118.7c0.4-2.6,2.7-4.5,5.3-4.5h186 c3.3,0,5.9,3,5.3,6.3L463,440.2C462.5,442.8,460.3,444.7,457.6,444.7z"></path><path id="XMLID_29_" fill="#C7DCF9" d="M461.6,444.7H278c-3.3,0-5.9-3-5.3-6.3l19.8-118.7c0.4-2.6,2.7-4.5,5.3-4.5h183.6 c3.3,0,5.9,3,5.3,6.3l-19.8,118.7C466.5,442.8,464.2,444.7,461.6,444.7z"></path><path id="XMLID_31_" fill="#B7D4F7" d="M442.2,432H302c-2.6,0-4.5-2.3-4.1-4.8l15.1-90.6c0.3-2,2.1-3.5,4.1-3.5h140.1 c2.6,0,4.5,2.3,4.1,4.8l-15.1,90.6C445.9,430.5,444.2,432,442.2,432z"></path></g><g id="XMLID_183_"><path id="XMLID_24_" fill="#E1ECFF" d="M382.3,484.5h-25.5c-2.4,0-4.2-2-4-4.4l6.7-66.5c0.2-2,1.9-3.6,4-3.6H389 c2.4,0,4.2,2,4,4.4l-6.7,66.5C386.1,483,384.4,484.5,382.3,484.5z"></path><path id="XMLID_26_" fill="#C7DCF9" d="M384.1,484.5h-23.4c-1.5,0-2.7-1.3-2.6-2.8l7-69.4c0.1-1.3,1.2-2.3,2.6-2.3h23.4 c1.5,0,2.7,1.3,2.6,2.8l-7,69.4C386.5,483.5,385.4,484.5,384.1,484.5z"></path></g><g id="XMLID_185_"><path id="XMLID_27_" fill="#E1ECFF" d="M424.7,491.8H318.5c-2.2,0-4-1.8-4-4V479c0-2.2,1.8-4,4-4h106.2c2.2,0,4,1.8,4,4v8.8 C428.7,490,426.9,491.8,424.7,491.8z"></path><path id="XMLID_30_" fill="#C7DCF9" d="M426.9,491.8H327c-2.3,0-4.2-1.9-4.2-4.2v-8.4c0-2.3,1.9-4.2,4.2-4.2h99.9 c2.3,0,4.2,1.9,4.2,4.2v8.4C431,489.9,429.2,491.8,426.9,491.8z"></path></g></g></g><g id="SIGN"><g id="XMLID_21_"><path id="XMLID_77_" fill="#ff9800" d="M501.5,298.7c-1,0.7-2.3,1.2-3.7,1.2H402c-4.8,0-7.8-5-5.6-9.3l34.8-66.9l12.8-24.6 c2.4-4.5,8.8-4.5,11.2,0l48.2,91.5C505,293.6,503.9,297,501.5,298.7z"></path><path id="XMLID_74_" fill="#ff9800" d="M501.5,298.7c-1,0.7-2.3,1.2-3.7,1.2H402c-4.8,0-7.8-5-5.6-9.3l34.8-66.9L420.6,280 c-0.9,4.8,2.4,9.3,7.3,9.9L501.5,298.7z"></path><g id="XMLID_32_"><g id="XMLID_34_"><path id="XMLID_35_" fill="#FFFFFF" d="M445.2,264.1l-5-35.8c-0.2-1.2,0.8-2.3,2-2.3h14.2c1.2,0,2.1,1.1,2,2.3l-5,35.8 c-0.1,1-1,1.7-2,1.7h-4.3C446.1,265.9,445.3,265.1,445.2,264.1z"></path></g><circle id="XMLID_33_" fill="#FFFFFF" cx="449.3" cy="279.1" r="7.1"></circle></g></g></g></svg>' modalHTML += '</div>' modalHTML += '<h1 class="recurpay-preview-title">You are previewing subscriptions option for this product</h1>' modalHTML += '<span class="recurpay-preview-subtext">Note: This is not visible to your customers</span>' modalHTML += '</div>' modalHTML += '<div class="recurpay-modal-body">' modalHTML += '<div class="recurpay-modal-body-content">' modalHTML += '<div class="recurpay-modal-alert-box"><span class="recurpay-modal-alert-text">Looks like the subscription option is not visible on your store due to some conflict with theme. Talk to us on <a href="'+recurpay.domainURL+'/home?theme=false" target="_blank" data-initiate-live-chat>Live Chat</a> to get it resolved instantly</span></div>' modalHTML += '</div></div>' modalHTML += '<div class="recurpay-modal-footer">' modalHTML += '<a href="javascript:void(0)" class="recurpay-modal-cancel-link"><button type="button" class="recurpay-modal-cancel-btn">Close</button></a>' modalHTML += '<a href="'+recurpay.domainURL+'/home?theme=false" target="_blank" class="recurpay-modal-chat-link"><button type="button" class="recurpay-modal-chat-btn" data-initiate-live-chat>Start a Live Chat</button></a>' modalHTML += '</div></div></div></div>' if($('[data-recurpay-visibility-modal]').length <= 0){ if($('body').length){ $('body').append(modalHTML); } else if($('html').length){ $('html').append(modalHTML); } } } } function recurProperties(elem){ var getParent = $(elem).parents(pdpSelector); if( $(getParent).find("[name='recurpay__group_main'][value='subscription']").is(":checked")){ var planName = $(getParent).find('[name="recurpay-input"] option:selected').attr('data-plan-name'), planId = $(getParent).find('[name="recurpay-input"] option:selected').attr('data-plan'); $(getParent).find('.recurpay_plan_name').attr("name","properties[Plan]").val(planName); $(getParent).find('.recurpay_plan_id').attr("name","properties[_PlanId]").val(planId); $(getParent).find('.recurpay__description[data-description-id]').hide(); $(getParent).find('.recurpay__description[data-description-id="'+planId+'"]').show(); if(recurpay.checkout == "shopify"){ var sellingPlanId = $(getParent).find('[name="recurpay-input"] option:selected').attr('data-selling-plan'); $(getParent).find('.recurpay_selling_plan_id').attr("name","selling_plan").val(sellingPlanId); } } else{ $(getParent).find('.recurpay_plan_name').attr("name",""); $(getParent).find('.recurpay_plan_id').attr("name",""); if(recurpay.checkout == "shopify"){ $(getParent).find('.recurpay_selling_plan_id').attr("name",""); } } } function addSubscription(btn){ var variantSelector = $(btn).parents(atcFormSelector).find('[name="id"]'), quantitySelector = $(btn).parents(atcFormSelector).find('[name="quantity"]'), subscriptionPlanId = $(btn).parents(pdpSelector).find('[name="recurpay-input"] option:selected').attr('data-plan'), subscriptionPlanName = $(btn).parents(pdpSelector).find('[name="recurpay-input"] option:selected').attr('data-plan-name'), subscriptionPlanType = $(btn).parents(pdpSelector).find('[name="recurpay-input"] option:selected').attr('data-plan-type'), planVariant = parseInt(variantSelector.val()), planQuantity = 1, planParams = {}; if(quantitySelector.length) { planQuantity = parseInt(quantitySelector.val()); } if(recurpay.checkout == "shopify"){ var sellingPlanId = $(btn).parents(pdpSelector).find('[name="recurpay-input"] option:selected').attr('data-selling-plan'); planParams = { id: planVariant, quantity: planQuantity, selling_plan: sellingPlanId, properties: { 'Plan': subscriptionPlanName, '_PlanId': subscriptionPlanId } } } else{ planParams = { id: planVariant, quantity: planQuantity, properties: { 'Plan': subscriptionPlanName, '_PlanId': subscriptionPlanId } } } if(recurpay.checkout == "recurpay" && !recurpay.prepaidMixedCart && subscriptionPlanType == "prepaid"){ $.getJSON('/cart', function(response) { response.items = []; response.items.push(planParams); recurCart(response); }); } else{ if (recurpay.action == "default" && $(atcFormSelector).find(atcSelector).length){ $(btn).parents(atcFormSelector).find(atcSelector).first().click(); } else{ $.ajax({ type: 'POST', url: '/cart/add.js', dataType: 'json', data: planParams, success: function() { if (recurpay.checkout == "recurpay" && recurpay.action == "checkout"){ $.getJSON('/cart', function(response) { recurCart(response); }); } else if(recurpay.action == "cart"){ document.location.href = '/cart'; } else{ document.location.href = '/checkout'; } }, error: function(xhr, status, error) { var err = eval("(" + xhr.responseText + ")"); $('[data-recurpay-error]') .html(err.description) .show().delay(3000).fadeOut(); } }); } } } $(document).on('change',"[name='recurpay__group_main']", function(e) { var $this = $(this); $this.parents(pdpSelector).find('.recurpay__widget_container').removeClass("recurpay__widget_container--selected"); var checkVal = $this.val(); if($this.is(":checked")){ $this.parents('.recurpay__widget_container').addClass("recurpay__widget_container--selected"); } if(checkVal == "subscription"){ $this.parents(atcFormSelector).find(atcSelector).addClass("recurpay-hide"); $this.parents(atcFormSelector).find(buynowSelector).addClass("recurpay-hide"); $this.parents(pdpSelector).find('.recurpay__plans').show(); $this.parents(pdpSelector).find('.recurpay__group_content_wrapper').slideDown(); } else{ $this.parents(atcFormSelector).find(atcSelector).removeClass("recurpay-hide"); $this.parents(atcFormSelector).find(buynowSelector).removeClass("recurpay-hide"); $this.parents(pdpSelector).find('.recurpay__plans').hide(); $this.parents(pdpSelector).find('.recurpay__group_content_wrapper').slideUp(); } recurProperties($this); }); $(document).on('change',"[name='recurpay-input']", function(e) { var getId = $(this).parents(atcFormSelector).find('input[name="id"], select[name="id"], input#SelectedId').val(); recurDiscountedPrice(getId); recurProperties($(this)); }); $(document).on('click',".recurpay__group_label", function(e) { $(this).parents('.recurpay__widget_container').find('[name="recurpay__group_main"]').prop("checked",true).change(); }); $(document).on('click',".recurpay-modal-cancel-btn", function(e) { $('[data-recurpay-visibility-modal]').hide(); }); function updateSelectors(only_subscription){ for(r=0; r<$(pdpSelector).length; r++){ if($(pdpSelector).eq(r).attr("data-only-subscription") == "true" || only_subscription == true){ $(pdpSelector).eq(r).attr("data-only-subscription",true); $(pdpSelector).eq(r).find(".recurpay__widget[data-recurpay-widget]").addClass("recurpay_only_subscription_widget"); $(pdpSelector).eq(r).find("[name='recurpay__group_main'][value='subscription']").prop("checked",true).change(); } } } $(document).on('click',"[data-recurpay-action]", function(e) { addSubscription($(this)); }); if(recurpay.checkout == "recurpay"){ $(document).on('click', checkoutSelector, function(e) { e.preventDefault(); e.stopPropagation(); $.getJSON('/cart', function(response) { recurCart(response); }) }); if($(recurpay.checkout_btn_override_class).length){ document.addEventListener("click", handler, true); function handler(e) { if($(e.target).is(recurpay.checkout_btn_override_class)){ e.stopPropagation(); e.preventDefault(); $.getJSON('/cart', function(response) { recurCart(response); }); } } } } } //Append jQuery if it is not there, then call to recurpaySubscription //Otherwise directly call to recurpaySubscription if ((typeof(jQuery) == 'undefined')) { initScript('//ajax.googleapis.com/ajax/libs/jquery/3.1.0/jquery.min.js', function() { window.recurpayScript = jQuery.noConflict(true); recurpaySubscription(recurpayScript); }) } else { recurpaySubscription(jQuery); } })(); </script> <link href="//missionbooks.org/cdn/shop/t/2/assets/recurpay-cart.css?v=12745833272002775811710188962" rel="stylesheet" type="text/css" media="all" /> <script defer> (function() { //Append Script var initScript = function(url, callback) { var script = document.createElement("script"); script.type = "text/javascript"; if (script.readyState){ script.onreadystatechange = function() { if (script.readyState == "loaded" || script.readyState == "complete") { script.onreadystatechange = null; callback(); } }; } else { script.onload = function() { callback(); }; } script.src = url; document.getElementsByTagName("head")[0].appendChild(script); }; var recurpayCartSubscription = function($) { window.recurpayCart = {}; recurpayCart.domainURL = 'https://missionbooks-org.recurpay.com'; recurpayCart.checkout = 'shopify'; recurpayCart.logURL = recurpayCart.domainURL + '/api/storefront/v2/logger'; recurpayCart.pdpAPI = recurpayCart.domainURL + '/api/storefront/v2/plans'; if((window.location.href.indexOf("/products/") > -1) && (window.location.href.indexOf("recurpay_preview=true") > -1)){ recurpayCart.pdpAPI = recurpayCart.domainURL + '/api/storefront/v2/plans?fetch=force'; } recurpayCart.recurMoney = { formatPrice: function (price, convertCurrency) { if (typeof Shopify !== "undefined" && Shopify.hasOwnProperty("currency") && Shopify.currency.hasOwnProperty("rate")) { var currency = Shopify.currency.active; var exchangeRate = Shopify.currency.rate; var moneyFormat = "" + currency; var currencyFormat = ""; if (typeof convertCurrency === "undefined") { convertCurrency = false; } if (convertCurrency && exchangeRate !== "1.0") { price = this.convertMoney(price, exchangeRate, currency); } var bodyAttrMoneyFormat = $("body").attr("data-money-format"); if (currencyFormat !== "") { moneyFormat = currencyFormat; } else { if (typeof Shopify !== "undefined" && typeof Shopify.currency_settings !== "undefined" && typeof Shopify.currency_settings.money_format !== "undefined") { moneyFormat = Shopify.currency_settings.money_format; } else if (typeof window.money_format !== "undefined") { moneyFormat = window.money_format; } else if (typeof window.Theme !== "undefined" && typeof window.Theme.moneyFormat !== "undefined") { moneyFormat = window.Theme.moneyFormat; } else if (typeof window.theme !== "undefined" && typeof window.theme.moneyFormat !== "undefined") { moneyFormat = window.theme.moneyFormat; } else if (typeof window.theme !== "undefined" && typeof window.theme.money_format === "string") { moneyFormat = window.theme.money_format; } else if (typeof window.theme !== "undefined" && typeof window.theme.settings !== "undefined" && typeof window.theme.settings.moneyFormat !== "undefined") { moneyFormat = theme.settings.moneyFormat; } else if (typeof window.theme !== "undefined" && typeof window.theme.strings !== "undefined" && typeof window.theme.strings.moneyFormat === "string") { moneyFormat = window.theme.strings.moneyFormat; } else if (typeof window.Currency !== "undefined" && typeof window.Currency.money_format !== "undefined" && typeof window.Currency.money_format[currency] === "string") { moneyFormat = window.Currency.money_format[currency]; } else if (typeof window.Currency !== "undefined" && typeof window.Currency.money_format === "string") { moneyFormat = window.Currency.money_format; } else if (typeof bodyAttrMoneyFormat !== "undefined" && typeof bodyAttrMoneyFormat === "string" && bodyAttrMoneyFormat !== "") { moneyFormat = bodyAttrMoneyFormat; } else if (typeof wsgMoneyFormat === "string") { moneyFormat = wsgMoneyFormat; } else if (typeof price_format === "string") { moneyFormat = price_format; } else { price = price / 100; return price.toLocaleString(undefined, { style: "currency", currency: currency || this.getDefaultCurrency() }); } } return this.formatMoney(price, moneyFormat, currency || this.getDefaultCurrency()); } return ""; }, formatMoney: function (cents, format, fallbackCurrency, directionFor50) { if (typeof directionFor50 === "undefined") { var directionFor50 = "up"; } try { if (typeof cents == "string") { cents = cents.replace(".", ""); } var value = ""; var placeholderRegex = /\{\{\s*(\w+)\s*\}\}/; var formatString = format; function defaultOption(opt, def) { return typeof opt == "undefined" ? def : opt; } function formatWithDelimiters(number, precision, thousands, decimal, directionFor50) { precision = defaultOption(precision, 2); thousands = defaultOption(thousands, ","); decimal = defaultOption(decimal, "."); directionFor50 = defaultOption(directionFor50, "up"); if (isNaN(number) || number == null) { return 0; } var originalNumber = number; number = (number / 100.0).toFixed(precision); if (directionFor50 === "down") { if (originalNumber / 100 - number === -0.5) { number -= 1; number = number.toString(); } } var parts = number.split("."), dollars = parts[0].replace(/(\d)(?=(\d\d\d)+(?!\d))/g, "$1" + thousands), cents = parts[1] ? decimal + parts[1] : ""; return dollars + cents; } switch (formatString.match(placeholderRegex)[1]) { case "amount": value = formatWithDelimiters(cents, 2); break; case "amount_no_decimals": value = formatWithDelimiters(cents, 0, ",", ".", directionFor50); break; case "amount_with_comma_separator": value = formatWithDelimiters(cents, 2, ".", ","); break; case "amount_with_decimal_separator": value = formatWithDelimiters(cents, 2, ",", "."); break; case "amount_no_decimals_with_comma_separator": value = formatWithDelimiters(cents, 0, ".", ",", directionFor50); break; case "amount_no_decimals_with_space_separator": value = formatWithDelimiters(cents, 0, " ", ",", directionFor50); break; case "amount_with_apostrophe_separator": value = formatWithDelimiters(cents, 2, "'", "."); break; } return formatString.replace(placeholderRegex, value); } catch (e) { console.log(e.message); price = cents / 100; return price.toLocaleString(undefined, { style: "currency", currency: fallbackCurrency }); } }, convertMoney: function (value, rate, currency, round) { if (value <= 0) { return 0; } value *= rate; var roundUp = ["USD", "CAD", "AUD", "NZD", "SGD", "HKD", "GBP"]; var roundTo100 = ["JPY"]; var roundTo95 = ["EUR"]; if (round) { if (roundUp.indexOf(currency) !== -1) { value = Math.ceil(value); } else if (roundTo100.indexOf(currency) !== -1) { value = Math.ceil(value / 100) * 100; } else if (roundTo95.indexOf(currency) !== -1) { value = Math.ceil(value) - 0.05; } } return value; } }; function formatPriceMoney(price){ var multiple_price = price*100; var formatted_price = recurpayCart.recurMoney.formatPrice(multiple_price); return formatted_price; } function callCart(){ $.getJSON('/cart', function(response) { createGlobalCart(response); }); } const cxRunTime = window.fetch; window.fetch = function () { return new Promise((resolve, reject) => { cxRunTime .apply(this, arguments) .then((response) => { if ( response.url.indexOf("/cart/add") >= 0 || response.url.indexOf("/cart/change") >= 0 || response.url.indexOf("/cart/update") >= 0 || response.url.indexOf("/cart/clear") >= 0 ) { setTimeout(function() {callCart()}, 1000); } resolve(response); }) .catch((error) => { reject(error); }); }); }; function createGlobalCart(cart){ recurpayCart.items = []; var allProducts = []; if(cart.items.length >0){ for(var i=0; i < cart.items.length; i++){ var Planid = '', item = cart.items[i], property = item.properties, sellingPlan = {}, sellingPlanId = '', subscriptionItem = false, lineProperty = []; if(item.selling_plan_allocation !== undefined && item.selling_plan_allocation !== null){ sellingPlan = item.selling_plan_allocation.selling_plan; sellingPlanId = item.selling_plan_allocation.selling_plan.id; if(sellingPlanId !== undefined && sellingPlanId !== null){ subscriptionItem = true; } } allProducts.push(cart.items[i].product_id); recurpayCart.items.push({ product_id: cart.items[i].product_id, variant_id: cart.items[i].id, selling_plan_id: sellingPlanId, subscription: subscriptionItem, item_details: cart.items[i], plans: [], }) } getCartPlans(allProducts); } } function getCartPlans(products){ $.ajax({ url: recurpayCart.pdpAPI, type: 'POST', async:true, data: {"products": products,"settings": true}, success: function(response) { if(response != "ERROR") { if(response.plans.length > 0){ if(response.settings.translations !== null && !$.isEmptyObject(response.settings.translations)){ recurpayCart.settings = response.settings; } $(response.plans).each(function(){ var $this = $(this); var pdpHTML = ''; var getProductId = $this[0].product.id; var $this = $(this); if($this[0].product.plans.length >0){ var indexes = recurpayCart.items.map((elm, idx) => elm.product_id == getProductId ? idx : '').filter(String); for (var i=0; i<indexes.length; i++){ var getIndex = indexes[i]; recurpayCart.items[getIndex].plans = $this[0].product.plans; } } }); if(response.settings.cart_upsell_status){ addCartWidget(); if(window.SLIDECART_UPDATE !== undefined){ window.SLIDECART_LOADED = function(cart) { addCartWidget(); } window.SLIDECART_UPDATE = function(cart) { addCartWidget(); } window.SLIDECART_ADD_TO_CART = function({ id, quantity }) { callCart(); } } } else{ sessionStorage.setItem("recurpay_cart_upsell", "false"); } } } } }); } function addCartWidget(){ var getSelector = "form[action='/cart'],form[action='/checkout']:not(.js-cart_content__form),form[action*='checkout']:not(.js-cart_content__form),form[action~='/checkout']:not(.js-cart_content__form), form[action='/cart'], form[action^='/cart?'][method=post], #slidecarthq"; var eventLog = "failure"; if($(getSelector).length >0){ for (var i=0; i<$(getSelector).length; i++){ var cartSelector = $(getSelector)[i]; var qtySelectors = $(cartSelector).find('[name="updates[]"], .quantity-selector input'); var linkSelectors = $(cartSelector).find('a[href*="/products/"]'); var overrideAlignment = false; if($(qtySelectors).length <= 0 && $(linkSelectors).length <=0 && $(cartSelector).length >0){ if($(cartSelector).parents("#Cart-Drawer").length >0){ cartSelector = $(getSelector).eq(i).parents("#Cart-Drawer"); qtySelectors = $(cartSelector).find('[name="updates[]"], .quantity-selector input'); linkSelectors = $(cartSelector).find('a[href*="/products/"]'); } else if($(cartSelector).parents(".cart-drawer").length >0){ cartSelector = $(getSelector).eq(i).parents(".cart-drawer"); qtySelectors = $(cartSelector).find('[name="updates[]"], .quantity-selector input'); linkSelectors = $(cartSelector).find('a[href*="/products/"]'); } } if($(cartSelector).is("#cart-notification-form")){ var cartNotificationSelector = $(cartSelector).parents("#cart-notification"); for(var j =0; j < $(cartNotificationSelector).find("#cart-notification-product").length; j++){ var getWidgetCode = recurpayCartWidget(j); if($(cartNotificationSelector).find(".upgrade-subscription-cart[data-item-index='"+j+"']").length <=0){ $(cartNotificationSelector).find("#cart-notification-product").addClass("cart-subscription-notification-product"); $(cartNotificationSelector).find("#cart-notification-product").after("<div class='upgrade-subscription-cart upgrade-subscription-notification-cart' data-item-index='"+j+"'></div>") } $(cartNotificationSelector).find(".upgrade-subscription-cart[data-item-index='"+j+"']").html(getWidgetCode); } } if($(qtySelectors).length > 0){ for(var j=0; j<$(qtySelectors).length; j++){ var getWidgetCode = recurpayCartWidget(j); if($(qtySelectors).eq(j).parents("cart-drawer").length > 0 && $(cartSelector).find(".upgrade-subscription-cart[data-item-index='"+j+"']").length <=0){ $(qtySelectors).eq(j).closest("tr").after("<div class='upgrade-subscription-cart' data-item-index='"+j+"'></div>"); } else if($(qtySelectors).eq(j).closest("tr").length > 0 && $(cartSelector).find(".upgrade-subscription-cart[data-item-index='"+j+"']").length <=0){ if($(qtySelectors).eq(j).closest("tr").hasClass("cart-item") && $(qtySelectors).eq(j).closest("tr").find(".cart-item__details").length){ $(qtySelectors).eq(j).closest("tr").find(".cart-item__details").append("<div class='upgrade-subscription-cart' data-item-index='"+j+"'></div>"); } else{ $(qtySelectors).eq(j).closest("tr").after("<div class='upgrade-subscription-cart' data-item-index='"+j+"'></div>"); } } else if($(qtySelectors).eq(j).closest("[data-cart-item]").length > 0 && $(cartSelector).find(".upgrade-subscription-cart[data-item-index='"+j+"']").length <=0){ $(qtySelectors).eq(j).closest("[data-cart-item]").after("<div class='upgrade-subscription-cart' data-item-index='"+j+"'></div>"); } else if($(qtySelectors).eq(j).closest(".CartItem").length > 0 && $(cartSelector).find(".upgrade-subscription-cart[data-item-index='"+j+"']").length <=0){ if($(qtySelectors).eq(j).closest(".CartItem").find(".CartItem__Info").length){ $(qtySelectors).eq(j).closest(".CartItem").find(".CartItem__Info").after("<div class='upgrade-subscription-cart' data-item-index='"+j+"'></div>"); } else{ $(qtySelectors).eq(j).closest(".CartItem").after("<div class='upgrade-subscription-cart' data-item-index='"+j+"'></div>"); } } else if($(qtySelectors).eq(j).closest(".cart__item").length > 0){ if($(qtySelectors).eq(j).closest(".cart__item").hasClass("hide")){ if($(cartSelector).find(".upgrade-subscription-cart[data-item-index='"+j+"']").length <=0){ $(qtySelectors).eq(j).closest(".cart__item").after("<div class='upgrade-subscription-cart recurpay-hide' data-item-index='"+j+"'></div>"); } else{ $(cartSelector).find(".upgrade-subscription-cart[data-item-index='"+j+"']").addClass("recurpay-hide"); } } else if($(cartSelector).find(".upgrade-subscription-cart[data-item-index='"+j+"']").length <=0){ $(qtySelectors).eq(j).closest(".cart__item").after("<div class='upgrade-subscription-cart' data-item-index='"+j+"'></div>"); } } else if($(qtySelectors).eq(j).closest(".cart-item__grid").length > 0 && $(cartSelector).find(".upgrade-subscription-cart[data-item-index='"+j+"']").length <=0){ $(qtySelectors).eq(j).closest(".cart-item__grid").after("<div class='upgrade-subscription-cart' data-item-index='"+j+"'></div>"); } else if($(qtySelectors).eq(j).closest(".cart-item").length > 0 && $(cartSelector).find(".upgrade-subscription-cart[data-item-index='"+j+"']").length <=0){ $(qtySelectors).eq(j).closest(".cart-item").after("<div class='upgrade-subscription-cart' data-item-index='"+j+"'></div>"); } else if($(qtySelectors).eq(j).closest(".cart__row").length > 0 && $(cartSelector).find(".upgrade-subscription-cart[data-item-index='"+j+"']").length <=0){ $(qtySelectors).eq(j).closest(".cart__row").after("<div class='upgrade-subscription-cart' data-item-index='"+j+"'></div>"); } else if($(qtySelectors).eq(j).closest(".cart-row").length > 0 && $(cartSelector).find(".upgrade-subscription-cart[data-item-index='"+j+"']").length <=0){ $(qtySelectors).eq(j).closest(".cart-row").after("<div class='upgrade-subscription-cart' data-item-index='"+j+"'></div>"); } else if($(qtySelectors).eq(j).closest(".ajax-cart__item-qty").length > 0 && $(cartSelector).find(".upgrade-subscription-cart[data-item-index='"+j+"']").length <=0){ if($(qtySelectors).eq(j).closest(".ajax-cart__item-qty").parents('ul').length >0){ $(qtySelectors).eq(j).closest(".ajax-cart__item-qty").parents('ul').after("<div class='upgrade-subscription-cart' data-item-index='"+j+"'></div>"); } else{ $(qtySelectors).eq(j).closest(".ajax-cart__item-qty").after("<div class='upgrade-subscription-cart' data-item-index='"+j+"'></div>"); } } else if($(qtySelectors).eq(j).parent().css('display') == 'flex' && $(cartSelector).find(".upgrade-subscription-cart[data-item-index='"+j+"']").length <=0){ if($(qtySelectors).eq(j).parent().parent().css('display') == 'flex' && $(cartSelector).find(".upgrade-subscription-cart[data-item-index='"+j+"']").length <=0){ $(qtySelectors).eq(j).parent().parent().after("<div class='upgrade-subscription-cart' data-item-index='"+j+"'></div>"); } else if($(cartSelector).find(".upgrade-subscription-cart[data-item-index='"+j+"']").length <=0){ $(qtySelectors).eq(j).parent().after("<div class='upgrade-subscription-cart' data-item-index='"+j+"'></div>"); } overrideAlignment = true; } else if($(cartSelector).find(".upgrade-subscription-cart[data-item-index='"+j+"']").length <=0){ $(qtySelectors).eq(j).parent().after("<div class='upgrade-subscription-cart' data-item-index='"+j+"'></div>"); eventLog = "reverify"; overrideAlignment = true; } else{ if($(cartSelector).find(".upgrade-subscription-cart[data-item-index='"+j+"']").length <=0){ $(qtySelectors).eq(j).after("<div class='upgrade-subscription-cart' data-item-index='"+j+"'></div>"); eventLog = "reverify"; overrideAlignment = true; } } $(".upgrade-subscription-cart[data-item-index='"+j+"']").html(getWidgetCode); if(overrideAlignment){ if($(".upgrade-subscription-cart[data-item-index='"+j+"']").width() < 300){ var getParent = $(".upgrade-subscription-cart[data-item-index='"+j+"']").parent(); var getAdjParent = $(".upgrade-subscription-cart[data-item-index='"+j+"']").parent().parent(); $(".upgrade-subscription-cart[data-item-index='"+j+"']").remove(); $(getParent).after("<div class='upgrade-subscription-cart' data-item-index='"+j+"'></div>"); $(".upgrade-subscription-cart[data-item-index='"+j+"']").html(getWidgetCode); if($(".upgrade-subscription-cart[data-item-index='"+j+"']").width() < 300){ $(".upgrade-subscription-cart[data-item-index='"+j+"']").remove(); $(getAdjParent).after("<div class='upgrade-subscription-cart' data-item-index='"+j+"'></div>"); $(".upgrade-subscription-cart[data-item-index='"+j+"']").html(getWidgetCode); } } } } } else if($(linkSelectors).length > 0){ window.linkArr = []; $(linkSelectors).each(function(){ var $this = $(this); linkArr.push($this.attr("href")); }); linkArr = linkArr.filter(function(itm, i, a) { return i == a.indexOf(itm); }); if(linkArr.length > 0){ for(var j=0; j<linkArr.length; j++){ var getWidgetCode = recurpayCartWidget(j); if($(cartSelector).find(".upgrade-subscription-cart[data-item-index='"+j+"']").length <=0){ $(cartSelector).find('a[href="'+linkArr[j]+'"]').last().after("<div class='upgrade-subscription-cart' data-item-index='"+j+"'></div>"); } $(".upgrade-subscription-cart[data-item-index='"+j+"']").html(getWidgetCode); eventLog = "reverify"; } } } else{ if(!$(cartSelector).is("#cart-notification-form") && !$(cartSelector).is("#slidecarthq")){ // logCartEvent("Failed to show cart snippet - Cart Qty", "critical"); } } } if($(".upgrade-subscription-cart").length <=0){ if(eventLog == "failure"){ logCartEvent("Failed to show cart snippet - Cart Qty", "critical"); } else{ logCartEvent("Cart snippet added but needs a reverification", "warning"); } } } else{ logCartEvent("Failed to show cart snippet - Cart Qty", "critical"); } } function logCartEvent(addon,type){ $.ajax({ url: recurpayCart.logURL, type: 'POST', async:true, dataType: 'json', data: { module:"cart_upsell", level: type, payload:{ store : recurpayCart.domainURL, remark: addon } }, success: function(response) { console.log("event logged"); } }); } function recurpayCartWidget(index){ var cartWidget = ""; var showFlag = true; var sellingPlanId = recurpayCart.items[index].selling_plan_id; if(recurpayCart.items[index].selling_plan_id == undefined || recurpayCart.items[index].selling_plan_id == ""){ if(recurpayCart.items[index].plans.length >0){ sellingPlanId = recurpayCart.items[index].plans[0].selling_plan_id; } else{ showFlag = false; } } if(showFlag){ if(recurpayCart.checkout == 'recurpay'){ if(recurpayCart.items[index].item_details.properties != null && recurpayCart.items[index].item_details.properties != undefined && recurpayCart.items[index].item_details.properties != ""){ var planId = recurpayCart.items[index].item_details.properties._PlanId; if(planId != undefined && planId != ""){ var getIndex = recurpayCart.items[index].plans.map((elm, idx) => elm.id == parseInt(planId) ? idx : '').filter(String); } else{ var getIndex = 0; } } else{ var getIndex = 0; } } else{ var getIndex = recurpayCart.items[index].plans.map((elm, idx) => elm.selling_plan_id == sellingPlanId ? idx : '').filter(String); } var getSellingObject = recurpayCart.items[index].plans[getIndex]; var getDiscount = getSellingObject.pricing_policy[0].discount.value; var getQty = recurpayCart.items[index].item_details.quantity; var getPrice = parseFloat(recurpayCart.items[index].item_details.final_price*getQty)/100; var discountedPrice = getPrice - (getPrice * getDiscount / 100); var formattedPrice = formatPriceMoney(discountedPrice); var formattedHtmlPrice = '<span class="subscribe-text-button-price">'+formattedPrice+'</span>' if(recurpayCart.items[index].selling_plan_id == undefined || recurpayCart.items[index].selling_plan_id == "" && recurpayCart.items[index].item_details.properties == null || recurpayCart.items[index].item_details.properties._PlanId == undefined || recurpayCart.items[index].item_details.properties._PlanId == ""){ if(recurpayCart.items[index].plans.length >0){ cartWidget = '<div class="upgrade-icon-wrapper" data-qty="'+getQty+'" data-plan-id= "'+recurpayCart.items[index].plans[0].id+'" data-default-selling-plan="'+recurpayCart.items[index].plans[0].selling_plan_id+'" data-index="'+index+'" data-selling-plan-id="'+recurpayCart.items[index].selling_plan_id+'" data-selling-plan-discount="'+getDiscount+'" data-product-id="'+recurpayCart.items[index].product_id+'" data-variant-id="'+recurpayCart.items[index].variant_id+'">' cartWidget += '<div class="img-src"><img src="'+recurpayCart.settings.translations.cart_subscription_img_url+'"></div>' cartWidget += '<div class="subscribe-text-wrapper">' cartWidget += '<span class="subscribe-text-head">'+recurpayCart.settings.translations.cart_subscription_heading+'</span>' cartWidget += '</div>' cartWidget += '<div class="subscribe-button-wrapper">' cartWidget += '<span class="subscribe-text-button"><span>'+recurpayCart.settings.translations.cart_subscription_cta_text+'</span>' cartWidget += '</div>' cartWidget += '</div>' } } else{ if(recurpayCart.checkout == 'recurpay'){ var getOriginalPrice = getPrice + (getPrice - discountedPrice); } else{ var getOriginalPrice = parseFloat(recurpayCart.items[index].item_details.selling_plan_allocation.compare_at_price*getQty)/100; } var getSavings = getOriginalPrice-getPrice; var getSavingsHTML = formatPriceMoney(getOriginalPrice-getPrice); cartWidget = '<div class="upgrade-icon-wrapper upgrade-select-box" data-qty="'+getQty+'" data-default-selling-plan="'+recurpayCart.items[index].plans[0].selling_plan_id+'" data-index="'+index+'" data-selling-plan-discount="'+getDiscount+'" data-selling-plan-id="'+recurpayCart.items[index].selling_plan_id+'" data-product-id="'+recurpayCart.items[index].product_id+'" data-variant-id="'+recurpayCart.items[index].variant_id+'">' cartWidget += '<div class="cart-plan-dropdown-wrapper">' cartWidget += '<div class="cart-plan-dropdown-title">'+recurpayCart.settings.translations.cart_subscription_dropdown_label+'</div>' cartWidget += '<select class="cart-plan-dropdown">' if(!recurpayCart.settings.sell_only_as_subscription){ cartWidget += '<optgroup label="'+recurpayCart.settings.translations.cart_subscription_onetime_group_title+'">' cartWidget += '<option value="">'+recurpayCart.settings.translations.cart_subscription_onetime_group_value+'</option>' cartWidget += '</optgroup>' } cartWidget += '<optgroup label="'+recurpayCart.settings.translations.cart_subscription_group_title+'">' for(var i=0; i<recurpayCart.items[index].plans.length; i++){ if(parseInt(recurpayCart.items[index].selling_plan_id) == parseInt(recurpayCart.items[index].plans[i].selling_plan_id) || parseInt(recurpayCart.items[index].item_details.properties._PlanId) == recurpayCart.items[index].plans[i].id){ cartWidget += '<option data-plan-id = "'+recurpayCart.items[index].plans[i].id+'" value="'+recurpayCart.items[index].plans[i].selling_plan_id+'" selected>'+recurpayCart.items[index].plans[i].name+'</option>'; } else{ cartWidget += '<option data-plan-id = "'+recurpayCart.items[index].plans[i].id+'" value="'+recurpayCart.items[index].plans[i].selling_plan_id+'">'+recurpayCart.items[index].plans[i].name+'</option>'; } } cartWidget += '</optgroup></select>' cartWidget += '</div>' if(getSavings >0){ cartWidget += '<div class="cart-plan-saving-wrapper">' cartWidget += '<img class="cart-plan-saving-img" src="'+recurpayCart.settings.translations.cart_subscription_success_img_url+'" />' cartWidget += '<span class="cart-plan-saving-text">'+recurpayCart.settings.translations.cart_subscription_success_label+'</span>' cartWidget += '</div>' } cartWidget += '</div>' } if(getDiscount <=0){ cartWidget = cartWidget.replace('[[DISCOUNT_PERCENTAGE]]%', ''); } else{ cartWidget = cartWidget.replace('[[DISCOUNT_PERCENTAGE]]', getDiscount); } cartWidget = cartWidget.replace('[[AMOUNT]]', formattedHtmlPrice); cartWidget = cartWidget.replace('[[SAVED_AMOUNT]]', getSavingsHTML); } return cartWidget; } function updateCartData(elem, getSellingPlan){ var $this = $(elem); var getIndex = parseInt($this.parents(".upgrade-icon-wrapper").attr("data-index")); var getQty = parseInt($this.parents(".upgrade-icon-wrapper").attr("data-qty")); var getProperties = recurpayCart.items[getIndex].item_details.properties; var getAttributes = ''; if(!$.isEmptyObject(getProperties)){ getProperties['_PlanId'] = null; getProperties['Plan'] = null; getProperties['_is_cart_influenced'] = null; getAttributes = { '_is_cart_influenced' : null } } if($.isEmptyObject(getProperties)){ getProperties = {}; getAttributes = { '_is_cart_influenced' : null } } var getParams = { 'line': getIndex+1, 'quantity': getQty, 'selling_plan': getSellingPlan, 'properties':getProperties, 'attributes':getAttributes } if(getSellingPlan !== undefined && getSellingPlan !== ""){ if(recurpayCart.checkout == 'recurpay'){ var planIndex = recurpayCart.items[getIndex].plans.map((elm, idx) => elm.id == parseInt(getSellingPlan) ? idx : '').filter(String); getParams.selling_plan = ""; } else{ var planIndex = recurpayCart.items[getIndex].plans.map((elm, idx) => elm.selling_plan_id == getSellingPlan ? idx : '').filter(String); } var getPlanId = recurpayCart.items[getIndex].plans[planIndex].id; var getSellingPlanName = recurpayCart.items[getIndex].plans[planIndex].name; getParams.properties['_PlanId'] = getPlanId; getParams.properties['Plan'] = getSellingPlanName; getParams.properties['_is_cart_influenced'] = 'Influenced by Recurpay cart subscriptions' getParams.attributes = { _is_cart_influenced : 'Influenced by Recurpay cart subscriptions' } } var cartURL = "/cart/change.js"; $this.parents(".upgrade-icon-wrapper").addClass("btn-loading"); $.ajax({ url: cartURL, type: 'POST', async:true, dataType: 'json', data: getParams, success: function(response) { if($this.parents('cart-drawer').length >0){ $.ajax({ url: '/?section_id=cart-drawer', type: 'GET', dataType: 'html', success:function(carthtml) { $('cart-drawer').html($(carthtml).find('cart-drawer').html()); createGlobalCart(response); $this.parents(".upgrade-icon-wrapper").removeClass("btn-loading"); } }); } else if(window.SLIDECART_UPDATE !== undefined){ window.SLIDECART_UPDATE(); createGlobalCart(response); } else{ window.location.href="/cart"; $this.parents(".upgrade-icon-wrapper").removeClass("btn-loading"); } } }); } $(document).on('click',".subscribe-text-button", function(e){ var getSellingPlan = $(this).parents(".upgrade-icon-wrapper").attr("data-default-selling-plan"); if(recurpayCart.checkout == 'recurpay'){ getSellingPlan = $(this).parents(".upgrade-icon-wrapper").attr("data-plan-id"); } updateCartData($(this),getSellingPlan); }); $(document).on('change',".cart-plan-dropdown", function(e){ e.preventDefault(); var getSellingPlan = $(this).val(); if(recurpayCart.checkout == 'recurpay'){ getSellingPlan = $(this).find('option:selected').attr('data-plan-id'); } updateCartData($(this),getSellingPlan); }); var getCartUpsellSession = sessionStorage.getItem("recurpay_cart_upsell"); if(getCartUpsellSession == "true" || getCartUpsellSession == undefined || getCartUpsellSession == null){ sessionStorage.setItem("recurpay_cart_upsell", "true"); callCart(); } } //Append jQuery if it is not there, then call to recurpayCartSubscription //Otherwise directly call to recurpayCartSubscription if ((typeof(jQuery) == 'undefined')) { initScript('//ajax.googleapis.com/ajax/libs/jquery/3.1.0/jquery.min.js', function() { window.recurpayCartScript = jQuery.noConflict(true); recurpayCartSubscription(recurpayCartScript); }) } else { recurpayCartSubscription(jQuery); } })(); </script> </body> </html>