1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4437],{1912:(e,r,t)=>{"use strict";t.d(r,{A:()=>j});var i=t(44501),n=t(40670),l=t(14232),o=t(69241),s=t(4697),a=t(53855),c=t(35268),d=t(77573),u=t(9739),h=t(57983),v=t(84711),g=t(20243),p=t(18952),f=t(4728),A=t(65882),x=t(47951),m=t(45879);function I(e){return(0,m.Ay)("MuiTextField",e)}(0,x.A)("MuiTextField",["root"]);var y=t(37876);let b=["autoComplete","autoFocus","children","className","color","defaultValue","disabled","error","FormHelperTextProps","fullWidth","helperText","id","InputLabelProps","inputProps","InputProps","inputRef","label","maxRows","minRows","multiline","name","onBlur","onChange","onFocus","placeholder","required","rows","select","SelectProps","type","value","variant"],P={standard:u.A,filled:h.A,outlined:v.A},w=(0,c.Ay)(p.A,{name:"MuiTextField",slot:"Root",overridesResolver:(e,r)=>r.root})({}),j=l.forwardRef(function(e,r){let t=(0,d.b)({props:e,name:"MuiTextField"}),{autoComplete:l,autoFocus:c=!1,children:u,className:h,color:v="primary",defaultValue:p,disabled:x=!1,error:m=!1,FormHelperTextProps:j,fullWidth:_=!1,helperText:C,id:R,InputLabelProps:F,inputProps:T,InputProps:L,inputRef:N,label:H,maxRows:M,minRows:Q,multiline:k=!1,name:E,onBlur:S,onChange:W,onFocus:B,placeholder:G,required:D=!1,rows:U,select:q=!1,SelectProps:O,type:V,value:X,variant:z="outlined"}=t,Z=(0,n.A)(t,b),J=(0,i.A)({},t,{autoFocus:c,color:v,disabled:x,error:m,fullWidth:_,multiline:k,required:D,select:q,variant:z}),K=(e=>{let{classes:r}=e;return(0,s.A)({root:["root"]},I,r)})(J),Y={};"outlined"===z&&(F&&void 0!==F.shrink&&(Y.notched=F.shrink),Y.label=H),q&&(O&&O.native||(Y.id=void 0),Y["aria-describedby"]=void 0);let $=(0,a.A)(R),ee=C&&$?"".concat($,"-helper-text"):void 0,er=H&&$?"".concat($,"-label"):void 0,et=P[z],ei=(0,y.jsx)(et,(0,i.A)({"aria-describedby":ee,autoComplete:l,autoFocus:c,defaultValue:p,fullWidth:_,multiline:k,name:E,rows:U,maxRows:M,minRows:Q,type:V,value:X,id:$,inputRef:N,onBlur:S,onChange:W,onFocus:B,placeholder:G,inputProps:T},Y,L));return(0,y.jsxs)(w,(0,i.A)({className:(0,o.A)(K.root,h),disabled:x,error:m,fullWidth:_,ref:r,required:D,color:v,variant:z,ownerState:J},Z,{children:[null!=H&&""!==H&&(0,y.jsx)(g.A,(0,i.A)({htmlFor:$,id:er},F,{children:H})),q?(0,y.jsx)(A.A,(0,i.A)({"aria-describedby":ee,id:$,labelId:er,value:X,input:ei},O,{children:u})):ei,C&&(0,y.jsx)(f.A,(0,i.A)({id:ee},j,{children:C}))]}))})},3165:(e,r,t)=>{"use strict";t.r(r),t.d(r,{default:()=>y});var i=t(37876),n=t(38388),l=t(60595),o=t(48230),s=t.n(o),a=t(89099),c=t(14232),d=t(47013),u=t(84066),h=t(59133),v=t(79434),g=t(68179),p=t(22975),f=t(71813),A=t(1527),x=t(74244),m=t(25974),I=t(97829);let y=()=>{var e;let r=(0,a.useRouter)(),{loginUser:t}=(0,x.y)(),{data:o,loading:y,error:b}=(0,d.Zez)({fetchPolicy:"no-cache"}),P=null==o||null==(e=o.pointInfo)?void 0:e.point,[w,j]=(0,c.useState)(A.Ac.Guest),{entries:_}=(0,m.lr)();return((0,c.useEffect)(()=>{j((0,I.P)(_))},[_]),y)?(0,i.jsx)(g.A,{}):b?(0,i.jsx)(u.A,{}):(0,i.jsx)(f.A,{children:(0,i.jsxs)(n.A,{sx:{display:"flex",justifyContent:"center",flexDirection:"column"},children:[(0,i.jsx)(v.A,{variant:"pageTitle",align:"center",sx:{mt:2},children:"lastmessage"}),(0,i.jsxs)(v.A,{variant:"pageTitle",align:"center",sx:{mt:2},children:["éºè¨ä½æãã¼ã« ",w===A.Ac.Guest?(0,i.jsxs)(i.Fragment,{children:[A.vw[w],"å©ç¨ç»é²"]}):(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("br",{}),A.vw[w],"ã«æ¢ã«ç»é²æ¸ã¿ã§ãã"]})]}),(0,i.jsx)(h.A,{href:"/will/guest/introduction",sx:{bgcolor:"primary.contrastText",borderColor:"primary.main",color:"#459AC9",width:"192px",margin:"10pt auto 10pt auto",boxShadow:"0 2px 4px rgba(0, 0, 0, 0.5)","> p":{fontWeight:600}},children:"ã©ããªãµã¼ãã¹ï¼"}),void 0!==P&&w===A.Ac.Guest&&(P>=A.x2?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)(v.A,{variant:"subTitle",align:"center",sx:{my:2,fontWeight:600,mt:7},children:[null==t?void 0:t.name," ããã®ä¿æãã¤ã³ã"]}),(0,i.jsxs)(n.A,{sx:{display:"flex",flexDirection:"row",justifyContent:"center"},children:[(0,i.jsx)(s(),{href:"/setting/point-history",passHref:!0,children:(0,i.jsxs)(v.A,{variant:"emphasis",align:"center",sx:{my:2,color:"#52753F",borderBottom:"1px solid",marginRight:"41px"}
1,children:[null==P?void 0:P.toLocaleString(),"ãã¤ã³ã"]})}),(0,i.jsx)(h.A,{href:"/setting/buy-point?redirectUrl=".concat(r.asPath),sx:{width:"150px",height:"42px","> p":{fontWeight:600}},children:"ãã¤ã³ãè³¼å
¥"})]}),(0,i.jsxs)(l.A,{sx:{mb:4,p:2,bgcolor:"primary.light",display:"flex",justifyContent:"center",flexDirection:"column"},children:[(0,i.jsx)(v.A,{variant:"pageTitle",align:"center",sx:{my:2},children:"å©ç¨ç»é²ãã"}),(0,i.jsxs)(h.A,{onClick:()=>(function(e,t,i){if(void 0!==e&&e<t){sessionStorage.setItem("dynamicPoint",(t-e).toString()),alert("ãã¤ã³ããè¶³ãã¾ããã"),r.push("/setting/buy-point?redirectUrl=".concat(r.asPath));return}r.push("/will/entry/confirm?plan=".concat(i))})(P,A.x2,A.Ac.Basic),sx:{margin:"0 auto",width:"164px","> p":{fontWeight:600}},children:[A.x2.toLocaleString(),"pt ã§ç»é²"]})]})]}):(0,i.jsx)(p.A,{redirectUrl:"/will",dynamicPoint:A.x2,chargeType:"willbasic"}))]})})}},10049:(e,r,t)=>{"use strict";t.d(r,{Q:()=>i});let i={spouse:"é
å¶è
",child:"å",grandchild:"å«",parent:"親",grandparent:"ç¥ç¶æ¯",sibling:"å
å¼å§å¦¹",nephewNiece:"ç¥å§ª",other:"ãã®ä»ã®äºº"}},25609:(e,r,t)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/will/entry",function(){return t(3165)}])},38388:(e,r,t)=>{"use strict";t.d(r,{A:()=>c});var i=t(1061),n=t(78217),l=t(49834),o=t(9692);let s=(0,t(47951).A)("MuiBox",["root"]),a=(0,l.A)(),c=(0,i.A)({themeId:o.A,defaultTheme:a,defaultClassName:s.root,generateClassName:n.A.generate})},60595:(e,r,t)=>{"use strict";t.d(r,{A:()=>A});var i=t(44501),n=t(40670),l=t(14232),o=t(69241),s=t(4697),a=t(35268),c=t(77573),d=t(58582),u=t(47951),h=t(45879);function v(e){return(0,h.Ay)("MuiCard",e)}(0,u.A)("MuiCard",["root"]);var g=t(37876);let p=["className","raised"],f=(0,a.Ay)(d.A,{name:"MuiCard",slot:"Root",overridesResolver:(e,r)=>r.root})(()=>({overflow:"hidden"})),A=l.forwardRef(function(e,r){let t=(0,c.b)({props:e,name:"MuiCard"}),{className:l,raised:a=!1}=t,d=(0,n.A)(t,p),u=(0,i.A)({},t,{raised:a}),h=(e=>{let{classes:r}=e;return(0,s.A)({root:["root"]},v,r)})(u);return(0,g.jsx)(f,(0,i.A)({className:(0,o.A)(h.root,l),elevation:a?8:void 0,ref:r,ownerState:u},d))})},60621:function(e,r,t){var i;i=t(1167),t(66423),t(54531),e.exports=i.HmacSHA256},97829:(e,r,t)=>{"use strict";t.d(r,{F:()=>o,P:()=>l});var i=t(10049),n=t(1527);function l(e){return void 0===e?n.Ac.Guest:e.includes(n.Ac.RedLevel)?n.Ac.RedLevel:e.includes(n.Ac.Professional)?n.Ac.Professional:e.includes(n.Ac.WithPro)?n.Ac.WithPro:e.includes(n.Ac.Basic)?n.Ac.Basic:n.Ac.Guest}function o(e){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;function t(r,t){let n=e.find(e=>e._id===r);n&&(n.isLegalHeir=!0,n.legalInheritanceInverse=t,(n.category===i.Q.spouse||n.category===i.Q.child||n.category===i.Q.grandchild||n.category===i.Q.parent||n.category===i.Q.grandparent)&&(n.reservedPortionInverse=t))}function n(r,i,l){if(!r||r.length<=0)return;let o=r.filter(r=>"é£ãå(é¤åç¸çµãªã)"!==r.relationship&&(r.isAlive||function r(t,i){for(let n=0;n<e.length;n++)if(void 0===i||i>0){if("é£ãå(é¤åç¸çµãªã)"===e[n].relationship||e[n].parentId!==t)continue;if(e[n].isAlive||r(e[n]._id,i?i-1:i))return!0}return!1}(r._id,l?l-1:l))).length;i*=o>0?o:1;for(let o=0;o<r.length;o++)"é£ãå(é¤åç¸çµãªã)"!==r[o].relationship&&(r[o].isAlive?t(r[o]._id,i):(void 0===l||l>0)&&n(e.filter(e=>e.parentId===r[o]._id),i,l?l-1:l))}function l(t){let n,l,o=e.find(e=>e.category===i.Q.spouse&&e.isAlive);switch(o&&(o.isLegalHeir=!0),t){case 1:o?(o.legalInheritanceInverse=1,n=2,o.reservedPortionInverse=1,l=4):(n=1,l=2);break;case 2:o?(o.legalInheritanceInverse=.5,n=3,o.reservedPortionInverse=.5,l=6):(n=1,l=3);break;case 3:o?(o.legalInheritanceInverse=1/3,n=4,o.reservedPortionInverse=1,l=2):(n=1,l=1);break;default:o&&(o.legalInheritanceInverse=1,n=1,o.reservedPortionInverse=1,l=2)}e.forEach(e=>{e.isLegalHeir&&(e.legalInheritanceInverse&&e.legalInheritanceInverse>0&&(e.legalInheritanceInverse*=n,e.legalInheritance=Math.ceil(e.legalInheritanceInverse?r/e.legalInheritanceInverse:0)),e.reservedPortionInverse&&e.reservedPortionInverse>0&&(e.reservedPortionInverse*=l,e.reservedPortion=Math.ceil(e.reservedPortionInverse?r/e.reservedPortionInverse:0)))})}
1if(e.forEach(e=>{e.isLegalHeir=!1,e.legalInheritanceInverse=void 0,e.legalInheritance=0,e.reservedPortionInverse=void 0,e.reservedPortion=0}),n(e.filter(e=>e.category===i.Q.child),1,void 0),e.some(e=>e.isLegalHeir))return l(1),e;let o=e.filter(e=>e.category===i.Q.parent&&e.isAlive);if(o.length>0)o.forEach(e=>t(e._id,o.length));else{let r=e.filter(e=>e.category===i.Q.grandparent&&e.isAlive);r.forEach(e=>t(e._id,r.length))}return e.some(e=>e.isLegalHeir)?l(2):(n(e.filter(e=>e.category===i.Q.sibling),1,2),e.some(e=>e.isLegalHeir))?l(3):l(),e}}},e=>{e.O(0,[5618,8230,2316,445,5218,7845,3518,7805,2909,8476,7819,636,6593,8792],()=>e(e.s=25609)),_N_E=e.O()}]);
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.