webpackJsonp([9],{"0ZTh":function(t,e,s){"use strict";function a(t){s("3iXK")}var i=s("JkXt"),n=s("K2vy"),o=s("VU/8"),r=a,c=o(i.a,n.a,!1,r,null,null);e.a=c.exports},"3iXK":function(t,e){},5:function(t,e,s){t.exports=s("usrL")},"7n/q":function(t,e,s){"use strict";var a=s("gAt4"),i=s.n(a),n=s("jz1H");e.a={name:"SwListAtoz",components:{swListEolProducts:n.a},props:{chars:{type:Array,required:!0},products:{type:Array,required:!0},eollist:{type:Array,required:!0}},data:function(){return{availablechar:[],productlistbychar:[],atozactivestring:"A",newiconsize:16,newperiod:90,showeol:!1}},watch:{chars:function(){this.atozformating()}},mounted:function(){this.atozformating(),this.showeol=!1},methods:{clickeol:function(){this.showeol=!0,this.atozactivestring=""},atozformating:function(){var t=[];this.products.forEach(function(e){t.push(e.name.charAt(0).toUpperCase())}),this.availablechar=t.filter(function(t,e,s){return s.indexOf(t)===e}),this.showprdbychar(this.atozactivestring)},removehtmltags:function(t){return null!==t&&""!==t&&(t=t.toString(),t.replace(/(<([^>]+)>)/gi,""))},showprdbychar:function(t){var e=this;if(-1==this.availablechar.indexOf(t))return!1;var s=this.products.filter(function(s){return 0===e.removehtmltags(s.name).toUpperCase().indexOf(t)});s.forEach(function(t){t.lcName=e.removehtmltags(t.name).toLowerCase()}),this.productlistbychar=s.sortby("lcName"),this.atozactivestring=t,this.showeol=!1},isnew:function(t){return i()(new Date,new Date(t))<=this.newperiod}}}},"9k2e":function(t,e,s){"use strict";function a(t){s("o6MQ")}var i=s("KCmn"),n=s("thmX"),o=s("VU/8"),r=a,c=o(i.a,n.a,!1,r,null,null);e.a=c.exports},JkXt:function(t,e,s){"use strict";var a=s("Cz8s"),i=s("mzkE"),n=s("sQjZ");e.a={name:"App",components:{swHeader:a.a,swFooter:i.a,HomeView:n.a}}},K2vy:function(t,e,s){"use strict";var a=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",[s("sw-header",{attrs:{frompage:"home"}}),t._v(" "),s("home-view"),t._v(" "),s("sw-footer")],1)},i=[],n={render:a,staticRenderFns:i};e.a=n},KCmn:function(t,e,s){"use strict";var a=s("KgXo"),i=s("2rxR"),n=s("Zp+1"),o=s("SVor"),r=s("gAc4"),c=[],l=[];e.a={name:"SwProductsList",components:{swLoading:a.a,swTabs:i.a,swTab:n.a,swProductsByCategory:o.a,swListAtoz:r.a},props:{homePageProducts:{type:Array,required:!1,default:null},setfocus:{type:Boolean,default:!1},bookmark:{type:Boolean,default:!1},page:{type:String,default:null}},data:function(){return{items:[],loading:!1,productList:[],popular:[],selectedTab:"Documentation By Category",eolflatlist:[],eollist:[],tipposition:"left",tipsize:"large",atoz:[]}},computed:{sorteditemsforhomeview:function(){return this.homePageProducts.sortby("catgSortKey")},allproducts:function(){return this.productList.concat(this.eolflatlist).sortby("name")}},created:function(){this.getAllProducts()},mounted:function(){var t=this;window.innerWidth<960&&(this.tipposition="bottom",this.tipsize="medium"),this.geteollist(),this.$bus.$on("categorychange",function(){t.scrolltoactive()})},methods:{scrolltoactive:function(){var t=document.querySelector(".jscatchange");t&&t.scrollIntoView()},setSelectedTab:function(t){this.selectedTab=t},getAllProducts:function(){var t=this;if(0==c.length){this.loading=!0;var e=this;axios.get("/documentation/app/productsData/SYS001/NONEOL").then(function(e){t.items=c=e.data,t.processproductdata(t.items)}).catch(function(t){e.loading=!1})}else this.items=c,this.processproductdata(this.items)},geteollist:function(){var t=this;window.__page_data__&&window.__page_data__.eolProdsBySeries?(this.eollist=JSON.parse(JSON.stringify(window.__page_data__.eolProdsBySeries)),this.createeolflatlist()):0==l.length?axios.get("/documentation/app/getEolProductsBySeries/SYS001").then(function(e){t.eollist=l=e.data,t.createeolflatlist()}).catch(function(t){}):(this.eollist=l,this.createeolflatlist())},createeolflatlist:function(){var t=this;JSON.parse(JSON.stringify(this.eollist)).forEach(function(e){e.productList.forEach(function(e){e.name=e.name+" (EOL)",t.eolflatlist.push(e)})})},processproductdata:function(t){var e=this;this.items=c=t;var s=this.productList,a={},i={},n="";t.forEach(function(t){t.seriesList.forEach(function(t){t.productList.forEach(function(t){t.name in a||(a[t.name]=1,s.push(t),n=t.name.charAt(0).toUpperCase(),i[n]||(i[n]=1,e.atoz.push(n)))})})}),this.atoz.sort(),this.loading=!1;var o=document.querySelector("sw-primary-nav");o&&(o.style.zIndex="")},updateproduct:function(t){this.triggerAnalytics(t.codeName),location.href="/documentation/product/us/en/"+t.codeName+"/"},triggerAnalytics:function(t){window.jnprData=window.jnprData||{},window.jnprData.search={keyword:t,type:"Product Search: Home"},window._satellite&&window._satellite.track("SearchKeyword")}}}},TkfF:function(t,e){},XW4x:function(t,e,s){"use strict";var a=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("section",{staticClass:"qs-promo-wrap"},[s("section",{staticClass:"qs-promo max-center"},[t.isCmsDataLoading?s("div",[t._v("Loading the ads...")]):t._e(),t._v(" "),t._l(t.ads,function(e){return s("div",{key:e.name,staticClass:"qs_ads",style:{"background-image":"url("+e.img+")"}},[s("div",{domProps:{innerHTML:t._s(e.html)}}),t._v(" "),s("div",{staticClass:"qs-ad-cta",domProps:{innerHTML:t._s(e.cta)}})])})],2)])},i=[],n={render:a,staticRenderFns:i};e.a=n},anAz:function(t,e,s){"use strict";var a=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",[s("div",{staticClass:"wrapper"},[s("p",{staticStyle:{"margin-top":"0","padding-top":"32px"}},[t._v("\n Whether you're evaluating, configuring, or managing a product, we have\n all the information you need in one place.\n ")]),t._v(" "),s("div",{staticClass:"layout-home"},[s("sw-products-list",{attrs:{"home-page-products":t.products,bookmark:!0}})],1)]),t._v(" "),s("quickstart-promo",{attrs:{ads:t.ads.ad,"is-cms-data-loading":t.isLoading}})],1)},i=[],n={render:a,staticRenderFns:i};e.a=n},bHZr:function(t,e,s){"use strict";function a(t){s("TkfF")}var i=s("omMo"),n=s("XW4x"),o=s("VU/8"),r=a,c=o(i.a,n.a,!1,r,null,null);e.a=c.exports},dsHv:function(t,e){},dtHi:function(t,e,s){"use strict";var a=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{ref:"eol"},[t._m(0),t._v(" "),s("div",{ref:"eoltemplate",staticClass:"prdsection eolsection"},t._l(t.sortedlist,function(e){return s("div",{key:e.seriesName,staticClass:"prodfamilywrapper",attrs:{"data-family":e.seriesName}},[s("h5",{staticClass:"prodfamily",attrs:{"data-key":e.seriesKey}},[t._v("\n "+t._s(e.seriesName)+"\n ")]),t._v(" "),s("ul",{staticClass:"products"},t._l(e.productList,function(e){return s("li",{key:e.codeName},[s("a",{staticClass:"hover-underline",attrs:{href:"/documentation/product/us/en/"+e.codeName+"/"}},[t._v("\n "+t._s(e.name)+"\n ")])])}),0)])}),0)])},i=[function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("p",{staticStyle:{padding:"0 8px","margin-top":"0",color:"#4d5259"}},[t._v("\n These products are end of life (EOL) and can no longer be purchased. Once\n products reach end of support (EOS) we maintain the documentation for two\n years in our\n "),s("a",{attrs:{target:"_blank",href:"https://www.juniper.net/documentation/hardware/eol.html"}},[t._v("\n Document Archives\n ")]),t._v(".\n ")])}],n={render:a,staticRenderFns:i};e.a=n},gAc4:function(t,e,s){"use strict";function a(t){s("iaKu")}var i=s("7n/q"),n=s("jCTr"),o=s("VU/8"),r=a,c=o(i.a,n.a,!1,r,null,null);e.a=c.exports},iaKu:function(t,e){},jCTr:function(t,e,s){"use strict";var a=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",[t.products.length?[s("div",{staticClass:"atoz"},[t._l(t.chars,function(e){return s("span",{key:e,staticClass:"azlink link",class:{active:t.atozactivestring==e,avail:-1!=t.availablechar.indexOf(e)},on:{click:function(s){return s.preventDefault(),t.showprdbychar(e)}}},[t._v("\n "+t._s(e)+"\n ")])}),t._v(" "),s("span",{staticClass:"cursor eol-link",class:{active:t.showeol},on:{click:function(e){return t.clickeol()}}},[t._v("\n End of Life (EOL) Products\n ")])],2),t._v(" "),t.showeol?t._e():s("div",{staticClass:"azcontent"},t._l(t.productlistbychar,function(e){return s("div",{key:e.codeName,staticClass:"exp-list"},[s("a",{staticClass:"exp-link hover-underline",attrs:{href:"/documentation/product/us/en/"+e.codeName+"/"}},[t._v("\n "+t._s(t.removehtmltags(e.name))+"\n "),t.isnew(e.frsTm)?s("sw-icon",{staticClass:"icon-new",attrs:{name:"icon_new",width:t.newiconsize,height:t.newiconsize}}):t._e()],1)])}),0),t._v(" "),t.showeol?s("sw-list-eol-products",{attrs:{list:t.eollist}}):t._e()]:[s("p",{staticStyle:{"min-300px"}},[t._v("Loading products...")])]],2)},i=[],n={render:a,staticRenderFns:i};e.a=n},jz1H:function(t,e,s){"use strict";var a=s("sd9j"),i=s("dtHi"),n=s("VU/8"),o=n(a.a,i.a,!1,null,null,null);e.a=o.exports},o6MQ:function(t,e){},omMo:function(t,e,s){"use strict";e.a={name:"QuickstartPromo",props:{ads:{type:Array,default:function(){return[]}},isCmsDataLoading:Boolean}}},rnxL:function(t,e,s){"use strict";var a=s("9k2e"),i=s("bHZr");e.a={name:"HomeView",components:{swProductsList:a.a,quickstartPromo:i.a},data:function(){return{products:JSON.parse(JSON.stringify(window.__page_data__.products)),ads:{},isLoading:!1}},mounted:function(){this.getAdsData()},methods:{getAdsData:function(){var t=this;this.isLoading=!0,axios.get("/documentation/fetch/getJSON?jsonName=tlhome.json").then(function(e){t.ads=JSON.parse(e.data.master),t.isLoading=!1}).catch(function(t){})}}}},sQjZ:function(t,e,s){"use strict";function a(t){s("dsHv")}var i=s("rnxL"),n=s("anAz"),o=s("VU/8"),r=a,c=o(i.a,n.a,!1,r,null,null);e.a=c.exports},sd9j:function(t,e,s){"use strict";var a=s("KvKp");e.a={name:"SwListEolProducts",props:{list:{type:Array,required:!0}},data:function(){return{eol:{isvisible:!1,issafari:!1}}},computed:{sortedlist:function(){return this.list.sortby("seriesName")}},mounted:function(){var t=navigator.userAgent.toLowerCase();t.indexOf("safari")>-1&&-1==t.indexOf("chrome")&&(this.issafari=!0),s.i(a.b)(window,"resize",s.i(a.a)(this.setwidth,500)),s.i(a.b)(window,"orientationchange",s.i(a.a)(this.setwidth,500))},destroyed:function(){s.i(a.c)(window,"resize",this.setwidth()),s.i(a.c)(window,"orientationchange",this.setwidth())},methods:{setwidth:function(){if(this.eol.isvisible&&this.$refs.eoltemplate&&window.innerWidth>760&&null!==this.$refs.eoltemplate.offsetParent){var t=[];this.$refs.eoltemplate.querySelectorAll(".products").forEach(function(e){var s=e.childNodes,a=s[s.length-1],i=e.closest(".prodfamilywrapper"),n=a.offsetLeft+a.offsetWidth-i.offsetLeft,o=n>i.offsetWidth?n:i.offsetWidth+2;t.push({el:e,pwrap:i,wd:o})}),t.forEach(function(t){t.pwrap.style.width=t.wd+"px"})}},openeol:function(){var t=this;if(this.eol.isvisible=!0,this.$nextTick(function(){t.setwidth()}),this.issafari){var e=document.querySelector(".change-widget .wrap");e&&(e.style.zIndex="initial")}var s=document.querySelector(".home-page .tab-prd-eol");s&&(s.style.zIndex=2)},closeeol:function(){this.eol.isvisible=!1;var t=document.querySelector(".change-widget .wrap");t&&(t.style.zIndex="");var e=document.querySelector(".home-page .tab-prd-eol");e&&(e.style.zIndex="")}}}},thmX:function(t,e,s){"use strict";var a=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"prodlist-wrap jscatchange"},[s("div",{staticClass:"prdwrapper posrel"},[s("sw-tabs",{attrs:{tabgroup:"Product Documentation",bookmark:t.bookmark}},[s("sw-tab",{attrs:{name:"Documentation By Category",selected:"Documentation By Category"===t.selectedTab}},[s("sw-products-by-category",{attrs:{items:t.sorteditemsforhomeview,page:t.page},on:{eventcap:t.setSelectedTab}})],1),t._v(" "),s("sw-tab",{attrs:{name:"Products A - Z",selected:"Products A - Z"===t.selectedTab}},[s("sw-list-atoz",{attrs:{chars:t.atoz,products:t.productList,eollist:t.eollist}})],1)],1)],1),t._v(" "),s("sw-loading",{attrs:{isvisible:t.loading}})],1)},i=[],n={render:a,staticRenderFns:i};e.a=n},usrL:function(t,e,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=s("7+uW"),i=(s("MvGc"),s("0ZTh")),n=s("cZNT");new a.a({el:"#app",components:{swApp:i.a},store:n.a})}},[5]);