Restore Stretch & Massage Kit

 
',srcAction:"iframe_src",patterns:{youtube:{index:"youtube.com",id:"v=",src:"//www.youtube.com/embed/%id%?autoplay=1"},vimeo:{index:"vimeo.com/",id:"/",src:"//player.vimeo.com/video/%id%?autoplay=1"},gmaps:{index:"//maps.google.",src:"%id%&output=embed"}}},proto:{initIframe:function(){b.types.push(P),w("BeforeChange",function(a,b,c){b!==c&&(b===P?R():c===P&&R(!0))}),w(h+"."+P,function(){R()})},getIframe:function(c,d){var e=c.src,f=b.st.iframe;a.each(f.patterns,function(){return e.indexOf(this.index)>-1?(this.id&&(e="string"==typeof this.id?e.substr(e.lastIndexOf(this.id)+this.id.length,e.length):this.id.call(this,e)),e=this.src.replace("%id%",e),!1):void 0});var g={};return f.srcAction&&(g[f.srcAction]=e),b._parseMarkup(d,g,c),b.updateStatus("ready"),d}}});var S=function(a){var c=b.items.length;return a>c-1?a-c:0>a?c+a:a},T=function(a,b,c){return a.replace(/%curr%/gi,b+1).replace(/%total%/gi,c)};a.magnificPopup.registerModule("gallery",{options:{enabled:!1,arrowMarkup:'',preload:[0,2],navigateByImgClick:!0,arrows:!0,tPrev:"Previous (Left arrow key)",tNext:"Next (Right arrow key)",tCounter:"%curr% of %total%"},proto:{initGallery:function(){var c=b.st.gallery,e=".mfp-gallery",g=Boolean(a.fn.mfpFastClick);return b.direction=!0,c&&c.enabled?(f+=" mfp-gallery",w(m+e,function(){c.navigateByImgClick&&b.wrap.on("click"+e,".mfp-img",function(){return b.items.length>1?(b.next(),!1):void 0}),d.on("keydown"+e,function(a){37===a.keyCode?b.prev():39===a.keyCode&&b.next()})}),w("UpdateStatus"+e,function(a,c){c.text&&(c.text=T(c.text,b.currItem.index,b.items.length))}),w(l+e,function(a,d,e,f){var g=b.items.length;e.counter=g>1?T(c.tCounter,f.index,g):""}),w("BuildControls"+e,function(){if(b.items.length>1&&c.arrows&&!b.arrowLeft){var d=c.arrowMarkup,e=b.arrowLeft=a(d.replace(/%title%/gi,c.tPrev).replace(/%dir%/gi,"left")).addClass(s),f=b.arrowRight=a(d.replace(/%title%/gi,c.tNext).replace(/%dir%/gi,"right")).addClass(s),h=g?"mfpFastClick":"click";e[h](function(){b.prev()}),f[h](function(){b.next()}),b.isIE7&&(x("b",e[0],!1,!0),x("a",e[0],!1,!0),x("b",f[0],!1,!0),x("a",f[0],!1,!0)),b.container.append(e.add(f))}}),w(n+e,function(){b._preloadTimeout&&clearTimeout(b._preloadTimeout),b._preloadTimeout=setTimeout(function(){b.preloadNearbyImages(),b._preloadTimeout=null},16)}),void w(h+e,function(){d.off(e),b.wrap.off("click"+e),b.arrowLeft&&g&&b.arrowLeft.add(b.arrowRight).destroyMfpFastClick(),b.arrowRight=b.arrowLeft=null})):!1},next:function(){b.direction=!0,b.index=S(b.index+1),b.updateItemHTML()},prev:function(){b.direction=!1,b.index=S(b.index-1),b.updateItemHTML()},goTo:function(a){b.direction=a>=b.index,b.index=a,b.updateItemHTML()},preloadNearbyImages:function(){var a,c=b.st.gallery.preload,d=Math.min(c[0],b.items.length),e=Math.min(c[1],b.items.length);for(a=1;a<=(b.direction?e:d);a++)b._preloadItem(b.index+a);for(a=1;a<=(b.direction?d:e);a++)b._preloadItem(b.index-a)},_preloadItem:function(c){if(c=S(c),!b.items[c].preloaded){var d=b.items[c];d.parsed||(d=b.parseEl(c)),y("LazyLoad",d),"image"===d.type&&(d.img=a('').on("load.mfploader",function(){d.hasSize=!0}).on("error.mfploader",function(){d.hasSize=!0,d.loadError=!0,y("LazyLoadError",d)}).attr("src",d.src)),d.preloaded=!0}}}});var U="retina";a.magnificPopup.registerModule(U,{options:{replaceSrc:function(a){return a.src.replace(/\.\w+$/,function(a){return"@2x"+a})},ratio:1},proto:{initRetina:function(){if(window.devicePixelRatio>1){var a=b.st.retina,c=a.ratio;c=isNaN(c)?c():c,c>1&&(w("ImageHasSize."+U,function(a,b){b.img.css({"max-width":b.img[0].naturalWidth/c,width:"100%"})}),w("ElementParse."+U,function(b,d){d.src=a.replaceSrc(d,c)}))}}}}),function(){var b=1e3,c="ontouchstart"in window,d=function(){v.off("touchmove"+f+" touchend"+f)},e="mfpFastClick",f="."+e;a.fn.mfpFastClick=function(e){return a(this).each(function(){var g,h=a(this);if(c){var i,j,k,l,m,n;h.on("touchstart"+f,function(a){l=!1,n=1,m=a.originalEvent?a.originalEvent.touches[0]:a.touches[0],j=m.clientX,k=m.clientY,v.on("touchmove"+f,function(a){m=a.originalEvent?a.originalEvent.touches:a.touches,n=m.length,m=m[0],(Math.abs(m.clientX-j)>10||Math.abs(m.clientY-k)>10)&&(l=!0,d())}).on("touchend"+f,function(a){d(),l||n>1||(g=!0,a.preventDefault(),clearTimeout(i),i=setTimeout(function(){g=!1},b),e())})})}h.on("click"+f,function(){g||e()})})},a.fn.destroyMfpFastClick=function(){a(this).off("touchstart"+f+" click"+f),c&&v.off("touchmove"+f+" touchend"+f)}}(),A()}); /*! handlebars v4.0.5 */ !function(b,c){"object"==typeof exports&&"object"==typeof module?module.exports=c():"function"==typeof define&&define.amd?define([],c):"object"==typeof exports?exports.Handlebars=c():b.Handlebars=c()}(this,function(){return function(a){function c(d){if(b[d])return b[d].exports;var e=b[d]={exports:{},id:d,loaded:!1};return a[d].call(e.exports,e,e.exports,c),e.loaded=!0,e.exports}var b={};return c.m=a,c.c=b,c.p="",c(0)}([function(a,b,c){"use strict";function r(){var a=q();return a.compile=function(b,c){return j.compile(b,c,a)},a.precompile=function(b,c){return j.precompile(b,c,a)},a.AST=h.default,a.Compiler=j.Compiler,a.JavaScriptCompiler=l.default,a.Parser=i.parser,a.parse=i.parse,a}var d=c(1).default;b.__esModule=!0;var e=c(2),f=d(e),g=c(21),h=d(g),i=c(22),j=c(27),k=c(28),l=d(k),m=c(25),n=d(m),o=c(20),p=d(o),q=f.default.create,s=r();s.create=r,p.default(s),s.Visitor=n.default,s.default=s,b.default=s,a.exports=b.default},function(a,b){"use strict";b.default=function(a){return a&&a.__esModule?a:{default:a}},b.__esModule=!0},function(a,b,c){"use strict";function r(){var a=new g.HandlebarsEnvironment;return m.extend(a,g),a.SafeString=i.default,a.Exception=k.default,a.Utils=m,a.escapeExpression=m.escapeExpression,a.VM=o,a.template=function(b){return o.template(b,a)},a}var d=c(3).default,e=c(1).default;b.__esModule=!0;var f=c(4),g=d(f),h=c(18),i=e(h),j=c(6),k=e(j),l=c(5),m=d(l),n=c(19),o=d(n),p=c(20),q=e(p),s=r();s.create=r,q.default(s),s.default=s,b.default=s,a.exports=b.default},function(a,b){"use strict";b.default=function(a){if(a&&a.__esModule)return a;var b={};if(null!=a)for(var c in a)Object.prototype.hasOwnProperty.call(a,c)&&(b[c]=a[c]);return b.default=a,b},b.__esModule=!0},function(a,b,c){"use strict";function p(a,b,c){this.helpers=a||{},this.partials=b||{},this.decorators=c||{},h.registerDefaultHelpers(this),i.registerDefaultDecorators(this)}var d=c(1).default;b.__esModule=!0,b.HandlebarsEnvironment=p;var e=c(5),f=c(6),g=d(f),h=c(7),i=c(15),j=c(17),k=d(j),l="4.0.5";b.VERSION=l;var m=7;b.COMPILER_REVISION=m;var n={1:"<= 1.0.rc.2",2:"== 1.0.0-rc.3",3:"== 1.0.0-rc.4",4:"== 1.x.x",5:"== 2.0.0-alpha.x",6:">= 2.0.0-beta.1",7:">= 4.0.0"};b.REVISION_CHANGES=n;var o="[object Object]";p.prototype={constructor:p,logger:k.default,log:k.default.log,registerHelper:function(b,c){if(e.toString.call(b)===o){if(c)throw new g.default("Arg not supported with multiple helpers");e.extend(this.helpers,b)}else this.helpers[b]=c},unregisterHelper:function(b){delete this.helpers[b]},registerPartial:function(b,c){if(e.toString.call(b)===o)e.extend(this.partials,b);else{if("undefined"==typeof c)throw new g.default('Attempting to register a partial called "'+b+'" as undefined');this.partials[b]=c}},unregisterPartial:function(b){delete this.partials[b]},registerDecorator:function(b,c){if(e.toString.call(b)===o){if(c)throw new g.default("Arg not supported with multiple decorators");e.extend(this.decorators,b)}else this.decorators[b]=c},unregisterDecorator:function(b){delete this.decorators[b]}};var q=k.default.log;b.log=q,b.createFrame=e.createFrame,b.logger=k.default},function(a,b){"use strict";function f(a){return c[a]}function g(a){for(var b=1;b":">",'"':""","'":"'","`":"`","=":"="},d=/[&<>"'`=]/g,e=/[&<>"'`=]/,h=Object.prototype.toString;b.toString=h;var i=function(b){return"function"==typeof b};i(/x/)&&(b.isFunction=i=function(a){return"function"==typeof a&&"[object Function]"===h.call(a)}),b.isFunction=i;var j=Array.isArray||function(a){return!(!a||"object"!=typeof a)&&"[object Array]"===h.call(a)};b.isArray=j},function(a,b){"use strict";function d(a,b){var e=b&&b.loc,f=void 0,g=void 0;e&&(f=e.start.line,g=e.start.column,a+=" - "+f+":"+g);for(var h=Error.prototype.constructor.call(this,a),i=0;i0?(c.ids&&(c.ids=[c.name]),a.helpers.each(b,c)):e(this);if(c.data&&c.ids){var g=d.createFrame(c.data);g.contextPath=d.appendContextPath(c.data.contextPath,c.name),c={data:g}}return f(b,c)})},a.exports=b.default},function(a,b,c){"use strict";var d=c(1).default;b.__esModule=!0;var e=c(5),f=c(6),g=d(f);b.default=function(a){a.registerHelper("each",function(a,b){function k(b,d,f){i&&(i.key=b,i.index=d,i.first=0===d,i.last=!!f,j&&(i.contextPath=j+b)),h+=c(a[b],{data:i,blockParams:e.blockParams([a[b],b],[j+b,null])})}if(!b)throw new g.default("Must pass iterator to #each");var c=b.fn,d=b.inverse,f=0,h="",i=void 0,j=void 0;if(b.data&&b.ids&&(j=e.appendContextPath(b.data.contextPath,b.ids[0])+"."),e.isFunction(a)&&(a=a.call(this)),b.data&&(i=e.createFrame(b.data)),a&&"object"==typeof a)if(e.isArray(a))for(var l=a.length;f=0?c:parseInt(b,10)}return b},log:function(b){if(b=e.lookupLevel(b),"undefined"!=typeof console&&e.lookupLevel(e.level)<=b){var c=e.methodMap[b];console[c]||(c="log");for(var d=arguments.length,f=Array(d>1?d-1:0),g=1;g2&&B.push("'"+this.terminals_[y]+"'");C=this.lexer.showPosition?"Parse error on line "+(i+1)+":\n"+this.lexer.showPosition()+"\nExpecting "+B.join(", ")+", got '"+(this.terminals_[r]||r)+"'":"Parse error on line "+(i+1)+": Unexpected "+(1==r?"end of input":"'"+(this.terminals_[r]||r)+"'"),this.parseError(C,{text:this.lexer.match,token:this.terminals_[r]||r,line:this.lexer.yylineno,loc:n,expected:B})}}if(u[0]instanceof Array&&u.length>1)throw new Error("Parse Error: multiple actions possible at state: "+t+", token: "+r);switch(u[0]){case 1:d.push(r),e.push(this.lexer.yytext),f.push(this.lexer.yylloc),d.push(u[1]),r=null,s?(r=s,s=null):(j=this.lexer.yyleng,h=this.lexer.yytext,i=this.lexer.yylineno,n=this.lexer.yylloc,k>0&&k--);break;case 2:if(z=this.productions_[u[1]][1],x.$=e[e.length-z],x._$={first_line:f[f.length-(z||1)].first_line,last_line:f[f.length-1].last_line,first_column:f[f.length-(z||1)].first_column,last_column:f[f.length-1].last_column},o&&(x._$.range=[f[f.length-(z||1)].range[0],f[f.length-1].range[1]]),w=this.performAction.call(x,h,j,i,this.yy,u[1],e,f),"undefined"!=typeof w)return w;z&&(d=d.slice(0,-1*z*2),e=e.slice(0,-1*z),f=f.slice(0,-1*z)),d.push(this.productions_[u[1]][0]),e.push(x.$),f.push(x._$),A=g[d[d.length-2]][d[d.length-1]],d.push(A);break;case 3:return!0}}return!0}},b=function(){var a={EOF:1,parseError:function(b,c){if(!this.yy.parser)throw new Error(b);this.yy.parser.parseError(b,c)},setInput:function(b){return this._input=b,this._more=this._less=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var b=this._input[0];this.yytext+=b,this.yyleng++,this.offset++,this.match+=b,this.matched+=b;var c=b.match(/(?:\r\n?|\n).*/g);return c?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),b},unput:function(b){var c=b.length,d=b.split(/(?:\r\n?|\n)/g);this._input=b+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-c-1),this.offset-=c;var e=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),d.length-1&&(this.yylineno-=d.length-1);var f=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:d?(d.length===e.length?this.yylloc.first_column:0)+e[e.length-d.length].length-d[0].length:this.yylloc.first_column-c},this.options.ranges&&(this.yylloc.range=[f[0],f[0]+this.yyleng-c]),this},more:function(){return this._more=!0,this},less:function(b){this.unput(this.match.slice(b))},pastInput:function(){var b=this.matched.substr(0,this.matched.length-this.match.length);return(b.length>20?"...":"")+b.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var b=this.match;return b.length<20&&(b+=this._input.substr(0,20-b.length)),(b.substr(0,20)+(b.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var b=this.pastInput(),c=new Array(b.length+1).join("-");return b+this.upcomingInput()+"\n"+c+"^"},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var b,c,d,e,g;this._more||(this.yytext="",this.match="");for(var h=this._currentRules(),i=0;ic[0].length)||(c=d,e=i,this.options.flex));i++);return c?(g=c[0].match(/(?:\r\n?|\n).*/g),g&&(this.yylineno+=g.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:g?g[g.length-1].length-g[g.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+c[0].length},this.yytext+=c[0],this.match+=c[0],this.matches=c,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._input=this._input.slice(c[0].length),this.matched+=c[0],b=this.performAction.call(this,this.yy,this,h[e],this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),b?b:void 0):""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var b=this.next();return"undefined"!=typeof b?b:this.lex()},begin:function(b){this.conditionStack.push(b)},popState:function(){return this.conditionStack.pop()},_currentRules:function(){return this.conditions[this.conditionStack[this.conditionStack.length-1]].rules},topState:function(){return this.conditionStack[this.conditionStack.length-2]},pushState:function(b){this.begin(b)}};return a.options={},a.performAction=function(b,c,d,e){function f(a,b){return c.yytext=c.yytext.substr(a,c.yyleng-b)}switch(d){case 0:if("\\\\"===c.yytext.slice(-2)?(f(0,1),this.begin("mu")):"\\"===c.yytext.slice(-1)?(f(0,1),this.begin("emu")):this.begin("mu"),c.yytext)return 15;break;case 1:return 15;case 2:return this.popState(),15;case 3:return this.begin("raw"),15;case 4:return this.popState(),"raw"===this.conditionStack[this.conditionStack.length-1]?15:(c.yytext=c.yytext.substr(5,c.yyleng-9),"END_RAW_BLOCK");case 5:return 15;case 6:return this.popState(),14;case 7:return 65;case 8:return 68;case 9:return 19;case 10:return this.popState(),this.begin("raw"),23;case 11:return 55;case 12:return 60;case 13:return 29;case 14:return 47;case 15:return this.popState(),44;case 16:return this.popState(),44;case 17:return 34;case 18:return 39;case 19:return 51;case 20:return 48;case 21:this.unput(c.yytext),this.popState(),this.begin("com");break;case 22:return this.popState(),14;case 23:return 48;case 24:return 73;case 25:return 72;case 26:return 72;case 27:return 87;case 28:break;case 29:return this.popState(),54;case 30:return this.popState(),33;case 31:return c.yytext=f(1,2).replace(/\\"/g,'"'),80;case 32:return c.yytext=f(1,2).replace(/\\'/g,"'"),80;case 33:return 85;case 34:return 82;case 35:return 82;case 36:return 83;case 37:return 84;case 38:return 81;case 39:return 75;case 40:return 77;case 41:return 72;case 42:return c.yytext=c.yytext.replace(/\\([\\\]])/g,"$1"),72;case 43:return"INVALID";case 44:return 5}},a.rules=[/^(?:[^\x00]*?(?=(\{\{)))/,/^(?:[^\x00]+)/,/^(?:[^\x00]{2,}?(?=(\{\{|\\\{\{|\\\\\{\{|$)))/,/^(?:\{\{\{\{(?=[^\/]))/,/^(?:\{\{\{\{\/[^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=[=}\s\/.])\}\}\}\})/,/^(?:[^\x00]*?(?=(\{\{\{\{)))/,/^(?:[\s\S]*?--(~)?\}\})/,/^(?:\()/,/^(?:\))/,/^(?:\{\{\{\{)/,/^(?:\}\}\}\})/,/^(?:\{\{(~)?>)/,/^(?:\{\{(~)?#>)/,/^(?:\{\{(~)?#\*?)/,/^(?:\{\{(~)?\/)/,/^(?:\{\{(~)?\^\s*(~)?\}\})/,/^(?:\{\{(~)?\s*else\s*(~)?\}\})/,/^(?:\{\{(~)?\^)/,/^(?:\{\{(~)?\s*else\b)/,/^(?:\{\{(~)?\{)/,/^(?:\{\{(~)?&)/,/^(?:\{\{(~)?!--)/,/^(?:\{\{(~)?![\s\S]*?\}\})/,/^(?:\{\{(~)?\*?)/,/^(?:=)/,/^(?:\.\.)/,/^(?:\.(?=([=~}\s\/.)|])))/,/^(?:[\/.])/,/^(?:\s+)/,/^(?:\}(~)?\}\})/,/^(?:(~)?\}\})/,/^(?:"(\\["]|[^"])*")/,/^(?:'(\\[']|[^'])*')/,/^(?:@)/,/^(?:true(?=([~}\s)])))/,/^(?:false(?=([~}\s)])))/,/^(?:undefined(?=([~}\s)])))/,/^(?:null(?=([~}\s)])))/,/^(?:-?[0-9]+(?:\.[0-9]+)?(?=([~}\s)])))/,/^(?:as\s+\|)/,/^(?:\|)/,/^(?:([^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=([=~}\s\/.)|]))))/,/^(?:\[(\\\]|[^\]])*\])/,/^(?:.)/,/^(?:$)/],a.conditions={mu:{rules:[7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44],inclusive:!1},emu:{rules:[2],inclusive:!1},com:{rules:[6],inclusive:!1},raw:{rules:[3,4,5],inclusive:!1},INITIAL:{rules:[0,1,44],inclusive:!0}},a}();return a.lexer=b,c.prototype=a,a.Parser=c,new c}();b.__esModule=!0,b.default=c},function(a,b,c){"use strict";function g(){var a=arguments.length<=0||void 0===arguments[0]?{}:arguments[0];this.options=a}function h(a,b,c){void 0===b&&(b=a.length);var d=a[b-1],e=a[b-2];return d?"ContentStatement"===d.type?(e||!c?/\r?\n\s*?$/:/(^|\r?\n)\s*?$/).test(d.original):void 0:c}function i(a,b,c){void 0===b&&(b=-1);var d=a[b+1],e=a[b+2];return d?"ContentStatement"===d.type?(e||!c?/^\s*?\r?\n/:/^\s*?(\r?\n|$)/).test(d.original):void 0:c}function j(a,b,c){var d=a[null==b?0:b+1];if(d&&"ContentStatement"===d.type&&(c||!d.rightStripped)){var e=d.value;d.value=d.value.replace(c?/^\s+/:/^[ \t]*\r?\n?/,""),d.rightStripped=d.value!==e}}function k(a,b,c){var d=a[null==b?a.length-1:b-1];if(d&&"ContentStatement"===d.type&&(c||!d.leftStripped)){var e=d.value;return d.value=d.value.replace(c?/\s+$/:/[ \t]+$/,""),d.leftStripped=d.value!==e,d.leftStripped}}var d=c(1).default;b.__esModule=!0;var e=c(25),f=d(e);g.prototype=new f.default,g.prototype.Program=function(a){var b=!this.options.ignoreStandalone,c=!this.isRootSeen;this.isRootSeen=!0;for(var d=a.body,e=0,f=d.length;e0)throw new f.default("Invalid path: "+d,{loc:c});".."===k&&(g++,h+="../")}}return{type:"PathExpression",data:a,depth:g,parts:e,original:d,loc:c}}function m(a,b,c,d,e,f){var g=d.charAt(3)||d.charAt(2),h="{"!==g&&"&"!==g,i=/\*/.test(d);return{type:i?"Decorator":"MustacheStatement",path:a,params:b,hash:c,escaped:h,strip:e,loc:this.locInfo(f)}}function n(a,b,c,d){g(a,c),d=this.locInfo(d);var e={type:"Program",body:b,strip:{},loc:d};return{type:"BlockStatement",path:a.path,params:a.params,hash:a.hash,program:e,openStrip:{},inverseStrip:{},closeStrip:{},loc:d}}function o(a,b,c,d,e,h){d&&d.path&&g(a,d);var i=/\*/.test(a.open);b.blockParams=a.blockParams;var j=void 0,k=void 0;if(c){if(i)throw new f.default("Unexpected inverse block on decorator",c);c.chain&&(c.program.body[0].closeStrip=d.strip),k=c.strip,j=c.program}return e&&(e=j,j=b,b=e),{type:i?"DecoratorBlock":"BlockStatement",path:a.path,params:a.params,hash:a.hash,program:b,inverse:j,openStrip:a.strip,inverseStrip:k,closeStrip:d&&d.strip,loc:this.locInfo(h)}}function p(a,b){if(!b&&a.length){var c=a[0].loc,d=a[a.length-1].loc;c&&d&&(b={source:c.source,start:{line:c.start.line,column:c.start.column},end:{line:d.end.line,column:d.end.column}})}return{type:"Program",body:a,strip:{},loc:b}}function q(a,b,c,d){return g(a,c),{type:"PartialBlockStatement",name:a.path,params:a.params,hash:a.hash,program:b,openStrip:a.strip,closeStrip:c&&c.strip,loc:this.locInfo(d)}}var d=c(1).default;b.__esModule=!0,b.SourceLocation=h,b.id=i,b.stripFlags=j,b.stripComment=k,b.preparePath=l,b.prepareMustache=m,b.prepareRawBlock=n,b.prepareBlock=o,b.prepareProgram=p,b.preparePartialBlock=q;var e=c(6),f=d(e)},function(a,b,c){"use strict";function k(){}function l(a,b,c){if(null==a||"string"!=typeof a&&"Program"!==a.type)throw new f.default("You must pass a string or Handlebars AST to Handlebars.precompile. You passed "+a);b=b||{},"data"in b||(b.data=!0),b.compat&&(b.useDepths=!0);var d=c.parse(a,b),e=(new c.Compiler).compile(d,b);return(new c.JavaScriptCompiler).compile(e,b)}function m(a,b,c){function e(){var d=c.parse(a,b),e=(new c.Compiler).compile(d,b),f=(new c.JavaScriptCompiler).compile(e,b,void 0,!0);return c.template(f)}function g(a,b){return d||(d=e()),d.call(this,a,b)}if(void 0===b&&(b={}),null==a||"string"!=typeof a&&"Program"!==a.type)throw new f.default("You must pass a string or Handlebars AST to Handlebars.compile. You passed "+a);"data"in b||(b.data=!0),b.compat&&(b.useDepths=!0);var d=void 0;return g._setup=function(a){return d||(d=e()),d._setup(a)},g._child=function(a,b,c,f){return d||(d=e()),d._child(a,b,c,f)},g}function n(a,b){if(a===b)return!0;if(g.isArray(a)&&g.isArray(b)&&a.length===b.length){for(var c=0;c1)throw new f.default("Unsupported number of partial arguments: "+d.length,b);d.length||(this.options.explicitPartialContext?this.opcode("pushLiteral","undefined"):d.push({type:"PathExpression",parts:[],depth:0}));var e=b.name.original,g="SubExpression"===b.name.type;g&&this.accept(b.name),this.setupFullMustacheParams(b,c,void 0,!0);var h=b.indent||"";this.options.preventIndent&&h&&(this.opcode("appendContent",h),h=""),this.opcode("invokePartial",g,e,h),this.opcode("append")},PartialBlockStatement:function(b){this.PartialStatement(b)},MustacheStatement:function(b){this.SubExpression(b),b.escaped&&!this.options.noEscape?this.opcode("appendEscaped"):this.opcode("append")},Decorator:function(b){this.DecoratorBlock(b)},ContentStatement:function(b){b.value&&this.opcode("appendContent",b.value)},CommentStatement:function(){},SubExpression:function(b){o(b);var c=this.classifySexpr(b);"simple"===c?this.simpleSexpr(b):"helper"===c?this.helperSexpr(b):this.ambiguousSexpr(b)},ambiguousSexpr:function(b,c,d){var e=b.path,f=e.parts[0],g=null!=c||null!=d;this.opcode("getContext",e.depth),this.opcode("pushProgram",c),this.opcode("pushProgram",d),e.strict=!0,this.accept(e),this.opcode("invokeAmbiguous",f,g)},simpleSexpr:function(b){var c=b.path;c.strict=!0,this.accept(c),this.opcode("resolvePossibleLambda")},helperSexpr:function(b,c,d){var e=this.setupFullMustacheParams(b,c,d),g=b.path,h=g.parts[0];if(this.options.knownHelpers[h])this.opcode("invokeKnownHelper",e.length,h);else{if(this.options.knownHelpersOnly)throw new f.default("You specified knownHelpersOnly, but used the unknown helper "+h,b);g.strict=!0,g.falsy=!0,this.accept(g),this.opcode("invokeHelper",e.length,g.original,i.default.helpers.simpleId(g))}},PathExpression:function(b){this.addDepth(b.depth),this.opcode("getContext",b.depth);var c=b.parts[0],d=i.default.helpers.scopedId(b),e=!b.depth&&!d&&this.blockParamIndex(c);e?this.opcode("lookupBlockParam",e,b.parts):c?b.data?(this.options.data=!0,this.opcode("lookupData",b.depth,b.parts,b.strict)):this.opcode("lookupOnContext",b.parts,b.falsy,b.strict,d):this.opcode("pushContext")},StringLiteral:function(b){this.opcode("pushString",b.value)},NumberLiteral:function(b){this.opcode("pushLiteral",b.value)},BooleanLiteral:function(b){this.opcode("pushLiteral",b.value)},UndefinedLiteral:function(){this.opcode("pushLiteral","undefined")},NullLiteral:function(){this.opcode("pushLiteral","null")},Hash:function(b){var c=b.pairs,d=0,e=c.length;for(this.opcode("pushHash");d=0)return[c,f]}}}},function(a,b,c){"use strict";function k(a){this.value=a}function l(){}function m(a,b,c,d){var e=b.popStack(),f=0,g=c.length;for(a&&g--;f0&&(c+=", "+d.join(", "));var e=0;for(var f in this.aliases){var g=this.aliases[f];this.aliases.hasOwnProperty(f)&&g.children&&g.referenceCount>1&&(c+=", alias"+ ++e+"="+f,g.children[0]="alias"+e)}var h=["container","depth0","helpers","partials","data"];(this.useBlockParams||this.useDepths)&&h.push("blockParams"),this.useDepths&&h.push("depths");var i=this.mergeSource(c);return b?(h.push(i),Function.apply(this,h)):this.source.wrap(["function(",h.join(","),") {\n ",i,"}"])},mergeSource:function(b){var c=this.environment.isSimple,d=!this.forceBuffer,e=void 0,f=void 0,g=void 0,h=void 0;return this.source.each(function(a){a.appendToBuffer?(g?a.prepend(" + "):g=a,h=a):(g&&(f?g.prepend("buffer += "):e=!0,h.add(";"),g=h=void 0),f=!0,c||(d=!1))}),d?g?(g.prepend("return "),h.add(";")):f||this.source.push('return "";'):(b+=", buffer = "+(e?"":this.initializeBuffer()),g?(g.prepend("return buffer + "),h.add(";")):this.source.push("return buffer;")),b&&this.source.prepend("var "+b.substring(2)+(e?"":";\n")),this.source.merge()},blockValue:function(b){var c=this.aliasable("helpers.blockHelperMissing"),d=[this.contextName(0)];this.setupHelperArgs(b,0,d);var e=this.popStack();d.splice(1,0,e),this.push(this.source.functionCall(c,"call",d))},ambiguousBlockValue:function(){var b=this.aliasable("helpers.blockHelperMissing"),c=[this.contextName(0)];this.setupHelperArgs("",0,c,!0),this.flushInline();var d=this.topStack();c.splice(1,0,d),this.pushSource(["if (!",this.lastHelper,") { ",d," = ",this.source.functionCall(b,"call",c),"}"])},appendContent:function(b){this.pendingContent?b=this.pendingContent+b:this.pendingLocation=this.source.currentLocation,this.pendingContent=b},append:function(){if(this.isInline())this.replaceStack(function(a){return[" != null ? ",a,' : ""']}),this.pushSource(this.appendToBuffer(this.popStack()));else{var b=this.popStack();this.pushSource(["if (",b," != null) { ",this.appendToBuffer(b,void 0,!0)," }"]),this.environment.isSimple&&this.pushSource(["else { ",this.appendToBuffer("''",void 0,!0)," }"])}},appendEscaped:function(){this.pushSource(this.appendToBuffer([this.aliasable("container.escapeExpression"),"(",this.popStack(),")"]))},getContext:function(b){this.lastContext=b},pushContext:function(){this.pushStackLiteral(this.contextName(this.lastContext))},lookupOnContext:function(b,c,d,e){var f=0;e||!this.options.compat||this.lastContext?this.pushContext():this.push(this.depthedLookup(b[f++])),this.resolvePath("context",b,f,c,d)},lookupBlockParam:function(b,c){this.useBlockParams=!0,this.push(["blockParams[",b[0],"][",b[1],"]"]),this.resolvePath("context",c,1)},lookupData:function(b,c,d){b?this.pushStackLiteral("container.data(data, "+b+")"):this.pushStackLiteral("data"),this.resolvePath("data",c,0,!0,d)},resolvePath:function(b,c,d,e,f){var g=this;if(this.options.strict||this.options.assumeObjects)return void this.push(m(this.options.strict&&f,this,c,b));for(var h=c.length;dthis.stackVars.length&&this.stackVars.push("stack"+this.stackSlot),this.topStackName()},topStackName:function(){return"stack"+this.stackSlot},flushInline:function(){var b=this.inlineStack;this.inlineStack=[];for(var c=0,d=b.length;c