iBet uBet web content aggregator. Adding the entire web to your favor.
iBet uBet web content aggregator. Adding the entire web to your favor.



Link to original content: http://retty.me/_nuxt/DetailPage-BRN_4yXx.js
import{V as f,E as k,O as p,Q as _,n as F}from"./client-BmVmnFEC.js";import{P as S}from"./PvLogger-Bfc8O67g.js";import{B as C}from"./BreadcrumbList-Cf2DORjw.js";import{U as h}from"./UserSideBar-CjQ15B-c.js";import{m as E}from"./makeOriginalListDetailHead-lihYY9FI.js";import{V as A,g as y}from"./makeGtmScript-B8HLg2s0.js";import{_ as P}from"./ic_apple_store-DnJ43X2Y.js";import{_ as N}from"./ic_google_play-BNR1qMWo.js";import"./AnchorLink-BNOXPdVn.js";import"./constants-2oqeuneD.js";var l={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"OriginalListDetailPagePcFragment"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Query"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"entity"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"currentUser"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"url"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isRealName"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"followingCount"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"followerCount"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"reportCount"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"goneCount"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"wannagoCount"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"currentReservationCount"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"topUserProfile"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"isPro"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"notifications"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"html"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"link"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"iconUrl"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"createdAt"},arguments:[],directives:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"loginSession"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"session"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"userId"},arguments:[],directives:[]}]}}]}}]}}]}},{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"OriginalListDetailPagePc"},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"OriginalListDetailPagePcFragment"},directives:[]}]}}],loc:{start:0,end:538}};l.loc.source={body:`fragment OriginalListDetailPagePcFragment on Query { entity { currentUser { id url name isRealName followingCount followerCount reportCount goneCount wannagoCount currentReservationCount topUserProfile { isPro } notifications { html link iconUrl createdAt } } loginSession { session { userId } } } } query OriginalListDetailPagePc { ...OriginalListDetailPagePcFragment } `,name:"GraphQL request",locationOffset:{line:1,column:1}};function d(n,i){if(n.kind==="FragmentSpread")i.add(n.name.value);else if(n.kind==="VariableDefinition"){var e=n.type;e.kind==="NamedType"&&i.add(e.name.value)}n.selectionSet&&n.selectionSet.selections.forEach(function(t){d(t,i)}),n.variableDefinitions&&n.variableDefinitions.forEach(function(t){d(t,i)}),n.definitions&&n.definitions.forEach(function(t){d(t,i)})}var c={};(function(){l.definitions.forEach(function(i){if(i.name){var e=new Set;d(i,e),c[i.name.value]=e}})})();function m(n,i){for(var e=0;e0;){var r=s;s=new Set,r.forEach(function(a){if(!u.has(a)){u.add(a);var o=c[a]||new Set;o.forEach(function(g){s.add(g)})}})}return u.forEach(function(a){var o=m(n,a);o&&e.definitions.push(o)}),e}v(l,"OriginalListDetailPagePcFragment");v(l,"OriginalListDetailPagePc");const D=f.extend({components:{BreadcrumbList:C,UserSideBar:h},mixins:[S,A],layout:"pc/default",validate({params:n}){const i=/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/gi;return!!n.hash&&i.test(n.hash)},async asyncData({app:n,store:i,params:e,error:t,req:u}){var a;const s=await n.$urql.value.query(l,{}).toPromise();if(s.error)return t({statusCode:500,message:k.ON_FAILED_CONNECT_API_SERVER}),null;const{data:r}=s;return r?(i.dispatch("session/setSessionUserWithReservation",(a=r.entity)==null?void 0:a.currentUser),i.dispatch("breadcrumbs/setBreadcrumbs",[{url:"https://retty.me/",text:"Rettyグルメ"},{url:"https://retty.me/originallist/",text:"オリジナルリストとは?"},{url:`https://retty.me/originallist/${e.hash}`,text:"オリジナルリスト"}]),{pageEntity:r}):(t({statusCode:500,message:"server error"}),{pageEntity:r})},data(){return{pageEntity:{}}},head(){var e,t,u;const{params:n}=this.$route,i={userId:((u=(t=(e=this.pageEntity.entity)==null?void 0:e.loginSession)==null?void 0:t.session)==null?void 0:u.userId)||null,ruid:y(document.cookie,"_ruid")||null};return E({hash:n.hash},i)},computed:{AppleStoreLink(){return p},GooglePlayLink(){return _}}});var B=function(){var i=this,e=i._self._c;return i._self._setupProxy,e("div",[e("section",{staticClass:"breadcrumbs"},[e("breadcrumb-list")],1),e("div",{staticClass:"layout"},[e("div",{staticClass:"layout__side-bar"},[e("user-side-bar")],1),e("div",{staticClass:"layout__page"},[e("div",{staticClass:"original-list-content"},[e("h1",{staticClass:"original-list-content__title"},[i._v(" オリジナルリストはRettyアプリでのみご利用できます ")]),e("p",{staticClass:"original-list-content__description"},[i._v("このリストを閲覧するには、Rettyアプリのインストールが必要です。アプリをインストールして再度アクセスすると、アプリが開いてこのリストを見ることができます。")]),e("dl",{staticClass:"app-links"},[e("dt",{staticClass:"app-links__title"},[i._v("iOSアプリはこちら")]),e("dd",{staticClass:"app-links__item"},[e("anchor-link",{attrs:{to:i.AppleStoreLink}},[e("img",{attrs:{src:P,width:"133",height:"47",alt:"App Storeからダウンロード"}})])],1),e("dt",{staticClass:"app-links__title"},[i._v("Androidアプリはこちら")]),e("dd",{staticClass:"app-links__item"},[e("anchor-link",{attrs:{to:i.GooglePlayLink}},[e("img",{attrs:{src:N,width:"167",height:"50",alt:"Google Playで手に入れよう"}})])],1)])])])])])},b=[],L=F(D,B,b,!1,null,"1eeb2923");const Q=L.exports;export{Q as default};