1 2!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="b9577e07-2b4f-541f-bdaa-490b44e8bf39")}catch(e){}}(); 3(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6954],{63:(e,t,n)=>{"use strict";n.d(t,{H8:()=>d,Hg:()=>l,If:()=>s,Oo:()=>u,hl:()=>c,s6:()=>p});var o=n(55745),i=n.n(o),r=n(24283),a=n(58535);let s=(e,t)=>e.getFormat(t)?.["code-block"]!=null,l=(e,t)=>((0,r.V)(e)||a.v.warn("quillDelta ã QuillObject ã®å½¢å¼ã§ã¯ããã¾ãã",{meta:t,value:e}),e),d=e=>{let t=e.length();return 0===t||1===t&&e.ops[0]?.insert==="\n"},c=["c","csharp","css","c++","go","html","java","javascript","json","perl","php","python","ruby","sql","typescript","xhtml","xml"],m=/https?:\/\/[-_.!~*'()\wã-ãã¡-ã³ä¸-é¾¥;/?:@&=+$,%#]+[\wã-ãã¡-ã³ä¸-é¾¥/]+/g,u=(e,t)=>{let n=new(i()),o=0;for(let t of e.matchAll(m)){let i=t[0];t.index>o&&n.insert(e.slice(o,t.index)),n.insert(i,{link:i}),o=t.index+i.length}return n.insert(`${e.slice(o)} 4`).insert(p(t)).insert("\n")},p=e=>({mention:{id:e.id.toString(),value:e.name,index:"0",denotationChar:"#"}})},9662:(e,t,n)=>{"use strict";var o=n(3396);t.A=void 0;var i=o(n(18969)),r=n(2183);t.A=(0,i.default)((0,r.jsx)("path",{d:"M6 2c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8.83c0-.53-.21-1.04-.59-1.41l-4.83-4.83c-.37-.38-.88-.59-1.41-.59zm7 6V3.5L18.5 9H14c-.55 0-1-.45-1-1"}),"InsertDriveFileRounded")},14003:(e,t)=>{"use strict";t.bn=t.D$=t.xe=void 0,t.xe={AllUser:0,GuestUser:1,GroupUser:2},t.D$={AllUser:1,GroupUser:4},t.bn={AllUser:0,GuestUser:1,GroupUser:2}},14298:(e,t,n)=>{"use strict";n.d(t,{ES:()=>m,Pz:()=>p,RZ:()=>s,YT:()=>l,oc:()=>u});var o=n(55745),i=n.n(o),r=n(816),a=n(63);let s=(e,t)=>encodeURIComponent(JSON.stringify({postId:e,recommendedHashtags:t.recommendedHashtags})),l="â -â¿ã-ã¿ãã·-ãºï¼-ï¼ï¼-ï¼ ï¼»-ï½ï½-ï½ï¼-ï¼",d=RegExp(`#[${r.default.ALLOWED_MENTION_CHARS}${l}]+`,"g"),c=/https?:\/\/[^\s]+/g,m=e=>{let t=[],n=0;for(let o of e.ops)if(void 0!==o.insert){if("string"!=typeof o.insert){n+=1;continue}if(!o.attributes?.link){let e=[...o.insert.matchAll(c)].map(e=>({start:e.index??0,end:(e.index??0)+e[0].length}));for(let i of o.insert.matchAll(d)){let o=i.index??0,r=o+i[0].length;if(e.some(e=>o>=e.start&&r<=e.end))continue;let a=i[0].slice(1);a.length>255||t.push({index:n+o,length:i[0].length,value:a})}}n+=o.insert.length}return t},u=(e,t)=>{if(!t)return e;let n=t.index,o=t.index+t.length;return e.filter(e=>{let t=e.index,i=e.index+e.length;return o<t||i<n})},p=(e,t)=>{let n=new(i()),o=0;for(let i of[...e].sort((e,t)=>e.index-t.index)){let e=t.get(i.value);void 0!==e&&(n.retain(i.index-o),n.delete(i.length),n.insert((0,a.s6)({id:e,name:i.value})),o=i.index+i.length)}return n}},24283:(e,t)=>{"use strict";t.V=function(e){if("object"!=typeof e||null===e)return!1;let t=e.ops;return Array.isArray(t)&&t.every(e=>"object"==typeof e&&null!==e)}},33433:(e,t,n)=>{"use strict";var o;t.lZ=t.Kz=void 0;let i=n(44676),r=(o=n(70576))&&o.__esModule?o:{default:o},a=/^(.*view\/post\/[0-9]*\/([0-9]+))\/?(.*)$/;t.Kz=(e,t)=>e.replace(a,(e,n,o,i)=>{let r=i.match(/#|\?/)?.[0],a=r&&i.split(r)[1];return`${n.replace(/\/$/,"")}/${t}${a?`${r??""}${a}`:""}`}),t.lZ=e=>{switch(e.bodyType){case i.BodyType.PlainText:return e.plainTextBody??"";case i.BodyType.QuillDelta:if(!e.quillDeltaBody)return"";return new r.default(e.quillDeltaBody).getText()}}},33612:(e,t,n)=>{"use strict";n.d(t,{I:()=>a,i:()=>s});var o=n(17037),i=n(27802),r=n(14003);let a=(e,t)=>{let n=t.groupIdsWithNotSelectable,r=t.roleId>=i.RoleId.AdminGuest;return e.filter(e=>{let t=e.postPermission;return!!(!t||t.includes(o.SpecialBrandGroupId.All))||(r&&n.push(o.SpecialBrandGroupId.Admin),t.some(e=>n.includes(e)))})},s={[r.xe.AllUser]:"Box audience",[r.xe.GuestUser]:"Guest user",[r.xe.GroupUser]:"Specific groups"}},38301:(e,t,n)=>{"use strict";n.d(t,{XW:()=>g,nh:()=>h,uV:()=>u});var o=n(36439),i=n(41471),r=n(82239),a=n(44676),s=n(33433),l=n(49151),d=n(87512),c=n(16737),m=n(42392);let u=()=>{let e=(0,l.q)(),t=(0,i.useDispatch)(),n=(0,i.useSelector)(e=>(0,r.BrandId)(e.app.brand.id));return(0,o.useCallback)(async o=>{let i=await p(o,e);return t((0,d.YC)({boxId:o.box.boxId,boxType:o.box.boxType,postId:i.id,data:g(n,o,i)})),i},[e,n,t])},p=async(e,t)=>{switch(e.bodyType){case a.BodyType.PlainText:if(void 0===e.plainTextBody)throw Error("plainTextBody is required");break;case a.BodyType.QuillDelta:if(void 0===e.quillDeltaBody)throw Error("quillDeltaBody is required")}let n=new FormData;return h(e,n),(await t.post("/v2/posts",n)).data},h=(e,t)=>{e.box&&(t.append("box[boxId]",e.box.boxId),t.append("box[categoryIndex]",e.box.categoryIndex.toString())),e.released||t.append("released","fal
4se"),e.title&&t.append("title",e.title),e.plainTextBody?t.append("plainTextBody",e.plainTextBody):e.quillDeltaBody&&t.append("quillDeltaBody",JSON.stringify(e.quillDeltaBody)),c.BC(t,e.files),void 0!==e.releasedAt&&t.append("releasedAt",e.releasedAt.toISOString()),void 0!==e.target&&(t.append("target[type]",e.target.type.toString()),e.target.groupIds.forEach((e,n)=>{t.append(`target[groupIds][${n}]`,e.toString())})),void 0!==e.enquete&&e.enquete.options.forEach((e,n)=>{t.append(`enquete[options][${n}]`,e)}),void 0!==e.eventId&&t.append("eventId",e.eventId.toString()),e.isSendNotification&&t.append("isSendNotification","true"),e.isSendTwitter&&t.append("isSendTwitter","true"),e.isSendNotificationForEventAttendance&&t.append("isSendNotificationForEventAttendance","true"),void 0!==e.suggestions&&e.suggestions.forEach((e,n)=>{t.append(`suggestions[${n}][text]`,e.text),t.append(`suggestions[${n}][textGeneratorType]`,e.textGeneratorType),t.append(`suggestions[${n}][languageModel]`,e.languageModel),t.append(`suggestions[${n}][processorName]`,e.processorName)})},g=(e,t,n)=>({id:n.id,brandId:e,boxId:t.box.boxId,boxType:t.box.boxType,posterId:n.poster.id,released:n.released,categoryIndex:t.box.categoryIndex,title:n.beginning,postTitle:n.title??"",body:(0,s.lZ)(n),images:f(n.embeddedImages),richTextImages:f(n.attachedImages),videos:y(n.videos),documents:x(n.documents),isTweet:t.isSendTwitter??!1,firstPostLabelVisible:!1,isRichText:n.bodyType===a.BodyType.QuillDelta,quillDelta:t.quillDeltaBody??null,like:n.like.count,comment:n.comment.count,goodAnswer:n.goodAnswer.count,viewableType:n.viewableType??m.g.Public,lastEditedAt:n.lastEditedAt,releaseScheduleDate:n.released?null:n.releasedAt,isNotificationPushed:t.isSendNotification??!1,releasedAt:n.released?n.releasedAt:null,isDeleted:!1,createdAt:n.createdAt,commentsSummary:{totalCounts:n.comment.count,uniqueUserCounts:n.comment.commenterCount,commentedByMe:n.comment.commentedByMe,goodAnswerToMe:n.goodAnswer.goodAnsweredToMe,displayUsers:n.comment.earlyUsers.map(e=>({id:e.id,accountName:e.accountName,nickname:e.name,iconPath:e.iconPath})),latestCommentDate:n.comment.lastCommentedAt??void 0},name:n.poster.name,iconPath:n.poster.iconPath,accountName:n.poster.accountName,isAdmin:n.poster.isAdmin,customReaction:n.customReactions.map(e=>({reactedByMe:e.reactedByMe,customReactionSerialNumber:e.serialNumber,count:e.count})),customReactionSummary:{latestReactionUserName:n.reactionSummary?.lastReactionUser.name??"",reactedByMultipleUsers:n.customReactions.length>1},Enquete:n.enquete&&{options:n.enquete.answers.map(e=>e.option)},latestComment:n.comment.topComment?{id:n.comment.topComment.id,name:n.comment.topComment.commenter.name,accountName:n.comment.topComment.commenter.accountName,brandId:e,postId:n.id,parentCommentId:n.comment.topComment.parentCommentId??0,commenterId:n.comment.topComment.commenter.id,body:n.comment.topComment.plainTextBody,like:0,lastEditedAt:n.comment.topComment.lastEditedAt,images:f(n.comment.topComment.images),videos:y(n.comment.topComment.videos),documents:x(n.comment.topComment.documents),isAdmin:n.comment.topComment.commenter.isAdmin,iconPath:n.comment.topComment.commenter.iconPath,isGoodAnswer:!1,viewableType:n.comment.topComment.viewableType??0,customReaction:[],createdAt:n.comment.topComment.createdAt,isResigned:+!!n.comment.topComment.commenter.isResigned,CommentLikes:[]}:void 0,PostLikes:n.like.likedByMe?[{upOrDown:!0}]:[],isResigned:+!!n.poster.isResigned,defaultImage:n.box.masonry?.defaultImage??void 0,targetUserType:n.target.type,targetGroupIds:"groups"in n.target?n.target.groups.map(e=>e.id):[],targetGroupNames:"groups"in n.target?n.target.groups.map(e=>e.name):[],bookmarkCount:0,slug:n.slug,boxHeader:n.box.name,categoryIndexText:n.box.category.name,isBookmarked:n.bookmark.bookmarkedByMe}),f=e=>e,y=e=>e.map(e=>({thumbnail:e.thumbnail,video:e.video,origin:{thumbnail:"",video:""}})),x=e=>e.map(e=>({url:e.url,originalname:e.name}))},38356:(e,t,n)=>{var o=n(11158),i=0;e.exports=function(e){var t=++i;return o(e)+t}},42392:(e,t)=>{"use strict";t.g=void 0,t.g={Public:0,Restricted:1}},44676:(e,t)=>{"use strict";
4Object.defineProperty(t,"__esModule",{value:!0}),t.PostErrorCodes=t.BodyType=t.PostReleasedFilter=t.GoodAnswerStatus=t.PostSortBy=t.CustomReactionSerialNumber=void 0,t.CustomReactionSerialNumber=e=>e,t.PostSortBy={PostDisplayOrderDesc:0,CommentDisplayOrderDesc:1,CommentCountDesc:2,PostLikeCountDesc:3,PostAccessCountDesc:4,ReleasedAtAsc:5,ReleasedAtDesc:6,IdAsc:7,IdDesc:8,PostLikeCountAsc:9,CommentCountAsc:10,BookmarkCountAsc:13,BookmarkCountDesc:14},t.GoodAnswerStatus={All:0,ZeroGoodAnswer:1,OneMoreAnswer:2,ZeroAnswer:3},t.PostReleasedFilter={All:"all",Released:"released",Draft:"draft",Scheduled:"scheduled"},t.BodyType={PlainText:1,QuillDelta:2},t.PostErrorCodes={E_NOT_ALLOWED:"POST_E_NOT_ALLOWED",E_INCLUDE_PHISHING_URL:"POST_E_INCLUDE_PHISHING_URL",E_NULL_REQUIRED_FIELD:"POST_E_NULL_REQUIRED_FIELD",E_VALIDATION_ERROR:"POST_E_VALIDATION_ERROR",E_CONTENT_TOO_LONG:"POST_E_CONTENT_TOO_LONG",E_NOT_FOUND:"POST_E_NOT_FOUND"}},60138:e=>{var t=["direction","boxSizing","width","height","overflowX","overflowY","borderTopWidth","borderRightWidth","borderBottomWidth","borderLeftWidth","borderStyle","paddingTop","paddingRight","paddingBottom","paddingLeft","fontStyle","fontVariant","fontWeight","fontStretch","fontSize","fontSizeAdjust","lineHeight","fontFamily","textAlign","textTransform","textIndent","textDecoration","letterSpacing","wordSpacing","tabSize","MozTabSize"],n="u">typeof window,o=n&&null!=window.mozInnerScreenX;function i(e,i,r){if(!n)throw Error("textarea-caret-position#getCaretCoordinates should only be called in a browser");var a=r&&r.debug||!1;if(a){var s=document.querySelector("#input-textarea-caret-position-mirror-div");s&&s.parentNode.removeChild(s)}var l=document.createElement("div");l.id="input-textarea-caret-position-mirror-div",document.body.appendChild(l);var d=l.style,c=window.getComputedStyle?window.getComputedStyle(e):e.currentStyle,m="INPUT"===e.nodeName;d.whiteSpace="pre-wrap",m||(d.wordWrap="break-word"),d.position="absolute",a||(d.visibility="hidden"),t.forEach(function(e){m&&"lineHeight"===e?d.lineHeight=c.height:d[e]=c[e]}),o?e.scrollHeight>parseInt(c.height)&&(d.overflowY="scroll"):d.overflow="hidden",l.textContent=e.value.substring(0,i),m&&(l.textContent=l.textContent.replace(/\s/g,"\xa0"));var u=document.createElement("span");u.textContent=e.value.substring(i)||".",l.appendChild(u);var p={top:u.offsetTop+parseInt(c.borderTopWidth),left:u.offsetLeft+parseInt(c.borderLeftWidth),height:parseInt(c.lineHeight)};return a?u.style.backgroundColor="#aaa":document.body.removeChild(l),p}void 0!==e.exports?e.exports=i:n&&(window.getCaretCoordinates=i)},64933:(e,t,n)=>{"use strict";n.d(t,{q:()=>r});var o=n(49151),i=n(36439);let r=()=>{let e=(0,o.q)();return(0,i.useCallback)(async t=>(await e.get(`/posts/${t}/recommended_hashtags`)).data,[e])}},67611:(e,t,n)=>{"use strict";n.d(t,{T:()=>m});var o=n(45023),i=n(25008),r=n.n(i),a=n(27570),s=n(68193),l=n(85121),d=n(78201);let c=(0,d.n9)()({chipContainer:{display:"inline-grid",maxWidth:"inherit"},chip:{display:"inline-flex",borderRadius:`${a.TI[3]}`,padding:`${a.Kz[3]} ${a.Kz[5]}`,border:`1px solid ${a.Q1.user.border.default}`,background:`${a.Q1.user.background.white}`,cursor:"pointer",textAlign:"left",verticalAlign:"middle",fontSize:`${a.Z4[300]}`,margin:`0 ${a.Kz[5]} ${a.Kz[5]} 0`,maxWidth:"206px","&:hover":{color:`${a.Q1.user.foreground.textGray}`}},hash:{color:`${a.Q1.user.foreground.hashGray}`}});function m(e){let{name:t,onClick:n}=e,{classes:i}=c();return(0,o.Y)(d.az,{className:i.chipContainer,children:(0,o.Y)(d.az,{onClick:n,className:r()(i.chip,l.B_),"data-cy":"hashtag-chip",children:(0,o.FD)(s.m,{children:[(0,o.Y)("span",{className:i.hash,children:"#"}),t]})})})}},68193:(e,t,n)=>{"use strict";n.d(t,{m:()=>i});var o=n(45023);function i({children:e}){return(0,o.Y)("div",{css:r,children:e})}n(36439);let r=(0,n(30915).AH)("text-overflow:ellipsis;white-space:nowrap;overflow:hidden;width:100%;")},70576:(e,t,n)=>{"use strict";var o;Object.defineProperty(t,"__esModule",{value:!0}),t.isYoutubePreview=t.isImageLink=t.isLink=t.isVideo=t.isImage=t.isSilentMention=t.isMention=t.isString=void 0;let i=(o=n(42282))&&o.__esModule?o:{default:o},r=n(31700),a=n(94689);t.isString=e=>"string"==typeof e.insert,t.isMention=e=>"object"==typeof e.insert&&(0,i.default)(e.insert,"mention"),t.isSilentMention=e=>(0,t.isMention)(e)&&e.insert.mention.denotationChar===r.DenotationChar.silentMentionSign,t.isImage=e=>"object"==typeof e.insert&&(0,i.default)(e.insert,"image"),t.isVideo=e=>"object"==typeof e.insert&&(0,i.default)(e.insert,"video"),t.isLink=e=>"string"==typeof e.insert&&"object"==typeof e.attributes&&(0,i.default)(e.attributes,"link"),t.isImageLink=e=>"object"==typeof e.insert&&"object"==typeof e.attributes&&(0,i.default)(e.attributes,"link"),t.isYoutubePreview=e=>"object"==typeof e.insert&&(0,i.default)(e.insert,"youtube-preview");class s{constructor(e){this.delta=e}getText(){return this.delta.ops.filter(e=>(0,t.isString)(e)||(0,t.isMention)(e)).map(e=>{if((0,t.isString)(e))return e.insert;if((0,t.isMention)(e)){let t=e.insert.mention;return t.denotationChar+t.value}return""}).join("")}getImages(){return this.delta.ops.filter(t.isImage).map(e=>e.insert.image)}hasYoutubePreview(){return this.delta.ops.some(e=>(0,t.isYoutubePreview)(e))}containsBase64(){return this.delta.ops.filter(t.isImage).some(e=>e.insert.image.startsWith("data:"))}getLengthByBytes(){return(0,a.countByBytes)(this.getText())}}t.default=s},72763:(e,t,n)=>{"use strict";n.d(t,{z:()=>m});var o=n(45023),i=n(51949),r=n.n(i),a=n(36439),s=n(47727),l=n(22668),d=n(92270),c=n(73882);function m({content:e,recommendContent:t,handleClickLogo:n,maxWidth:i}){let u=(0,d.K)(),p=a.useRef(null);return(0,o.FD)(a.Fragment,{children:[(0,o.Y)("div",{className:r().dynamic([["63977e5e7da70881",[l.A.MAX_PC_WIDTH]],["b69779d4d0f1bf88",[u,i||688]]])+" one-column-container",children:(0,o.FD)(s.D,{handleClickLogo:n,children:[(0,o.Y)("main",{ref:p,"data-cy":"main-content",className:r().dynamic([["63977e5e7da70881",[l.A.MAX_PC_WIDTH]],["b69779d4d0f1bf88",[u,i||688]]]),children:(0,o.Y)(c._.Provider,{value:p,children:e})}),t]})}),(0,o.Y)(r(),{id:"b69779d4d0f1bf88",dynamic:[u,i||688],children:`.one-column-container.__jsx-style-dynamic-selector{display:flex;flex-direction:column;min-height:100vh - ${u}px}main.__jsx-style-dynamic-selector{flex:1;max-width:${i||688}px;margin:0 auto;width:100%;overflow:visible}`}),(0,o.Y)(r(),{id:"63977e5e7da70881",dynamic:[l.A.MAX_PC_WIDTH],children:`.main-layout{max-width:${l.A.MAX_PC_WIDTH}px;margin:0 auto;width:100%}`})]})}},73882:(e,t,n)=>{"use strict";n.d(t,{J:()=>d,_:()=>l});var o=n(45023),i=n(90524),r=n(40803),a=n(36439),s=n(30915);let l=(0,a.createContext)(null),d=({reactors:e,children:t})=>{let[n,i]=(0,a.useState)(!1),[s,d]=(0,a.useState)(null),u=(0,a.useContext)(l);(0,a.useEffect)(()=>{d(u?.current??null)},[u?.current]);let p=e.length>1?"rich":"plain",h=e.length>50,g=n?e:e.slice(0,50);return(0,o.Y)(r._,{variant:p,collisionBoundary:s,side:"rich"===p?"right":"top",align:"rich"===p?"start":"center",alignOffset:60,sideOffset:0,collisionPadding:{top:32,bottom:32},supportingText:g.length?(0,o.FD)("div",{css:m,children:[g.join(", "),h&&!n&&(0,o.Y)(c,{onClick:()=>i(!n)})]}):void 0,children:t})},c=({onClick:e})=>{let{t}=(0,i.B)(["components/organisms/directmessage/components"]);return(0,o.FD)("button",{css:u,onClick:e,children:["...",t("Show more")]})},m=(0,s.AH)({wordBreak:"keep-all"}),u=(0,s.AH)({cursor:"pointer"})}
4,79488:(e,t,n)=>{"use strict";n.d(t,{N:()=>d});var o=n(36439),i=n(41471),r=n(82239),a=n(49151),s=n(38301),l=n(87512);let d=()=>{let e=(0,a.q)(),t=(0,i.useDispatch)(),n=(0,i.useSelector)(e=>(0,r.BrandId)(e.app.brand.id));return(0,o.useCallback)(async(o,i)=>{let r=await c(o,i,e);return t((0,l.YC)({boxId:i.box.boxId,boxType:i.box.boxType,postId:r.id,data:(0,s.XW)(n,i,r)})),r},[e,n,t])},c=async(e,t,n)=>{let o=new FormData;return(0,s.nh)(t,o),void 0!==t.viewableType&&o.append("viewableType",t.viewableType.toString()),(await n.put(`/v2/posts/${e}`,o)).data}},89597:(e,t,n)=>{"use strict";n.d(t,{m:()=>u});var o=n(45023),i=n(51949),r=n.n(i),a=n(36439),s=n(28317),l=n(816),d=n(78201);function c(e){return(0,o.FD)(o.FK,{children:[(0,o.FD)(d.xA,{container:!0,spacing:2,className:"align-items-center",children:[(0,o.Y)(d.xA,{item:!0,xs:1,children:(0,o.Y)(d.o5,{children:e.label||""})}),(0,o.Y)(d.xA,{item:!0,xs:10,children:(0,o.Y)(d.xM,{value:e.option||"",onChange:t=>{t.target.value.length>e.maxLength||e.onChange(t.target.value)},margin:"dense",size:"small",fullWidth:!0,readOnly:e.readOnly,inputProps:{"data-cy":"enquete-option"}})})]}),(0,o.Y)(d.xA,{container:!0,justifyContent:"flex-end",direction:"row",children:(0,o.Y)(d.xA,{item:!0,xs:3,className:"text-center",children:(0,o.FD)(d.o5,{children:[e.option?.length||0," / ",e.maxLength]})})})]})}class m extends a.Component{render(){let{options:e,onChange:t,enqueteAnswers:n,t:i}=this.props;return(0,o.FD)(o.FK,{children:[(0,o.FD)("div",{className:"jsx-fd8fe8725641271f ml-4 mr-4 mb-4",children:[(0,o.Y)("h2",{className:"jsx-fd8fe8725641271f enquete-title",children:i("Poll")}),(0,o.Y)(d.o5,{variant:"body2",children:i("Questions can be edited only if no one has answered yet. Once answered, editing is no longer possible.")})]}),(0,o.Y)("div",{className:"jsx-fd8fe8725641271f mx-5",children:[,,,,].fill(0).map((i,r)=>(0,o.Y)("div",{className:"jsx-fd8fe8725641271f my-3",children:(0,o.Y)(c,{label:`${r+1}.`,option:e[r],maxLength:l.default.ENQUETE_OPTION_MAX_LENGTH,onChange:e=>t(e,r),readOnly:void 0!==n.currentUserAnswer||!!n.total&&!!(n.total>0)})},r))}),(0,o.Y)(r(),{id:"fd8fe8725641271f",children:".enquete-title.jsx-fd8fe8725641271f{font-size:14px;font-weight:bold;margin-bottom:.5em}"})]})}}let u=(0,s.C)(["components/organisms/editpost"])(m)},89964:(e,t,n)=>{"use strict";n.d(t,{Y:()=>u});var o=n(45023),i=n(36439),r=n(81882),a=n(90524),s=n(66337),l=n(67611),d=n(70442),c=n(78201);let m=(0,c.n9)()({header:{color:s.A.ANNOTATION_TEXT,fontSize:"0.8rem"},container:{paddingTop:"0.6rem"}});function u({boxId:e,categoryIndex:t,onClick:n}){let{t:s}=(0,a.B)(["components/organisms"]),{data:p}=(0,d.s3)(`/hashtag/popular?${r.stringify({boxId:e,categoryIndex:t})}`),{classes:h}=m();return(0,o.FD)(i.Fragment,{children:[(0,o.Y)(c.az,{className:h.header,children:s("Create a new hashtag with â#â and mention other users with â@usernameâ.")}),(0,o.Y)(c.az,{className:h.container,children:p?.map((e,t)=>(0,o.Y)(l.T,{name:e.name,onClick:n(e)},t))})]})}},94689:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.truncate=t.countByBytes=t.extractAfterFirstSentence=t.transformNewlinesCharacterToWhiteSpace=t.extractFirstSentence=t.isBlank=t.omitText=void 0;let o=n(19471);t.omitText=(e,t,n)=>{let i=(0,o.truncateByCodePoint)(e,t);return i===e?e:i+n},t.isBlank=e=>!e.trim().length,t.extractFirstSentence=(e,t)=>{let n=e.split(/\r\n|\r|\n/).find(Boolean)??"";return(0,o.truncateByCodeUnit)(n,t)},t.transformNewlinesCharacterToWhiteSpace=e=>e?e.replace(/(\r\n|\n|\r)/gm," "):e,t.extractAfterFirstSentence=e=>(0,t.transformNewlinesCharacterToWhiteSpace)(e).split(" ").slice(1).join(" "),t.countByBytes=e=>{let t=RegExp(/[ -~]/,"g"),n=(e.match(t)||[]).length,o=e.length-n;return n+2*o},t.truncate=(e,t=20)=>e.length>t?e.slice(0,t)+".".repeat(3):e}}]); 5//# sourceMappingURL=6954-2ab88cfcd0e43a2a.js.map 6//# debugId=b9577e07-2b4f-541f-bdaa-490b44e8bf39
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.