PageSourceSearch

https://skin.place/_nuxt/B_HWGM1F.js

js skin.place collected 2026-09-24 12:58:42 UTC 45,888 bytes, 12 lines download raw bytes

1import{$a as V,$o as Ie,$s as Te,Aa as j,As as X,Cf as Le,Ec as E,Gd as c,Gn as Me,Gr as Se,Hd as U,Hu as Ce,It as Pe,Kd as s,Kn as De,Ks as Oe,Li as Ue,Od as le,Of as O,Os as Fe,P as ae,Pd as Ee,Rd as P,Sf as u,Tc as Z,Td as T,Tn as de,Ud as t,Uo as Re,Vn as Ae,Wd as $,Xd as l,Yd as L,Yi as _e,Yn as Ve,_ as Ne,_a as Ge,af as Be,ap as o,ba as ue,bd as He,c as We,cf as ze,co as F,da as qe,ea as se,eo as Ke,ep as J,et as Ye,fa as me,ff as D,ga as je,jt as ce,ka as ne,ks as ve,l as Xe,li as Ze,ll as Je,lo as z,ma as Qe,mf as r,mi as xe,no as et,np as q,o as tt,on as f,pf as pe,ra as ge,sd as it,su as at,u as st,uf as a,uo as K,va as W,vi as nt,wc as C,xc as oe,xr as Q,ya as he,yf as ot}from"./DRtw6qQx.js";import{t as rt}from"./CzFDJFP9.js";import{t as x}from"./CiNZziEO.js";import{t as lt}from"./C7sLn-Qp.js";import{i as fe}from"./Dun2iHPa.js";import{t as be}from"./BRXJmR5q.js";import{t as dt}from"./u_0Vc-Pq.js";import"./jUJtXaFk.js";import"./DU4e2Sud.js";import{t as _t}from"./ECP0CRpR.js";import{t as ut}from"./BQhjacmp.js";import{t as mt}from"./D5kuV36D.js";import{t as ct}from"./DGT11yIn.js";import{t as vt}from"./5GgdfrBu.js";import"./pc5E44_L.js";import"./CBUknint.js";import{t as pt}from"./D-OqiNZ8.js";import{t as gt}from"./D22d0r8Z.js";import{E as Y,r as $e,t as ye}from"./C8vmkkos.js";import{n as ht}from"./DMsNXwrO.js";/* empty css        *//* empty css        */import{t as ft}from"./Di9IVEhB.js";import{n as bt}from"./kV9t4FlE.js";import{t as $t}from"./B-L8a_Qy.js";import{n as re,t as yt}from"./Brq5gSTC.js";import{t as wt}from"./tGiqFTz2.js";var kt={name:"OfferCategoryItem",components:{BaseSkeletonLoader:st},props:{item:Object,game:{type:String,required:!0},isLoading:Boolean},computed:{...C(["isMobileDevice"]),formatedValue(){return Intl.NumberFormat("en",{notation:"compact"}).format(this.item?.value||0)},linkOnMarketPage(){return{name:j,query:{types:this.item?.marketTypes||this.item?.type},params:{game:ue(this.game)}}}}},It=kt,Tt={class:"offer-category-item__image"},Lt=["src","alt"],Mt=["src","alt"],St={class:"offer-category-item__content"},Ct={class:"offer-category-item__info"},Pt={key:1,class:"offer-category-item__value"},Dt={class:"offer-category-item__label"};function Ot(e,i,m,g,v,p){const n=r("base-skeleton-loader"),_=r("base-button"),h=me;return a(),$(h,{to:e.$localePath(e.linkOnMarketPage),class:"offer-category-item"},{default:u(()=>[t("div",Tt,[e.isMobileDevice?(a(),s("img",{key:0,src:e.item.imageMobile||e.item.image,alt:e.item.label},null,8,Lt)):c("",!0),e.isMobileDevice?c("",!0):(a(),s("img",{key:1,src:e.item.image,alt:e.item.label},null,8,Mt))]),t("div",St,[t("div",Ct,[e.isLoading?(a(),$(n,{key:0,width:"100px",height:e.isMobileDevice?"23px":"30px","background-color":"#30323A"},null,8,["height"])):(a(),s("span",Pt,o(e.$t("main_page.count_offers",{count:e.formatedValue})),1)),t("p",Dt,o(e.$t(e.item.label)),1)]),e.isMobileDevice?c("",!0):(a(),$(_,{key:0,size:"lg","is-icon-button":"",type:"info",class:"offer-category-item__link"},{default:u(()=>[...i[0]||(i[0]=[t("span",{class:"offer-category-item__icon-container"},[t("img",{src:ae,alt:"arrow"}),t("img",{src:ae,alt:"arrow"})],-1)])]),_:1}))])]),_:1},8,["to"])}var Ut=f(It,[["render",Ot],["__scopeId","data-v-6bc4af07"]]);const Ft={csgo:[{type:"Knife",label:"Knives",value:1e5,image:"/images/backgrounds/main_page/categories/csgo/knife.webp",imageMobile:"/images/backgrounds/main_page/categories/csgo/knife-mobile.webp"},{type:"Pistol",label:"Pistols",value:0,image:"/images/backgrounds/main_page/categories/csgo/pistol.webp",imageMobile:"/images/backgrounds/main_page/categories/csgo/pistol-mobile.webp"},{type:"SMG",label:"SMGs",value:0,image:"/images/backgrounds/main_page/categories/csgo/smg.webp",imageMobile:"/images/backgrounds/main_page/categories/csgo/smg-mobile.webp"},{type:"Rifle",label:"Rifles",value:0,image:"/images/backgrounds/main_page/categories/csgo/rifle.webp",imageMobile:"/images/backgrounds/main_page/categories/csgo/rifle-mobile.webp"},{type:"Machinegun",label:"Machine Guns",value:0,image:"/images/backgrounds/main_page/categories/csgo/machine_gun.webp",imageMobile:"/images/backgrounds/main_page/categories/csgo/machine_gun-mobile.webp"},{type:"Gloves",label:"Gloves",value:0,image:"/images/backgrounds/main_page/categories/csgo/glove.webp",imageMobile:"/images/backgrounds/main_page/categories/csgo/glove-mobile.webp"},{type:"Shotgun",label:"Shotguns",value:0,image:"/images/backgrounds/main_page/categories/csgo/shotgun.webp",imageMobile:"/images/backgrounds/main_page/categories/csgo/shotgun-mobile.webp"},{type:"Agent",label:"Agents",value:0,image:"/images/backgrounds/main_page/categories/csgo/agent.webp",imageMobile:"/images/backgrounds/main_page/categories/csgo/agent-mobile.webp"},{type:"other",label:"Others",marketTypes:JSON.stringify(["Container","Collectible","Charm","Kit","Patch","Graffiti","Sticker","Equipment"]),value:0,image:"/images/backgrounds/main_page/categories/csgo/other.webp"}]};var Et={name:"BestOffersSectionMainPage",components:{OfferCategoryItem:Ut},props:{game:{type:String,required:!0}},data(){return{categories:{},isLoading:!1}},computed:{mappedCategoriesConfig(){return Ft[this.game].map(e=>({...e,value:this.categories[e.type]||0}))}},mounted(){this.getOffersCategories()},methods:{getOffersCategories(){this.isLoading=!0,this.$httpService.getOffersCountByCategories().then(e=>{const i={};e?.data?.forEach(m=>{i[m.steam_itemtype]=m.count}),this.categories=i}).finally(()=>this.isLoading=!1)}}},Rt=Et,At={class:"best-offers"},Vt=["innerHTML"],Nt={class:"best-offers__list"};function Gt(e,i,m,g,v,p){const n=r("offer-category-item");return a(),s("section",At,[t("h2",{class:"best-offers__title",innerHTML:e.$t("main_page.best_offers_for_popular_skins")},null,8,Vt),t("div",Nt,[(a(!0),s(P,null,D(e.mappedCategoriesConfig,_=>(a(),$(n,{key:_.type,item:_,game:e.game,"is-loading":e.isLoading},null,8,["item","game","is-loading"]))),128))])])}var Bt=f(Rt,[["render",Gt],["__scopeId","data-v-0c4eec2a"]]),Ht={extensionLink:Ce.EXTENSION_LINK},Wt=T("/images/icons/appDownloadIcon.svg"),zt=T("/images/backgrounds/main_page/extention-section-art-desktop.webp"),qt=Ht,Kt={class:"extension-section"},Yt={class:"extension-section__info-container"},jt=["innerHTML"],Xt={class:"extension-section__info-subtitle"};function Zt(e,i,m,g,v,p){const n=r("base-button");return a(),s("section",Kt,[t("div",Yt,[t("h2",{class:"extension-section__into-title",innerHTML:e.$t("main_layout.extension_title")},null,8,jt),t("p",Xt,o(e.$t("main_layout.extension_subtitle")),1),l(n,{"min-width":220,size:"default",href:e.$options.extensionLink},{default:u(()=>[i[0]||(i[0]=t("img",{src:Wt,alt:"install icon"},null,-1)),L(" "+o(e.$t("user_sell_settings.install_extension")),1)]),_:1},8,["href"])]),i[1]||(i[1]=t("div",{class:"extension-section__art"},[t("img",{src:zt,alt:"extension art"})],-1))])}
1var Jt=f(qt,[["render",Zt],["__scopeId","data-v-c7785740"]]),Qt={name:"HeaderSectionMainPage",components:{MainStatisticsPanel:_t,TrustpilotSmallBanner:tt},props:{game:{type:String,default:F,validator:e=>[F,z,K].includes(e)}},setup(){const{defaultPresentationPaymentsDataList:e}=Ve();return{defaultPresentationPaymentsDataList:e}},computed:{...C(["isMobileDevice","getGameUrl"]),...E({isUserLogged:e=>e.user.userInformation.isUserLogged}),gameTitle(){return he(this.game,"uppercase")},sellPageRoute(){return this.isUserLogged?V:Ke}},MARKET_PAGE:j,CSGO:F,SELL_PAGE:V,trustPilotWidgetTemplateVariants:We},xt=T("/images/backgrounds/main_page/header-section-bg-mobile.webp"),ei=T("/images/backgrounds/main_page/header-section-bg-desktop.webp"),ti=Qt,ii={class:"header-section-main-page"},ai={class:"header-section-main-page__container"},si={class:"header-section-main-page__content"},ni={class:"header-section-main-page__info-container"},oi={class:"header-section-main-page__trustpilot-container"},ri=["innerHTML"],li={key:0,class:"header-section-main-page__buttons-container"},di={class:"header-section-main-page__button-text"},_i={class:"header-section-main-page__button-text"},ui={key:1,class:"header-section-main-page__buttons-container"},mi={class:"header-section-main-page__button-text"},ci={class:"header-section-main-page__button-text"},vi={class:"header-section-main-page__payments-container"},pi=["src","alt"],gi={key:0,src:xt,class:"header-section-main-page__bg",alt:"background"},hi={key:1,src:ei,class:"header-section-main-page__bg",alt:"background"},fi={class:"header-section-main-page__statistics"},bi={class:"header-section-main-page__statistics-container"};function $i(e,i,m,g,v,p){const n=r("trustpilot-small-banner"),_=r("base-button"),h=r("main-statistics-panel");return a(),s("section",ii,[t("div",ai,[t("div",si,[t("div",ni,[t("div",oi,[l(n,{width:"230px",height:"20px","template-variant":e.$options.trustPilotWidgetTemplateVariants.microTrustScore},null,8,["template-variant"])]),t("h2",{class:J(["header-section-main-page__title",{"header-section-main-page__title__long-text":`${e.$t("main_layout.main_banner_title",{game:e.gameTitle})}`.length>=50}]),innerHTML:e.$t("main_layout.main_banner_title",{game:e.gameTitle})},null,10,ri),e.isMobileDevice?(a(),s("div",li,[l(_,{to:e.$localePath(e.sellPageRoute),size:"default",class:"header-section-main-page__button","text-transform":"uppercase"},{default:u(()=>[t("span",di,o(e.$t("footer.sell_skins",{},{locale:"en"})),1)]),_:1},8,["to"]),l(_,{type:"light",size:"default","text-transform":"uppercase",to:e.$localePath({name:e.$options.MARKET_PAGE,params:{game:e.getGameUrl}})},{default:u(()=>[t("span",_i,o(e.$t("base.buy_skins",{},{locale:"en"})),1)]),_:1},8,["to"])])):c("",!0),e.isMobileDevice?c("",!0):(a(),s("div",ui,[l(_,{to:e.$localePath(e.sellPageRoute),size:"lg",class:"header-section-main-page__button","text-transform":"uppercase"},{default:u(()=>[t("span",mi,o(e.$t("footer.sell_skins",{},{locale:"en"})),1)]),_:1},8,["to"]),l(_,{size:"lg",type:"light","text-transform":"uppercase",to:e.$localePath({name:e.$options.MARKET_PAGE,params:{game:e.getGameUrl}})},{default:u(()=>[t("span",ci,o(e.$t("base.buy_skins",{},{locale:"en"})),1)]),_:1},8,["to"])]))]),t("div",vi,[(a(!0),s(P,null,D(e.defaultPresentationPaymentsDataList,d=>(a(),s("div",{key:`${d.name}_image`,class:"header-section-main-page__payment-item"},[t("img",{src:d.image,alt:d.name},null,8,pi)]))),128))])]),e.isMobileDevice?(a(),s("img",gi)):c("",!0),e.isMobileDevice?c("",!0):(a(),s("img",hi))]),t("div",fi,[t("div",bi,[l(h)])])])}var yi=f(ti,[["render",$i],["__scopeId","data-v-d03ecd33"]]),wi={components:{LiveTape:Xe}},ki=wi,Ii={class:"live-type-section"};function Ti(e,i,m,g,v,p){const n=r("live-tape");return a(),s("section",Ii,[l(n)])}var Li=f(ki,[["render",Ti],["__scopeId","data-v-1a68f921"]]),Mi={skinplacePartners:gt},Si=Mi,Ci={class:"partner-section"},Pi=["innerHTML"],Di={class:"partner-section__list"},Oi=["href"],Ui={class:"partner-section__item-logo"},Fi={class:"partner-section__item-logo__scroll"},Ei={class:"partner-section__item-logo__container"},Ri=["src","alt"],Ai={class:"partner-section__item-logo__container"},Vi=["src","alt"],Ni=["innerHTML"];function Gi(e,i,m,g,v,p){return a(),s("section",Ci,[t("h2",{class:"partner-section__title",innerHTML:e.$t("main_layout.our_partners")},null,8,Pi),t("div",Di,[(a(!0),s(P,null,D(e.$options.skinplacePartners,n=>(a(),s("a",{key:n.id,href:n.link,target:"_blank",class:"partner-section__item"},[t("div",Ui,[t("div",Fi,[t("div",Ei,[t("img",{src:n.img,alt:n.name},null,8,Ri)]),t("div",Ai,[t("img",{src:n.img,alt:n.name},null,8,Vi)])])]),t("p",{class:"partner-section__item-name",innerHTML:n.name},null,8,Ni)],8,Oi))),128))])])}var Bi=f(Si,[["render",Gi],["__scopeId","data-v-2ef4cbff"]]),Hi={name:"InstantUserInventory",mixins:[re],props:{tradeUrl:{type:String},countOfRow:{type:Number,default:4}},emits:["update-available-deposit","update-daily-withdraw-limit","update-max-deposit"],components:{IntersectingOb
1serverElement:ct,Preloader:lt,SortDropdown:rt,EmptyList:ce,SearchField:vt,Pagination:x,ItemSellCard:ut},setup(...e){return{...re.setup(...e)}},data(){return{showSelectedAll:!1,maxDeposit:0,dailyWithdrawLimit:0}},computed:{...E({isUserLogged:e=>e.user.userInformation.isUserLogged,userData:e=>e.user.userInformation.userData}),selectedSortItem(){return this.sortColumns.find(e=>e.value===this.filters.sort_column&&e.dir===this.filters.sort_dir)},selectedItemBySortDir(){return this.filters.sort_dir==="desc"?"highText":"lowText"},isMaxDepositExceeded(){return this.maxDeposit===0},maxAvailableDeposit(){return+this.maxDeposit>+this.instant_limit?this.maxDeposit:this.instant_limit},preparedItems(){return this.showSelectedAll?this.searchItems.filter(e=>this.selectedItems.includes(e.assetid)):this.searchItems}},watch:{preparedItems(e){e.length&&this.changeItemSelect(e)},maxDeposit(e){this.$emit("update-max-deposit",e)},dailyWithdrawLimit(e){this.$emit("update-daily-withdraw-limit",e)},maxAvailableDeposit(e){this.$emit("update-available-deposit",e)},instantSellAllowed:{handler(e){e&&this.getInventory()},immediate:!0},tradeUrl:{handler(e){e&&!this.isUserLogged&&this.getInventory()},immediate:!0}},mounted(){this.$nextTick(()=>{this.isUserLogged||this.getInventory()})},methods:{removeAllItems(){this.clearList()},clearList(e=[]){Ie.emit(Re,!1),this.$emit("update-selected-list",e)},checkIsActive(e,i){return e.value===this.selectedSortItem.value&&i===this.filters.sort_dir},refreshItems(){this.filters.search="",this.items=[],this.isInventoryNotLoading=!1,this.$refs.cardListRef&&(this.$refs.cardListRef.scrollTop=0),this.getInventory()},sort(e){this.checkIsActive(e,e.dir)||(this.filters.sort_dir=e.dir,this.filters.sort_column=e.value,this.filterSellListItems())},getInventory(){this.isLoading=!0,this.$httpService.getWithdrawFormInstantInventory({project:this.game,...this.tradeUrl?{trade_url:this.tradeUrl}:{}}).then(e=>{this.isLoading=!1,this.items=e.inv,this.instant_limit=e.instant_limit,this.instant_item_count_limit=e.instant_item_count_limit,this.maxDeposit=e.max_deposit_sum,this.dailyWithdrawLimit=e.daily_withdraw_limit,this.filterSellListItems()}).catch(e=>{this.isLoading=!1,this.items=[],e.error_message==="bot_for_instant_not_found"&&this.$emit("change-instant-sell-allowed",!1)}).finally(()=>{this.isLoading=!1})}},DESC:Ze,ASC:"asc"},Wi=Hi,zi={class:"user-inventory"},qi={class:"user-inventory__filters"},Ki={class:"user-inventory__filters-wrapper"},Yi={key:0,class:"user-inventory__total-items"},ji={key:1,class:"user-inventory__total-items text-lowercase"},Xi={class:"user-inventory__list"},Zi={key:0,ref:"cardListRef",class:"user-inventory__items-wrapper"},Ji={ref:"itemContainer",class:"user-inventory__items"},Qi={key:1,class:"user-inventory__outer-empty-list"},xi={class:"user-inventory__empty-list"},ea={class:"user-inventory__empty-list-title"};function ta(e,i,m,g,v,p){const n=r("preloader"),_=r("game-selector"),h=r("item-sell-card"),d=r("intersecting-observer-element"),y=r("base-button"),w=r("empty-list");return a(),s("div",zi,[l(le,{name:"fade-immediate"},{default:u(()=>[Le(l(n,{background:"transparent"},null,512),[[Ee,e.isLoading]])]),_:1}),t("div",qi,[t("div",Ki,[l(_,{modelValue:e.game,"onUpdate:modelValue":i[0]||(i[0]=M=>e.game=M),"is-blocked":e.isLoading,size:e.isMobileDevice?"s":"m"},null,8,["modelValue","is-blocked","size"])]),!e.isLoading&&e.totalItems===0?(a(),s("span",Yi,o(e.$t("main_page.no_available_skins")),1)):(a(),s("span",ji,o(e.totalItems)+" "+o(e.$t("base.items")),1))]),t("div",Xi,[e.preparedItems.length>0&&!e.isLoading?(a(),s("div",Zi,[t("div",Ji,[(a(!0),s(P,null,D(e.preparedItems,M=>(a(),$(h,{key:M.assetid,item:M,"selected-items":e.selectedItems,"is-instant":!0,"root-element":e.$refs.cardListRef,"is-disabled":!0,"data-tutorial-step":"item-sell-card",onChangeItemSelect:e.changeItemSelect},null,8,["item","selected-items","root-element","onChangeItemSelect"]))),128))],512),e.$refs.cardListRef?(a(),$(d,{key:0,"root-element":e.$refs.cardListRef,"root-margin":"25px",onChangeIntersecting:e.changeOffset},null,8,["root-element","onChangeIntersecting"])):c("",!0)],512)):e.isLoading?c("",!0):(a(),s("div",Qi,[t("div",xi,[e.isInventoryNotLoading?(a(),$(w,{key:0,"is-awp-icon":!0},{title:u(()=>[t("span",null,o(e.$t("no_items.steam_problems")),1)]),subtitle:u(()=>[t("span",null,o(e.$t("no_items.subtitle")),1)]),content:u(()=>[l(y,{type:"info","min-width":266,disabled:e.isLoading,onOnClick:e.refreshItemsEvent},{default:u(()=>[i[1]||(i[1]=t("img",{src:wt},null,-1)),t("span",null,o(e.$t("inventory.refresh")),1)]),_:1},8,["disabled","onOnClick"])]),_:1})):c("",!0),!e.isInventoryNotLoading&&e.preparedItems.length===0?(a(),$(w,{key:1,"is-warning-icon":!1},{icon:u(()=>[...i[2]||(i[2]=[t("img",{src:ft,alt:"empty user inventory"},null,-1)])]),title:u(()=>[t("span",ea,o(e.$t("no_items.you_have_no_items_in_your_inventory")),1)]),_:1})):c("",!0)])]))])])}var ia=f(Wi,[["render",ta],["__scopeId","data-v-e32c7478"]]),aa={n
1ame:"InstantWithdrawForm",mixins:[yt],props:{tradeUrl:{type:String}},components:{UserInventory:ia,EmptyList:ce},emits:["change-trade-url"],setup(){const{showSwal:e}=Ae(),{sendEventGTAG:i}=Q();return{sendEventGTAG:i,loginUser:de(),showSwal:e}},data(){return{selectedItems:[],countOfUserInventory:0,currentCryptoCurrency:Oe.BTC,maxAvailableDeposit:0,maxDeposit:0,dailyWithdrawLimit:0,isReceiveLoading:!1,uniqWithdrawFormId:"withdraw-form",loyaltyBonus:0,globalLoyaltyBonus:0,expireDate:"",isTradeLinkSaveLoading:!1}},computed:{...C(["isMobileDevice"]),...E({isUserLogged:e=>e.user.userInformation.isUserLogged,userData:e=>e.user.userInformation.userData}),isAllowedUserInventory(){return!0},steamId(){return this.userData?.steamId?this.userData?.steamId:bt(this.tradeUrl)},touchableItems(){return this.selectedItems.filter(e=>!e.untouchable&&!e.skip_reason)},isReadyToLoadInventory(){return!0},selectedItemsPrice(){return this.touchableItems.reduce(it("price"),"0.00")||0},linkOnMarketPage(){return{name:j,params:{game:ue(this.game)}}}},watch:{isUserLogged(e){e&&this.loadData()}},methods:{login(){this.isUserLogged||this.loginUser()},goToSellPage(){this.isUserLogged?this.$router.push(this.$localePath(V)):this.loginUser()},loadData(){this.isUserLogged&&this.$httpService.getInstantData({}).then(e=>{this.status=e.payment_status,this.instantSellAllowed=e.instant_sell_allowed,this.hasBidItems=e.has_bid_items,this.globalLoyaltyBonus=e.instant_global_loyalty_bonus_percent,this.loyaltyBonus=e.instant_loyalty_bonus,this.expireDate=e.instant_global_loyalty_time_finished,this.sellType=at,this.hasBidItems&&(this.instantSteamTrade={...e.steamtrade,state:xe(e.steamtrade.tradeoffer_state)})}).finally(()=>{this.isLoadedInstantData=!0})},changeTradeUrl(){this.$emit("change-trade-url")}}},sa=T("/images/icons/log-in-steam.svg"),na=T("/images/icons/recconect.svg"),oa=aa,ra={class:"main-instant-withdraw-from"},la={class:"main-instant-withdraw-from__inventory"},da={key:1,class:"main-instant-withdraw-from__log-in-block"},_a={class:"main-instant-withdraw-from__user-inventory-title"},ua={class:"main-instant-withdraw-from__log-in-title"},ma={class:"main-instant-withdraw-from__log-in-btn"},ca={class:"main-instant-withdraw-from__log-in-btn-text"},va={class:"main-instant-withdraw-from__rate-block"},pa={class:"main-instant-withdraw-from__rate-block-header"},ga={class:"main-instant-withdraw-from__rate-top-block"},ha=["innerHTML"],fa=["innerHTML"],ba={key:0,class:"main-instant-withdraw-from__rate-divider"},$a={key:1,class:"main-instant-withdraw-from__rate-grad-money-block"},ya={class:"main-instant-withdraw-from__rate-grad-money-text"},wa={class:"main-instant-withdraw-from__rate-title"},ka={class:"main-instant-withdraw-from__rate-sum"},Ia={class:"main-instant-withdraw-from__rate-sum-green currency__symbol"},Ta={class:"main-instant-withdraw-from__rate-grab-money"},La={key:2,class:"main-instant-withdraw-from__no-skins"},Ma={class:"main-instant-withdraw-from__no-skins-title"},Sa={class:"main-instant-withdraw-from__bottom-info"},Ca={class:"main-instant-withdraw-from__steam-id-container"},Pa={class:"main-instant-withdraw-from__steam-id"};function Da(e,i,m,g,v,p){const n=r("user-inventory"),_=r("base-button"),h=r("empty-list");return a(),s("div",ra,[t("div",la,[l(le,{name:"fade-immediate"},{default:u(()=>[e.isReadyToLoadInventory&&e.isAllowedUserInventory?(a(),$(n,{key:"user-inventory","instant-sell-allowed":e.instantSellAllowed,"selected-items":e.selectedItemsId,"total-selected-items":+e.selectedItems.length,"count-of-row":2,"trade-url":e.tradeUrl,onChangeGame:i[0]||(i[0]=d=>e.game=d),onChangeIsLoading:i[1]||(i[1]=d=>e.isLoading=d),onChangeInstantLimit:i[2]||(i[2]=d=>e.instant_limit=d),onChangeInstantSellAllowed:i[3]||(i[3]=d=>e.sellType=d),onChangeInstantItemCountLimit:i[4]||(i[4]=d=>e.instant_item_count_limit=d),onUpdateTotalItems:i[5]||(i[5]=d=>e.countOfUserInventory=d),onUpdateTotalItemsPrice:e.updateTotalItemsPrice,onUpdateSelectedList:e.updateSelectedList,onUpdateAvailableDeposit:i[6]||(i[6]=d=>e.maxAvailableDeposit=d),onUpdateDailyWithdrawLimit:i[7]||(i[7]=d=>e.dailyWithdrawLimit=d),onUpdateMaxDeposit:i[8]||(i[8]=d=>e.maxDeposit=d),onShowSelectedItems:e.showSelectedItems},null,8,["instant-sell-allowed","selected-items","total-selected-items","trade-url","onUpdateTotalItemsPrice","onUpdateSelectedList","onShowSelectedItems"])):(a(),s("div",da,[t("h2",_a,o(e.$t("sell.your_inventory")),1),l(h,{"is-warning-icon":!1,"row-gap":"20px"},{icon:u(()=>[...i[10]||(i[10]=[t("img",{src:sa},null,-1)])]),title:u(()=>[t("span",ua,o(e.$t("instant_withdraw_form.you_have_to_log_in_to_start_selling")),1)]),subtitle:u(()=>[l(_,{onOnClick:e.login},{default:u(()=>[t("div",ma,[i[11]||(i[11]=t("img",{src:Ne,alt:"register via steam"},null,-1)),t("span",ca,o(e.$t("instant_withdraw_form.register_via_steam")),1)])]),_:1},8,["onOnClick"])]),_:1})]))]),_:1})]),t("div",va,[t("div",pa,[t("div",ga,[e.countOfUserInventory||e.isLoading?(a(),s("h2",{key:0,innerHTML:e.$t("main_page.you_inventory_worth")},null,8,ha)):c("",!0),!e.countOfUserInventory&&!e.isLoading?(a(),s("h2",{key:1,innerHTML:e.$t("main_page.no_skins_available_for_sale")},null,8,fa)):c("",!0)]),e.isMobileDevice?c("",!0):(a(),s("div",ba)),e.countOfUserInventory||e.isLoading?(a(),s("div",$a,[t("div",ya,[t("p",wa,o(e.$t("rate_user_inventory.average_value")),1),t("p",ka,[t("span",Ia,o(e.currencySymbol),1),L(" "+o(e.convertToCurrentCurrency(+e.selectedItemsPrice)),1)])]),l(_,{size:e.isMobileDevice?"default":"lg","min-width":"100%",onOnClick:e.goToSellPage},{default:u(()=>
1[t("span",Ta,o(e.$t("main_layout.sell_your_skins")),1)]),_:1},8,["size","onOnClick"])])):c("",!0),!e.countOfUserInventory&&!e.isLoading?(a(),s("div",La,[t("p",Ma,o(e.$t("main_layout.explore_skins_market_description")),1),l(_,{size:e.isMobileDevice?"default":"lg","min-width":"100%",to:e.$localePath(e.linkOnMarketPage)},{default:u(()=>[L(o(e.$t("main_layout.explore_skins_market")),1)]),_:1},8,["size","to"])])):c("",!0)]),t("div",Sa,[t("div",Ca,[i[12]||(i[12]=t("div",{class:"main-instant-withdraw-from__steam-icon"},[t("img",{src:be,alt:"steam"})],-1)),t("p",Pa,[L(o(e.isMobileDevice?e.$t("base.steam_id"):e.$t("main_page.inventory_steam_id"))+": ",1),t("span",null,o(e.steamId),1)])]),e.isUserLogged?c("",!0):(a(),s("p",{key:0,class:"main-instant-withdraw-from__change-container",onClick:i[9]||(i[9]=(...d)=>e.changeTradeUrl&&e.changeTradeUrl(...d))},[i[13]||(i[13]=t("span",{class:"main-instant-withdraw-from__change-icon"},[t("img",{src:na,alt:"change"})],-1)),L(" "+o(e.$t("base.change")),1)]))])])])}var Oa=f(oa,[["render",Da],["__scopeId","data-v-44012d10"]]),Ua={components:{MainInstantWithdrawForm:Oa},data(){return{tradeUrl:"",isTradeUrl:!1,isTradeUrlInCookie:!1,fakeOnlineStat:0,fakeOnlineInterval:null}},computed:{...C(["isMobileDevice"]),...E({isUserLogged:e=>e.user.userInformation.isUserLogged,userData:e=>e.user.userInformation.userData,isUserMerchant:e=>e.user.userInformation.userData?.isMerchant}),isTradelinkValid(){return nt(this.tradeUrl?this.tradeUrl:"")}},mounted(){(oe("trade_url")||this.userData?.tradeLink)&&this.clearTradeLinkData(),this.updateFakeOnline()},beforeUnmount(){clearInterval(this.fakeOnlineInterval)},methods:{clearTradeLinkData(){this.tradeUrl=this.userData?.tradeLink||oe("trade_url"),this.isTradeUrl=!0,this.isTradeUrlInCookie=!0},hideRateInventoryForm(){if(!this.isTradelinkValid){Ue("instant_withdraw_form.enter_valid_trade_url");return}this.isTradeUrl=!0},clearTradeUrl(){this.tradeUrl="",this.isTradeUrl=!1,this.isTradeUrlInCookie=!1},updateFakeOnline(){clearInterval(this.fakeOnlineInterval),this.fakeOnlineStat=se(148,174),this.fakeOnlineInterval=Me(()=>{this.fakeOnlineStat=se(148,174)},20*1e3)}},STEAM_TRADE_OFFERS_PAGE_URL:fe,TRADE_URL_PAGE:et},Fa=T("/images/backgrounds/main_page/rate-inventory-section-art.webp"),Ea=T("/images/icons/eyes-bold.svg"),Ra=Ua,Aa={class:"rate-inventory-section"},Va={key:0,class:"rate-inventory-section__no-trade-url-container"},Na={key:0,class:"rate-inventory-section__trade-url-art-container"},Ga={class:"rate-inventory-section__trade-url-info-container"},Ba={class:"rate-inventory-section__trade-url-info"},Ha=["innerHTML"],Wa={class:"rate-inventory-section__enter-trade-url__container"},za={class:"rate-inventory-section__enter-trade-url__info"},qa={key:0,class:"rate-inventory-section__enter-trade-url__icon"},Ka={class:"rate-inventory-section__enter-trade-url__text"},Ya={class:"rate-inventory-section__enter-trade-url__title"},ja={class:"rate-inventory-section__enter-trade-url__description"},Xa={class:"rate-inventory-section__trade-url__field"},Za={class:"rate-inventory-section__trade-url__label"},Ja={class:"rate-inventory-section__online-wrapper"};function Qa(e,i,m,g,v,p){const n=r("base-field"),_=r("base-button"),h=me,d=r("i18n-t"),y=r("main-instant-withdraw-form");return a(),s("section",Aa,[!e.isTradeUrl&&!e.isTradeUrlInCookie?(a(),s("div",Va,[e.isMobileDevice?c("",!0):(a(),s("div",Na,[...i[1]||(i[1]=[t("img",{src:Fa,alt:"art"},null,-1)])])),t("div",Ga,[t("div",Ba,[t("div",null,[t("h2",{class:"rate-inventory-section__trade-url-title",innerHTML:e.$t("main_page.rate_inventory_and_sell")},null,8,Ha),t("div",Wa,[t("div",za,[e.isMobileDevice?c("",!0):(a(),s("div",qa,[...i[2]||(i[2]=[t("img",{src:be,alt:"steam icon"},null,-1)])])),t("div",Ka,[t("p",Ya,o(e.$t("rate_user_inventory.enter_your_trade_url")),1),t("p",ja,o(e.$t("rate_user_inventory.and_rate_your_steam_inventory_right_now")),1)])]),t("div",Xa,[l(n,{id:"tradeUrl",modelValue:e.tradeUrl,"onUpdate:modelValue":i[0]||(i[0]=w=>e.tradeUrl=w),"is-success":e.isTradelinkValid,"min-width":e.isMobileDevice?"100%":null,placeholder:e.$t("rate_user_inventory.trade_url")},{label:u(()=>[t("span",Za,o(e.$t("trade_url.enter_trade_url")),1)]),_:1},8,["modelValue","is-success","min-width","placeholder"]),l(_,{"min-width":e.isMobileDevice?"100%":160,size:"default",class:"rate-inventory-section__trade-url__button",onOnClick:e.hideRateInventoryForm},{default:u(()=>[L(o(e.$t("rate_user_inventory.rate_inventory")),1)]),_:1},8,["min-width","onOnClick"])]),l(h,{class:"rate-inventory-section__trade-url__link",to:e.$localePath(e.$options.TRADE_URL_PAGE)},{default:u(()=>[L(o(e.$t("trade_url.where_to_find_it")),1)]),_:1},8,["to"])])]),l(d,{keypath:"main_page.at_this_moment_rating_inventory",tag:"p",class:"rate-inventory-section__online-container"},{online:u(()=>[t("span",Ja,[i[3]||(i[3]=t("span",{class:"rate-inventory-section__online-icon"},[t("img",{src:Ea,alt:"online icon"})],-1)),L(" "+o(e.fakeOnlineStat),1)])]),_:1})])])])):(a(),$(y,{key:1,"trade-url":e.tradeUrl,onChangeTradeUrl:e.clearTradeUrl},null,8,["trade-url","onChangeTradeUrl"]))])}
1var xa=f(Ra,[["render",Qa],["__scopeId","data-v-ec72bedf"]]),es={class:"carousel"},ts={class:"carousel__container"},is=10,as=4,ss=Object.assign({name:"Carousel"},{__name:"Carousel",props:{items:{type:Array,default:()=>[]},listType:{type:String,default:X.ITEM_OFFERS_CAROUSEL},shifterPositionTop:{type:Number,default:-54},isLoading:{type:Boolean,default:!1},isVisibleArrows:{type:Boolean,default:!0},isShowArrowsOnMobile:{type:Boolean,default:!1},itemsGap:{type:Number,default:null}},setup(e){const i=e,m=Ge(),g=O(null),v=O(0),p=O(1),n=O(3),_=O(194),h=O(""),d=O(1),y=U(()=>m.getters.getWindowWidth),w=U(()=>m.getters.isMobileDevice),M=U(()=>({top:`${i.shifterPositionTop}px`})),R=U(()=>{const k=Math.max(1,d.value||n.value||1);return Math.max(1,Math.ceil((i.items?.length||0)/k))}),N=U(()=>{if(i.isShowArrowsOnMobile&&w.value||!w.value)return i.items.length>=n.value&&i.isVisibleArrows}),G=U(()=>w.value?as:is);ot(y,()=>{v.value=0,p.value=1,te()}),ze(()=>{ke()});function B(k){const I=g.value,b=I?I.clientWidth:0;if(b>0&&k>0){const S=i.itemsGap!==null?i.itemsGap:G.value;_.value=i.itemsGap!==null?(b+S)/k:b/k;const A=Math.max(0,_.value-S);h.value=`
2        width:${A}px !important;
3        min-width:${A}px !important;
4      `}}function ee(k){const I=i.items?.length||0,b=n.value||1,S=b>=2?b-1:1,A=Math.max(0,I-b),ie=_.value*-1*A;if(k===1&&v.value>ie){const H=(v.value-ie)/_.value;v.value-=Math.min(S,H)*_.value,p.value=Math.min(R.value,p.value+1)}else if(k===-1&&v.value<0){const H=Math.abs(v.value/_.value);v.value+=Math.min(S,H)*_.value,p.value=Math.max(1,p.value-1)}}function ke(){v.value=0,te()}async function te(){let k=null;for(const b of Fe.itemsLists){const S=b.visibleItems[i.listType];if(S&&y.value>=b.windowWidth){k={limit:S,config:b};break}}const I=k?.limit||1;d.value=I,n.value=I,await Be(),B(I)}return(k,I)=>(a(),s("div",es,[t("div",ts,[t("div",{ref_key:"carouselItems",ref:g,class:"carousel__items",style:q({transform:"translateX("+v.value+"px)"})},[(a(!0),s(P,null,D(e.items,(b,S)=>pe(k.$slots,"item",{id:b.id||S,styleCartResponsive:h.value,item:b},void 0,!0)),256))],4)]),N.value&&!w.value?(a(),s("div",{key:0,class:"shifter",style:q(M.value)},[l(x,{"page-current":p.value,"total-page":+R.value,class:"carousel__pagination",onNext:I[0]||(I[0]=b=>ee(1)),onPrev:I[1]||(I[1]=b=>ee(-1))},null,8,["page-current","total-page"])],4)):c("",!0)]))}}),ns=f(ss,[["__scopeId","data-v-e408d335"]]);const os=e=>e>4.2?"excellent":e>3.7?"great":e>2.7?"average":e>1.7?"poor":"bad";var rs={components:{BaseAvatar:Ye},props:{item:{type:Object,default:()=>{}},styleCartResponsive:{type:String,default:""}},setup(){const{getFormattedDate:e}=Se(),{sendEventGTAG:i}=Q();return{sendEventGTAG:i,getFormattedDate:e}},computed:{timePublish(){const e=this.$i18n.locale||"en";return new Te({timeV:this.item.time_published}).localeT(e).formatT("LL")}},methods:{handleReviewItem(){this.sendEventGTAG(_e.TRUSTPILOT)}}},ls=rs,ds=["href"],_s={class:"review-item__content"},us={class:"review-item__header"},ms={class:"review-item__user"},cs={class:"review-item__name"},vs={class:"review-item__autor"},ps={class:"review-item__time"},gs={class:"review-item__stars"},hs={class:"review-item__title"},fs={class:"review-item__main"};function bs(e,i,m,g,v,p){const n=r("base-avatar");return a(),s("a",{href:e.item.trustpilotLink,target:"_blank",class:"review-item",style:q(e.styleCartResponsive),onClick:i[0]||(i[0]=(..._)=>e.handleReviewItem&&e.handleReviewItem(..._))},[t("div",_s,[t("div",us,[t("div",ms,[l(n,{src:e.item.author_avatar,size:42},null,8,["src"]),t("div",cs,[t("span",vs,o(e.item.author),1),t("span",ps,o(e.timePublish),1)])])]),t("div",gs,[(a(),s(P,null,D(5,(_,h)=>t("div",{key:h,class:J(["review-item__star",{"review-item__star_colorized":e.item.rating>h}])},[...i[1]||(i[1]=[t("img",{src:dt,alt:"star"},null,-1)])],2)),64))]),t("span",hs,o(e.item.title),1),t("span",fs,o(e.item.text),1)])],12,ds)}var $s=f(ls,[["render",bs],["__scopeId","data-v-6bbc21ee"]]),ys={components:{Flicking:ye,ReviewItem:$s,Carousel:ns},setup(){const{sendEventGTAG:e}=Q();return{sendEventGTAG:e}},data(){return{ratingNumber:0,totalReviews:0,reviews:[],trustpilotLink:""}},emits:["change-trust-pilot-rating","change-trust-pilot-link"],computed:{...C(["isMobileDevice"]),sliderPlugins(){return this.isMobileDevice?[new ht({type:"bullet",selector:".reviews__pagination"})]:[]},sliderOptions(){return{align:$e.PREV,defaultIndex:0,circular:!0,panelsPerVie
4w:-1,bound:!0,threshold:25,moveType:Y.STRICT,preventClickOnDrag:!0,preventDefaultOnDrag:!0,preventEventsBeforeInit:!0}},goodReviewsList(){return this.getCommentsWithRatingMore(4)},getRatingLabel(){return this.$t(`trustpilot_rating.${os(this.ratingNumber)}`)}},watch:{trustpilotLink(e){this.$emit("change-trust-pilot-link",e)},ratingNumber(e){this.$emit("change-trust-pilot-rating",e)}},mounted(){this.getComments()},methods:{getCommentsWithRatingMore(e){return this.reviews?.filter(i=>i.rating>=e)||[]},getComments(){this.$httpService.getComments().then(e=>{this.totalReviews=e.count,this.trustpilotLink=e.link,this.ratingNumber=e.avg_rating,this.reviews=e.data.map(i=>({...i,trustpilotLink:e.link}))}).catch(()=>{})},handleLeaveReview(){this.sendEventGTAG(_e.TRUSTPILOT)}},listType:X,itemType:ve},ws=T("/images/icons/arrow-right-alt.svg"),ks=ys,Is={class:"reviews-panel"},Ts={class:"reviews-panel__content"},Ls={class:"reviews-title__wrapper"},Ms=["innerHTML"],Ss={class:"reviews__content"},Cs=["href"],Ps={key:0,class:"reviews"};function Ds(e,i,m,g,v,p){const n=r("review-item"),_=r("carousel"),h=r("flicking"),d=je;return a(),s("div",Is,[t("div",Ts,[t("div",Ls,[t("span",{class:"reviews__title",innerHTML:e.$t("reviews.our_reviews")},null,8,Ms),t("div",Ss,[t("a",{href:e.trustpilotLink,target:"_blank",class:"reviews__subtitle"},[L(o(e.totalReviews)+" "+o(e.$t("reviews.reviews"))+" ",1),i[0]||(i[0]=t("img",{class:"reviews__arrow",src:ws,alt:"back icon"},null,-1))],8,Cs)])]),e.isMobileDevice?(a(),$(d,{key:1},{default:u(()=>[l(h,{class:"reviews__slider",options:e.sliderOptions,plugins:e.sliderPlugins},{viewport:u(()=>[...i[1]||(i[1]=[t("div",{class:"reviews__pagination"},null,-1)])]),default:u(()=>[(a(!0),s(P,null,D(e.goodReviewsList,y=>(a(),s("div",{key:y.id,class:"review__wrapper"},[l(n,{item:y},null,8,["item"])]))),128))]),_:1},8,["options","plugins"])]),_:1})):(a(),s("div",Ps,[l(_,{items:e.goodReviewsList,"list-type":e.$options.listType.REVIEW_CAROUSEL,"shifter-position-top":-90,"items-gap":60},{item:u(({item:y,styleCartResponsive:w,id:M})=>[(a(),$(n,{key:M,item:y,"style-cart-responsive":w},null,8,["item","style-cart-responsive"]))]),_:1},8,["items","list-type"])]))])])}var Os=f(ks,[["render",Ds],["__scopeId","data-v-4e1b6aa2"]]),Us={components:{ReviewsPanel:Os}},Fs=Us,Es={class:"reviews-section-main-page"};function Rs(e,i,m,g,v,p){const n=r("reviews-panel");return a(),s("section",Es,[l(n)])}var As=f(Fs,[["render",Rs],["__scopeId","data-v-740e988d"]]);const Vs=[{link:"https://www.youtube.com/watch?v=ggL3Fh2GZxU",linkMobile:"https://www.youtube.com/watch?v=ggL3Fh2GZxU",duration:"1:49",durationMobile:"1:49",modalTitle:"main_page.how_to_sell",image:"/images/backgrounds/main_page/sell-skins-tutorial-bg.webp",label:"main_page.how_to_sell_skins",description:"main_page.how_to_sell_skins_description"},{link:"https://www.youtube.com/watch?v=-VloRbowgM4",linkMobile:"https://www.youtube.com/watch?v=-VloRbowgM4",duration:"1:59",durationMobile:"1:59",modalTitle:"main_page.how_to_buy",image:"/images/backgrounds/main_page/buy-skins-tutorial-bg.webp",label:"main_page.how_to_buy_skins",description:"main_page.how_to_buy_skins_description"}];var Ns={name:"TutorialSectionMainPage",computed:{...C(["isMobileDevice"])},methods:{...Z(["OPEN_MODAL_MUTATION"]),openTutorialModal(e){this.OPEN_MODAL_MUTATION({type:ge.YOU_TUBE_VIDEO,data:{link:this.isMobileDevice?e.linkMobile:e.link,headerTitle:e.modalTitle}})}},mainPageTutorialsConfig:Vs},we=T("/images/icons/play.svg"),Gs=Ns,Bs={class:"tutorial-section"},Hs=["onClick"],Ws={class:"tutorial-section__art"},zs=["src"],qs={class:"tutorial-section__watch-tutorial"},Ks={class:"tutorial-section__time"},Ys={class:"tutorial-section__info"},js={class:"tutorial-section__label"},Xs={class:"tutorial-section__description"};function Zs(e,i,m,g,v,p){return a(),s("section",Bs,[(a(!0),s(P,null,D(e.$options.mainPageTutorialsConfig,n=>(a(),s("div",{key:n.label,class:"tutorial-section__item",onClick:_=>e.openTutorialModal(n)},[t("div",Ws,[t("img",{src:n.image,alt:"tutorial"},null,8,zs)]),t("div",qs,[t("span",null,[L(o(e.$t("withdraw_form.watch_tutorial"))+" ",1),t("span",Ks," ("+o(e.isMobileDevice?n.durationMobile:n.duration)+") ",1)]),i[0]||(i[0]=t("div",{class:"tutorial-section__icon"},[t("img",{src:we,alt:"play icon"}
4)],-1))]),t("div",Ys,[t("p",js,o(e.$t(n.label)),1),t("p",Xs,o(e.$t(n.description)),1)])],8,Hs))),128))])}var Js=f(Gs,[["render",Zs],["__scopeId","data-v-dc59296a"]]),Qs={props:{item:{type:Object,required:!0}},emits:["on-click"],computed:{...C(["isMobileDevice"])}},xs=T("/images/icons/social/colored_logo/youtube.svg"),en=Qs,tn={class:"video-item__preview"},an=["src","alt"],sn={key:0,class:"video-item__play-img",src:we,alt:"play video"},nn={class:"video-item__info"},on={class:"video-item__avatar"},rn=["src","alt"],ln={class:"video-item__text"},dn={class:"video-item__title"},_n={class:"video-item__subscription-container"},un={class:"video-item__subscribers"};function mn(e,i,m,g,v,p){return a(),s("div",{class:"video-item",onClick:i[0]||(i[0]=n=>e.$emit("on-click",e.item))},[t("div",tn,[t("img",{class:"video-item__preview-img",src:e.item.thumbnailLink,alt:e.item.title},null,8,an),e.isMobileDevice?(a(),s("img",sn)):c("",!0)]),t("div",nn,[t("div",on,[t("img",{src:e.item.channelImgLink,alt:e.item.author},null,8,rn)]),t("div",ln,[t("span",dn,o(e.item.title),1),t("div",_n,[i[1]||(i[1]=t("div",{class:"video-item__icon"},[t("img",{src:xs,alt:"youtube"})],-1)),t("p",un,o(e.item.amountViewers)+" "+o(e.$t("base.subscribers")),1)])])])])}var cn=f(en,[["render",mn],["__scopeId","data-v-0e16d313"]]),vn={components:{BaseDots:Pe,Pagination:x,VideoItem:cn,Flicking:ye},props:{items:{type:Array,default:()=>[]},itemsCountOnSlide:{type:Number,default:3},slidingItemsCount:{type:Number,default:1}},data(){return{currentPage:1,currentIndex:0}},computed:{...C(["isMobileDevice"]),slidesCount(){return Math.ceil(this.items.length/this.slidingItemsCount)},hasLabelSlot(){return!!this.$slots.label},sliderOptions(){return{align:$e.PREV,defaultIndex:0,circular:!1,panelsPerView:this.itemsCountOnSlide,inputType:this.isMobileDevice?["touch","mouse"]:[],bounce:0,bound:!0,threshold:25,moveType:this.isMobileDevice?Y.FREE_SCROLL:[Y.STRICT,{count:this.slidingItemsCount}],preventClickOnDrag:!0,preventDefaultOnDrag:!0,preventEventsBeforeInit:!0}}},methods:{slidePrev(){this.$refs.videoSlider.moveTo(this.currentIndex-this.slidingItemsCount).catch(()=>{})},slideNext(){this.$refs.videoSlider.moveTo(this.currentIndex+this.slidingItemsCount).catch(()=>{})},slideTo(e){this.$refs.videoSlider.moveTo(e-1).catch(()=>{})},updateSlider(e){this.currentIndex=e.index,this.currentPage=e.index/this.slidingItemsCount+1}},itemType:ve,listType:X},pn=vn,gn={class:"video-carousel"},hn={key:0,class:"video-carousel__label"},fn={class:"video-carousel__navigation"},bn={class:"video-carousel__slider"},$n={key:1,class:"video-carousel__dots-container"};function yn(e,i,m,g,v,p){const n=r("pagination"),_=r("video-item"),h=r("flicking");return a(),s("div",gn,[e.isMobileDevice?c("",!0):(a(),s("div",{key:0,class:J(["video-carousel__info-container",{"has-label":e.hasLabelSlot}])},[e.hasLabelSlot?(a(),s("p",hn,[pe(e.$slots,"label",{},void 0,!0)])):c("",!0),t("div",fn,[l(n,{size:"s","page-current":e.currentPage,"total-page":e.slidesCount,onNext:e.slideNext,onPrev:e.slidePrev},null,8,["page-current","total-page","onNext","onPrev"])])],2)),t("div",bn,[l(h,{ref:"videoSlider",options:e.sliderOptions,onChanged:e.updateSlider},{default:u(()=>[(a(!0),s(P,null,D(e.items,d=>(a(),s("div",{key:d.link,class:"video-carousel__slide"},[l(_,{item:d,onOnClick:y=>e.$emit("on-item-click",d)},null,8,["item","onOnClick"])]))),128))]),_:1},8,["options","onChanged"])]),e.isMobileDevice&&e.slidesCount?(a(),s("div",$n,[l(n,{size:"s",variant:"info","page-current":e.currentPage,"total-page":e.slidesCount,onNext:e.slideNext,onPrev:e.slidePrev},null,8,["page-current","total-page","onNext","onPrev"])])):c("",!0)])}var wn=f(pn,[["render",yn],["__scopeId","data-v-51e03d97"]]),kn={components:{VideosCarousel:wn},data(){return{selectedVideo:null,promoVideos:[]}},computed:{...C(["isMobileDevice","isDevice2Xl"]),videoLink(){return mt(this.selectedVideo?.link)},videoCarouselConfig(){return this.isMobileDevice?{itemsCountOnSlide:1.2,slidingItemsCount:1}:this.isDevice2Xl?{itemsCountOnSlide:2,slidingItemsCount:2}:{itemsCountOnSlide:3,slidingItemsCount:3}},mappedPromoVideos(){return this.promoVideos.map(e=>({...e,amountViewers:this.formatNumber(e.amountViewers)}))}},mounted(){this.getVideos()},methods:{...Z(["OPEN_MODAL_MUTATION"]),getVideos(){this.$httpService.getPromoVideoList().then(e=>{this.promoVideos=(e.data||[]).sort((i,m)=>i.prioritySort-m.prioritySort),this.selectedVideo=this.mappedPromoVideos?.at(0)})},itemClickHandler(e){if(this.isMobileDevice)return this.OPEN_MODAL_MUTATION({type:ge.YOU_TUBE_VIDEO,data:{link:e.link}});this.selectVideo(e)}
4,selectVideo(e){this.selectedVideo?.id!==e?.id&&(this.selectedVideo=e)},formatNumber(e){return Intl.NumberFormat("en",{notation:"compact"}).format(e)}}},In=T("/images/icons/social/full/youtube-with-white-label.svg"),Tn=kn,Ln={class:"video-section"},Mn=["innerHTML"],Sn={class:"video-section__player"},Cn={class:"video-section__videos-container"},Pn={key:0,class:"video-section__selected-author__container"},Dn={class:"video-section__selected-author__info"},On={class:"video-section__selected-author__avatar"},Un=["src","alt"],Fn={class:"video-section__selected-author__about"},En={class:"video-section__selected-author__name"},Rn={class:"video-section__selected-author__profession"},An={class:"video-section__selected-author__subscriptions"},Vn={class:"video-section__selected-author__subscribers-count"},Nn={class:"video-section__videos-list"},Gn={key:0,class:"video-section__selected-video"},Bn=["src"];function Hn(e,i,m,g,v,p){const n=r("videos-carousel");return a(),s("section",Ln,[t("h2",{class:"video-section__title",innerHTML:e.$t("main_layout.we_are_recommended")},null,8,Mn),t("div",Sn,[t("div",Cn,[e.isMobileDevice?c("",!0):(a(),s("div",Pn,[t("div",Dn,[t("div",On,[t("img",{src:e.selectedVideo?.channelImgLink,alt:e.selectedVideo?.author},null,8,Un)]),t("div",Fn,[t("p",En,o(e.selectedVideo?.author),1),t("p",Rn,o(e.selectedVideo?.authorType),1)])]),t("div",An,[i[0]||(i[0]=t("div",{class:"video-section__selected-author__platform-logo"},[t("img",{src:In,alt:"youtube logo"})],-1)),t("span",Vn,o(e.selectedVideo?.amountViewers)+" "+o(e.$t("base.subscribers")),1)])])),t("div",Nn,[l(n,{items:e.mappedPromoVideos,"items-count-on-slide":e.videoCarouselConfig.itemsCountOnSlide,"sliding-items-count":e.videoCarouselConfig.slidingItemsCount,onOnItemClick:e.itemClickHandler},{label:u(()=>[L(o(e.$t("main_page.another_recommendations")),1)]),_:1},8,["items","items-count-on-slide","sliding-items-count","onOnItemClick"])])]),e.isMobileDevice?c("",!0):(a(),s("div",Gn,[t("iframe",{class:"video-section__selected-video__frame",width:"100%",height:"100%",src:e.videoLink,title:"YouTube video player",frameborder:"0",allowfullscreen:"",allow:`
5            accelerometer;
6            autoplay;
7            clipboard-write;
8            encrypted-media;
9            gyroscope;
10            picture-in-picture;
11            fullscreen;
12          `},null,8,Bn)]))])])}var Wn=f(Tn,[["render",Hn],["__scopeId","data-v-5ef2018a"]]),zn=Qe({name:"SkinPlaceLanding",components:{LiveTypeSection:Li,ExtensionSectionMainPage:Jt,RateInventorySectionMainPage:xa,BestOffersSectionMainPage:Bt,HeaderSectionMainPage:yi,VideoSectionMainPage:Wn,PartnerSectionMainPage:Bi,TutorialSectionMainPage:Js,ScrollTopButton:$t,PageSeo:pt,ReviewsSectionMainPage:As},async setup(){const e=He(),{connectMerchant:i}=De(),{locale:m}=qe();return{game:W(e.currentRoute.value.params.game,"index")||"csgo",locale:m,connectMerchant:i,loginUser:de()}},computed:{...C(["isMerchantActive","isMobileDevice"]),...E({isUserLogged:e=>e.user.userInformation.isUserLogged,userData:e=>e.user.userInformation.userData,previousRoute:e=>e.app.route.previous}),seoKey(){return this.isCsgoLanding?"index":null},faqTitle(){return this.isCsgoLanding?this.$t("main_layout.faq"):this.isDota2Landing?this.$t("main_layout.faq_dota2"):this.isRustLanding?this.$t("main_layout.faq_rust"):null},landingGame(){const e=W(this.$route.params.game,ne);return e==="dota2"?z:e==="rust"?K:F},isCsgoLanding(){return this.landingGame===F},isDota2Landing(){return this.landingGame===z},isRustLanding(){return this.landingGame===K}},watch:{isUserLogged:{handler(e){e&&!this.previousRoute&&!this.$route.hash&&this.$router.push(this.$localePath({name:V}))}}},mounted(){this.SAVE_GAME_MUTATIONS(this.getGameName({isConstant:!0}))},methods:{...Z(["OPEN_MODAL_MUTATION","SAVE_GAME_MUTATIONS"]),getGameName({isConstant:e=!1,isExtendedName:i=!1,isFullName:m=!1}={}){const g=W(this.$route.params.game,"index")||"csgo";return e?g:he(g,i?"extended":m?"full":"capitalize")}},MAIN_PAGE:ne,STEAM_TRADE_OFFERS_PAGE_URL:fe,ACTIVE_EVENT_THEME:Je,CSGO:F},"$yBPFiMnrYr"),qn=zn,Kn={class:"main-page"};function Yn(e,i,m,g,v,p){const n=r("header-section-main-page"),_=r("rate-inventory-section-main-page"),h=r("best-offers-section-main-page"),d=r("video-section-main-page"),y=r("reviews-section-main-page"),w=r("partner-section-main-page"),M=r("tutorial-section-main-page"),R=r("extension-section-main-page"),N=r("live-type-section"),G=r("page-seo"),B=r("scroll-top-button");return a(),s("div",Kn,[l(n,{id:"header",game:e.landingGame},null,8,["game"]),l(_,{id:"rate-inventory"}),l(h,{id:"best-offers",game:e.$options.CSGO},null,8,["game"]),l(d,{id:"video"}),l(y,{id:"reviews"}),l(w,{id:"partners"}),l(M,{id:"tutorial"}),e.isMobileDevice?c("",!0):(a(),$(R,{key:0,id:"extension"})),l(N,{id:"live-type"}),(a(),$(G,{key:`seo-block-${e.locale}`,class:"main-page__seo-block","seo-key":e.seoKey,"faq-title":e.faqTitle},null,8,["seo-key","faq-title"])),e.isMobileDevice?(a(),$(B,{key:1,"bottom-position":150})):c("",!0)])}var To=f(qn,[["render",Yn],["__scopeId","data-v-126713dc"]]);export{To as default};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.