1 /*
2  *  Make.org Core API
3  *  Copyright (C) 2021 Make.org
4  *
5  * This program is free software: you can redistribute it and/or modify
6  *  it under the terms of the GNU Affero General Public License as
7  *  published by the Free Software Foundation, either version 3 of the
8  *  License, or (at your option) any later version.
9  *
10  *  This program is distributed in the hope that it will be useful,
11  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
12  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13  *  GNU Affero General Public License for more details.
14  *
15  *  You should have received a copy of the GNU Affero General Public License
16  *  along with this program.  If not, see <https://www.gnu.org/licenses/>.
17  *
18  */
19 
20 package org.make.api.widget
21 
22 import akka.http.scaladsl.model.StatusCodes
23 import akka.http.scaladsl.server._
24 import cats.implicits._
25 import io.circe.Codec
26 import io.circe.generic.semiauto.deriveCodec
27 import io.swagger.annotations.{
28   Api,
29   ApiImplicitParam,
30   ApiImplicitParams,
31   ApiModelProperty,
32   ApiOperation,
33   ApiResponse,
34   ApiResponses,
35   Authorization,
36   AuthorizationScope
37 }
38 import org.make.api.operation.OperationServiceComponent
39 import org.make.api.question.QuestionServiceComponent
40 import org.make.api.technical.{`X-Total-Count`, MakeAuthenticationDirectives}
41 import org.make.api.technical.MakeDirectives.MakeDirectivesDependencies
42 import org.make.api.technical.directives.FutureDirectivesExtensions._
43 import org.make.api.user.UserServiceComponent
44 import org.make.core.{CirceFormatters, HttpCodes, Order, ParameterExtractors, ValidationError}
45 import org.make.core.auth.UserRights
46 import org.make.core.question.QuestionId
47 import org.make.core.reference.{Country, Language}
48 import org.make.core.sequence.SequenceKind
49 import org.make.core.technical.Pagination
50 import org.make.core.technical.ValidatedUtils.ValidatedNecWithUtils
51 import org.make.core.user.User
52 import org.make.core.Validation._
53 import org.make.core.widget.{SourceId, Widget, WidgetId}
54 import scalaoauth2.provider.AuthInfo
55 
56 import java.time.ZonedDateTime
57 import javax.ws.rs.Path
58 import scala.annotation.meta.field
59 
60 @Api(value = "Admin Widgets")
61 @Path(value = "/admin/widgets")
62 trait AdminWidgetApi extends Directives {
63 
64   @ApiOperation(
65     value = "list-widgets",
66     httpMethod = "GET",
67     code = HttpCodes.OK,
68     authorizations = Array(
69       new Authorization(
70         value = "MakeApi",
71         scopes = Array(new AuthorizationScope(scope = "admin", description = "BO Admin"))
72       )
73     )
74   )
75   @ApiImplicitParams(
76     value = Array(
77       new ApiImplicitParam(name = "sourceId", required = true, paramType = "query", dataType = "string"),
78       new ApiImplicitParam(
79         name = "_start",
80         paramType = "query",
81         dataType = "int",
82         allowableValues = "range[0, infinity]"
83       ),
84       new ApiImplicitParam(
85         name = "_end",
86         paramType = "query",
87         dataType = "int",
88         allowableValues = "range[0, infinity]"
89       ),
90       new ApiImplicitParam(
91         name = "_sort",
92         paramType = "query",
93         dataType = "string",
94         allowableValues = "version,country,createdAt"
95       ),
96       new ApiImplicitParam(
97         name = "_order",
98         paramType = "query",
99         dataType = "string",
100         allowableValues = Order.swaggerAllowableValues
101       )
102     )
103   )
104   @ApiResponses(
105     value = Array(new ApiResponse(code = HttpCodes.OK, message = "Ok", response = classOf[Array[AdminWidgetResponse]]))
106   )
107   @Path(value = "/")
108   def list: Route
109 
110   @ApiOperation(
111     value = "get-widget-by-id",
112     httpMethod = "GET",
113     code = HttpCodes.OK,
114     authorizations = Array(
115       new Authorization(
116         value = "MakeApi",
117         scopes = Array(new AuthorizationScope(scope = "admin", description = "BO Admin"))
118       )
119     )
120   )
121   @ApiImplicitParams(value = Array(new ApiImplicitParam(name = "id", paramType = "path", dataType = "string")))
122   @ApiResponses(
123     value = Array(new ApiResponse(code = HttpCodes.OK, message = "Ok", response = classOf[AdminWidgetResponse]))
124   )
125   @Path(value = "/{id}")
126   def getById: Route
127 
128   @ApiOperation(
129     value = "create-widget",
130     httpMethod = "POST",
131     code = HttpCodes.Created,
132     authorizations = Array(
133       new Authorization(
134         value = "MakeApi",
135         scopes = Array(new AuthorizationScope(scope = "admin", description = "BO Admin"))
136       )
137     )
138   )
139   @ApiImplicitParams(
140     value = Array(
141       new ApiImplicitParam(value = "body", paramType = "body", dataType = "org.make.api.widget.AdminWidgetRequest")
142     )
143   )
144   @ApiResponses(
145     value = Array(new ApiResponse(code = HttpCodes.Created, message = "Ok", response = classOf[AdminWidgetResponse]))
146   )
147   @Path(value = "/")
148   def create: Route
149 
150   def routes: Route = list ~ getById ~ create
151 
152 }
153 
154 trait AdminWidgetApiComponent {
155   def adminWidgetApi: AdminWidgetApi
156 }
157 
158 trait DefaultAdminWidgetApiComponent
159     extends AdminWidgetApiComponent
160     with MakeAuthenticationDirectives
161     with ParameterExtractors {
162 
163   self: MakeDirectivesDependencies
164     with QuestionServiceComponent
165     with OperationServiceComponent
166     with SourceServiceComponent
167     with UserServiceComponent
168     with WidgetServiceComponent =>
169 
170   override val adminWidgetApi: AdminWidgetApi = new AdminWidgetApi {
171 
172     private val id: PathMatcher1[WidgetId] = Segment.map(WidgetId.apply)
173 
174     override def list: Route = get {
175       path("admin" / "widgets") {
176         parameters(
177           "sourceId".as[SourceId],
178           "_start".as[Pagination.Offset].?,
179           "_end".as[Pagination.End].?,
180           "_sort".?,
181           "_order".as[Order].?
182         ) {
183           (
184             sourceId: SourceId,
185             offset: Option[Pagination.Offset],
186             end: Option[Pagination.End],
187             sort: Option[String],
188             order: Option[Order]
189           ) =>
190             makeOperation("AdminWidgetsList") { _ =>
191               makeOAuth2 { userAuth: AuthInfo[UserRights] =>
192                 requireAdminRole(userAuth.user) {
193                   (
194                     widgetService.count(sourceId).asDirective,
195                     widgetService.list(sourceId, offset, end, sort, order).asDirective
196                   ).tupled.apply {
197                     case (total, widgets) =>
198                       userService.getUsersByUserIds(widgets.map(_.author).distinct).asDirective { authors =>
199                         val authorsById = authors.toList.groupByNel(_.userId)
200                         complete(
201                           StatusCodes.OK,
202                           List(`X-Total-Count`(total.toString)),
203                           widgets.map(widget => AdminWidgetResponse(widget, authorsById.get(widget.author).map(_.head)))
204                         )
205                       }
206                   }
207                 }
208               }
209             }
210         }
211       }
212     }
213 
214     override def getById: Route = get {
215       path("admin" / "widgets" / id) { id =>
216         makeOperation("AdminWidgetsGetById") { _ =>
217           makeOAuth2 { userAuth: AuthInfo[UserRights] =>
218             requireAdminRole(userAuth.user) {
219               widgetService.get(id).asDirectiveOrNotFound { widget =>
220                 userService.getUser(widget.author).asDirectiveOrNotFound { author =>
221                   complete(AdminWidgetResponse(widget, Some(author)))
222                 }
223               }
224             }
225           }
226         }
227       }
228     }
229 
230     override def create: Route = post {
231       path("admin" / "widgets") {
232         makeOperation("AdminWidgetsCreate") { _ =>
233           makeOAuth2 { userAuth: AuthInfo[UserRights] =>
234             requireAdminRole(userAuth.user) {
235               decodeRequest {
236                 entity(as[AdminWidgetRequest]) { request: AdminWidgetRequest =>
237                   (
238                     sourceService
239                       .get(request.sourceId)
240                       .asDirectiveOrBadRequest(
241                         ValidationError(
242                           "sourceId",
243                           "not_found",
244                           Some(s"Source ${request.sourceId.value} doesn't exist")
245                         )
246                       ),
247                     questionService
248                       .getQuestion(request.questionId)
249                       .asDirectiveOrBadRequest(
250                         ValidationError(
251                           "questionId",
252                           "not_found",
253                           Some(s"Question ${request.questionId.value} doesn't exist")
254                         )
255                       )
256                   ).mapN((source, question) => {
257                       request.country
258                         .predicateValidated(
259                           country => question.countries.toList.contains(country),
260                           "country",
261                           "invalid_value",
262                           Some(s"Country ${request.country.value} is not one of question's countries")
263                         )
264                         .throwIfInvalid()
265                       (
266                         userService.getUser(userAuth.user.userId).asDirectiveOrNotFound,
267                         widgetService
268                           .create(
269                             source,
270                             question,
271                             request.country,
272                             request.language,
273                             request.sequenceKind,
274                             userAuth.user.userId
275                           )
276                           .asDirective
277                       ).mapN((author, widget) => AdminWidgetResponse(widget, Some(author)))
278                     })
279                     .flatten
280                     .apply(response => complete(StatusCodes.Created -> response))
281                 }
282               }
283             }
284           }
285         }
286       }
287     }
288   }
289 
290 }
291 
292 final case class AdminWidgetRequest(
293   @(ApiModelProperty @field)(dataType = "string", example = "11111111-2222-3333-4444-555555555555", required = true)
294   sourceId: SourceId,
295   @(ApiModelProperty @field)(dataType = "string", example = "11111111-2222-3333-4444-555555555555", required = true)
296   questionId: QuestionId,
297   @(ApiModelProperty @field)(dataType = "string", example = "FR", required = true)
298   country: Country,
299   @(ApiModelProperty @field)(dataType = "string", example = "fr", required = true)
300   language: Language,
301   @(ApiModelProperty @field)(
302     dataType = "string",
303     required = true,
304     allowableValues = SequenceKind.swaggerAllowableValues
305   )
306   sequenceKind: SequenceKind
307 )
308 
309 object AdminWidgetRequest {
310   implicit val codec: Codec[AdminWidgetRequest] = deriveCodec
311 }
312 
313 final case class AdminWidgetResponse(
314   @(ApiModelProperty @field)(dataType = "string", example = "11111111-2222-3333-4444-555555555555", required = true)
315   id: WidgetId,
316   @(ApiModelProperty @field)(dataType = "string", example = "11111111-2222-3333-4444-555555555555", required = true)
317   questionId: QuestionId,
318   @(ApiModelProperty @field)(dataType = "string", example = "FR", required = true)
319   country: Country,
320   @(ApiModelProperty @field)(dataType = "string", example = "fr", required = true)
321   language: Language,
322   script: String,
323   @(ApiModelProperty @field)(
324     dataType = "string",
325     required = true,
326     allowableValues = Widget.Version.swaggerAllowableValues
327   )
328   version: Widget.Version,
329   authorDisplayName: Option[String],
330   @(ApiModelProperty @field)(
331     dataType = "string",
332     required = true,
333     allowableValues = SequenceKind.swaggerAllowableValues
334   )
335   sequenceKind: SequenceKind,
336   createdAt: ZonedDateTime
337 )
338 
339 object AdminWidgetResponse extends CirceFormatters {
340 
341   def apply(widget: Widget, author: Option[User]): AdminWidgetResponse =
342     AdminWidgetResponse(
343       id = widget.id,
344       questionId = widget.questionId,
345       country = widget.country,
346       language = widget.language,
347       script = widget.script,
348       version = widget.version,
349       authorDisplayName = author.flatMap(_.displayName),
350       sequenceKind = widget.sequenceKind,
351       createdAt = widget.createdAt
352     )
353 
354   implicit val codec: Codec[AdminWidgetResponse] = deriveCodec
355 
356 }
Line Stmt Id Pos Tree Symbol Tests Code
150 51205 4771 - 4775 Select org.make.api.widget.AdminWidgetApi.list org.make.api.widget.adminwidgetapitest AdminWidgetApi.this.list
150 47537 4788 - 4794 Select org.make.api.widget.AdminWidgetApi.create org.make.api.widget.adminwidgetapitest AdminWidgetApi.this.create
150 43341 4778 - 4785 Select org.make.api.widget.AdminWidgetApi.getById org.make.api.widget.adminwidgetapitest AdminWidgetApi.this.getById
150 35215 4771 - 4785 Apply akka.http.scaladsl.server.RouteConcatenation.RouteWithConcatenation.~ org.make.api.widget.adminwidgetapitest AdminWidgetApi.this._enhanceRouteWithConcatenation(AdminWidgetApi.this.list).~(AdminWidgetApi.this.getById)
150 40717 4771 - 4794 Apply akka.http.scaladsl.server.RouteConcatenation.RouteWithConcatenation.~ org.make.api.widget.adminwidgetapitest AdminWidgetApi.this._enhanceRouteWithConcatenation(AdminWidgetApi.this._enhanceRouteWithConcatenation(AdminWidgetApi.this.list).~(AdminWidgetApi.this.getById)).~(AdminWidgetApi.this.create)
170 37223 5264 - 5267 Apply org.make.api.widget.DefaultAdminWidgetApiComponent.$anon.<init> org.make.api.widget.adminwidgetapitest new $anon()
172 41749 5331 - 5358 Apply akka.http.scaladsl.server.PathMatcher.PathMatcher1Ops.map org.make.api.widget.adminwidgetapitest server.this.PathMatcher.PathMatcher1Ops[String]($anon.this.Segment).map[org.make.core.widget.WidgetId](((value: String) => org.make.core.widget.WidgetId.apply(value)))
172 49315 5343 - 5357 Apply org.make.core.widget.WidgetId.apply org.make.api.widget.adminwidgetapitest org.make.core.widget.WidgetId.apply(value)
172 36862 5331 - 5338 Select akka.http.scaladsl.server.PathMatchers.Segment org.make.api.widget.adminwidgetapitest $anon.this.Segment
174 34230 5391 - 5394 Select akka.http.scaladsl.server.directives.MethodDirectives.get org.make.api.widget.adminwidgetapitest $anon.this.get
174 41834 5391 - 6851 Apply scala.Function1.apply org.make.api.widget.adminwidgetapitest server.this.Directive.addByNameNullaryApply($anon.this.get).apply(server.this.Directive.addByNameNullaryApply($anon.this.path[Unit]($anon.this._segmentStringToPathMatcher("admin")./[Unit]($anon.this._segmentStringToPathMatcher("widgets"))(TupleOps.this.Join.join0P[Unit]))).apply(server.this.Directive.addDirectiveApply[(org.make.core.widget.SourceId, Option[org.make.core.technical.Pagination.Offset], Option[org.make.core.technical.Pagination.End], Option[String], Option[org.make.core.Order])]($anon.this.parameters(ParameterDirectives.this.ParamSpec.forNR[org.make.core.widget.SourceId]($anon.this._string2NR("sourceId").as[org.make.core.widget.SourceId])(DefaultAdminWidgetApiComponent.this.sourceIdFromStringUnmarshaller), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.Offset]($anon.this._string2NR("_start").as[org.make.core.technical.Pagination.Offset].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Offset](DefaultAdminWidgetApiComponent.this.startFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.End]($anon.this._string2NR("_end").as[org.make.core.technical.Pagination.End].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.End](DefaultAdminWidgetApiComponent.this.endFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[String]($anon.this._string2NR("_sort").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.Order]($anon.this._string2NR("_order").as[org.make.core.Order].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.Order](DefaultAdminWidgetApiComponent.this.enumeratumEnumUnmarshaller[org.make.core.Order]((Order: enumeratum.Enum[org.make.core.Order]))))))(util.this.ApplyConverter.hac5[org.make.core.widget.SourceId, Option[org.make.core.technical.Pagination.Offset], Option[org.make.core.technical.Pagination.End], Option[String], Option[org.make.core.Order]]).apply(((sourceId: org.make.core.widget.SourceId, offset: Option[org.make.core.technical.Pagination.Offset], end: Option[org.make.core.technical.Pagination.End], sort: Option[String], order: Option[org.make.core.Order]) => server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminWidgetApiComponent.this.makeOperation("AdminWidgetsList", DefaultAdminWidgetApiComponent.this.makeOperation$default$2, DefaultAdminWidgetApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$1: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminWidgetApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultAdminWidgetApiComponent.this.requireAdminRole(userAuth.user)).apply(server.this.Directive.addDirectiveApply[((Int, Seq[org.make.core.widget.Widget]),)](cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, Int, Seq[org.make.core.widget.Widget]](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[Int], akka.http.scaladsl.server.Directive1[Seq[org.make.core.widget.Widget]]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Int](DefaultAdminWidgetApiComponent.this.widgetService.count(sourceId)).asDirective, org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.widget.Widget]](DefaultAdminWidgetApiComponent.this.widgetService.list(sourceId, offset, end, sort, order)).asDirective)).tupled(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad))(util.this.ApplyConverter.hac1[(Int, Seq[org.make.core.widget.Widget])]).apply(((x0$1: (Int, Seq[org.make.core.widget.Widget])) => x0$1 match { case (_1: Int, _2: Seq[org.make.core.widget.Widget]): (Int, Seq[org.make.core.widget.Widget])((total @ _), (widgets @ _)) => server.this.Directive.addDirectiveApply[(Seq[org.make.core.user.User],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.user.User]](DefaultAdminWidgetApiComponent.this.userService.getUsersByUserIds(widgets.map[org.make.core.user.UserId](((x$2: org.make.core.widget.Widget) => x$2.author)).distinct)).asDirective)(util.this.ApplyConverter.hac1[Seq[org.make.core.user.User]]).apply(((authors: Seq[org.make.core.user.User]) => { val authorsById: scala.collection.immutable.SortedMap[org.make.core.user.UserId,cats.data.NonEmptyList[org.make.core.user.User]] = cats.implicits.catsSyntaxList[org.make.core.user.User](authors.toList).groupByNel[org.make.core.user.UserId](((x$3: org.make.core.user.User) => x$3.userId))(core.this.StringValue.catsOrder[org.make.core.user.UserId]); $anon.this.complete[Seq[org.make.api.widget.AdminWidgetResponse]](akka.http.scaladsl.model.StatusCodes.OK, scala.`package`.List.apply[org.make.api.technical.X-Total-Count](org.make.api.technical.X-Total-Count.apply(total.toString())), widgets.map[org.make.api.widget.AdminWidgetResponse](((widget: org.make.core.widget.Widget) => AdminWidgetResponse.apply(widget, authorsById.get(widget.author).map[org.make.core.user.User](((x$4: cats.data.NonEmptyList[org.make.core.user.User]) => x$4.head))))))(DefaultAdminWidgetApiComponent.this.marshaller[Seq[org.make.api.widget.AdminWidgetResponse]](circe.this.Encoder.encodeSeq[org.make.api.widget.AdminWidgetResponse](widget.this.AdminWidgetResponse.codec), DefaultAdminWidgetApiComponent.this.marshaller$default$2[Seq[org.make.api.widget.AdminWidgetResponse]])) })) })))))))))))
175 47230 5408 - 5415 Literal <nosymbol> org.make.api.widget.adminwidgetapitest "admin"
175 48285 5408 - 5427 ApplyToImplicitArgs akka.http.scaladsl.server.PathMatcher./ org.make.api.widget.adminwidgetapitest $anon.this._segmentStringToPathMatcher("admin")./[Unit]($anon.this._segmentStringToPathMatcher("widgets"))(TupleOps.this.Join.join0P[Unit])
175 45689 5403 - 6845 Apply scala.Function1.apply org.make.api.widget.adminwidgetapitest server.this.Directive.addByNameNullaryApply($anon.this.path[Unit]($anon.this._segmentStringToPathMatcher("admin")./[Unit]($anon.this._segmentStringToPathMatcher("widgets"))(TupleOps.this.Join.join0P[Unit]))).apply(server.this.Directive.addDirectiveApply[(org.make.core.widget.SourceId, Option[org.make.core.technical.Pagination.Offset], Option[org.make.core.technical.Pagination.End], Option[String], Option[org.make.core.Order])]($anon.this.parameters(ParameterDirectives.this.ParamSpec.forNR[org.make.core.widget.SourceId]($anon.this._string2NR("sourceId").as[org.make.core.widget.SourceId])(DefaultAdminWidgetApiComponent.this.sourceIdFromStringUnmarshaller), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.Offset]($anon.this._string2NR("_start").as[org.make.core.technical.Pagination.Offset].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Offset](DefaultAdminWidgetApiComponent.this.startFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.End]($anon.this._string2NR("_end").as[org.make.core.technical.Pagination.End].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.End](DefaultAdminWidgetApiComponent.this.endFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[String]($anon.this._string2NR("_sort").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.Order]($anon.this._string2NR("_order").as[org.make.core.Order].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.Order](DefaultAdminWidgetApiComponent.this.enumeratumEnumUnmarshaller[org.make.core.Order]((Order: enumeratum.Enum[org.make.core.Order]))))))(util.this.ApplyConverter.hac5[org.make.core.widget.SourceId, Option[org.make.core.technical.Pagination.Offset], Option[org.make.core.technical.Pagination.End], Option[String], Option[org.make.core.Order]]).apply(((sourceId: org.make.core.widget.SourceId, offset: Option[org.make.core.technical.Pagination.Offset], end: Option[org.make.core.technical.Pagination.End], sort: Option[String], order: Option[org.make.core.Order]) => server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminWidgetApiComponent.this.makeOperation("AdminWidgetsList", DefaultAdminWidgetApiComponent.this.makeOperation$default$2, DefaultAdminWidgetApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$1: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminWidgetApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultAdminWidgetApiComponent.this.requireAdminRole(userAuth.user)).apply(server.this.Directive.addDirectiveApply[((Int, Seq[org.make.core.widget.Widget]),)](cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, Int, Seq[org.make.core.widget.Widget]](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[Int], akka.http.scaladsl.server.Directive1[Seq[org.make.core.widget.Widget]]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Int](DefaultAdminWidgetApiComponent.this.widgetService.count(sourceId)).asDirective, org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.widget.Widget]](DefaultAdminWidgetApiComponent.this.widgetService.list(sourceId, offset, end, sort, order)).asDirective)).tupled(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad))(util.this.ApplyConverter.hac1[(Int, Seq[org.make.core.widget.Widget])]).apply(((x0$1: (Int, Seq[org.make.core.widget.Widget])) => x0$1 match { case (_1: Int, _2: Seq[org.make.core.widget.Widget]): (Int, Seq[org.make.core.widget.Widget])((total @ _), (widgets @ _)) => server.this.Directive.addDirectiveApply[(Seq[org.make.core.user.User],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.user.User]](DefaultAdminWidgetApiComponent.this.userService.getUsersByUserIds(widgets.map[org.make.core.user.UserId](((x$2: org.make.core.widget.Widget) => x$2.author)).distinct)).asDirective)(util.this.ApplyConverter.hac1[Seq[org.make.core.user.User]]).apply(((authors: Seq[org.make.core.user.User]) => { val authorsById: scala.collection.immutable.SortedMap[org.make.core.user.UserId,cats.data.NonEmptyList[org.make.core.user.User]] = cats.implicits.catsSyntaxList[org.make.core.user.User](authors.toList).groupByNel[org.make.core.user.UserId](((x$3: org.make.core.user.User) => x$3.userId))(core.this.StringValue.catsOrder[org.make.core.user.UserId]); $anon.this.complete[Seq[org.make.api.widget.AdminWidgetResponse]](akka.http.scaladsl.model.StatusCodes.OK, scala.`package`.List.apply[org.make.api.technical.X-Total-Count](org.make.api.technical.X-Total-Count.apply(total.toString())), widgets.map[org.make.api.widget.AdminWidgetResponse](((widget: org.make.core.widget.Widget) => AdminWidgetResponse.apply(widget, authorsById.get(widget.author).map[org.make.core.user.User](((x$4: cats.data.NonEmptyList[org.make.core.user.User]) => x$4.head))))))(DefaultAdminWidgetApiComponent.this.marshaller[Seq[org.make.api.widget.AdminWidgetResponse]](circe.this.Encoder.encodeSeq[org.make.api.widget.AdminWidgetResponse](widget.this.AdminWidgetResponse.codec), DefaultAdminWidgetApiComponent.this.marshaller$default$2[Seq[org.make.api.widget.AdminWidgetResponse]])) })) }))))))))))
175 43383 5418 - 5427 ApplyImplicitView akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher org.make.api.widget.adminwidgetapitest $anon.this._segmentStringToPathMatcher("widgets")
175 40756 5403 - 5428 Apply akka.http.scaladsl.server.directives.PathDirectives.path org.make.api.widget.adminwidgetapitest $anon.this.path[Unit]($anon.this._segmentStringToPathMatcher("admin")./[Unit]($anon.this._segmentStringToPathMatcher("widgets"))(TupleOps.this.Join.join0P[Unit]))
175 34969 5416 - 5416 TypeApply akka.http.scaladsl.server.util.TupleOps.Join.join0P org.make.api.widget.adminwidgetapitest TupleOps.this.Join.join0P[Unit]
176 47562 5449 - 5449 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac5 org.make.api.widget.adminwidgetapitest util.this.ApplyConverter.hac5[org.make.core.widget.SourceId, Option[org.make.core.technical.Pagination.Offset], Option[org.make.core.technical.Pagination.End], Option[String], Option[org.make.core.Order]]
176 35518 5439 - 5630 Apply akka.http.scaladsl.server.directives.ParameterDirectivesInstances.parameters org.make.api.widget.adminwidgetapitest $anon.this.parameters(ParameterDirectives.this.ParamSpec.forNR[org.make.core.widget.SourceId]($anon.this._string2NR("sourceId").as[org.make.core.widget.SourceId])(DefaultAdminWidgetApiComponent.this.sourceIdFromStringUnmarshaller), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.Offset]($anon.this._string2NR("_start").as[org.make.core.technical.Pagination.Offset].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Offset](DefaultAdminWidgetApiComponent.this.startFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.End]($anon.this._string2NR("_end").as[org.make.core.technical.Pagination.End].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.End](DefaultAdminWidgetApiComponent.this.endFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[String]($anon.this._string2NR("_sort").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.Order]($anon.this._string2NR("_order").as[org.make.core.Order].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.Order](DefaultAdminWidgetApiComponent.this.enumeratumEnumUnmarshaller[org.make.core.Order]((Order: enumeratum.Enum[org.make.core.Order])))))
177 41500 5474 - 5474 Select org.make.core.ParameterExtractors.sourceIdFromStringUnmarshaller org.make.api.widget.adminwidgetapitest DefaultAdminWidgetApiComponent.this.sourceIdFromStringUnmarshaller
177 49358 5461 - 5484 TypeApply akka.http.scaladsl.common.NameReceptacle.as org.make.api.widget.adminwidgetapitest $anon.this._string2NR("sourceId").as[org.make.core.widget.SourceId]
177 36615 5461 - 5471 Literal <nosymbol> org.make.api.widget.adminwidgetapitest "sourceId"
177 33372 5461 - 5484 ApplyToImplicitArgs akka.http.scaladsl.server.directives.ParameterDirectives.ParamSpec.forNR org.make.api.widget.adminwidgetapitest ParameterDirectives.this.ParamSpec.forNR[org.make.core.widget.SourceId]($anon.this._string2NR("sourceId").as[org.make.core.widget.SourceId])(DefaultAdminWidgetApiComponent.this.sourceIdFromStringUnmarshaller)
178 47774 5527 - 5527 ApplyToImplicitArgs akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.sourceOptionUnmarshaller org.make.api.widget.adminwidgetapitest unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Offset](DefaultAdminWidgetApiComponent.this.startFromIntUnmarshaller)
178 39906 5496 - 5528 ApplyToImplicitArgs akka.http.scaladsl.server.directives.ParameterDirectives.ParamSpec.forNOR org.make.api.widget.adminwidgetapitest ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.Offset]($anon.this._string2NR("_start").as[org.make.core.technical.Pagination.Offset].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Offset](DefaultAdminWidgetApiComponent.this.startFromIntUnmarshaller))
178 47272 5496 - 5504 Literal <nosymbol> org.make.api.widget.adminwidgetapitest "_start"
178 35006 5527 - 5527 Select org.make.core.ParameterExtractors.startFromIntUnmarshaller org.make.api.widget.adminwidgetapitest DefaultAdminWidgetApiComponent.this.startFromIntUnmarshaller
178 42589 5496 - 5528 Select akka.http.scaladsl.common.NameReceptacle.? org.make.api.widget.adminwidgetapitest $anon.this._string2NR("_start").as[org.make.core.technical.Pagination.Offset].?
179 41541 5566 - 5566 Select org.make.core.ParameterExtractors.endFromIntUnmarshaller org.make.api.widget.adminwidgetapitest DefaultAdminWidgetApiComponent.this.endFromIntUnmarshaller
179 49116 5540 - 5567 Select akka.http.scaladsl.common.NameReceptacle.? org.make.api.widget.adminwidgetapitest $anon.this._string2NR("_end").as[org.make.core.technical.Pagination.End].?
179 33415 5566 - 5566 ApplyToImplicitArgs akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.sourceOptionUnmarshaller org.make.api.widget.adminwidgetapitest unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.End](DefaultAdminWidgetApiComponent.this.endFromIntUnmarshaller)
179 36656 5540 - 5546 Literal <nosymbol> org.make.api.widget.adminwidgetapitest "_end"
179 46429 5540 - 5567 ApplyToImplicitArgs akka.http.scaladsl.server.directives.ParameterDirectives.ParamSpec.forNOR org.make.api.widget.adminwidgetapitest ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.End]($anon.this._string2NR("_end").as[org.make.core.technical.Pagination.End].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.End](DefaultAdminWidgetApiComponent.this.endFromIntUnmarshaller))
180 39945 5587 - 5587 ApplyToImplicitArgs akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.sourceOptionUnmarshaller org.make.api.widget.adminwidgetapitest unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])
180 47526 5587 - 5587 TypeApply akka.http.scaladsl.unmarshalling.Unmarshaller.identityUnmarshaller org.make.api.widget.adminwidgetapitest unmarshalling.this.Unmarshaller.identityUnmarshaller[String]
180 42624 5579 - 5586 Literal <nosymbol> org.make.api.widget.adminwidgetapitest "_sort"
180 34764 5579 - 5588 Select akka.http.scaladsl.common.NameReceptacle.? org.make.api.widget.adminwidgetapitest $anon.this._string2NR("_sort").?
180 32828 5579 - 5588 ApplyToImplicitArgs akka.http.scaladsl.server.directives.ParameterDirectives.ParamSpec.forNOR org.make.api.widget.adminwidgetapitest ParameterDirectives.this.ParamSpec.forNOR[String]($anon.this._string2NR("_sort").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String]))
181 41045 5600 - 5620 Select akka.http.scaladsl.common.NameReceptacle.? org.make.api.widget.adminwidgetapitest $anon.this._string2NR("_order").as[org.make.core.Order].?
181 49149 5600 - 5608 Literal <nosymbol> org.make.api.widget.adminwidgetapitest "_order"
181 33155 5619 - 5619 ApplyToImplicitArgs org.make.core.ParameterExtractors.enumeratumEnumUnmarshaller org.make.api.widget.adminwidgetapitest DefaultAdminWidgetApiComponent.this.enumeratumEnumUnmarshaller[org.make.core.Order]((Order: enumeratum.Enum[org.make.core.Order]))
181 46466 5619 - 5619 ApplyToImplicitArgs akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.sourceOptionUnmarshaller org.make.api.widget.adminwidgetapitest unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.Order](DefaultAdminWidgetApiComponent.this.enumeratumEnumUnmarshaller[org.make.core.Order]((Order: enumeratum.Enum[org.make.core.Order])))
181 43089 5600 - 5620 ApplyToImplicitArgs akka.http.scaladsl.server.directives.ParameterDirectives.ParamSpec.forNOR org.make.api.widget.adminwidgetapitest ParameterDirectives.this.ParamSpec.forNOR[org.make.core.Order]($anon.this._string2NR("_order").as[org.make.core.Order].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.Order](DefaultAdminWidgetApiComponent.this.enumeratumEnumUnmarshaller[org.make.core.Order]((Order: enumeratum.Enum[org.make.core.Order]))))
182 31886 5439 - 6837 Apply scala.Function1.apply org.make.api.widget.adminwidgetapitest server.this.Directive.addDirectiveApply[(org.make.core.widget.SourceId, Option[org.make.core.technical.Pagination.Offset], Option[org.make.core.technical.Pagination.End], Option[String], Option[org.make.core.Order])]($anon.this.parameters(ParameterDirectives.this.ParamSpec.forNR[org.make.core.widget.SourceId]($anon.this._string2NR("sourceId").as[org.make.core.widget.SourceId])(DefaultAdminWidgetApiComponent.this.sourceIdFromStringUnmarshaller), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.Offset]($anon.this._string2NR("_start").as[org.make.core.technical.Pagination.Offset].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Offset](DefaultAdminWidgetApiComponent.this.startFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.End]($anon.this._string2NR("_end").as[org.make.core.technical.Pagination.End].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.End](DefaultAdminWidgetApiComponent.this.endFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[String]($anon.this._string2NR("_sort").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.Order]($anon.this._string2NR("_order").as[org.make.core.Order].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.Order](DefaultAdminWidgetApiComponent.this.enumeratumEnumUnmarshaller[org.make.core.Order]((Order: enumeratum.Enum[org.make.core.Order]))))))(util.this.ApplyConverter.hac5[org.make.core.widget.SourceId, Option[org.make.core.technical.Pagination.Offset], Option[org.make.core.technical.Pagination.End], Option[String], Option[org.make.core.Order]]).apply(((sourceId: org.make.core.widget.SourceId, offset: Option[org.make.core.technical.Pagination.Offset], end: Option[org.make.core.technical.Pagination.End], sort: Option[String], order: Option[org.make.core.Order]) => server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminWidgetApiComponent.this.makeOperation("AdminWidgetsList", DefaultAdminWidgetApiComponent.this.makeOperation$default$2, DefaultAdminWidgetApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$1: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminWidgetApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultAdminWidgetApiComponent.this.requireAdminRole(userAuth.user)).apply(server.this.Directive.addDirectiveApply[((Int, Seq[org.make.core.widget.Widget]),)](cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, Int, Seq[org.make.core.widget.Widget]](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[Int], akka.http.scaladsl.server.Directive1[Seq[org.make.core.widget.Widget]]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Int](DefaultAdminWidgetApiComponent.this.widgetService.count(sourceId)).asDirective, org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.widget.Widget]](DefaultAdminWidgetApiComponent.this.widgetService.list(sourceId, offset, end, sort, order)).asDirective)).tupled(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad))(util.this.ApplyConverter.hac1[(Int, Seq[org.make.core.widget.Widget])]).apply(((x0$1: (Int, Seq[org.make.core.widget.Widget])) => x0$1 match { case (_1: Int, _2: Seq[org.make.core.widget.Widget]): (Int, Seq[org.make.core.widget.Widget])((total @ _), (widgets @ _)) => server.this.Directive.addDirectiveApply[(Seq[org.make.core.user.User],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.user.User]](DefaultAdminWidgetApiComponent.this.userService.getUsersByUserIds(widgets.map[org.make.core.user.UserId](((x$2: org.make.core.widget.Widget) => x$2.author)).distinct)).asDirective)(util.this.ApplyConverter.hac1[Seq[org.make.core.user.User]]).apply(((authors: Seq[org.make.core.user.User]) => { val authorsById: scala.collection.immutable.SortedMap[org.make.core.user.UserId,cats.data.NonEmptyList[org.make.core.user.User]] = cats.implicits.catsSyntaxList[org.make.core.user.User](authors.toList).groupByNel[org.make.core.user.UserId](((x$3: org.make.core.user.User) => x$3.userId))(core.this.StringValue.catsOrder[org.make.core.user.UserId]); $anon.this.complete[Seq[org.make.api.widget.AdminWidgetResponse]](akka.http.scaladsl.model.StatusCodes.OK, scala.`package`.List.apply[org.make.api.technical.X-Total-Count](org.make.api.technical.X-Total-Count.apply(total.toString())), widgets.map[org.make.api.widget.AdminWidgetResponse](((widget: org.make.core.widget.Widget) => AdminWidgetResponse.apply(widget, authorsById.get(widget.author).map[org.make.core.user.User](((x$4: cats.data.NonEmptyList[org.make.core.user.User]) => x$4.head))))))(DefaultAdminWidgetApiComponent.this.marshaller[Seq[org.make.api.widget.AdminWidgetResponse]](circe.this.Encoder.encodeSeq[org.make.api.widget.AdminWidgetResponse](widget.this.AdminWidgetResponse.codec), DefaultAdminWidgetApiComponent.this.marshaller$default$2[Seq[org.make.api.widget.AdminWidgetResponse]])) })) })))))))))
190 39699 5873 - 5891 Literal <nosymbol> org.make.api.widget.adminwidgetapitest "AdminWidgetsList"
190 49909 5859 - 5859 Select org.make.api.technical.MakeDirectives.makeOperation$default$3 org.make.api.widget.adminwidgetapitest DefaultAdminWidgetApiComponent.this.makeOperation$default$3
190 41496 5859 - 5892 Apply org.make.api.technical.MakeDirectives.makeOperation org.make.api.widget.adminwidgetapitest DefaultAdminWidgetApiComponent.this.makeOperation("AdminWidgetsList", DefaultAdminWidgetApiComponent.this.makeOperation$default$2, DefaultAdminWidgetApiComponent.this.makeOperation$default$3)
190 40795 5859 - 6827 Apply scala.Function1.apply org.make.api.widget.adminwidgetapitest server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminWidgetApiComponent.this.makeOperation("AdminWidgetsList", DefaultAdminWidgetApiComponent.this.makeOperation$default$2, DefaultAdminWidgetApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$1: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminWidgetApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultAdminWidgetApiComponent.this.requireAdminRole(userAuth.user)).apply(server.this.Directive.addDirectiveApply[((Int, Seq[org.make.core.widget.Widget]),)](cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, Int, Seq[org.make.core.widget.Widget]](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[Int], akka.http.scaladsl.server.Directive1[Seq[org.make.core.widget.Widget]]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Int](DefaultAdminWidgetApiComponent.this.widgetService.count(sourceId)).asDirective, org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.widget.Widget]](DefaultAdminWidgetApiComponent.this.widgetService.list(sourceId, offset, end, sort, order)).asDirective)).tupled(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad))(util.this.ApplyConverter.hac1[(Int, Seq[org.make.core.widget.Widget])]).apply(((x0$1: (Int, Seq[org.make.core.widget.Widget])) => x0$1 match { case (_1: Int, _2: Seq[org.make.core.widget.Widget]): (Int, Seq[org.make.core.widget.Widget])((total @ _), (widgets @ _)) => server.this.Directive.addDirectiveApply[(Seq[org.make.core.user.User],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.user.User]](DefaultAdminWidgetApiComponent.this.userService.getUsersByUserIds(widgets.map[org.make.core.user.UserId](((x$2: org.make.core.widget.Widget) => x$2.author)).distinct)).asDirective)(util.this.ApplyConverter.hac1[Seq[org.make.core.user.User]]).apply(((authors: Seq[org.make.core.user.User]) => { val authorsById: scala.collection.immutable.SortedMap[org.make.core.user.UserId,cats.data.NonEmptyList[org.make.core.user.User]] = cats.implicits.catsSyntaxList[org.make.core.user.User](authors.toList).groupByNel[org.make.core.user.UserId](((x$3: org.make.core.user.User) => x$3.userId))(core.this.StringValue.catsOrder[org.make.core.user.UserId]); $anon.this.complete[Seq[org.make.api.widget.AdminWidgetResponse]](akka.http.scaladsl.model.StatusCodes.OK, scala.`package`.List.apply[org.make.api.technical.X-Total-Count](org.make.api.technical.X-Total-Count.apply(total.toString())), widgets.map[org.make.api.widget.AdminWidgetResponse](((widget: org.make.core.widget.Widget) => AdminWidgetResponse.apply(widget, authorsById.get(widget.author).map[org.make.core.user.User](((x$4: cats.data.NonEmptyList[org.make.core.user.User]) => x$4.head))))))(DefaultAdminWidgetApiComponent.this.marshaller[Seq[org.make.api.widget.AdminWidgetResponse]](circe.this.Encoder.encodeSeq[org.make.api.widget.AdminWidgetResponse](widget.this.AdminWidgetResponse.codec), DefaultAdminWidgetApiComponent.this.marshaller$default$2[Seq[org.make.api.widget.AdminWidgetResponse]])) })) })))))))
190 33196 5872 - 5872 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 org.make.api.widget.adminwidgetapitest util.this.ApplyConverter.hac1[org.make.core.RequestContext]
190 32867 5859 - 5859 Select org.make.api.technical.MakeDirectives.makeOperation$default$2 org.make.api.widget.adminwidgetapitest DefaultAdminWidgetApiComponent.this.makeOperation$default$2
191 46973 5914 - 5924 Select org.make.api.technical.auth.MakeAuthentication.makeOAuth2 org.make.api.widget.adminwidgetapitest DefaultAdminWidgetApiComponent.this.makeOAuth2
191 43129 5914 - 5914 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 org.make.api.widget.adminwidgetapitest util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]
191 48377 5914 - 6813 Apply scala.Function1.apply org.make.api.widget.adminwidgetapitest server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminWidgetApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultAdminWidgetApiComponent.this.requireAdminRole(userAuth.user)).apply(server.this.Directive.addDirectiveApply[((Int, Seq[org.make.core.widget.Widget]),)](cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, Int, Seq[org.make.core.widget.Widget]](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[Int], akka.http.scaladsl.server.Directive1[Seq[org.make.core.widget.Widget]]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Int](DefaultAdminWidgetApiComponent.this.widgetService.count(sourceId)).asDirective, org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.widget.Widget]](DefaultAdminWidgetApiComponent.this.widgetService.list(sourceId, offset, end, sort, order)).asDirective)).tupled(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad))(util.this.ApplyConverter.hac1[(Int, Seq[org.make.core.widget.Widget])]).apply(((x0$1: (Int, Seq[org.make.core.widget.Widget])) => x0$1 match { case (_1: Int, _2: Seq[org.make.core.widget.Widget]): (Int, Seq[org.make.core.widget.Widget])((total @ _), (widgets @ _)) => server.this.Directive.addDirectiveApply[(Seq[org.make.core.user.User],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.user.User]](DefaultAdminWidgetApiComponent.this.userService.getUsersByUserIds(widgets.map[org.make.core.user.UserId](((x$2: org.make.core.widget.Widget) => x$2.author)).distinct)).asDirective)(util.this.ApplyConverter.hac1[Seq[org.make.core.user.User]]).apply(((authors: Seq[org.make.core.user.User]) => { val authorsById: scala.collection.immutable.SortedMap[org.make.core.user.UserId,cats.data.NonEmptyList[org.make.core.user.User]] = cats.implicits.catsSyntaxList[org.make.core.user.User](authors.toList).groupByNel[org.make.core.user.UserId](((x$3: org.make.core.user.User) => x$3.userId))(core.this.StringValue.catsOrder[org.make.core.user.UserId]); $anon.this.complete[Seq[org.make.api.widget.AdminWidgetResponse]](akka.http.scaladsl.model.StatusCodes.OK, scala.`package`.List.apply[org.make.api.technical.X-Total-Count](org.make.api.technical.X-Total-Count.apply(total.toString())), widgets.map[org.make.api.widget.AdminWidgetResponse](((widget: org.make.core.widget.Widget) => AdminWidgetResponse.apply(widget, authorsById.get(widget.author).map[org.make.core.user.User](((x$4: cats.data.NonEmptyList[org.make.core.user.User]) => x$4.head))))))(DefaultAdminWidgetApiComponent.this.marshaller[Seq[org.make.api.widget.AdminWidgetResponse]](circe.this.Encoder.encodeSeq[org.make.api.widget.AdminWidgetResponse](widget.this.AdminWidgetResponse.codec), DefaultAdminWidgetApiComponent.this.marshaller$default$2[Seq[org.make.api.widget.AdminWidgetResponse]])) })) })))))
192 35298 5977 - 6797 Apply scala.Function1.apply server.this.Directive.addByNameNullaryApply(DefaultAdminWidgetApiComponent.this.requireAdminRole(userAuth.user)).apply(server.this.Directive.addDirectiveApply[((Int, Seq[org.make.core.widget.Widget]),)](cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, Int, Seq[org.make.core.widget.Widget]](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[Int], akka.http.scaladsl.server.Directive1[Seq[org.make.core.widget.Widget]]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Int](DefaultAdminWidgetApiComponent.this.widgetService.count(sourceId)).asDirective, org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.widget.Widget]](DefaultAdminWidgetApiComponent.this.widgetService.list(sourceId, offset, end, sort, order)).asDirective)).tupled(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad))(util.this.ApplyConverter.hac1[(Int, Seq[org.make.core.widget.Widget])]).apply(((x0$1: (Int, Seq[org.make.core.widget.Widget])) => x0$1 match { case (_1: Int, _2: Seq[org.make.core.widget.Widget]): (Int, Seq[org.make.core.widget.Widget])((total @ _), (widgets @ _)) => server.this.Directive.addDirectiveApply[(Seq[org.make.core.user.User],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.user.User]](DefaultAdminWidgetApiComponent.this.userService.getUsersByUserIds(widgets.map[org.make.core.user.UserId](((x$2: org.make.core.widget.Widget) => x$2.author)).distinct)).asDirective)(util.this.ApplyConverter.hac1[Seq[org.make.core.user.User]]).apply(((authors: Seq[org.make.core.user.User]) => { val authorsById: scala.collection.immutable.SortedMap[org.make.core.user.UserId,cats.data.NonEmptyList[org.make.core.user.User]] = cats.implicits.catsSyntaxList[org.make.core.user.User](authors.toList).groupByNel[org.make.core.user.UserId](((x$3: org.make.core.user.User) => x$3.userId))(core.this.StringValue.catsOrder[org.make.core.user.UserId]); $anon.this.complete[Seq[org.make.api.widget.AdminWidgetResponse]](akka.http.scaladsl.model.StatusCodes.OK, scala.`package`.List.apply[org.make.api.technical.X-Total-Count](org.make.api.technical.X-Total-Count.apply(total.toString())), widgets.map[org.make.api.widget.AdminWidgetResponse](((widget: org.make.core.widget.Widget) => AdminWidgetResponse.apply(widget, authorsById.get(widget.author).map[org.make.core.user.User](((x$4: cats.data.NonEmptyList[org.make.core.user.User]) => x$4.head))))))(DefaultAdminWidgetApiComponent.this.marshaller[Seq[org.make.api.widget.AdminWidgetResponse]](circe.this.Encoder.encodeSeq[org.make.api.widget.AdminWidgetResponse](widget.this.AdminWidgetResponse.codec), DefaultAdminWidgetApiComponent.this.marshaller$default$2[Seq[org.make.api.widget.AdminWidgetResponse]])) })) })))
192 48030 5977 - 6008 Apply org.make.api.technical.MakeAuthenticationDirectives.requireAdminRole DefaultAdminWidgetApiComponent.this.requireAdminRole(userAuth.user)
192 35003 5994 - 6007 Select scalaoauth2.provider.AuthInfo.user userAuth.user
193 33668 6029 - 6200 Apply scala.Tuple2.apply scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[Int], akka.http.scaladsl.server.Directive1[Seq[org.make.core.widget.Widget]]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Int](DefaultAdminWidgetApiComponent.this.widgetService.count(sourceId)).asDirective, org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.widget.Widget]](DefaultAdminWidgetApiComponent.this.widgetService.list(sourceId, offset, end, sort, order)).asDirective)
194 39739 6051 - 6080 Apply org.make.api.widget.WidgetService.count DefaultAdminWidgetApiComponent.this.widgetService.count(sourceId)
194 32612 6051 - 6092 Select org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes.asDirective org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Int](DefaultAdminWidgetApiComponent.this.widgetService.count(sourceId)).asDirective
195 41539 6114 - 6180 Select org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes.asDirective org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.widget.Widget]](DefaultAdminWidgetApiComponent.this.widgetService.list(sourceId, offset, end, sort, order)).asDirective
195 49650 6114 - 6168 Apply org.make.api.widget.WidgetService.list DefaultAdminWidgetApiComponent.this.widgetService.list(sourceId, offset, end, sort, order)
196 34756 6029 - 6207 ApplyToImplicitArgs cats.syntax.Tuple2SemigroupalOps.tupled cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, Int, Seq[org.make.core.widget.Widget]](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[Int], akka.http.scaladsl.server.Directive1[Seq[org.make.core.widget.Widget]]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Int](DefaultAdminWidgetApiComponent.this.widgetService.count(sourceId)).asDirective, org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.widget.Widget]](DefaultAdminWidgetApiComponent.this.widgetService.list(sourceId, offset, end, sort, order)).asDirective)).tupled(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad)
196 39152 6029 - 6779 Apply scala.Function1.apply server.this.Directive.addDirectiveApply[((Int, Seq[org.make.core.widget.Widget]),)](cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, Int, Seq[org.make.core.widget.Widget]](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[Int], akka.http.scaladsl.server.Directive1[Seq[org.make.core.widget.Widget]]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Int](DefaultAdminWidgetApiComponent.this.widgetService.count(sourceId)).asDirective, org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.widget.Widget]](DefaultAdminWidgetApiComponent.this.widgetService.list(sourceId, offset, end, sort, order)).asDirective)).tupled(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad))(util.this.ApplyConverter.hac1[(Int, Seq[org.make.core.widget.Widget])]).apply(((x0$1: (Int, Seq[org.make.core.widget.Widget])) => x0$1 match { case (_1: Int, _2: Seq[org.make.core.widget.Widget]): (Int, Seq[org.make.core.widget.Widget])((total @ _), (widgets @ _)) => server.this.Directive.addDirectiveApply[(Seq[org.make.core.user.User],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.user.User]](DefaultAdminWidgetApiComponent.this.userService.getUsersByUserIds(widgets.map[org.make.core.user.UserId](((x$2: org.make.core.widget.Widget) => x$2.author)).distinct)).asDirective)(util.this.ApplyConverter.hac1[Seq[org.make.core.user.User]]).apply(((authors: Seq[org.make.core.user.User]) => { val authorsById: scala.collection.immutable.SortedMap[org.make.core.user.UserId,cats.data.NonEmptyList[org.make.core.user.User]] = cats.implicits.catsSyntaxList[org.make.core.user.User](authors.toList).groupByNel[org.make.core.user.UserId](((x$3: org.make.core.user.User) => x$3.userId))(core.this.StringValue.catsOrder[org.make.core.user.UserId]); $anon.this.complete[Seq[org.make.api.widget.AdminWidgetResponse]](akka.http.scaladsl.model.StatusCodes.OK, scala.`package`.List.apply[org.make.api.technical.X-Total-Count](org.make.api.technical.X-Total-Count.apply(total.toString())), widgets.map[org.make.api.widget.AdminWidgetResponse](((widget: org.make.core.widget.Widget) => AdminWidgetResponse.apply(widget, authorsById.get(widget.author).map[org.make.core.user.User](((x$4: cats.data.NonEmptyList[org.make.core.user.User]) => x$4.head))))))(DefaultAdminWidgetApiComponent.this.marshaller[Seq[org.make.api.widget.AdminWidgetResponse]](circe.this.Encoder.encodeSeq[org.make.api.widget.AdminWidgetResponse](widget.this.AdminWidgetResponse.codec), DefaultAdminWidgetApiComponent.this.marshaller$default$2[Seq[org.make.api.widget.AdminWidgetResponse]])) })) }))
196 39443 6201 - 6201 Select org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
196 48071 6201 - 6201 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 util.this.ApplyConverter.hac1[(Int, Seq[org.make.core.widget.Widget])]
196 47012 6201 - 6201 Select org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
198 49694 6283 - 6344 Apply org.make.api.user.UserService.getUsersByUserIds DefaultAdminWidgetApiComponent.this.userService.getUsersByUserIds(widgets.map[org.make.core.user.UserId](((x$2: org.make.core.widget.Widget) => x$2.author)).distinct)
198 33712 6345 - 6345 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 util.this.ApplyConverter.hac1[Seq[org.make.core.user.User]]
198 46254 6283 - 6759 Apply scala.Function1.apply server.this.Directive.addDirectiveApply[(Seq[org.make.core.user.User],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.user.User]](DefaultAdminWidgetApiComponent.this.userService.getUsersByUserIds(widgets.map[org.make.core.user.UserId](((x$2: org.make.core.widget.Widget) => x$2.author)).distinct)).asDirective)(util.this.ApplyConverter.hac1[Seq[org.make.core.user.User]]).apply(((authors: Seq[org.make.core.user.User]) => { val authorsById: scala.collection.immutable.SortedMap[org.make.core.user.UserId,cats.data.NonEmptyList[org.make.core.user.User]] = cats.implicits.catsSyntaxList[org.make.core.user.User](authors.toList).groupByNel[org.make.core.user.UserId](((x$3: org.make.core.user.User) => x$3.userId))(core.this.StringValue.catsOrder[org.make.core.user.UserId]); $anon.this.complete[Seq[org.make.api.widget.AdminWidgetResponse]](akka.http.scaladsl.model.StatusCodes.OK, scala.`package`.List.apply[org.make.api.technical.X-Total-Count](org.make.api.technical.X-Total-Count.apply(total.toString())), widgets.map[org.make.api.widget.AdminWidgetResponse](((widget: org.make.core.widget.Widget) => AdminWidgetResponse.apply(widget, authorsById.get(widget.author).map[org.make.core.user.User](((x$4: cats.data.NonEmptyList[org.make.core.user.User]) => x$4.head))))))(DefaultAdminWidgetApiComponent.this.marshaller[Seq[org.make.api.widget.AdminWidgetResponse]](circe.this.Encoder.encodeSeq[org.make.api.widget.AdminWidgetResponse](widget.this.AdminWidgetResponse.codec), DefaultAdminWidgetApiComponent.this.marshaller$default$2[Seq[org.make.api.widget.AdminWidgetResponse]])) }))
198 32649 6313 - 6343 Select scala.collection.SeqOps.distinct widgets.map[org.make.core.user.UserId](((x$2: org.make.core.widget.Widget) => x$2.author)).distinct
198 39655 6325 - 6333 Select org.make.core.widget.Widget.author x$2.author
198 41288 6283 - 6356 Select org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes.asDirective org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.user.User]](DefaultAdminWidgetApiComponent.this.userService.getUsersByUserIds(widgets.map[org.make.core.user.UserId](((x$2: org.make.core.widget.Widget) => x$2.author)).distinct)).asDirective
199 46171 6412 - 6426 Select scala.collection.IterableOnceOps.toList authors.toList
199 39202 6438 - 6446 Select org.make.core.user.User.userId x$3.userId
199 47820 6412 - 6447 ApplyToImplicitArgs cats.syntax.ListOps.groupByNel cats.implicits.catsSyntaxList[org.make.core.user.User](authors.toList).groupByNel[org.make.core.user.UserId](((x$3: org.make.core.user.User) => x$3.userId))(core.this.StringValue.catsOrder[org.make.core.user.UserId])
199 34793 6437 - 6437 TypeApply org.make.core.StringValue.catsOrder core.this.StringValue.catsOrder[org.make.core.user.UserId]
200 34266 6472 - 6735 ApplyToImplicitArgs akka.http.scaladsl.server.directives.RouteDirectives.complete $anon.this.complete[Seq[org.make.api.widget.AdminWidgetResponse]](akka.http.scaladsl.model.StatusCodes.OK, scala.`package`.List.apply[org.make.api.technical.X-Total-Count](org.make.api.technical.X-Total-Count.apply(total.toString())), widgets.map[org.make.api.widget.AdminWidgetResponse](((widget: org.make.core.widget.Widget) => AdminWidgetResponse.apply(widget, authorsById.get(widget.author).map[org.make.core.user.User](((x$4: cats.data.NonEmptyList[org.make.core.user.User]) => x$4.head))))))(DefaultAdminWidgetApiComponent.this.marshaller[Seq[org.make.api.widget.AdminWidgetResponse]](circe.this.Encoder.encodeSeq[org.make.api.widget.AdminWidgetResponse](widget.this.AdminWidgetResponse.codec), DefaultAdminWidgetApiComponent.this.marshaller$default$2[Seq[org.make.api.widget.AdminWidgetResponse]]))
200 41090 6480 - 6480 ApplyToImplicitArgs de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller DefaultAdminWidgetApiComponent.this.marshaller[Seq[org.make.api.widget.AdminWidgetResponse]](circe.this.Encoder.encodeSeq[org.make.api.widget.AdminWidgetResponse](widget.this.AdminWidgetResponse.codec), DefaultAdminWidgetApiComponent.this.marshaller$default$2[Seq[org.make.api.widget.AdminWidgetResponse]])
200 31843 6480 - 6480 ApplyToImplicitArgs io.circe.Encoder.encodeSeq circe.this.Encoder.encodeSeq[org.make.api.widget.AdminWidgetResponse](widget.this.AdminWidgetResponse.codec)
200 45930 6480 - 6480 TypeApply de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2 DefaultAdminWidgetApiComponent.this.marshaller$default$2[Seq[org.make.api.widget.AdminWidgetResponse]]
200 39733 6480 - 6480 Select org.make.api.widget.AdminWidgetResponse.codec widget.this.AdminWidgetResponse.codec
201 39692 6508 - 6522 Select akka.http.scaladsl.model.StatusCodes.OK akka.http.scaladsl.model.StatusCodes.OK
202 32097 6571 - 6585 Apply scala.Any.toString total.toString()
202 41331 6550 - 6587 Apply scala.collection.IterableFactory.apply scala.`package`.List.apply[org.make.api.technical.X-Total-Count](org.make.api.technical.X-Total-Count.apply(total.toString()))
202 45183 6555 - 6586 Apply akka.http.scaladsl.model.headers.ModeledCustomHeaderCompanion.apply org.make.api.technical.X-Total-Count.apply(total.toString())
203 47864 6615 - 6709 Apply scala.collection.IterableOps.map widgets.map[org.make.api.widget.AdminWidgetResponse](((widget: org.make.core.widget.Widget) => AdminWidgetResponse.apply(widget, authorsById.get(widget.author).map[org.make.core.user.User](((x$4: cats.data.NonEmptyList[org.make.core.user.User]) => x$4.head)))))
203 46213 6700 - 6706 Select cats.data.NonEmptyList.head x$4.head
203 34229 6681 - 6694 Select org.make.core.widget.Widget.author widget.author
203 34555 6637 - 6708 Apply org.make.api.widget.AdminWidgetResponse.apply AdminWidgetResponse.apply(widget, authorsById.get(widget.author).map[org.make.core.user.User](((x$4: cats.data.NonEmptyList[org.make.core.user.User]) => x$4.head)))
203 38640 6665 - 6707 Apply scala.Option.map authorsById.get(widget.author).map[org.make.core.user.User](((x$4: cats.data.NonEmptyList[org.make.core.user.User]) => x$4.head))
214 34301 6887 - 6890 Select akka.http.scaladsl.server.directives.MethodDirectives.get org.make.api.widget.adminwidgetapitest $anon.this.get
214 31343 6887 - 7401 Apply scala.Function1.apply org.make.api.widget.adminwidgetapitest server.this.Directive.addByNameNullaryApply($anon.this.get).apply(server.this.Directive.addDirectiveApply[(org.make.core.widget.WidgetId,)]($anon.this.path[(org.make.core.widget.WidgetId,)]($anon.this._segmentStringToPathMatcher("admin")./[Unit]($anon.this._segmentStringToPathMatcher("widgets"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.widget.WidgetId,)]($anon.this.id)(TupleOps.this.Join.join0P[(org.make.core.widget.WidgetId,)])))(util.this.ApplyConverter.hac1[org.make.core.widget.WidgetId]).apply(((id: org.make.core.widget.WidgetId) => server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminWidgetApiComponent.this.makeOperation("AdminWidgetsGetById", DefaultAdminWidgetApiComponent.this.makeOperation$default$2, DefaultAdminWidgetApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$5: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminWidgetApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultAdminWidgetApiComponent.this.requireAdminRole(userAuth.user)).apply(server.this.Directive.addDirectiveApply[(org.make.core.widget.Widget,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.widget.Widget](DefaultAdminWidgetApiComponent.this.widgetService.get(id)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.widget.Widget]).apply(((widget: org.make.core.widget.Widget) => server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultAdminWidgetApiComponent.this.userService.getUser(widget.author)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((author: org.make.core.user.User) => $anon.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.widget.AdminWidgetResponse](AdminWidgetResponse.apply(widget, scala.Some.apply[org.make.core.user.User](author)))(marshalling.this.Marshaller.liftMarshaller[org.make.api.widget.AdminWidgetResponse](DefaultAdminWidgetApiComponent.this.marshaller[org.make.api.widget.AdminWidgetResponse](widget.this.AdminWidgetResponse.codec, DefaultAdminWidgetApiComponent.this.marshaller$default$2[org.make.api.widget.AdminWidgetResponse]))))))))))))))))
215 32400 6904 - 6928 ApplyToImplicitArgs akka.http.scaladsl.server.PathMatcher./ org.make.api.widget.adminwidgetapitest $anon.this._segmentStringToPathMatcher("admin")./[Unit]($anon.this._segmentStringToPathMatcher("widgets"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.widget.WidgetId,)]($anon.this.id)(TupleOps.this.Join.join0P[(org.make.core.widget.WidgetId,)])
215 31314 6912 - 6912 TypeApply akka.http.scaladsl.server.util.TupleOps.Join.join0P org.make.api.widget.adminwidgetapitest TupleOps.this.Join.join0P[Unit]
215 40833 6924 - 6924 TypeApply akka.http.scaladsl.server.util.TupleOps.Join.join0P org.make.api.widget.adminwidgetapitest TupleOps.this.Join.join0P[(org.make.core.widget.WidgetId,)]
215 47815 6926 - 6928 Select org.make.api.widget.DefaultAdminWidgetApiComponent.$anon.id org.make.api.widget.adminwidgetapitest $anon.this.id
215 41328 6903 - 6903 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 org.make.api.widget.adminwidgetapitest util.this.ApplyConverter.hac1[org.make.core.widget.WidgetId]
215 45727 6899 - 6929 Apply akka.http.scaladsl.server.directives.PathDirectives.path org.make.api.widget.adminwidgetapitest $anon.this.path[(org.make.core.widget.WidgetId,)]($anon.this._segmentStringToPathMatcher("admin")./[Unit]($anon.this._segmentStringToPathMatcher("widgets"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.widget.WidgetId,)]($anon.this.id)(TupleOps.this.Join.join0P[(org.make.core.widget.WidgetId,)]))
215 47309 6904 - 6911 Literal <nosymbol> org.make.api.widget.adminwidgetapitest "admin"
215 39479 6899 - 7395 Apply scala.Function1.apply org.make.api.widget.adminwidgetapitest server.this.Directive.addDirectiveApply[(org.make.core.widget.WidgetId,)]($anon.this.path[(org.make.core.widget.WidgetId,)]($anon.this._segmentStringToPathMatcher("admin")./[Unit]($anon.this._segmentStringToPathMatcher("widgets"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.widget.WidgetId,)]($anon.this.id)(TupleOps.this.Join.join0P[(org.make.core.widget.WidgetId,)])))(util.this.ApplyConverter.hac1[org.make.core.widget.WidgetId]).apply(((id: org.make.core.widget.WidgetId) => server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminWidgetApiComponent.this.makeOperation("AdminWidgetsGetById", DefaultAdminWidgetApiComponent.this.makeOperation$default$2, DefaultAdminWidgetApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$5: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminWidgetApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultAdminWidgetApiComponent.this.requireAdminRole(userAuth.user)).apply(server.this.Directive.addDirectiveApply[(org.make.core.widget.Widget,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.widget.Widget](DefaultAdminWidgetApiComponent.this.widgetService.get(id)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.widget.Widget]).apply(((widget: org.make.core.widget.Widget) => server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultAdminWidgetApiComponent.this.userService.getUser(widget.author)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((author: org.make.core.user.User) => $anon.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.widget.AdminWidgetResponse](AdminWidgetResponse.apply(widget, scala.Some.apply[org.make.core.user.User](author)))(marshalling.this.Marshaller.liftMarshaller[org.make.api.widget.AdminWidgetResponse](DefaultAdminWidgetApiComponent.this.marshaller[org.make.api.widget.AdminWidgetResponse](widget.this.AdminWidgetResponse.codec, DefaultAdminWidgetApiComponent.this.marshaller$default$2[org.make.api.widget.AdminWidgetResponse])))))))))))))))
215 39195 6914 - 6923 ApplyImplicitView akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher org.make.api.widget.adminwidgetapitest $anon.this._segmentStringToPathMatcher("widgets")
216 33455 6960 - 6981 Literal <nosymbol> org.make.api.widget.adminwidgetapitest "AdminWidgetsGetById"
216 47348 6946 - 6946 Select org.make.api.technical.MakeDirectives.makeOperation$default$2 org.make.api.widget.adminwidgetapitest DefaultAdminWidgetApiComponent.this.makeOperation$default$2
216 31348 6946 - 6982 Apply org.make.api.technical.MakeDirectives.makeOperation org.make.api.widget.adminwidgetapitest DefaultAdminWidgetApiComponent.this.makeOperation("AdminWidgetsGetById", DefaultAdminWidgetApiComponent.this.makeOperation$default$2, DefaultAdminWidgetApiComponent.this.makeOperation$default$3)
216 47859 6959 - 6959 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 org.make.api.widget.adminwidgetapitest util.this.ApplyConverter.hac1[org.make.core.RequestContext]
216 38950 6946 - 6946 Select org.make.api.technical.MakeDirectives.makeOperation$default$3 org.make.api.widget.adminwidgetapitest DefaultAdminWidgetApiComponent.this.makeOperation$default$3
216 47048 6946 - 7387 Apply scala.Function1.apply org.make.api.widget.adminwidgetapitest server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminWidgetApiComponent.this.makeOperation("AdminWidgetsGetById", DefaultAdminWidgetApiComponent.this.makeOperation$default$2, DefaultAdminWidgetApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$5: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminWidgetApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultAdminWidgetApiComponent.this.requireAdminRole(userAuth.user)).apply(server.this.Directive.addDirectiveApply[(org.make.core.widget.Widget,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.widget.Widget](DefaultAdminWidgetApiComponent.this.widgetService.get(id)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.widget.Widget]).apply(((widget: org.make.core.widget.Widget) => server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultAdminWidgetApiComponent.this.userService.getUser(widget.author)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((author: org.make.core.user.User) => $anon.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.widget.AdminWidgetResponse](AdminWidgetResponse.apply(widget, scala.Some.apply[org.make.core.user.User](author)))(marshalling.this.Marshaller.liftMarshaller[org.make.api.widget.AdminWidgetResponse](DefaultAdminWidgetApiComponent.this.marshaller[org.make.api.widget.AdminWidgetResponse](widget.this.AdminWidgetResponse.codec, DefaultAdminWidgetApiComponent.this.marshaller$default$2[org.make.api.widget.AdminWidgetResponse])))))))))))))
217 33279 7000 - 7377 Apply scala.Function1.apply org.make.api.widget.adminwidgetapitest server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminWidgetApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultAdminWidgetApiComponent.this.requireAdminRole(userAuth.user)).apply(server.this.Directive.addDirectiveApply[(org.make.core.widget.Widget,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.widget.Widget](DefaultAdminWidgetApiComponent.this.widgetService.get(id)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.widget.Widget]).apply(((widget: org.make.core.widget.Widget) => server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultAdminWidgetApiComponent.this.userService.getUser(widget.author)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((author: org.make.core.user.User) => $anon.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.widget.AdminWidgetResponse](AdminWidgetResponse.apply(widget, scala.Some.apply[org.make.core.user.User](author)))(marshalling.this.Marshaller.liftMarshaller[org.make.api.widget.AdminWidgetResponse](DefaultAdminWidgetApiComponent.this.marshaller[org.make.api.widget.AdminWidgetResponse](widget.this.AdminWidgetResponse.codec, DefaultAdminWidgetApiComponent.this.marshaller$default$2[org.make.api.widget.AdminWidgetResponse])))))))))))
217 39980 7000 - 7010 Select org.make.api.technical.auth.MakeAuthentication.makeOAuth2 org.make.api.widget.adminwidgetapitest DefaultAdminWidgetApiComponent.this.makeOAuth2
217 32437 7000 - 7000 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 org.make.api.widget.adminwidgetapitest util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]
218 45479 7076 - 7089 Select scalaoauth2.provider.AuthInfo.user userAuth.user
218 37161 7059 - 7365 Apply scala.Function1.apply server.this.Directive.addByNameNullaryApply(DefaultAdminWidgetApiComponent.this.requireAdminRole(userAuth.user)).apply(server.this.Directive.addDirectiveApply[(org.make.core.widget.Widget,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.widget.Widget](DefaultAdminWidgetApiComponent.this.widgetService.get(id)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.widget.Widget]).apply(((widget: org.make.core.widget.Widget) => server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultAdminWidgetApiComponent.this.userService.getUser(widget.author)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((author: org.make.core.user.User) => $anon.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.widget.AdminWidgetResponse](AdminWidgetResponse.apply(widget, scala.Some.apply[org.make.core.user.User](author)))(marshalling.this.Marshaller.liftMarshaller[org.make.api.widget.AdminWidgetResponse](DefaultAdminWidgetApiComponent.this.marshaller[org.make.api.widget.AdminWidgetResponse](widget.this.AdminWidgetResponse.codec, DefaultAdminWidgetApiComponent.this.marshaller$default$2[org.make.api.widget.AdminWidgetResponse])))))))))
218 41082 7059 - 7090 Apply org.make.api.technical.MakeAuthenticationDirectives.requireAdminRole DefaultAdminWidgetApiComponent.this.requireAdminRole(userAuth.user)
219 44945 7107 - 7351 Apply scala.Function1.apply server.this.Directive.addDirectiveApply[(org.make.core.widget.Widget,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.widget.Widget](DefaultAdminWidgetApiComponent.this.widgetService.get(id)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.widget.Widget]).apply(((widget: org.make.core.widget.Widget) => server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultAdminWidgetApiComponent.this.userService.getUser(widget.author)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((author: org.make.core.user.User) => $anon.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.widget.AdminWidgetResponse](AdminWidgetResponse.apply(widget, scala.Some.apply[org.make.core.user.User](author)))(marshalling.this.Marshaller.liftMarshaller[org.make.api.widget.AdminWidgetResponse](DefaultAdminWidgetApiComponent.this.marshaller[org.make.api.widget.AdminWidgetResponse](widget.this.AdminWidgetResponse.codec, DefaultAdminWidgetApiComponent.this.marshaller$default$2[org.make.api.widget.AdminWidgetResponse]))))))))
219 47263 7107 - 7150 Select org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes.asDirectiveOrNotFound org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.widget.Widget](DefaultAdminWidgetApiComponent.this.widgetService.get(id)).asDirectiveOrNotFound
219 33494 7107 - 7128 Apply org.make.api.widget.WidgetService.get DefaultAdminWidgetApiComponent.this.widgetService.get(id)
219 38989 7129 - 7129 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 util.this.ApplyConverter.hac1[org.make.core.widget.Widget]
220 31391 7199 - 7212 Select org.make.core.widget.Widget.author widget.author
220 40025 7179 - 7235 Select org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes.asDirectiveOrNotFound org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultAdminWidgetApiComponent.this.userService.getUser(widget.author)).asDirectiveOrNotFound
220 32904 7214 - 7214 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 util.this.ApplyConverter.hac1[org.make.core.user.User]
220 47602 7179 - 7213 Apply org.make.api.user.UserService.getUser DefaultAdminWidgetApiComponent.this.userService.getUser(widget.author)
220 32942 7179 - 7335 Apply scala.Function1.apply server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultAdminWidgetApiComponent.this.userService.getUser(widget.author)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((author: org.make.core.user.User) => $anon.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.widget.AdminWidgetResponse](AdminWidgetResponse.apply(widget, scala.Some.apply[org.make.core.user.User](author)))(marshalling.this.Marshaller.liftMarshaller[org.make.api.widget.AdminWidgetResponse](DefaultAdminWidgetApiComponent.this.marshaller[org.make.api.widget.AdminWidgetResponse](widget.this.AdminWidgetResponse.codec, DefaultAdminWidgetApiComponent.this.marshaller$default$2[org.make.api.widget.AdminWidgetResponse]))))))
221 47305 7294 - 7294 TypeApply de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2 DefaultAdminWidgetApiComponent.this.marshaller$default$2[org.make.api.widget.AdminWidgetResponse]
221 45516 7303 - 7315 Apply scala.Some.apply scala.Some.apply[org.make.core.user.User](author)
221 39442 7294 - 7294 ApplyToImplicitArgs de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller DefaultAdminWidgetApiComponent.this.marshaller[org.make.api.widget.AdminWidgetResponse](widget.this.AdminWidgetResponse.codec, DefaultAdminWidgetApiComponent.this.marshaller$default$2[org.make.api.widget.AdminWidgetResponse])
221 37396 7275 - 7316 Apply org.make.api.widget.AdminWidgetResponse.apply AdminWidgetResponse.apply(widget, scala.Some.apply[org.make.core.user.User](author))
221 40536 7266 - 7317 Apply akka.http.scaladsl.server.directives.RouteDirectives.complete $anon.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.widget.AdminWidgetResponse](AdminWidgetResponse.apply(widget, scala.Some.apply[org.make.core.user.User](author)))(marshalling.this.Marshaller.liftMarshaller[org.make.api.widget.AdminWidgetResponse](DefaultAdminWidgetApiComponent.this.marshaller[org.make.api.widget.AdminWidgetResponse](widget.this.AdminWidgetResponse.codec, DefaultAdminWidgetApiComponent.this.marshaller$default$2[org.make.api.widget.AdminWidgetResponse]))))
221 47642 7275 - 7316 ApplyToImplicitArgs akka.http.scaladsl.marshalling.ToResponseMarshallable.apply marshalling.this.ToResponseMarshallable.apply[org.make.api.widget.AdminWidgetResponse](AdminWidgetResponse.apply(widget, scala.Some.apply[org.make.core.user.User](author)))(marshalling.this.Marshaller.liftMarshaller[org.make.api.widget.AdminWidgetResponse](DefaultAdminWidgetApiComponent.this.marshaller[org.make.api.widget.AdminWidgetResponse](widget.this.AdminWidgetResponse.codec, DefaultAdminWidgetApiComponent.this.marshaller$default$2[org.make.api.widget.AdminWidgetResponse])))
221 30589 7294 - 7294 ApplyToImplicitArgs akka.http.scaladsl.marshalling.LowPriorityToResponseMarshallerImplicits.liftMarshaller marshalling.this.Marshaller.liftMarshaller[org.make.api.widget.AdminWidgetResponse](DefaultAdminWidgetApiComponent.this.marshaller[org.make.api.widget.AdminWidgetResponse](widget.this.AdminWidgetResponse.codec, DefaultAdminWidgetApiComponent.this.marshaller$default$2[org.make.api.widget.AdminWidgetResponse]))
221 33238 7294 - 7294 Select org.make.api.widget.AdminWidgetResponse.codec widget.this.AdminWidgetResponse.codec
230 45079 7436 - 9825 Apply scala.Function1.apply org.make.api.widget.adminwidgetapitest server.this.Directive.addByNameNullaryApply($anon.this.post).apply(server.this.Directive.addByNameNullaryApply($anon.this.path[Unit]($anon.this._segmentStringToPathMatcher("admin")./[Unit]($anon.this._segmentStringToPathMatcher("widgets"))(TupleOps.this.Join.join0P[Unit]))).apply(server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminWidgetApiComponent.this.makeOperation("AdminWidgetsCreate", DefaultAdminWidgetApiComponent.this.makeOperation$default$2, DefaultAdminWidgetApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$6: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminWidgetApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultAdminWidgetApiComponent.this.requireAdminRole(userAuth.user)).apply(server.this.Directive.addByNameNullaryApply($anon.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.widget.AdminWidgetRequest,)]($anon.this.entity[org.make.api.widget.AdminWidgetRequest]($anon.this.as[org.make.api.widget.AdminWidgetRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.widget.AdminWidgetRequest](DefaultAdminWidgetApiComponent.this.unmarshaller[org.make.api.widget.AdminWidgetRequest](widget.this.AdminWidgetRequest.codec)))))(util.this.ApplyConverter.hac1[org.make.api.widget.AdminWidgetRequest]).apply(((request: org.make.api.widget.AdminWidgetRequest) => server.this.Directive.addDirectiveApply[(org.make.api.widget.AdminWidgetResponse,)](cats.implicits.catsSyntaxFlatten[akka.http.scaladsl.server.Directive1, org.make.api.widget.AdminWidgetResponse](cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, org.make.core.widget.Source, org.make.core.question.Question](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[org.make.core.widget.Source], akka.http.scaladsl.server.Directive1[org.make.core.question.Question]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.widget.Source](DefaultAdminWidgetApiComponent.this.sourceService.get(request.sourceId)).asDirectiveOrBadRequest(org.make.core.ValidationError.apply("sourceId", "not_found", scala.Some.apply[String](("Source ".+(request.sourceId.value).+(" doesn\'t exist"): String)))), org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](DefaultAdminWidgetApiComponent.this.questionService.getQuestion(request.questionId)).asDirectiveOrBadRequest(org.make.core.ValidationError.apply("questionId", "not_found", scala.Some.apply[String](("Question ".+(request.questionId.value).+(" doesn\'t exist"): String)))))).mapN[akka.http.scaladsl.server.Directive1[org.make.api.widget.AdminWidgetResponse]](((source: org.make.core.widget.Source, question: org.make.core.question.Question) => { org.make.core.technical.ValidatedUtils.ValidatedNecWithUtils[org.make.core.reference.Country](org.make.core.Validation.AnyWithParsers[org.make.core.reference.Country](request.country).predicateValidated(((country: org.make.core.reference.Country) => question.countries.toList.contains[org.make.core.reference.Country](country)), "country", "invalid_value", scala.Some.apply[String](("Country ".+(request.country.value).+(" is not one of question\'s countries"): String)))).throwIfInvalid(); cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, org.make.core.user.User, org.make.core.widget.Widget](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[org.make.core.user.User], akka.http.scaladsl.server.Directive1[org.make.core.widget.Widget]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultAdminWidgetApiComponent.this.userService.getUser(userAuth.user.userId)).asDirectiveOrNotFound, org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.widget.Widget](DefaultAdminWidgetApiComponent.this.widgetService.create(source, question, request.country, request.language, request.sequenceKind, userAuth.user.userId)).asDirective)).mapN[org.make.api.widget.AdminWidgetResponse](((author: org.make.core.user.User, widget: org.make.core.widget.Widget) => AdminWidgetResponse.apply(widget, scala.Some.apply[org.make.core.user.User](author))))(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad) }))(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad))(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).flatten(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad))(util.this.ApplyConverter.hac1[org.make.api.widget.AdminWidgetResponse]).apply(((response: org.make.api.widget.AdminWidgetResponse) => $anon.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.widget.AdminWidgetResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Created).->[org.make.api.widget.AdminWidgetResponse](response))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.widget.AdminWidgetResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminWidgetApiComponent.this.marshaller[org.make.api.widget.AdminWidgetResponse](widget.this.AdminWidgetResponse.codec, DefaultAdminWidgetApiComponent.this.marshaller$default$2[org.make.api.widget.AdminWidgetResponse]))))))))))))))))
230 43682 7436 - 7440 Select akka.http.scaladsl.server.directives.MethodDirectives.post org.make.api.widget.adminwidgetapitest $anon.this.post
231 45468 7462 - 7462 TypeApply akka.http.scaladsl.server.util.TupleOps.Join.join0P org.make.api.widget.adminwidgetapitest TupleOps.this.Join.join0P[Unit]
231 33807 7449 - 7474 Apply akka.http.scaladsl.server.directives.PathDirectives.path org.make.api.widget.adminwidgetapitest $anon.this.path[Unit]($anon.this._segmentStringToPathMatcher("admin")./[Unit]($anon.this._segmentStringToPathMatcher("widgets"))(TupleOps.this.Join.join0P[Unit]))
231 40575 7454 - 7461 Literal <nosymbol> org.make.api.widget.adminwidgetapitest "admin"
231 32984 7464 - 7473 ApplyImplicitView akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher org.make.api.widget.adminwidgetapitest $anon.this._segmentStringToPathMatcher("widgets")
231 37891 7454 - 7473 ApplyToImplicitArgs akka.http.scaladsl.server.PathMatcher./ org.make.api.widget.adminwidgetapitest $anon.this._segmentStringToPathMatcher("admin")./[Unit]($anon.this._segmentStringToPathMatcher("widgets"))(TupleOps.this.Join.join0P[Unit])
231 33025 7449 - 9819 Apply scala.Function1.apply org.make.api.widget.adminwidgetapitest server.this.Directive.addByNameNullaryApply($anon.this.path[Unit]($anon.this._segmentStringToPathMatcher("admin")./[Unit]($anon.this._segmentStringToPathMatcher("widgets"))(TupleOps.this.Join.join0P[Unit]))).apply(server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminWidgetApiComponent.this.makeOperation("AdminWidgetsCreate", DefaultAdminWidgetApiComponent.this.makeOperation$default$2, DefaultAdminWidgetApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$6: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminWidgetApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultAdminWidgetApiComponent.this.requireAdminRole(userAuth.user)).apply(server.this.Directive.addByNameNullaryApply($anon.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.widget.AdminWidgetRequest,)]($anon.this.entity[org.make.api.widget.AdminWidgetRequest]($anon.this.as[org.make.api.widget.AdminWidgetRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.widget.AdminWidgetRequest](DefaultAdminWidgetApiComponent.this.unmarshaller[org.make.api.widget.AdminWidgetRequest](widget.this.AdminWidgetRequest.codec)))))(util.this.ApplyConverter.hac1[org.make.api.widget.AdminWidgetRequest]).apply(((request: org.make.api.widget.AdminWidgetRequest) => server.this.Directive.addDirectiveApply[(org.make.api.widget.AdminWidgetResponse,)](cats.implicits.catsSyntaxFlatten[akka.http.scaladsl.server.Directive1, org.make.api.widget.AdminWidgetResponse](cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, org.make.core.widget.Source, org.make.core.question.Question](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[org.make.core.widget.Source], akka.http.scaladsl.server.Directive1[org.make.core.question.Question]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.widget.Source](DefaultAdminWidgetApiComponent.this.sourceService.get(request.sourceId)).asDirectiveOrBadRequest(org.make.core.ValidationError.apply("sourceId", "not_found", scala.Some.apply[String](("Source ".+(request.sourceId.value).+(" doesn\'t exist"): String)))), org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](DefaultAdminWidgetApiComponent.this.questionService.getQuestion(request.questionId)).asDirectiveOrBadRequest(org.make.core.ValidationError.apply("questionId", "not_found", scala.Some.apply[String](("Question ".+(request.questionId.value).+(" doesn\'t exist"): String)))))).mapN[akka.http.scaladsl.server.Directive1[org.make.api.widget.AdminWidgetResponse]](((source: org.make.core.widget.Source, question: org.make.core.question.Question) => { org.make.core.technical.ValidatedUtils.ValidatedNecWithUtils[org.make.core.reference.Country](org.make.core.Validation.AnyWithParsers[org.make.core.reference.Country](request.country).predicateValidated(((country: org.make.core.reference.Country) => question.countries.toList.contains[org.make.core.reference.Country](country)), "country", "invalid_value", scala.Some.apply[String](("Country ".+(request.country.value).+(" is not one of question\'s countries"): String)))).throwIfInvalid(); cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, org.make.core.user.User, org.make.core.widget.Widget](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[org.make.core.user.User], akka.http.scaladsl.server.Directive1[org.make.core.widget.Widget]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultAdminWidgetApiComponent.this.userService.getUser(userAuth.user.userId)).asDirectiveOrNotFound, org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.widget.Widget](DefaultAdminWidgetApiComponent.this.widgetService.create(source, question, request.country, request.language, request.sequenceKind, userAuth.user.userId)).asDirective)).mapN[org.make.api.widget.AdminWidgetResponse](((author: org.make.core.user.User, widget: org.make.core.widget.Widget) => AdminWidgetResponse.apply(widget, scala.Some.apply[org.make.core.user.User](author))))(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad) }))(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad))(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).flatten(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad))(util.this.ApplyConverter.hac1[org.make.api.widget.AdminWidgetResponse]).apply(((response: org.make.api.widget.AdminWidgetResponse) => $anon.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.widget.AdminWidgetResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Created).->[org.make.api.widget.AdminWidgetResponse](response))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.widget.AdminWidgetResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminWidgetApiComponent.this.marshaller[org.make.api.widget.AdminWidgetResponse](widget.this.AdminWidgetResponse.codec, DefaultAdminWidgetApiComponent.this.marshaller$default$2[org.make.api.widget.AdminWidgetResponse])))))))))))))))
232 39526 7485 - 7485 Select org.make.api.technical.MakeDirectives.makeOperation$default$2 org.make.api.widget.adminwidgetapitest DefaultAdminWidgetApiComponent.this.makeOperation$default$2
232 40321 7498 - 7498 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 org.make.api.widget.adminwidgetapitest util.this.ApplyConverter.hac1[org.make.core.RequestContext]
232 31089 7485 - 7485 Select org.make.api.technical.MakeDirectives.makeOperation$default$3 org.make.api.widget.adminwidgetapitest DefaultAdminWidgetApiComponent.this.makeOperation$default$3
232 44420 7485 - 7520 Apply org.make.api.technical.MakeDirectives.makeOperation org.make.api.widget.adminwidgetapitest DefaultAdminWidgetApiComponent.this.makeOperation("AdminWidgetsCreate", DefaultAdminWidgetApiComponent.this.makeOperation$default$2, DefaultAdminWidgetApiComponent.this.makeOperation$default$3)
232 47087 7499 - 7519 Literal <nosymbol> org.make.api.widget.adminwidgetapitest "AdminWidgetsCreate"
232 36913 7485 - 9811 Apply scala.Function1.apply org.make.api.widget.adminwidgetapitest server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminWidgetApiComponent.this.makeOperation("AdminWidgetsCreate", DefaultAdminWidgetApiComponent.this.makeOperation$default$2, DefaultAdminWidgetApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$6: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminWidgetApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultAdminWidgetApiComponent.this.requireAdminRole(userAuth.user)).apply(server.this.Directive.addByNameNullaryApply($anon.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.widget.AdminWidgetRequest,)]($anon.this.entity[org.make.api.widget.AdminWidgetRequest]($anon.this.as[org.make.api.widget.AdminWidgetRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.widget.AdminWidgetRequest](DefaultAdminWidgetApiComponent.this.unmarshaller[org.make.api.widget.AdminWidgetRequest](widget.this.AdminWidgetRequest.codec)))))(util.this.ApplyConverter.hac1[org.make.api.widget.AdminWidgetRequest]).apply(((request: org.make.api.widget.AdminWidgetRequest) => server.this.Directive.addDirectiveApply[(org.make.api.widget.AdminWidgetResponse,)](cats.implicits.catsSyntaxFlatten[akka.http.scaladsl.server.Directive1, org.make.api.widget.AdminWidgetResponse](cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, org.make.core.widget.Source, org.make.core.question.Question](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[org.make.core.widget.Source], akka.http.scaladsl.server.Directive1[org.make.core.question.Question]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.widget.Source](DefaultAdminWidgetApiComponent.this.sourceService.get(request.sourceId)).asDirectiveOrBadRequest(org.make.core.ValidationError.apply("sourceId", "not_found", scala.Some.apply[String](("Source ".+(request.sourceId.value).+(" doesn\'t exist"): String)))), org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](DefaultAdminWidgetApiComponent.this.questionService.getQuestion(request.questionId)).asDirectiveOrBadRequest(org.make.core.ValidationError.apply("questionId", "not_found", scala.Some.apply[String](("Question ".+(request.questionId.value).+(" doesn\'t exist"): String)))))).mapN[akka.http.scaladsl.server.Directive1[org.make.api.widget.AdminWidgetResponse]](((source: org.make.core.widget.Source, question: org.make.core.question.Question) => { org.make.core.technical.ValidatedUtils.ValidatedNecWithUtils[org.make.core.reference.Country](org.make.core.Validation.AnyWithParsers[org.make.core.reference.Country](request.country).predicateValidated(((country: org.make.core.reference.Country) => question.countries.toList.contains[org.make.core.reference.Country](country)), "country", "invalid_value", scala.Some.apply[String](("Country ".+(request.country.value).+(" is not one of question\'s countries"): String)))).throwIfInvalid(); cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, org.make.core.user.User, org.make.core.widget.Widget](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[org.make.core.user.User], akka.http.scaladsl.server.Directive1[org.make.core.widget.Widget]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultAdminWidgetApiComponent.this.userService.getUser(userAuth.user.userId)).asDirectiveOrNotFound, org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.widget.Widget](DefaultAdminWidgetApiComponent.this.widgetService.create(source, question, request.country, request.language, request.sequenceKind, userAuth.user.userId)).asDirective)).mapN[org.make.api.widget.AdminWidgetResponse](((author: org.make.core.user.User, widget: org.make.core.widget.Widget) => AdminWidgetResponse.apply(widget, scala.Some.apply[org.make.core.user.User](author))))(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad) }))(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad))(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).flatten(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad))(util.this.ApplyConverter.hac1[org.make.api.widget.AdminWidgetResponse]).apply(((response: org.make.api.widget.AdminWidgetResponse) => $anon.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.widget.AdminWidgetResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Created).->[org.make.api.widget.AdminWidgetResponse](response))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.widget.AdminWidgetResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminWidgetApiComponent.this.marshaller[org.make.api.widget.AdminWidgetResponse](widget.this.AdminWidgetResponse.codec, DefaultAdminWidgetApiComponent.this.marshaller$default$2[org.make.api.widget.AdminWidgetResponse]))))))))))))))
233 44006 7538 - 9801 Apply scala.Function1.apply org.make.api.widget.adminwidgetapitest server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminWidgetApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultAdminWidgetApiComponent.this.requireAdminRole(userAuth.user)).apply(server.this.Directive.addByNameNullaryApply($anon.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.widget.AdminWidgetRequest,)]($anon.this.entity[org.make.api.widget.AdminWidgetRequest]($anon.this.as[org.make.api.widget.AdminWidgetRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.widget.AdminWidgetRequest](DefaultAdminWidgetApiComponent.this.unmarshaller[org.make.api.widget.AdminWidgetRequest](widget.this.AdminWidgetRequest.codec)))))(util.this.ApplyConverter.hac1[org.make.api.widget.AdminWidgetRequest]).apply(((request: org.make.api.widget.AdminWidgetRequest) => server.this.Directive.addDirectiveApply[(org.make.api.widget.AdminWidgetResponse,)](cats.implicits.catsSyntaxFlatten[akka.http.scaladsl.server.Directive1, org.make.api.widget.AdminWidgetResponse](cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, org.make.core.widget.Source, org.make.core.question.Question](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[org.make.core.widget.Source], akka.http.scaladsl.server.Directive1[org.make.core.question.Question]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.widget.Source](DefaultAdminWidgetApiComponent.this.sourceService.get(request.sourceId)).asDirectiveOrBadRequest(org.make.core.ValidationError.apply("sourceId", "not_found", scala.Some.apply[String](("Source ".+(request.sourceId.value).+(" doesn\'t exist"): String)))), org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](DefaultAdminWidgetApiComponent.this.questionService.getQuestion(request.questionId)).asDirectiveOrBadRequest(org.make.core.ValidationError.apply("questionId", "not_found", scala.Some.apply[String](("Question ".+(request.questionId.value).+(" doesn\'t exist"): String)))))).mapN[akka.http.scaladsl.server.Directive1[org.make.api.widget.AdminWidgetResponse]](((source: org.make.core.widget.Source, question: org.make.core.question.Question) => { org.make.core.technical.ValidatedUtils.ValidatedNecWithUtils[org.make.core.reference.Country](org.make.core.Validation.AnyWithParsers[org.make.core.reference.Country](request.country).predicateValidated(((country: org.make.core.reference.Country) => question.countries.toList.contains[org.make.core.reference.Country](country)), "country", "invalid_value", scala.Some.apply[String](("Country ".+(request.country.value).+(" is not one of question\'s countries"): String)))).throwIfInvalid(); cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, org.make.core.user.User, org.make.core.widget.Widget](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[org.make.core.user.User], akka.http.scaladsl.server.Directive1[org.make.core.widget.Widget]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultAdminWidgetApiComponent.this.userService.getUser(userAuth.user.userId)).asDirectiveOrNotFound, org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.widget.Widget](DefaultAdminWidgetApiComponent.this.widgetService.create(source, question, request.country, request.language, request.sequenceKind, userAuth.user.userId)).asDirective)).mapN[org.make.api.widget.AdminWidgetResponse](((author: org.make.core.user.User, widget: org.make.core.widget.Widget) => AdminWidgetResponse.apply(widget, scala.Some.apply[org.make.core.user.User](author))))(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad) }))(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad))(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).flatten(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad))(util.this.ApplyConverter.hac1[org.make.api.widget.AdminWidgetResponse]).apply(((response: org.make.api.widget.AdminWidgetResponse) => $anon.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.widget.AdminWidgetResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Created).->[org.make.api.widget.AdminWidgetResponse](response))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.widget.AdminWidgetResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminWidgetApiComponent.this.marshaller[org.make.api.widget.AdminWidgetResponse](widget.this.AdminWidgetResponse.codec, DefaultAdminWidgetApiComponent.this.marshaller$default$2[org.make.api.widget.AdminWidgetResponse]))))))))))))
233 45508 7538 - 7538 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 org.make.api.widget.adminwidgetapitest util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]
233 32726 7538 - 7548 Select org.make.api.technical.auth.MakeAuthentication.makeOAuth2 org.make.api.widget.adminwidgetapitest DefaultAdminWidgetApiComponent.this.makeOAuth2
234 33231 7597 - 7628 Apply org.make.api.technical.MakeAuthenticationDirectives.requireAdminRole DefaultAdminWidgetApiComponent.this.requireAdminRole(userAuth.user)
234 37648 7614 - 7627 Select scalaoauth2.provider.AuthInfo.user userAuth.user
234 30659 7597 - 9789 Apply scala.Function1.apply server.this.Directive.addByNameNullaryApply(DefaultAdminWidgetApiComponent.this.requireAdminRole(userAuth.user)).apply(server.this.Directive.addByNameNullaryApply($anon.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.widget.AdminWidgetRequest,)]($anon.this.entity[org.make.api.widget.AdminWidgetRequest]($anon.this.as[org.make.api.widget.AdminWidgetRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.widget.AdminWidgetRequest](DefaultAdminWidgetApiComponent.this.unmarshaller[org.make.api.widget.AdminWidgetRequest](widget.this.AdminWidgetRequest.codec)))))(util.this.ApplyConverter.hac1[org.make.api.widget.AdminWidgetRequest]).apply(((request: org.make.api.widget.AdminWidgetRequest) => server.this.Directive.addDirectiveApply[(org.make.api.widget.AdminWidgetResponse,)](cats.implicits.catsSyntaxFlatten[akka.http.scaladsl.server.Directive1, org.make.api.widget.AdminWidgetResponse](cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, org.make.core.widget.Source, org.make.core.question.Question](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[org.make.core.widget.Source], akka.http.scaladsl.server.Directive1[org.make.core.question.Question]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.widget.Source](DefaultAdminWidgetApiComponent.this.sourceService.get(request.sourceId)).asDirectiveOrBadRequest(org.make.core.ValidationError.apply("sourceId", "not_found", scala.Some.apply[String](("Source ".+(request.sourceId.value).+(" doesn\'t exist"): String)))), org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](DefaultAdminWidgetApiComponent.this.questionService.getQuestion(request.questionId)).asDirectiveOrBadRequest(org.make.core.ValidationError.apply("questionId", "not_found", scala.Some.apply[String](("Question ".+(request.questionId.value).+(" doesn\'t exist"): String)))))).mapN[akka.http.scaladsl.server.Directive1[org.make.api.widget.AdminWidgetResponse]](((source: org.make.core.widget.Source, question: org.make.core.question.Question) => { org.make.core.technical.ValidatedUtils.ValidatedNecWithUtils[org.make.core.reference.Country](org.make.core.Validation.AnyWithParsers[org.make.core.reference.Country](request.country).predicateValidated(((country: org.make.core.reference.Country) => question.countries.toList.contains[org.make.core.reference.Country](country)), "country", "invalid_value", scala.Some.apply[String](("Country ".+(request.country.value).+(" is not one of question\'s countries"): String)))).throwIfInvalid(); cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, org.make.core.user.User, org.make.core.widget.Widget](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[org.make.core.user.User], akka.http.scaladsl.server.Directive1[org.make.core.widget.Widget]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultAdminWidgetApiComponent.this.userService.getUser(userAuth.user.userId)).asDirectiveOrNotFound, org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.widget.Widget](DefaultAdminWidgetApiComponent.this.widgetService.create(source, question, request.country, request.language, request.sequenceKind, userAuth.user.userId)).asDirective)).mapN[org.make.api.widget.AdminWidgetResponse](((author: org.make.core.user.User, widget: org.make.core.widget.Widget) => AdminWidgetResponse.apply(widget, scala.Some.apply[org.make.core.user.User](author))))(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad) }))(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad))(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).flatten(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad))(util.this.ApplyConverter.hac1[org.make.api.widget.AdminWidgetResponse]).apply(((response: org.make.api.widget.AdminWidgetResponse) => $anon.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.widget.AdminWidgetResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Created).->[org.make.api.widget.AdminWidgetResponse](response))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.widget.AdminWidgetResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminWidgetApiComponent.this.marshaller[org.make.api.widget.AdminWidgetResponse](widget.this.AdminWidgetResponse.codec, DefaultAdminWidgetApiComponent.this.marshaller$default$2[org.make.api.widget.AdminWidgetResponse]))))))))))
235 39104 7645 - 9775 Apply scala.Function1.apply server.this.Directive.addByNameNullaryApply($anon.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.widget.AdminWidgetRequest,)]($anon.this.entity[org.make.api.widget.AdminWidgetRequest]($anon.this.as[org.make.api.widget.AdminWidgetRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.widget.AdminWidgetRequest](DefaultAdminWidgetApiComponent.this.unmarshaller[org.make.api.widget.AdminWidgetRequest](widget.this.AdminWidgetRequest.codec)))))(util.this.ApplyConverter.hac1[org.make.api.widget.AdminWidgetRequest]).apply(((request: org.make.api.widget.AdminWidgetRequest) => server.this.Directive.addDirectiveApply[(org.make.api.widget.AdminWidgetResponse,)](cats.implicits.catsSyntaxFlatten[akka.http.scaladsl.server.Directive1, org.make.api.widget.AdminWidgetResponse](cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, org.make.core.widget.Source, org.make.core.question.Question](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[org.make.core.widget.Source], akka.http.scaladsl.server.Directive1[org.make.core.question.Question]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.widget.Source](DefaultAdminWidgetApiComponent.this.sourceService.get(request.sourceId)).asDirectiveOrBadRequest(org.make.core.ValidationError.apply("sourceId", "not_found", scala.Some.apply[String](("Source ".+(request.sourceId.value).+(" doesn\'t exist"): String)))), org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](DefaultAdminWidgetApiComponent.this.questionService.getQuestion(request.questionId)).asDirectiveOrBadRequest(org.make.core.ValidationError.apply("questionId", "not_found", scala.Some.apply[String](("Question ".+(request.questionId.value).+(" doesn\'t exist"): String)))))).mapN[akka.http.scaladsl.server.Directive1[org.make.api.widget.AdminWidgetResponse]](((source: org.make.core.widget.Source, question: org.make.core.question.Question) => { org.make.core.technical.ValidatedUtils.ValidatedNecWithUtils[org.make.core.reference.Country](org.make.core.Validation.AnyWithParsers[org.make.core.reference.Country](request.country).predicateValidated(((country: org.make.core.reference.Country) => question.countries.toList.contains[org.make.core.reference.Country](country)), "country", "invalid_value", scala.Some.apply[String](("Country ".+(request.country.value).+(" is not one of question\'s countries"): String)))).throwIfInvalid(); cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, org.make.core.user.User, org.make.core.widget.Widget](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[org.make.core.user.User], akka.http.scaladsl.server.Directive1[org.make.core.widget.Widget]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultAdminWidgetApiComponent.this.userService.getUser(userAuth.user.userId)).asDirectiveOrNotFound, org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.widget.Widget](DefaultAdminWidgetApiComponent.this.widgetService.create(source, question, request.country, request.language, request.sequenceKind, userAuth.user.userId)).asDirective)).mapN[org.make.api.widget.AdminWidgetResponse](((author: org.make.core.user.User, widget: org.make.core.widget.Widget) => AdminWidgetResponse.apply(widget, scala.Some.apply[org.make.core.user.User](author))))(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad) }))(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad))(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).flatten(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad))(util.this.ApplyConverter.hac1[org.make.api.widget.AdminWidgetResponse]).apply(((response: org.make.api.widget.AdminWidgetResponse) => $anon.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.widget.AdminWidgetResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Created).->[org.make.api.widget.AdminWidgetResponse](response))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.widget.AdminWidgetResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminWidgetApiComponent.this.marshaller[org.make.api.widget.AdminWidgetResponse](widget.this.AdminWidgetResponse.codec, DefaultAdminWidgetApiComponent.this.marshaller$default$2[org.make.api.widget.AdminWidgetResponse])))))))))
235 47126 7645 - 7658 Select akka.http.scaladsl.server.directives.CodingDirectives.decodeRequest $anon.this.decodeRequest
236 39771 7684 - 7706 ApplyToImplicitArgs akka.http.scaladsl.server.directives.MarshallingDirectives.as $anon.this.as[org.make.api.widget.AdminWidgetRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.widget.AdminWidgetRequest](DefaultAdminWidgetApiComponent.this.unmarshaller[org.make.api.widget.AdminWidgetRequest](widget.this.AdminWidgetRequest.codec)))
236 31131 7686 - 7686 ApplyToImplicitArgs de.heikoseeberger.akkahttpcirce.ErrorAccumulatingUnmarshaller.unmarshaller DefaultAdminWidgetApiComponent.this.unmarshaller[org.make.api.widget.AdminWidgetRequest](widget.this.AdminWidgetRequest.codec)
236 38735 7686 - 7686 Select org.make.api.widget.AdminWidgetRequest.codec widget.this.AdminWidgetRequest.codec
236 45254 7683 - 7683 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 util.this.ApplyConverter.hac1[org.make.api.widget.AdminWidgetRequest]
236 42377 7677 - 9759 Apply scala.Function1.apply server.this.Directive.addDirectiveApply[(org.make.api.widget.AdminWidgetRequest,)]($anon.this.entity[org.make.api.widget.AdminWidgetRequest]($anon.this.as[org.make.api.widget.AdminWidgetRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.widget.AdminWidgetRequest](DefaultAdminWidgetApiComponent.this.unmarshaller[org.make.api.widget.AdminWidgetRequest](widget.this.AdminWidgetRequest.codec)))))(util.this.ApplyConverter.hac1[org.make.api.widget.AdminWidgetRequest]).apply(((request: org.make.api.widget.AdminWidgetRequest) => server.this.Directive.addDirectiveApply[(org.make.api.widget.AdminWidgetResponse,)](cats.implicits.catsSyntaxFlatten[akka.http.scaladsl.server.Directive1, org.make.api.widget.AdminWidgetResponse](cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, org.make.core.widget.Source, org.make.core.question.Question](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[org.make.core.widget.Source], akka.http.scaladsl.server.Directive1[org.make.core.question.Question]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.widget.Source](DefaultAdminWidgetApiComponent.this.sourceService.get(request.sourceId)).asDirectiveOrBadRequest(org.make.core.ValidationError.apply("sourceId", "not_found", scala.Some.apply[String](("Source ".+(request.sourceId.value).+(" doesn\'t exist"): String)))), org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](DefaultAdminWidgetApiComponent.this.questionService.getQuestion(request.questionId)).asDirectiveOrBadRequest(org.make.core.ValidationError.apply("questionId", "not_found", scala.Some.apply[String](("Question ".+(request.questionId.value).+(" doesn\'t exist"): String)))))).mapN[akka.http.scaladsl.server.Directive1[org.make.api.widget.AdminWidgetResponse]](((source: org.make.core.widget.Source, question: org.make.core.question.Question) => { org.make.core.technical.ValidatedUtils.ValidatedNecWithUtils[org.make.core.reference.Country](org.make.core.Validation.AnyWithParsers[org.make.core.reference.Country](request.country).predicateValidated(((country: org.make.core.reference.Country) => question.countries.toList.contains[org.make.core.reference.Country](country)), "country", "invalid_value", scala.Some.apply[String](("Country ".+(request.country.value).+(" is not one of question\'s countries"): String)))).throwIfInvalid(); cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, org.make.core.user.User, org.make.core.widget.Widget](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[org.make.core.user.User], akka.http.scaladsl.server.Directive1[org.make.core.widget.Widget]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultAdminWidgetApiComponent.this.userService.getUser(userAuth.user.userId)).asDirectiveOrNotFound, org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.widget.Widget](DefaultAdminWidgetApiComponent.this.widgetService.create(source, question, request.country, request.language, request.sequenceKind, userAuth.user.userId)).asDirective)).mapN[org.make.api.widget.AdminWidgetResponse](((author: org.make.core.user.User, widget: org.make.core.widget.Widget) => AdminWidgetResponse.apply(widget, scala.Some.apply[org.make.core.user.User](author))))(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad) }))(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad))(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).flatten(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad))(util.this.ApplyConverter.hac1[org.make.api.widget.AdminWidgetResponse]).apply(((response: org.make.api.widget.AdminWidgetResponse) => $anon.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.widget.AdminWidgetResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Created).->[org.make.api.widget.AdminWidgetResponse](response))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.widget.AdminWidgetResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminWidgetApiComponent.this.marshaller[org.make.api.widget.AdminWidgetResponse](widget.this.AdminWidgetResponse.codec, DefaultAdminWidgetApiComponent.this.marshaller$default$2[org.make.api.widget.AdminWidgetResponse]))))))))
236 32771 7677 - 7707 Apply akka.http.scaladsl.server.directives.MarshallingDirectives.entity $anon.this.entity[org.make.api.widget.AdminWidgetRequest]($anon.this.as[org.make.api.widget.AdminWidgetRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.widget.AdminWidgetRequest](DefaultAdminWidgetApiComponent.this.unmarshaller[org.make.api.widget.AdminWidgetRequest](widget.this.AdminWidgetRequest.codec))))
236 43636 7686 - 7686 ApplyToImplicitArgs akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.messageUnmarshallerFromEntityUnmarshaller unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.widget.AdminWidgetRequest](DefaultAdminWidgetApiComponent.this.unmarshaller[org.make.api.widget.AdminWidgetRequest](widget.this.AdminWidgetRequest.codec))
237 43709 7759 - 8553 Apply scala.Tuple2.apply scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[org.make.core.widget.Source], akka.http.scaladsl.server.Directive1[org.make.core.question.Question]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.widget.Source](DefaultAdminWidgetApiComponent.this.sourceService.get(request.sourceId)).asDirectiveOrBadRequest(org.make.core.ValidationError.apply("sourceId", "not_found", scala.Some.apply[String](("Source ".+(request.sourceId.value).+(" doesn\'t exist"): String)))), org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](DefaultAdminWidgetApiComponent.this.questionService.getQuestion(request.questionId)).asDirectiveOrBadRequest(org.make.core.ValidationError.apply("questionId", "not_found", scala.Some.apply[String](("Question ".+(request.questionId.value).+(" doesn\'t exist"): String)))))
239 50460 7781 - 7839 Apply org.make.api.widget.SourceService.get DefaultAdminWidgetApiComponent.this.sourceService.get(request.sourceId)
239 37687 7822 - 7838 Select org.make.api.widget.AdminWidgetRequest.sourceId request.sourceId
240 39815 7781 - 8137 Apply org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes.asDirectiveOrBadRequest org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.widget.Source](DefaultAdminWidgetApiComponent.this.sourceService.get(request.sourceId)).asDirectiveOrBadRequest(org.make.core.ValidationError.apply("sourceId", "not_found", scala.Some.apply[String](("Source ".+(request.sourceId.value).+(" doesn\'t exist"): String))))
241 43672 7912 - 8113 Apply org.make.core.ValidationError.apply org.make.core.ValidationError.apply("sourceId", "not_found", scala.Some.apply[String](("Source ".+(request.sourceId.value).+(" doesn\'t exist"): String)))
242 46297 7955 - 7965 Literal <nosymbol> "sourceId"
243 38773 7993 - 8004 Literal <nosymbol> "not_found"
244 30880 8032 - 8087 Apply scala.Some.apply scala.Some.apply[String](("Source ".+(request.sourceId.value).+(" doesn\'t exist"): String))
248 45295 8159 - 8229 Apply org.make.api.question.QuestionService.getQuestion DefaultAdminWidgetApiComponent.this.questionService.getQuestion(request.questionId)
248 32679 8210 - 8228 Select org.make.api.widget.AdminWidgetRequest.questionId request.questionId
249 30918 8159 - 8533 Apply org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes.asDirectiveOrBadRequest org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](DefaultAdminWidgetApiComponent.this.questionService.getQuestion(request.questionId)).asDirectiveOrBadRequest(org.make.core.ValidationError.apply("questionId", "not_found", scala.Some.apply[String](("Question ".+(request.questionId.value).+(" doesn\'t exist"): String))))
250 39231 8302 - 8509 Apply org.make.core.ValidationError.apply org.make.core.ValidationError.apply("questionId", "not_found", scala.Some.apply[String](("Question ".+(request.questionId.value).+(" doesn\'t exist"): String)))
251 38204 8345 - 8357 Literal <nosymbol> "questionId"
252 50214 8385 - 8396 Literal <nosymbol> "not_found"
253 46341 8424 - 8483 Apply scala.Some.apply scala.Some.apply[String](("Question ".+(request.questionId.value).+(" doesn\'t exist"): String))
256 30871 8558 - 8558 Select org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
256 44215 8558 - 8558 Select org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
256 36435 7759 - 9630 ApplyToImplicitArgs cats.syntax.Tuple2SemigroupalOps.mapN cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, org.make.core.widget.Source, org.make.core.question.Question](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[org.make.core.widget.Source], akka.http.scaladsl.server.Directive1[org.make.core.question.Question]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.widget.Source](DefaultAdminWidgetApiComponent.this.sourceService.get(request.sourceId)).asDirectiveOrBadRequest(org.make.core.ValidationError.apply("sourceId", "not_found", scala.Some.apply[String](("Source ".+(request.sourceId.value).+(" doesn\'t exist"): String)))), org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](DefaultAdminWidgetApiComponent.this.questionService.getQuestion(request.questionId)).asDirectiveOrBadRequest(org.make.core.ValidationError.apply("questionId", "not_found", scala.Some.apply[String](("Question ".+(request.questionId.value).+(" doesn\'t exist"): String)))))).mapN[akka.http.scaladsl.server.Directive1[org.make.api.widget.AdminWidgetResponse]](((source: org.make.core.widget.Source, question: org.make.core.question.Question) => { org.make.core.technical.ValidatedUtils.ValidatedNecWithUtils[org.make.core.reference.Country](org.make.core.Validation.AnyWithParsers[org.make.core.reference.Country](request.country).predicateValidated(((country: org.make.core.reference.Country) => question.countries.toList.contains[org.make.core.reference.Country](country)), "country", "invalid_value", scala.Some.apply[String](("Country ".+(request.country.value).+(" is not one of question\'s countries"): String)))).throwIfInvalid(); cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, org.make.core.user.User, org.make.core.widget.Widget](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[org.make.core.user.User], akka.http.scaladsl.server.Directive1[org.make.core.widget.Widget]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultAdminWidgetApiComponent.this.userService.getUser(userAuth.user.userId)).asDirectiveOrNotFound, org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.widget.Widget](DefaultAdminWidgetApiComponent.this.widgetService.create(source, question, request.country, request.language, request.sequenceKind, userAuth.user.userId)).asDirective)).mapN[org.make.api.widget.AdminWidgetResponse](((author: org.make.core.user.User, widget: org.make.core.widget.Widget) => AdminWidgetResponse.apply(widget, scala.Some.apply[org.make.core.user.User](author))))(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad) }))(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad)
256 32514 8558 - 8558 Select org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
264 40873 8605 - 8998 Apply org.make.core.technical.ValidatedUtils.ValidatedNecWithUtils.throwIfInvalid org.make.core.technical.ValidatedUtils.ValidatedNecWithUtils[org.make.core.reference.Country](org.make.core.Validation.AnyWithParsers[org.make.core.reference.Country](request.country).predicateValidated(((country: org.make.core.reference.Country) => question.countries.toList.contains[org.make.core.reference.Country](country)), "country", "invalid_value", scala.Some.apply[String](("Country ".+(request.country.value).+(" is not one of question\'s countries"): String)))).throwIfInvalid()
265 32475 9021 - 9539 Apply scala.Tuple2.apply scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[org.make.core.user.User], akka.http.scaladsl.server.Directive1[org.make.core.widget.Widget]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultAdminWidgetApiComponent.this.userService.getUser(userAuth.user.userId)).asDirectiveOrNotFound, org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.widget.Widget](DefaultAdminWidgetApiComponent.this.widgetService.create(source, question, request.country, request.language, request.sequenceKind, userAuth.user.userId)).asDirective)
266 32723 9067 - 9087 Select org.make.core.auth.UserRights.userId userAuth.user.userId
266 38242 9047 - 9110 Select org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes.asDirectiveOrNotFound org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultAdminWidgetApiComponent.this.userService.getUser(userAuth.user.userId)).asDirectiveOrNotFound
266 45763 9047 - 9088 Apply org.make.api.user.UserService.getUser DefaultAdminWidgetApiComponent.this.userService.getUser(userAuth.user.userId)
268 44768 9136 - 9476 Apply org.make.api.widget.WidgetService.create DefaultAdminWidgetApiComponent.this.widgetService.create(source, question, request.country, request.language, request.sequenceKind, userAuth.user.userId)
271 50253 9287 - 9302 Select org.make.api.widget.AdminWidgetRequest.country request.country
272 46830 9332 - 9348 Select org.make.api.widget.AdminWidgetRequest.language request.language
273 39276 9378 - 9398 Select org.make.api.widget.AdminWidgetRequest.sequenceKind request.sequenceKind
274 31390 9428 - 9448 Select org.make.core.auth.UserRights.userId userAuth.user.userId
276 35902 9136 - 9515 Select org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes.asDirective org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.widget.Widget](DefaultAdminWidgetApiComponent.this.widgetService.create(source, question, request.country, request.language, request.sequenceKind, userAuth.user.userId)).asDirective
277 39024 9021 - 9607 ApplyToImplicitArgs cats.syntax.Tuple2SemigroupalOps.mapN cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, org.make.core.user.User, org.make.core.widget.Widget](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[org.make.core.user.User], akka.http.scaladsl.server.Directive1[org.make.core.widget.Widget]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultAdminWidgetApiComponent.this.userService.getUser(userAuth.user.userId)).asDirectiveOrNotFound, org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.widget.Widget](DefaultAdminWidgetApiComponent.this.widgetService.create(source, question, request.country, request.language, request.sequenceKind, userAuth.user.userId)).asDirective)).mapN[org.make.api.widget.AdminWidgetResponse](((author: org.make.core.user.User, widget: org.make.core.widget.Widget) => AdminWidgetResponse.apply(widget, scala.Some.apply[org.make.core.user.User](author))))(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad)
277 37681 9565 - 9606 Apply org.make.api.widget.AdminWidgetResponse.apply AdminWidgetResponse.apply(widget, scala.Some.apply[org.make.core.user.User](author))
277 46871 9544 - 9544 Select org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
277 45802 9593 - 9605 Apply scala.Some.apply scala.Some.apply[org.make.core.user.User](author)
277 51310 9544 - 9544 Select org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
279 37433 7759 - 9659 ApplyToImplicitArgs cats.syntax.FlattenOps.flatten cats.implicits.catsSyntaxFlatten[akka.http.scaladsl.server.Directive1, org.make.api.widget.AdminWidgetResponse](cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, org.make.core.widget.Source, org.make.core.question.Question](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[org.make.core.widget.Source], akka.http.scaladsl.server.Directive1[org.make.core.question.Question]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.widget.Source](DefaultAdminWidgetApiComponent.this.sourceService.get(request.sourceId)).asDirectiveOrBadRequest(org.make.core.ValidationError.apply("sourceId", "not_found", scala.Some.apply[String](("Source ".+(request.sourceId.value).+(" doesn\'t exist"): String)))), org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](DefaultAdminWidgetApiComponent.this.questionService.getQuestion(request.questionId)).asDirectiveOrBadRequest(org.make.core.ValidationError.apply("questionId", "not_found", scala.Some.apply[String](("Question ".+(request.questionId.value).+(" doesn\'t exist"): String)))))).mapN[akka.http.scaladsl.server.Directive1[org.make.api.widget.AdminWidgetResponse]](((source: org.make.core.widget.Source, question: org.make.core.question.Question) => { org.make.core.technical.ValidatedUtils.ValidatedNecWithUtils[org.make.core.reference.Country](org.make.core.Validation.AnyWithParsers[org.make.core.reference.Country](request.country).predicateValidated(((country: org.make.core.reference.Country) => question.countries.toList.contains[org.make.core.reference.Country](country)), "country", "invalid_value", scala.Some.apply[String](("Country ".+(request.country.value).+(" is not one of question\'s countries"): String)))).throwIfInvalid(); cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, org.make.core.user.User, org.make.core.widget.Widget](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[org.make.core.user.User], akka.http.scaladsl.server.Directive1[org.make.core.widget.Widget]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultAdminWidgetApiComponent.this.userService.getUser(userAuth.user.userId)).asDirectiveOrNotFound, org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.widget.Widget](DefaultAdminWidgetApiComponent.this.widgetService.create(source, question, request.country, request.language, request.sequenceKind, userAuth.user.userId)).asDirective)).mapN[org.make.api.widget.AdminWidgetResponse](((author: org.make.core.user.User, widget: org.make.core.widget.Widget) => AdminWidgetResponse.apply(widget, scala.Some.apply[org.make.core.user.User](author))))(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad) }))(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad))(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).flatten(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad)
279 50748 9652 - 9652 TypeApply akka.http.scaladsl.server.util.ApplyConverterInstances.hac1 util.this.ApplyConverter.hac1[org.make.api.widget.AdminWidgetResponse]
279 45843 9652 - 9652 Select org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
280 45041 9708 - 9739 ApplyToImplicitArgs akka.http.scaladsl.marshalling.ToResponseMarshallable.apply marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.widget.AdminWidgetResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Created).->[org.make.api.widget.AdminWidgetResponse](response))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.widget.AdminWidgetResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminWidgetApiComponent.this.marshaller[org.make.api.widget.AdminWidgetResponse](widget.this.AdminWidgetResponse.codec, DefaultAdminWidgetApiComponent.this.marshaller$default$2[org.make.api.widget.AdminWidgetResponse])))
280 32268 9728 - 9728 ApplyToImplicitArgs akka.http.scaladsl.marshalling.PredefinedToResponseMarshallers.fromStatusCodeAndValue marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.widget.AdminWidgetResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminWidgetApiComponent.this.marshaller[org.make.api.widget.AdminWidgetResponse](widget.this.AdminWidgetResponse.codec, DefaultAdminWidgetApiComponent.this.marshaller$default$2[org.make.api.widget.AdminWidgetResponse]))
280 43967 9728 - 9728 TypeApply de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2 DefaultAdminWidgetApiComponent.this.marshaller$default$2[org.make.api.widget.AdminWidgetResponse]
280 30913 9728 - 9728 Select org.make.api.widget.AdminWidgetResponse.codec widget.this.AdminWidgetResponse.codec
280 35859 9728 - 9728 ApplyToImplicitArgs de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller DefaultAdminWidgetApiComponent.this.marshaller[org.make.api.widget.AdminWidgetResponse](widget.this.AdminWidgetResponse.codec, DefaultAdminWidgetApiComponent.this.marshaller$default$2[org.make.api.widget.AdminWidgetResponse])
280 39065 9728 - 9728 TypeApply scala.Predef.$conforms scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success]
280 42949 9708 - 9739 Apply scala.Predef.ArrowAssoc.-> scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Created).->[org.make.api.widget.AdminWidgetResponse](response)
280 37473 9699 - 9740 Apply akka.http.scaladsl.server.directives.RouteDirectives.complete $anon.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.widget.AdminWidgetResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Created).->[org.make.api.widget.AdminWidgetResponse](response))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.widget.AdminWidgetResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminWidgetApiComponent.this.marshaller[org.make.api.widget.AdminWidgetResponse](widget.this.AdminWidgetResponse.codec, DefaultAdminWidgetApiComponent.this.marshaller$default$2[org.make.api.widget.AdminWidgetResponse]))))
280 51265 7759 - 9741 Apply scala.Function1.apply server.this.Directive.addDirectiveApply[(org.make.api.widget.AdminWidgetResponse,)](cats.implicits.catsSyntaxFlatten[akka.http.scaladsl.server.Directive1, org.make.api.widget.AdminWidgetResponse](cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, org.make.core.widget.Source, org.make.core.question.Question](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[org.make.core.widget.Source], akka.http.scaladsl.server.Directive1[org.make.core.question.Question]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.widget.Source](DefaultAdminWidgetApiComponent.this.sourceService.get(request.sourceId)).asDirectiveOrBadRequest(org.make.core.ValidationError.apply("sourceId", "not_found", scala.Some.apply[String](("Source ".+(request.sourceId.value).+(" doesn\'t exist"): String)))), org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](DefaultAdminWidgetApiComponent.this.questionService.getQuestion(request.questionId)).asDirectiveOrBadRequest(org.make.core.ValidationError.apply("questionId", "not_found", scala.Some.apply[String](("Question ".+(request.questionId.value).+(" doesn\'t exist"): String)))))).mapN[akka.http.scaladsl.server.Directive1[org.make.api.widget.AdminWidgetResponse]](((source: org.make.core.widget.Source, question: org.make.core.question.Question) => { org.make.core.technical.ValidatedUtils.ValidatedNecWithUtils[org.make.core.reference.Country](org.make.core.Validation.AnyWithParsers[org.make.core.reference.Country](request.country).predicateValidated(((country: org.make.core.reference.Country) => question.countries.toList.contains[org.make.core.reference.Country](country)), "country", "invalid_value", scala.Some.apply[String](("Country ".+(request.country.value).+(" is not one of question\'s countries"): String)))).throwIfInvalid(); cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, org.make.core.user.User, org.make.core.widget.Widget](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[org.make.core.user.User], akka.http.scaladsl.server.Directive1[org.make.core.widget.Widget]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultAdminWidgetApiComponent.this.userService.getUser(userAuth.user.userId)).asDirectiveOrNotFound, org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.widget.Widget](DefaultAdminWidgetApiComponent.this.widgetService.create(source, question, request.country, request.language, request.sequenceKind, userAuth.user.userId)).asDirective)).mapN[org.make.api.widget.AdminWidgetResponse](((author: org.make.core.user.User, widget: org.make.core.widget.Widget) => AdminWidgetResponse.apply(widget, scala.Some.apply[org.make.core.user.User](author))))(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad) }))(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad))(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).flatten(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad))(util.this.ApplyConverter.hac1[org.make.api.widget.AdminWidgetResponse]).apply(((response: org.make.api.widget.AdminWidgetResponse) => $anon.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.widget.AdminWidgetResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Created).->[org.make.api.widget.AdminWidgetResponse](response))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.widget.AdminWidgetResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminWidgetApiComponent.this.marshaller[org.make.api.widget.AdminWidgetResponse](widget.this.AdminWidgetResponse.codec, DefaultAdminWidgetApiComponent.this.marshaller$default$2[org.make.api.widget.AdminWidgetResponse]))))))
310 51297 10609 - 10620 ApplyToImplicitArgs io.circe.generic.semiauto.deriveCodec io.circe.generic.semiauto.deriveCodec[org.make.api.widget.AdminWidgetRequest]({ val inst$macro$24: io.circe.generic.codec.DerivedAsObjectCodec[org.make.api.widget.AdminWidgetRequest] = { final class anon$lazy$macro$23 extends AnyRef with Serializable { def <init>(): anon$lazy$macro$23 = { anon$lazy$macro$23.super.<init>(); () }; <stable> <accessor> lazy val inst$macro$1: io.circe.generic.codec.DerivedAsObjectCodec[org.make.api.widget.AdminWidgetRequest] = codec.this.DerivedAsObjectCodec.deriveCodec[org.make.api.widget.AdminWidgetRequest, shapeless.labelled.FieldType[Symbol @@ String("sourceId"),org.make.core.widget.SourceId] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),org.make.core.question.QuestionId] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("sequenceKind"),org.make.core.sequence.SequenceKind] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](shapeless.this.LabelledGeneric.materializeProduct[org.make.api.widget.AdminWidgetRequest, (Symbol @@ String("sourceId")) :: (Symbol @@ String("questionId")) :: (Symbol @@ String("country")) :: (Symbol @@ String("language")) :: (Symbol @@ String("sequenceKind")) :: shapeless.HNil, org.make.core.widget.SourceId :: org.make.core.question.QuestionId :: org.make.core.reference.Country :: org.make.core.reference.Language :: org.make.core.sequence.SequenceKind :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("sourceId"),org.make.core.widget.SourceId] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),org.make.core.question.QuestionId] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("sequenceKind"),org.make.core.sequence.SequenceKind] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](DefaultSymbolicLabelling.instance[org.make.api.widget.AdminWidgetRequest, (Symbol @@ String("sourceId")) :: (Symbol @@ String("questionId")) :: (Symbol @@ String("country")) :: (Symbol @@ String("language")) :: (Symbol @@ String("sequenceKind")) :: shapeless.HNil](::.apply[Symbol @@ String("sourceId"), (Symbol @@ String("questionId")) :: (Symbol @@ String("country")) :: (Symbol @@ String("language")) :: (Symbol @@ String("sequenceKind")) :: shapeless.HNil.type](scala.Symbol.apply("sourceId").asInstanceOf[Symbol @@ String("sourceId")], ::.apply[Symbol @@ String("questionId"), (Symbol @@ String("country")) :: (Symbol @@ String("language")) :: (Symbol @@ String("sequenceKind")) :: shapeless.HNil.type](scala.Symbol.apply("questionId").asInstanceOf[Symbol @@ String("questionId")], ::.apply[Symbol @@ String("country"), (Symbol @@ String("language")) :: (Symbol @@ String("sequenceKind")) :: shapeless.HNil.type](scala.Symbol.apply("country").asInstanceOf[Symbol @@ String("country")], ::.apply[Symbol @@ String("language"), (Symbol @@ String("sequenceKind")) :: shapeless.HNil.type](scala.Symbol.apply("language").asInstanceOf[Symbol @@ String("language")], ::.apply[Symbol @@ String("sequenceKind"), shapeless.HNil.type](scala.Symbol.apply("sequenceKind").asInstanceOf[Symbol @@ String("sequenceKind")], HNil)))))), Generic.instance[org.make.api.widget.AdminWidgetRequest, org.make.core.widget.SourceId :: org.make.core.question.QuestionId :: org.make.core.reference.Country :: org.make.core.reference.Language :: org.make.core.sequence.SequenceKind :: shapeless.HNil](((x0$3: org.make.api.widget.AdminWidgetRequest) => x0$3 match { case (sourceId: org.make.core.widget.SourceId, questionId: org.make.core.question.QuestionId, country: org.make.core.reference.Country, language: org.make.core.reference.Language, sequenceKind: org.make.core.sequence.SequenceKind): org.make.api.widget.AdminWidgetRequest((sourceId$macro$17 @ _), (questionId$macro$18 @ _), (country$macro$19 @ _), (language$macro$20 @ _), (sequenceKind$macro$21 @ _)) => ::.apply[org.make.core.widget.SourceId, org.make.core.question.QuestionId :: org.make.core.reference.Country :: org.make.core.reference.Language :: org.make.core.sequence.SequenceKind :: shapeless.HNil.type](sourceId$macro$17, ::.apply[org.make.core.question.QuestionId, org.make.core.reference.Country :: org.make.core.reference.Language :: org.make.core.sequence.SequenceKind :: shapeless.HNil.type](questionId$macro$18, ::.apply[org.make.core.reference.Country, org.make.core.reference.Language :: org.make.core.sequence.SequenceKind :: shapeless.HNil.type](country$macro$19, ::.apply[org.make.core.reference.Language, org.make.core.sequence.SequenceKind :: shapeless.HNil.type](language$macro$20, ::.apply[org.make.core.sequence.SequenceKind, shapeless.HNil.type](sequenceKind$macro$21, HNil))))).asInstanceOf[org.make.core.widget.SourceId :: org.make.core.question.QuestionId :: org.make.core.reference.Country :: org.make.core.reference.Language :: org.make.core.sequence.SequenceKind :: shapeless.HNil] }), ((x0$4: org.make.core.widget.SourceId :: org.make.core.question.QuestionId :: org.make.core.reference.Country :: org.make.core.reference.Language :: org.make.core.sequence.SequenceKind :: shapeless.HNil) => x0$4 match { case (head: org.make.core.widget.SourceId, tail: org.make.core.question.QuestionId :: org.make.core.reference.Country :: org.make.core.reference.Language :: org.make.core.sequence.SequenceKind :: shapeless.HNil): org.make.core.widget.SourceId :: org.make.core.question.QuestionId :: org.make.core.reference.Country :: org.make.core.reference.Language :: org.make.core.sequence.SequenceKind :: shapeless.HNil((sourceId$macro$12 @ _), (head: org.make.core.question.QuestionId, tail: org.make.core.reference.Country :: org.make.core.reference.Language :: org.make.core.sequence.SequenceKind :: shapeless.HNil): org.make.core.question.QuestionId :: org.make.core.reference.Country :: org.make.core.reference.Language :: org.make.core.sequence.SequenceKind :: shapeless.HNil((questionId$macro$13 @ _), (head: org.make.core.reference.Country, tail: org.make.core.reference.Language :: org.make.core.sequence.SequenceKind :: shapeless.HNil): org.make.core.reference.Country :: org.make.core.reference.Language :: org.make.core.sequence.SequenceKind :: shapeless.HNil((country$macro$14 @ _), (head: org.make.core.reference.Language, tail: org.make.core.sequence.SequenceKind :: shapeless.HNil): org.make.core.reference.Language :: org.make.core.sequence.SequenceKind :: shapeless.HNil((language$macro$15 @ _), (head: org.make.core.sequence.SequenceKind, tail: shapeless.HNil): org.make.core.sequence.SequenceKind :: shapeless.HNil((sequenceKind$macro$16 @ _), HNil))))) => widget.this.AdminWidgetRequest.apply(sourceId$macro$12, questionId$macro$13, country$macro$14, language$macro$15, sequenceKind$macro$16) })), hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("sourceId"), org.make.core.widget.SourceId, (Symbol @@ String("questionId")) :: (Symbol @@ String("country")) :: (Symbol @@ String("language")) :: (Symbol @@ String("sequenceKind")) :: shapeless.HNil, org.make.core.question.QuestionId :: org.make.core.reference.Country :: org.make.core.reference.Language :: org.make.core.sequence.SequenceKind :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("questionId"),org.make.core.question.QuestionId] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("sequenceKind"),org.make.core.sequence.SequenceKind] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("questionId"), org.make.core.question.QuestionId, (Symbol @@ String("country")) :: (Symbol @@ String("language")) :: (Symbol @@ String("sequenceKind")) :: shapeless.HNil, org.make.core.reference.Country :: org.make.core.reference.Language :: org.make.core.sequence.SequenceKind :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("sequenceKind"),org.make.core.sequence.SequenceKind] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("country"), org.make.core.reference.Country, (Symbol @@ String("language")) :: (Symbol @@ String("sequenceKind")) :: shapeless.HNil, org.make.core.reference.Language :: org.make.core.sequence.SequenceKind :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("sequenceKind"),org.make.core.sequence.SequenceKind] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("language"), org.make.core.reference.Language, (Symbol @@ String("sequenceKind")) :: shapeless.HNil, org.make.core.sequence.SequenceKind :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("sequenceKind"),org.make.core.sequence.SequenceKind] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("sequenceKind"), org.make.core.sequence.SequenceKind, shapeless.HNil, shapeless.HNil, shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hnilZipWithKeys, Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("sequenceKind")]](scala.Symbol.apply("sequenceKind").asInstanceOf[Symbol @@ String("sequenceKind")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("sequenceKind")]])), Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("language")]](scala.Symbol.apply("language").asInstanceOf[Symbol @@ String("language")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("language")]])), Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("country")]](scala.Symbol.apply("country").asInstanceOf[Symbol @@ String("country")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("country")]])), Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("questionId")]](scala.Symbol.apply("questionId").asInstanceOf[Symbol @@ String("questionId")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("questionId")]])), Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("sourceId")]](scala.Symbol.apply("sourceId").asInstanceOf[Symbol @@ String("sourceId")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("sourceId")]])), scala.this.<:<.refl[shapeless.labelled.FieldType[Symbol @@ String("sourceId"),org.make.core.widget.SourceId] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),org.make.core.question.QuestionId] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("sequenceKind"),org.make.core.sequence.SequenceKind] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]), shapeless.Lazy.apply[io.circe.generic.codec.ReprAsObjectCodec[shapeless.labelled.FieldType[Symbol @@ String("sourceId"),org.make.core.widget.SourceId] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),org.make.core.question.QuestionId] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("sequenceKind"),org.make.core.sequence.SequenceKind] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]](anon$lazy$macro$23.this.inst$macro$22)).asInstanceOf[io.circe.generic.codec.DerivedAsObjectCodec[org.make.api.widget.AdminWidgetRequest]]; <stable> <accessor> lazy val inst$macro$22: io.circe.generic.codec.ReprAsObjectCodec[shapeless.labelled.FieldType[Symbol @@ String("sourceId"),org.make.core.widget.SourceId] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),org.make.core.question.QuestionId] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("sequenceKind"),org.make.core.sequence.SequenceKind] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] = ({ final class $anon extends io.circe.generic.codec.ReprAsObjectCodec[shapeless.labelled.FieldType[Symbol @@ String("sourceId"),org.make.core.widget.SourceId] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),org.make.core.question.QuestionId] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("sequenceKind"),org.make.core.sequence.SequenceKind] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] { def <init>(): <$anon: io.circe.generic.codec.ReprAsObjectCodec[shapeless.labelled.FieldType[Symbol @@ String("sourceId"),org.make.core.widget.SourceId] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),org.make.core.question.QuestionId] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("sequenceKind"),org.make.core.sequence.SequenceKind] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]> = { $anon.super.<init>(); () }; private[this] val circeGenericDecoderForsourceId: io.circe.Codec[org.make.core.widget.SourceId] = widget.this.SourceId.codec; private[this] val circeGenericDecoderForquestionId: io.circe.Decoder[org.make.core.question.QuestionId] = question.this.QuestionId.QuestionIdDecoder; private[this] val circeGenericDecoderForcountry: io.circe.Decoder[org.make.core.reference.Country] = reference.this.Country.countryDecoder; private[this] val circeGenericDecoderForlanguage: io.circe.Decoder[org.make.core.reference.Language] = reference.this.Language.LanguageDecoder; private[this] val circeGenericDecoderForsequenceKind: io.circe.Decoder[org.make.core.sequence.SequenceKind] = sequence.this.SequenceKind.decoder; private[this] val circeGenericEncoderForsourceId: io.circe.Codec[org.make.core.widget.SourceId] = widget.this.SourceId.codec; private[this] val circeGenericEncoderForquestionId: io.circe.Encoder[org.make.core.question.QuestionId] = question.this.QuestionId.QuestionIdEncoder; private[this] val circeGenericEncoderForcountry: io.circe.Encoder[org.make.core.reference.Country] = reference.this.Country.countryEncoder; private[this] val circeGenericEncoderForlanguage: io.circe.Encoder[org.make.core.reference.Language] = reference.this.Language.LanguageEncoder; private[this] val circeGenericEncoderForsequenceKind: io.circe.Encoder[org.make.core.sequence.SequenceKind] = sequence.this.SequenceKind.encoder; final def encodeObject(a: shapeless.labelled.FieldType[Symbol @@ String("sourceId"),org.make.core.widget.SourceId] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),org.make.core.question.QuestionId] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("sequenceKind"),org.make.core.sequence.SequenceKind] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): io.circe.JsonObject = a match { case (head: shapeless.labelled.FieldType[Symbol @@ String("sourceId"),org.make.core.widget.SourceId], tail: shapeless.labelled.FieldType[Symbol @@ String("questionId"),org.make.core.question.QuestionId] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("sequenceKind"),org.make.core.sequence.SequenceKind] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): shapeless.labelled.FieldType[Symbol @@ String("sourceId"),org.make.core.widget.SourceId] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),org.make.core.question.QuestionId] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("sequenceKind"),org.make.core.sequence.SequenceKind] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out((circeGenericHListBindingForsourceId @ _), (head: shapeless.labelled.FieldType[Symbol @@ String("questionId"),org.make.core.question.QuestionId], tail: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("sequenceKind"),org.make.core.sequence.SequenceKind] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): shapeless.labelled.FieldType[Symbol @@ String("questionId"),org.make.core.question.QuestionId] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("sequenceKind"),org.make.core.sequence.SequenceKind] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out((circeGenericHListBindingForquestionId @ _), (head: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country], tail: shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("sequenceKind"),org.make.core.sequence.SequenceKind] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("sequenceKind"),org.make.core.sequence.SequenceKind] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out((circeGenericHListBindingForcountry @ _), (head: shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language], tail: shapeless.labelled.FieldType[Symbol @@ String("sequenceKind"),org.make.core.sequence.SequenceKind] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("sequenceKind"),org.make.core.sequence.SequenceKind] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out((circeGenericHListBindingForlanguage @ _), (head: shapeless.labelled.FieldType[Symbol @@ String("sequenceKind"),org.make.core.sequence.SequenceKind], tail: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): shapeless.labelled.FieldType[Symbol @@ String("sequenceKind"),org.make.core.sequence.SequenceKind] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out((circeGenericHListBindingForsequenceKind @ _), shapeless.HNil))))) => io.circe.JsonObject.fromIterable(scala.collection.immutable.Vector.apply[(String, io.circe.Json)](scala.Tuple2.apply[String, io.circe.Json]("sourceId", $anon.this.circeGenericEncoderForsourceId.apply(circeGenericHListBindingForsourceId)), scala.Tuple2.apply[String, io.circe.Json]("questionId", $anon.this.circeGenericEncoderForquestionId.apply(circeGenericHListBindingForquestionId)), scala.Tuple2.apply[String, io.circe.Json]("country", $anon.this.circeGenericEncoderForcountry.apply(circeGenericHListBindingForcountry)), scala.Tuple2.apply[String, io.circe.Json]("language", $anon.this.circeGenericEncoderForlanguage.apply(circeGenericHListBindingForlanguage)), scala.Tuple2.apply[String, io.circe.Json]("sequenceKind", $anon.this.circeGenericEncoderForsequenceKind.apply(circeGenericHListBindingForsequenceKind)))) }; final def apply(c: io.circe.HCursor): io.circe.Decoder.Result[shapeless.labelled.FieldType[Symbol @@ String("sourceId"),org.make.core.widget.SourceId] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),org.make.core.question.QuestionId] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("sequenceKind"),org.make.core.sequence.SequenceKind] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] = ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("sourceId"), org.make.core.widget.SourceId, shapeless.labelled.FieldType[Symbol @@ String("questionId"),org.make.core.question.QuestionId] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("sequenceKind"),org.make.core.sequence.SequenceKind] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForsourceId.tryDecode(c.downField("sourceId")), ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("questionId"), org.make.core.question.QuestionId, shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("sequenceKind"),org.make.core.sequence.SequenceKind] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForquestionId.tryDecode(c.downField("questionId")), ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("country"), org.make.core.reference.Country, shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("sequenceKind"),org.make.core.sequence.SequenceKind] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForcountry.tryDecode(c.downField("country")), ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("language"), org.make.core.reference.Language, shapeless.labelled.FieldType[Symbol @@ String("sequenceKind"),org.make.core.sequence.SequenceKind] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForlanguage.tryDecode(c.downField("language")), ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("sequenceKind"), org.make.core.sequence.SequenceKind, shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForsequenceKind.tryDecode(c.downField("sequenceKind")), ReprDecoder.hnilResult)(io.circe.Decoder.resultInstance))(io.circe.Decoder.resultInstance))(io.circe.Decoder.resultInstance))(io.circe.Decoder.resultInstance))(io.circe.Decoder.resultInstance); final override def decodeAccumulating(c: io.circe.HCursor): io.circe.Decoder.AccumulatingResult[shapeless.labelled.FieldType[Symbol @@ String("sourceId"),org.make.core.widget.SourceId] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),org.make.core.question.QuestionId] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("sequenceKind"),org.make.core.sequence.SequenceKind] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] = ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("sourceId"), org.make.core.widget.SourceId, shapeless.labelled.FieldType[Symbol @@ String("questionId"),org.make.core.question.QuestionId] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("sequenceKind"),org.make.core.sequence.SequenceKind] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForsourceId.tryDecodeAccumulating(c.downField("sourceId")), ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("questionId"), org.make.core.question.QuestionId, shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("sequenceKind"),org.make.core.sequence.SequenceKind] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForquestionId.tryDecodeAccumulating(c.downField("questionId")), ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("country"), org.make.core.reference.Country, shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("sequenceKind"),org.make.core.sequence.SequenceKind] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForcountry.tryDecodeAccumulating(c.downField("country")), ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("language"), org.make.core.reference.Language, shapeless.labelled.FieldType[Symbol @@ String("sequenceKind"),org.make.core.sequence.SequenceKind] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForlanguage.tryDecodeAccumulating(c.downField("language")), ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("sequenceKind"), org.make.core.sequence.SequenceKind, shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForsequenceKind.tryDecodeAccumulating(c.downField("sequenceKind")), ReprDecoder.hnilResultAccumulating)(io.circe.Decoder.accumulatingResultInstance))(io.circe.Decoder.accumulatingResultInstance))(io.circe.Decoder.accumulatingResultInstance))(io.circe.Decoder.accumulatingResultInstance))(io.circe.Decoder.accumulatingResultInstance) }; new $anon() }: io.circe.generic.codec.ReprAsObjectCodec[shapeless.labelled.FieldType[Symbol @@ String("sourceId"),org.make.core.widget.SourceId] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),org.make.core.question.QuestionId] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("sequenceKind"),org.make.core.sequence.SequenceKind] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]).asInstanceOf[io.circe.generic.codec.ReprAsObjectCodec[shapeless.labelled.FieldType[Symbol @@ String("sourceId"),org.make.core.widget.SourceId] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),org.make.core.question.QuestionId] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("sequenceKind"),org.make.core.sequence.SequenceKind] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]] }; new anon$lazy$macro$23().inst$macro$1 }; shapeless.Lazy.apply[io.circe.generic.codec.DerivedAsObjectCodec[org.make.api.widget.AdminWidgetRequest]](inst$macro$24) })
342 39062 11697 - 12045 Apply org.make.api.widget.AdminWidgetResponse.apply AdminWidgetResponse.apply(widget.id, widget.questionId, widget.country, widget.language, widget.script, widget.version, author.flatMap[String](((x$7: org.make.core.user.User) => x$7.displayName)), widget.sequenceKind, widget.createdAt)
343 43439 11729 - 11738 Select org.make.core.widget.Widget.id widget.id
344 39019 11759 - 11776 Select org.make.core.widget.Widget.questionId widget.questionId
345 30698 11794 - 11808 Select org.make.core.widget.Widget.country widget.country
346 44522 11827 - 11842 Select org.make.core.widget.Widget.language widget.language
347 36951 11859 - 11872 Select org.make.core.widget.Widget.script widget.script
348 48946 11890 - 11904 Select org.make.core.widget.Widget.version widget.version
349 45549 11947 - 11960 Select org.make.core.user.User.displayName x$7.displayName
349 37263 11932 - 11961 Apply scala.Option.flatMap author.flatMap[String](((x$7: org.make.core.user.User) => x$7.displayName))
350 51057 11984 - 12003 Select org.make.core.widget.Widget.sequenceKind widget.sequenceKind
351 43473 12023 - 12039 Select org.make.core.widget.Widget.createdAt widget.createdAt
354 31167 12098 - 12109 ApplyToImplicitArgs io.circe.generic.semiauto.deriveCodec io.circe.generic.semiauto.deriveCodec[org.make.api.widget.AdminWidgetResponse]({ val inst$macro$40: io.circe.generic.codec.DerivedAsObjectCodec[org.make.api.widget.AdminWidgetResponse] = { final class anon$lazy$macro$39 extends AnyRef with Serializable { def <init>(): anon$lazy$macro$39 = { anon$lazy$macro$39.super.<init>(); () }; <stable> <accessor> lazy val inst$macro$1: io.circe.generic.codec.DerivedAsObjectCodec[org.make.api.widget.AdminWidgetResponse] = codec.this.DerivedAsObjectCodec.deriveCodec[org.make.api.widget.AdminWidgetResponse, shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.widget.WidgetId] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),org.make.core.question.QuestionId] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("script"),String] :: shapeless.labelled.FieldType[Symbol @@ String("version"),org.make.core.widget.Widget.Version] :: shapeless.labelled.FieldType[Symbol @@ String("authorDisplayName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("sequenceKind"),org.make.core.sequence.SequenceKind] :: shapeless.labelled.FieldType[Symbol @@ String("createdAt"),java.time.ZonedDateTime] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](shapeless.this.LabelledGeneric.materializeProduct[org.make.api.widget.AdminWidgetResponse, (Symbol @@ String("id")) :: (Symbol @@ String("questionId")) :: (Symbol @@ String("country")) :: (Symbol @@ String("language")) :: (Symbol @@ String("script")) :: (Symbol @@ String("version")) :: (Symbol @@ String("authorDisplayName")) :: (Symbol @@ String("sequenceKind")) :: (Symbol @@ String("createdAt")) :: shapeless.HNil, org.make.core.widget.WidgetId :: org.make.core.question.QuestionId :: org.make.core.reference.Country :: org.make.core.reference.Language :: String :: org.make.core.widget.Widget.Version :: Option[String] :: org.make.core.sequence.SequenceKind :: java.time.ZonedDateTime :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.widget.WidgetId] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),org.make.core.question.QuestionId] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("script"),String] :: shapeless.labelled.FieldType[Symbol @@ String("version"),org.make.core.widget.Widget.Version] :: shapeless.labelled.FieldType[Symbol @@ String("authorDisplayName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("sequenceKind"),org.make.core.sequence.SequenceKind] :: shapeless.labelled.FieldType[Symbol @@ String("createdAt"),java.time.ZonedDateTime] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](DefaultSymbolicLabelling.instance[org.make.api.widget.AdminWidgetResponse, (Symbol @@ String("id")) :: (Symbol @@ String("questionId")) :: (Symbol @@ String("country")) :: (Symbol @@ String("language")) :: (Symbol @@ String("script")) :: (Symbol @@ String("version")) :: (Symbol @@ String("authorDisplayName")) :: (Symbol @@ String("sequenceKind")) :: (Symbol @@ String("createdAt")) :: shapeless.HNil](::.apply[Symbol @@ String("id"), (Symbol @@ String("questionId")) :: (Symbol @@ String("country")) :: (Symbol @@ String("language")) :: (Symbol @@ String("script")) :: (Symbol @@ String("version")) :: (Symbol @@ String("authorDisplayName")) :: (Symbol @@ String("sequenceKind")) :: (Symbol @@ String("createdAt")) :: shapeless.HNil.type](scala.Symbol.apply("id").asInstanceOf[Symbol @@ String("id")], ::.apply[Symbol @@ String("questionId"), (Symbol @@ String("country")) :: (Symbol @@ String("language")) :: (Symbol @@ String("script")) :: (Symbol @@ String("version")) :: (Symbol @@ String("authorDisplayName")) :: (Symbol @@ String("sequenceKind")) :: (Symbol @@ String("createdAt")) :: shapeless.HNil.type](scala.Symbol.apply("questionId").asInstanceOf[Symbol @@ String("questionId")], ::.apply[Symbol @@ String("country"), (Symbol @@ String("language")) :: (Symbol @@ String("script")) :: (Symbol @@ String("version")) :: (Symbol @@ String("authorDisplayName")) :: (Symbol @@ String("sequenceKind")) :: (Symbol @@ String("createdAt")) :: shapeless.HNil.type](scala.Symbol.apply("country").asInstanceOf[Symbol @@ String("country")], ::.apply[Symbol @@ String("language"), (Symbol @@ String("script")) :: (Symbol @@ String("version")) :: (Symbol @@ String("authorDisplayName")) :: (Symbol @@ String("sequenceKind")) :: (Symbol @@ String("createdAt")) :: shapeless.HNil.type](scala.Symbol.apply("language").asInstanceOf[Symbol @@ String("language")], ::.apply[Symbol @@ String("script"), (Symbol @@ String("version")) :: (Symbol @@ String("authorDisplayName")) :: (Symbol @@ String("sequenceKind")) :: (Symbol @@ String("createdAt")) :: shapeless.HNil.type](scala.Symbol.apply("script").asInstanceOf[Symbol @@ String("script")], ::.apply[Symbol @@ String("version"), (Symbol @@ String("authorDisplayName")) :: (Symbol @@ String("sequenceKind")) :: (Symbol @@ String("createdAt")) :: shapeless.HNil.type](scala.Symbol.apply("version").asInstanceOf[Symbol @@ String("version")], ::.apply[Symbol @@ String("authorDisplayName"), (Symbol @@ String("sequenceKind")) :: (Symbol @@ String("createdAt")) :: shapeless.HNil.type](scala.Symbol.apply("authorDisplayName").asInstanceOf[Symbol @@ String("authorDisplayName")], ::.apply[Symbol @@ String("sequenceKind"), (Symbol @@ String("createdAt")) :: shapeless.HNil.type](scala.Symbol.apply("sequenceKind").asInstanceOf[Symbol @@ String("sequenceKind")], ::.apply[Symbol @@ String("createdAt"), shapeless.HNil.type](scala.Symbol.apply("createdAt").asInstanceOf[Symbol @@ String("createdAt")], HNil)))))))))), Generic.instance[org.make.api.widget.AdminWidgetResponse, org.make.core.widget.WidgetId :: org.make.core.question.QuestionId :: org.make.core.reference.Country :: org.make.core.reference.Language :: String :: org.make.core.widget.Widget.Version :: Option[String] :: org.make.core.sequence.SequenceKind :: java.time.ZonedDateTime :: shapeless.HNil](((x0$3: org.make.api.widget.AdminWidgetResponse) => x0$3 match { case (id: org.make.core.widget.WidgetId, questionId: org.make.core.question.QuestionId, country: org.make.core.reference.Country, language: org.make.core.reference.Language, script: String, version: org.make.core.widget.Widget.Version, authorDisplayName: Option[String], sequenceKind: org.make.core.sequence.SequenceKind, createdAt: java.time.ZonedDateTime): org.make.api.widget.AdminWidgetResponse((id$macro$29 @ _), (questionId$macro$30 @ _), (country$macro$31 @ _), (language$macro$32 @ _), (script$macro$33 @ _), (version$macro$34 @ _), (authorDisplayName$macro$35 @ _), (sequenceKind$macro$36 @ _), (createdAt$macro$37 @ _)) => ::.apply[org.make.core.widget.WidgetId, org.make.core.question.QuestionId :: org.make.core.reference.Country :: org.make.core.reference.Language :: String :: org.make.core.widget.Widget.Version :: Option[String] :: org.make.core.sequence.SequenceKind :: java.time.ZonedDateTime :: shapeless.HNil.type](id$macro$29, ::.apply[org.make.core.question.QuestionId, org.make.core.reference.Country :: org.make.core.reference.Language :: String :: org.make.core.widget.Widget.Version :: Option[String] :: org.make.core.sequence.SequenceKind :: java.time.ZonedDateTime :: shapeless.HNil.type](questionId$macro$30, ::.apply[org.make.core.reference.Country, org.make.core.reference.Language :: String :: org.make.core.widget.Widget.Version :: Option[String] :: org.make.core.sequence.SequenceKind :: java.time.ZonedDateTime :: shapeless.HNil.type](country$macro$31, ::.apply[org.make.core.reference.Language, String :: org.make.core.widget.Widget.Version :: Option[String] :: org.make.core.sequence.SequenceKind :: java.time.ZonedDateTime :: shapeless.HNil.type](language$macro$32, ::.apply[String, org.make.core.widget.Widget.Version :: Option[String] :: org.make.core.sequence.SequenceKind :: java.time.ZonedDateTime :: shapeless.HNil.type](script$macro$33, ::.apply[org.make.core.widget.Widget.Version, Option[String] :: org.make.core.sequence.SequenceKind :: java.time.ZonedDateTime :: shapeless.HNil.type](version$macro$34, ::.apply[Option[String], org.make.core.sequence.SequenceKind :: java.time.ZonedDateTime :: shapeless.HNil.type](authorDisplayName$macro$35, ::.apply[org.make.core.sequence.SequenceKind, java.time.ZonedDateTime :: shapeless.HNil.type](sequenceKind$macro$36, ::.apply[java.time.ZonedDateTime, shapeless.HNil.type](createdAt$macro$37, HNil))))))))).asInstanceOf[org.make.core.widget.WidgetId :: org.make.core.question.QuestionId :: org.make.core.reference.Country :: org.make.core.reference.Language :: String :: org.make.core.widget.Widget.Version :: Option[String] :: org.make.core.sequence.SequenceKind :: java.time.ZonedDateTime :: shapeless.HNil] }), ((x0$4: org.make.core.widget.WidgetId :: org.make.core.question.QuestionId :: org.make.core.reference.Country :: org.make.core.reference.Language :: String :: org.make.core.widget.Widget.Version :: Option[String] :: org.make.core.sequence.SequenceKind :: java.time.ZonedDateTime :: shapeless.HNil) => x0$4 match { case (head: org.make.core.widget.WidgetId, tail: org.make.core.question.QuestionId :: org.make.core.reference.Country :: org.make.core.reference.Language :: String :: org.make.core.widget.Widget.Version :: Option[String] :: org.make.core.sequence.SequenceKind :: java.time.ZonedDateTime :: shapeless.HNil): org.make.core.widget.WidgetId :: org.make.core.question.QuestionId :: org.make.core.reference.Country :: org.make.core.reference.Language :: String :: org.make.core.widget.Widget.Version :: Option[String] :: org.make.core.sequence.SequenceKind :: java.time.ZonedDateTime :: shapeless.HNil((id$macro$20 @ _), (head: org.make.core.question.QuestionId, tail: org.make.core.reference.Country :: org.make.core.reference.Language :: String :: org.make.core.widget.Widget.Version :: Option[String] :: org.make.core.sequence.SequenceKind :: java.time.ZonedDateTime :: shapeless.HNil): org.make.core.question.QuestionId :: org.make.core.reference.Country :: org.make.core.reference.Language :: String :: org.make.core.widget.Widget.Version :: Option[String] :: org.make.core.sequence.SequenceKind :: java.time.ZonedDateTime :: shapeless.HNil((questionId$macro$21 @ _), (head: org.make.core.reference.Country, tail: org.make.core.reference.Language :: String :: org.make.core.widget.Widget.Version :: Option[String] :: org.make.core.sequence.SequenceKind :: java.time.ZonedDateTime :: shapeless.HNil): org.make.core.reference.Country :: org.make.core.reference.Language :: String :: org.make.core.widget.Widget.Version :: Option[String] :: org.make.core.sequence.SequenceKind :: java.time.ZonedDateTime :: shapeless.HNil((country$macro$22 @ _), (head: org.make.core.reference.Language, tail: String :: org.make.core.widget.Widget.Version :: Option[String] :: org.make.core.sequence.SequenceKind :: java.time.ZonedDateTime :: shapeless.HNil): org.make.core.reference.Language :: String :: org.make.core.widget.Widget.Version :: Option[String] :: org.make.core.sequence.SequenceKind :: java.time.ZonedDateTime :: shapeless.HNil((language$macro$23 @ _), (head: String, tail: org.make.core.widget.Widget.Version :: Option[String] :: org.make.core.sequence.SequenceKind :: java.time.ZonedDateTime :: shapeless.HNil): String :: org.make.core.widget.Widget.Version :: Option[String] :: org.make.core.sequence.SequenceKind :: java.time.ZonedDateTime :: shapeless.HNil((script$macro$24 @ _), (head: org.make.core.widget.Widget.Version, tail: Option[String] :: org.make.core.sequence.SequenceKind :: java.time.ZonedDateTime :: shapeless.HNil): org.make.core.widget.Widget.Version :: Option[String] :: org.make.core.sequence.SequenceKind :: java.time.ZonedDateTime :: shapeless.HNil((version$macro$25 @ _), (head: Option[String], tail: org.make.core.sequence.SequenceKind :: java.time.ZonedDateTime :: shapeless.HNil): Option[String] :: org.make.core.sequence.SequenceKind :: java.time.ZonedDateTime :: shapeless.HNil((authorDisplayName$macro$26 @ _), (head: org.make.core.sequence.SequenceKind, tail: java.time.ZonedDateTime :: shapeless.HNil): org.make.core.sequence.SequenceKind :: java.time.ZonedDateTime :: shapeless.HNil((sequenceKind$macro$27 @ _), (head: java.time.ZonedDateTime, tail: shapeless.HNil): java.time.ZonedDateTime :: shapeless.HNil((createdAt$macro$28 @ _), HNil))))))))) => widget.this.AdminWidgetResponse.apply(id$macro$20, questionId$macro$21, country$macro$22, language$macro$23, script$macro$24, version$macro$25, authorDisplayName$macro$26, sequenceKind$macro$27, createdAt$macro$28) })), hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("id"), org.make.core.widget.WidgetId, (Symbol @@ String("questionId")) :: (Symbol @@ String("country")) :: (Symbol @@ String("language")) :: (Symbol @@ String("script")) :: (Symbol @@ String("version")) :: (Symbol @@ String("authorDisplayName")) :: (Symbol @@ String("sequenceKind")) :: (Symbol @@ String("createdAt")) :: shapeless.HNil, org.make.core.question.QuestionId :: org.make.core.reference.Country :: org.make.core.reference.Language :: String :: org.make.core.widget.Widget.Version :: Option[String] :: org.make.core.sequence.SequenceKind :: java.time.ZonedDateTime :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("questionId"),org.make.core.question.QuestionId] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("script"),String] :: shapeless.labelled.FieldType[Symbol @@ String("version"),org.make.core.widget.Widget.Version] :: shapeless.labelled.FieldType[Symbol @@ String("authorDisplayName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("sequenceKind"),org.make.core.sequence.SequenceKind] :: shapeless.labelled.FieldType[Symbol @@ String("createdAt"),java.time.ZonedDateTime] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("questionId"), org.make.core.question.QuestionId, (Symbol @@ String("country")) :: (Symbol @@ String("language")) :: (Symbol @@ String("script")) :: (Symbol @@ String("version")) :: (Symbol @@ String("authorDisplayName")) :: (Symbol @@ String("sequenceKind")) :: (Symbol @@ String("createdAt")) :: shapeless.HNil, org.make.core.reference.Country :: org.make.core.reference.Language :: String :: org.make.core.widget.Widget.Version :: Option[String] :: org.make.core.sequence.SequenceKind :: java.time.ZonedDateTime :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("script"),String] :: shapeless.labelled.FieldType[Symbol @@ String("version"),org.make.core.widget.Widget.Version] :: shapeless.labelled.FieldType[Symbol @@ String("authorDisplayName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("sequenceKind"),org.make.core.sequence.SequenceKind] :: shapeless.labelled.FieldType[Symbol @@ String("createdAt"),java.time.ZonedDateTime] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("country"), org.make.core.reference.Country, (Symbol @@ String("language")) :: (Symbol @@ String("script")) :: (Symbol @@ String("version")) :: (Symbol @@ String("authorDisplayName")) :: (Symbol @@ String("sequenceKind")) :: (Symbol @@ String("createdAt")) :: shapeless.HNil, org.make.core.reference.Language :: String :: org.make.core.widget.Widget.Version :: Option[String] :: org.make.core.sequence.SequenceKind :: java.time.ZonedDateTime :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("script"),String] :: shapeless.labelled.FieldType[Symbol @@ String("version"),org.make.core.widget.Widget.Version] :: shapeless.labelled.FieldType[Symbol @@ String("authorDisplayName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("sequenceKind"),org.make.core.sequence.SequenceKind] :: shapeless.labelled.FieldType[Symbol @@ String("createdAt"),java.time.ZonedDateTime] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("language"), org.make.core.reference.Language, (Symbol @@ String("script")) :: (Symbol @@ String("version")) :: (Symbol @@ String("authorDisplayName")) :: (Symbol @@ String("sequenceKind")) :: (Symbol @@ String("createdAt")) :: shapeless.HNil, String :: org.make.core.widget.Widget.Version :: Option[String] :: org.make.core.sequence.SequenceKind :: java.time.ZonedDateTime :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("script"),String] :: shapeless.labelled.FieldType[Symbol @@ String("version"),org.make.core.widget.Widget.Version] :: shapeless.labelled.FieldType[Symbol @@ String("authorDisplayName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("sequenceKind"),org.make.core.sequence.SequenceKind] :: shapeless.labelled.FieldType[Symbol @@ String("createdAt"),java.time.ZonedDateTime] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("script"), String, (Symbol @@ String("version")) :: (Symbol @@ String("authorDisplayName")) :: (Symbol @@ String("sequenceKind")) :: (Symbol @@ String("createdAt")) :: shapeless.HNil, org.make.core.widget.Widget.Version :: Option[String] :: org.make.core.sequence.SequenceKind :: java.time.ZonedDateTime :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("version"),org.make.core.widget.Widget.Version] :: shapeless.labelled.FieldType[Symbol @@ String("authorDisplayName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("sequenceKind"),org.make.core.sequence.SequenceKind] :: shapeless.labelled.FieldType[Symbol @@ String("createdAt"),java.time.ZonedDateTime] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("version"), org.make.core.widget.Widget.Version, (Symbol @@ String("authorDisplayName")) :: (Symbol @@ String("sequenceKind")) :: (Symbol @@ String("createdAt")) :: shapeless.HNil, Option[String] :: org.make.core.sequence.SequenceKind :: java.time.ZonedDateTime :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("authorDisplayName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("sequenceKind"),org.make.core.sequence.SequenceKind] :: shapeless.labelled.FieldType[Symbol @@ String("createdAt"),java.time.ZonedDateTime] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("authorDisplayName"), Option[String], (Symbol @@ String("sequenceKind")) :: (Symbol @@ String("createdAt")) :: shapeless.HNil, org.make.core.sequence.SequenceKind :: java.time.ZonedDateTime :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("sequenceKind"),org.make.core.sequence.SequenceKind] :: shapeless.labelled.FieldType[Symbol @@ String("createdAt"),java.time.ZonedDateTime] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("sequenceKind"), org.make.core.sequence.SequenceKind, (Symbol @@ String("createdAt")) :: shapeless.HNil, java.time.ZonedDateTime :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("createdAt"),java.time.ZonedDateTime] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("createdAt"), java.time.ZonedDateTime, shapeless.HNil, shapeless.HNil, shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hnilZipWithKeys, Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("createdAt")]](scala.Symbol.apply("createdAt").asInstanceOf[Symbol @@ String("createdAt")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("createdAt")]])), Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("sequenceKind")]](scala.Symbol.apply("sequenceKind").asInstanceOf[Symbol @@ String("sequenceKind")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("sequenceKind")]])), Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("authorDisplayName")]](scala.Symbol.apply("authorDisplayName").asInstanceOf[Symbol @@ String("authorDisplayName")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("authorDisplayName")]])), Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("version")]](scala.Symbol.apply("version").asInstanceOf[Symbol @@ String("version")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("version")]])), Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("script")]](scala.Symbol.apply("script").asInstanceOf[Symbol @@ String("script")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("script")]])), Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("language")]](scala.Symbol.apply("language").asInstanceOf[Symbol @@ String("language")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("language")]])), Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("country")]](scala.Symbol.apply("country").asInstanceOf[Symbol @@ String("country")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("country")]])), Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("questionId")]](scala.Symbol.apply("questionId").asInstanceOf[Symbol @@ String("questionId")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("questionId")]])), Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("id")]](scala.Symbol.apply("id").asInstanceOf[Symbol @@ String("id")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("id")]])), scala.this.<:<.refl[shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.widget.WidgetId] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),org.make.core.question.QuestionId] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("script"),String] :: shapeless.labelled.FieldType[Symbol @@ String("version"),org.make.core.widget.Widget.Version] :: shapeless.labelled.FieldType[Symbol @@ String("authorDisplayName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("sequenceKind"),org.make.core.sequence.SequenceKind] :: shapeless.labelled.FieldType[Symbol @@ String("createdAt"),java.time.ZonedDateTime] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]), shapeless.Lazy.apply[io.circe.generic.codec.ReprAsObjectCodec[shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.widget.WidgetId] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),org.make.core.question.QuestionId] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("script"),String] :: shapeless.labelled.FieldType[Symbol @@ String("version"),org.make.core.widget.Widget.Version] :: shapeless.labelled.FieldType[Symbol @@ String("authorDisplayName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("sequenceKind"),org.make.core.sequence.SequenceKind] :: shapeless.labelled.FieldType[Symbol @@ String("createdAt"),java.time.ZonedDateTime] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]](anon$lazy$macro$39.this.inst$macro$38)).asInstanceOf[io.circe.generic.codec.DerivedAsObjectCodec[org.make.api.widget.AdminWidgetResponse]]; <stable> <accessor> lazy val inst$macro$38: io.circe.generic.codec.ReprAsObjectCodec[shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.widget.WidgetId] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),org.make.core.question.QuestionId] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("script"),String] :: shapeless.labelled.FieldType[Symbol @@ String("version"),org.make.core.widget.Widget.Version] :: shapeless.labelled.FieldType[Symbol @@ String("authorDisplayName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("sequenceKind"),org.make.core.sequence.SequenceKind] :: shapeless.labelled.FieldType[Symbol @@ String("createdAt"),java.time.ZonedDateTime] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] = ({ final class $anon extends io.circe.generic.codec.ReprAsObjectCodec[shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.widget.WidgetId] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),org.make.core.question.QuestionId] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("script"),String] :: shapeless.labelled.FieldType[Symbol @@ String("version"),org.make.core.widget.Widget.Version] :: shapeless.labelled.FieldType[Symbol @@ String("authorDisplayName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("sequenceKind"),org.make.core.sequence.SequenceKind] :: shapeless.labelled.FieldType[Symbol @@ String("createdAt"),java.time.ZonedDateTime] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] { def <init>(): <$anon: io.circe.generic.codec.ReprAsObjectCodec[shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.widget.WidgetId] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),org.make.core.question.QuestionId] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("script"),String] :: shapeless.labelled.FieldType[Symbol @@ String("version"),org.make.core.widget.Widget.Version] :: shapeless.labelled.FieldType[Symbol @@ String("authorDisplayName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("sequenceKind"),org.make.core.sequence.SequenceKind] :: shapeless.labelled.FieldType[Symbol @@ String("createdAt"),java.time.ZonedDateTime] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]> = { $anon.super.<init>(); () }; private[this] val circeGenericDecoderForid: io.circe.Codec[org.make.core.widget.WidgetId] = widget.this.WidgetId.codec; private[this] val circeGenericDecoderForquestionId: io.circe.Decoder[org.make.core.question.QuestionId] = question.this.QuestionId.QuestionIdDecoder; private[this] val circeGenericDecoderForcountry: io.circe.Decoder[org.make.core.reference.Country] = reference.this.Country.countryDecoder; private[this] val circeGenericDecoderForlanguage: io.circe.Decoder[org.make.core.reference.Language] = reference.this.Language.LanguageDecoder; private[this] val circeGenericDecoderForscript: io.circe.Decoder[String] = circe.this.Decoder.decodeString; private[this] val circeGenericDecoderForversion: io.circe.Decoder[org.make.core.widget.Widget.Version] = Widget.this.Version.circeDecoder; private[this] val circeGenericDecoderForauthorDisplayName: io.circe.Decoder[Option[String]] = circe.this.Decoder.decodeOption[String](circe.this.Decoder.decodeString); private[this] val circeGenericDecoderForsequenceKind: io.circe.Decoder[org.make.core.sequence.SequenceKind] = sequence.this.SequenceKind.decoder; private[this] val circeGenericDecoderForcreatedAt: io.circe.Decoder[java.time.ZonedDateTime] = AdminWidgetResponse.this.zonedDateTimeDecoder; private[this] val circeGenericEncoderForid: io.circe.Encoder[org.make.core.widget.WidgetId] = AdminWidgetResponse.this.stringValueEncoder[org.make.core.widget.WidgetId]; private[this] val circeGenericEncoderForquestionId: io.circe.Encoder[org.make.core.question.QuestionId] = AdminWidgetResponse.this.stringValueEncoder[org.make.core.question.QuestionId]; private[this] val circeGenericEncoderForcountry: io.circe.Encoder[org.make.core.reference.Country] = AdminWidgetResponse.this.stringValueEncoder[org.make.core.reference.Country]; private[this] val circeGenericEncoderForlanguage: io.circe.Encoder[org.make.core.reference.Language] = AdminWidgetResponse.this.stringValueEncoder[org.make.core.reference.Language]; private[this] val circeGenericEncoderForscript: io.circe.Encoder[String] = circe.this.Encoder.encodeString; private[this] val circeGenericEncoderForversion: io.circe.Encoder[org.make.core.widget.Widget.Version] = Widget.this.Version.circeEncoder; private[this] val circeGenericEncoderForauthorDisplayName: io.circe.Encoder[Option[String]] = circe.this.Encoder.encodeOption[String](circe.this.Encoder.encodeString); private[this] val circeGenericEncoderForsequenceKind: io.circe.Encoder[org.make.core.sequence.SequenceKind] = sequence.this.SequenceKind.encoder; private[this] val circeGenericEncoderForcreatedAt: io.circe.Encoder[java.time.ZonedDateTime] = AdminWidgetResponse.this.zonedDateTimeEncoder; final def encodeObject(a: shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.widget.WidgetId] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),org.make.core.question.QuestionId] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("script"),String] :: shapeless.labelled.FieldType[Symbol @@ String("version"),org.make.core.widget.Widget.Version] :: shapeless.labelled.FieldType[Symbol @@ String("authorDisplayName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("sequenceKind"),org.make.core.sequence.SequenceKind] :: shapeless.labelled.FieldType[Symbol @@ String("createdAt"),java.time.ZonedDateTime] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): io.circe.JsonObject = a match { case (head: shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.widget.WidgetId], tail: shapeless.labelled.FieldType[Symbol @@ String("questionId"),org.make.core.question.QuestionId] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("script"),String] :: shapeless.labelled.FieldType[Symbol @@ String("version"),org.make.core.widget.Widget.Version] :: shapeless.labelled.FieldType[Symbol @@ String("authorDisplayName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("sequenceKind"),org.make.core.sequence.SequenceKind] :: shapeless.labelled.FieldType[Symbol @@ String("createdAt"),java.time.ZonedDateTime] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.widget.WidgetId] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),org.make.core.question.QuestionId] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("script"),String] :: shapeless.labelled.FieldType[Symbol @@ String("version"),org.make.core.widget.Widget.Version] :: shapeless.labelled.FieldType[Symbol @@ String("authorDisplayName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("sequenceKind"),org.make.core.sequence.SequenceKind] :: shapeless.labelled.FieldType[Symbol @@ String("createdAt"),java.time.ZonedDateTime] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out((circeGenericHListBindingForid @ _), (head: shapeless.labelled.FieldType[Symbol @@ String("questionId"),org.make.core.question.QuestionId], tail: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("script"),String] :: shapeless.labelled.FieldType[Symbol @@ String("version"),org.make.core.widget.Widget.Version] :: shapeless.labelled.FieldType[Symbol @@ String("authorDisplayName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("sequenceKind"),org.make.core.sequence.SequenceKind] :: shapeless.labelled.FieldType[Symbol @@ String("createdAt"),java.time.ZonedDateTime] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): shapeless.labelled.FieldType[Symbol @@ String("questionId"),org.make.core.question.QuestionId] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("script"),String] :: shapeless.labelled.FieldType[Symbol @@ String("version"),org.make.core.widget.Widget.Version] :: shapeless.labelled.FieldType[Symbol @@ String("authorDisplayName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("sequenceKind"),org.make.core.sequence.SequenceKind] :: shapeless.labelled.FieldType[Symbol @@ String("createdAt"),java.time.ZonedDateTime] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out((circeGenericHListBindingForquestionId @ _), (head: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country], tail: shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("script"),String] :: shapeless.labelled.FieldType[Symbol @@ String("version"),org.make.core.widget.Widget.Version] :: shapeless.labelled.FieldType[Symbol @@ String("authorDisplayName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("sequenceKind"),org.make.core.sequence.SequenceKind] :: shapeless.labelled.FieldType[Symbol @@ String("createdAt"),java.time.ZonedDateTime] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("script"),String] :: shapeless.labelled.FieldType[Symbol @@ String("version"),org.make.core.widget.Widget.Version] :: shapeless.labelled.FieldType[Symbol @@ String("authorDisplayName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("sequenceKind"),org.make.core.sequence.SequenceKind] :: shapeless.labelled.FieldType[Symbol @@ String("createdAt"),java.time.ZonedDateTime] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out((circeGenericHListBindingForcountry @ _), (head: shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language], tail: shapeless.labelled.FieldType[Symbol @@ String("script"),String] :: shapeless.labelled.FieldType[Symbol @@ String("version"),org.make.core.widget.Widget.Version] :: shapeless.labelled.FieldType[Symbol @@ String("authorDisplayName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("sequenceKind"),org.make.core.sequence.SequenceKind] :: shapeless.labelled.FieldType[Symbol @@ String("createdAt"),java.time.ZonedDateTime] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("script"),String] :: shapeless.labelled.FieldType[Symbol @@ String("version"),org.make.core.widget.Widget.Version] :: shapeless.labelled.FieldType[Symbol @@ String("authorDisplayName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("sequenceKind"),org.make.core.sequence.SequenceKind] :: shapeless.labelled.FieldType[Symbol @@ String("createdAt"),java.time.ZonedDateTime] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out((circeGenericHListBindingForlanguage @ _), (head: shapeless.labelled.FieldType[Symbol @@ String("script"),String], tail: shapeless.labelled.FieldType[Symbol @@ String("version"),org.make.core.widget.Widget.Version] :: shapeless.labelled.FieldType[Symbol @@ String("authorDisplayName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("sequenceKind"),org.make.core.sequence.SequenceKind] :: shapeless.labelled.FieldType[Symbol @@ String("createdAt"),java.time.ZonedDateTime] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): shapeless.labelled.FieldType[Symbol @@ String("script"),String] :: shapeless.labelled.FieldType[Symbol @@ String("version"),org.make.core.widget.Widget.Version] :: shapeless.labelled.FieldType[Symbol @@ String("authorDisplayName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("sequenceKind"),org.make.core.sequence.SequenceKind] :: shapeless.labelled.FieldType[Symbol @@ String("createdAt"),java.time.ZonedDateTime] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out((circeGenericHListBindingForscript @ _), (head: shapeless.labelled.FieldType[Symbol @@ String("version"),org.make.core.widget.Widget.Version], tail: shapeless.labelled.FieldType[Symbol @@ String("authorDisplayName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("sequenceKind"),org.make.core.sequence.SequenceKind] :: shapeless.labelled.FieldType[Symbol @@ String("createdAt"),java.time.ZonedDateTime] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): shapeless.labelled.FieldType[Symbol @@ String("version"),org.make.core.widget.Widget.Version] :: shapeless.labelled.FieldType[Symbol @@ String("authorDisplayName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("sequenceKind"),org.make.core.sequence.SequenceKind] :: shapeless.labelled.FieldType[Symbol @@ String("createdAt"),java.time.ZonedDateTime] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out((circeGenericHListBindingForversion @ _), (head: shapeless.labelled.FieldType[Symbol @@ String("authorDisplayName"),Option[String]], tail: shapeless.labelled.FieldType[Symbol @@ String("sequenceKind"),org.make.core.sequence.SequenceKind] :: shapeless.labelled.FieldType[Symbol @@ String("createdAt"),java.time.ZonedDateTime] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): shapeless.labelled.FieldType[Symbol @@ String("authorDisplayName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("sequenceKind"),org.make.core.sequence.SequenceKind] :: shapeless.labelled.FieldType[Symbol @@ String("createdAt"),java.time.ZonedDateTime] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out((circeGenericHListBindingForauthorDisplayName @ _), (head: shapeless.labelled.FieldType[Symbol @@ String("sequenceKind"),org.make.core.sequence.SequenceKind], tail: shapeless.labelled.FieldType[Symbol @@ String("createdAt"),java.time.ZonedDateTime] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): shapeless.labelled.FieldType[Symbol @@ String("sequenceKind"),org.make.core.sequence.SequenceKind] :: shapeless.labelled.FieldType[Symbol @@ String("createdAt"),java.time.ZonedDateTime] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out((circeGenericHListBindingForsequenceKind @ _), (head: shapeless.labelled.FieldType[Symbol @@ String("createdAt"),java.time.ZonedDateTime], tail: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): shapeless.labelled.FieldType[Symbol @@ String("createdAt"),java.time.ZonedDateTime] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out((circeGenericHListBindingForcreatedAt @ _), shapeless.HNil))))))))) => io.circe.JsonObject.fromIterable(scala.collection.immutable.Vector.apply[(String, io.circe.Json)](scala.Tuple2.apply[String, io.circe.Json]("id", $anon.this.circeGenericEncoderForid.apply(circeGenericHListBindingForid)), scala.Tuple2.apply[String, io.circe.Json]("questionId", $anon.this.circeGenericEncoderForquestionId.apply(circeGenericHListBindingForquestionId)), scala.Tuple2.apply[String, io.circe.Json]("country", $anon.this.circeGenericEncoderForcountry.apply(circeGenericHListBindingForcountry)), scala.Tuple2.apply[String, io.circe.Json]("language", $anon.this.circeGenericEncoderForlanguage.apply(circeGenericHListBindingForlanguage)), scala.Tuple2.apply[String, io.circe.Json]("script", $anon.this.circeGenericEncoderForscript.apply(circeGenericHListBindingForscript)), scala.Tuple2.apply[String, io.circe.Json]("version", $anon.this.circeGenericEncoderForversion.apply(circeGenericHListBindingForversion)), scala.Tuple2.apply[String, io.circe.Json]("authorDisplayName", $anon.this.circeGenericEncoderForauthorDisplayName.apply(circeGenericHListBindingForauthorDisplayName)), scala.Tuple2.apply[String, io.circe.Json]("sequenceKind", $anon.this.circeGenericEncoderForsequenceKind.apply(circeGenericHListBindingForsequenceKind)), scala.Tuple2.apply[String, io.circe.Json]("createdAt", $anon.this.circeGenericEncoderForcreatedAt.apply(circeGenericHListBindingForcreatedAt)))) }; final def apply(c: io.circe.HCursor): io.circe.Decoder.Result[shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.widget.WidgetId] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),org.make.core.question.QuestionId] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("script"),String] :: shapeless.labelled.FieldType[Symbol @@ String("version"),org.make.core.widget.Widget.Version] :: shapeless.labelled.FieldType[Symbol @@ String("authorDisplayName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("sequenceKind"),org.make.core.sequence.SequenceKind] :: shapeless.labelled.FieldType[Symbol @@ String("createdAt"),java.time.ZonedDateTime] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] = ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("id"), org.make.core.widget.WidgetId, shapeless.labelled.FieldType[Symbol @@ String("questionId"),org.make.core.question.QuestionId] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("script"),String] :: shapeless.labelled.FieldType[Symbol @@ String("version"),org.make.core.widget.Widget.Version] :: shapeless.labelled.FieldType[Symbol @@ String("authorDisplayName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("sequenceKind"),org.make.core.sequence.SequenceKind] :: shapeless.labelled.FieldType[Symbol @@ String("createdAt"),java.time.ZonedDateTime] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForid.tryDecode(c.downField("id")), ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("questionId"), org.make.core.question.QuestionId, shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("script"),String] :: shapeless.labelled.FieldType[Symbol @@ String("version"),org.make.core.widget.Widget.Version] :: shapeless.labelled.FieldType[Symbol @@ String("authorDisplayName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("sequenceKind"),org.make.core.sequence.SequenceKind] :: shapeless.labelled.FieldType[Symbol @@ String("createdAt"),java.time.ZonedDateTime] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForquestionId.tryDecode(c.downField("questionId")), ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("country"), org.make.core.reference.Country, shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("script"),String] :: shapeless.labelled.FieldType[Symbol @@ String("version"),org.make.core.widget.Widget.Version] :: shapeless.labelled.FieldType[Symbol @@ String("authorDisplayName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("sequenceKind"),org.make.core.sequence.SequenceKind] :: shapeless.labelled.FieldType[Symbol @@ String("createdAt"),java.time.ZonedDateTime] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForcountry.tryDecode(c.downField("country")), ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("language"), org.make.core.reference.Language, shapeless.labelled.FieldType[Symbol @@ String("script"),String] :: shapeless.labelled.FieldType[Symbol @@ String("version"),org.make.core.widget.Widget.Version] :: shapeless.labelled.FieldType[Symbol @@ String("authorDisplayName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("sequenceKind"),org.make.core.sequence.SequenceKind] :: shapeless.labelled.FieldType[Symbol @@ String("createdAt"),java.time.ZonedDateTime] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForlanguage.tryDecode(c.downField("language")), ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("script"), String, shapeless.labelled.FieldType[Symbol @@ String("version"),org.make.core.widget.Widget.Version] :: shapeless.labelled.FieldType[Symbol @@ String("authorDisplayName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("sequenceKind"),org.make.core.sequence.SequenceKind] :: shapeless.labelled.FieldType[Symbol @@ String("createdAt"),java.time.ZonedDateTime] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForscript.tryDecode(c.downField("script")), ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("version"), org.make.core.widget.Widget.Version, shapeless.labelled.FieldType[Symbol @@ String("authorDisplayName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("sequenceKind"),org.make.core.sequence.SequenceKind] :: shapeless.labelled.FieldType[Symbol @@ String("createdAt"),java.time.ZonedDateTime] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForversion.tryDecode(c.downField("version")), ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("authorDisplayName"), Option[String], shapeless.labelled.FieldType[Symbol @@ String("sequenceKind"),org.make.core.sequence.SequenceKind] :: shapeless.labelled.FieldType[Symbol @@ String("createdAt"),java.time.ZonedDateTime] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForauthorDisplayName.tryDecode(c.downField("authorDisplayName")), ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("sequenceKind"), org.make.core.sequence.SequenceKind, shapeless.labelled.FieldType[Symbol @@ String("createdAt"),java.time.ZonedDateTime] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForsequenceKind.tryDecode(c.downField("sequenceKind")), ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("createdAt"), java.time.ZonedDateTime, shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForcreatedAt.tryDecode(c.downField("createdAt")), ReprDecoder.hnilResult)(io.circe.Decoder.resultInstance))(io.circe.Decoder.resultInstance))(io.circe.Decoder.resultInstance))(io.circe.Decoder.resultInstance))(io.circe.Decoder.resultInstance))(io.circe.Decoder.resultInstance))(io.circe.Decoder.resultInstance))(io.circe.Decoder.resultInstance))(io.circe.Decoder.resultInstance); final override def decodeAccumulating(c: io.circe.HCursor): io.circe.Decoder.AccumulatingResult[shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.widget.WidgetId] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),org.make.core.question.QuestionId] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("script"),String] :: shapeless.labelled.FieldType[Symbol @@ String("version"),org.make.core.widget.Widget.Version] :: shapeless.labelled.FieldType[Symbol @@ String("authorDisplayName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("sequenceKind"),org.make.core.sequence.SequenceKind] :: shapeless.labelled.FieldType[Symbol @@ String("createdAt"),java.time.ZonedDateTime] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] = ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("id"), org.make.core.widget.WidgetId, shapeless.labelled.FieldType[Symbol @@ String("questionId"),org.make.core.question.QuestionId] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("script"),String] :: shapeless.labelled.FieldType[Symbol @@ String("version"),org.make.core.widget.Widget.Version] :: shapeless.labelled.FieldType[Symbol @@ String("authorDisplayName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("sequenceKind"),org.make.core.sequence.SequenceKind] :: shapeless.labelled.FieldType[Symbol @@ String("createdAt"),java.time.ZonedDateTime] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForid.tryDecodeAccumulating(c.downField("id")), ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("questionId"), org.make.core.question.QuestionId, shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("script"),String] :: shapeless.labelled.FieldType[Symbol @@ String("version"),org.make.core.widget.Widget.Version] :: shapeless.labelled.FieldType[Symbol @@ String("authorDisplayName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("sequenceKind"),org.make.core.sequence.SequenceKind] :: shapeless.labelled.FieldType[Symbol @@ String("createdAt"),java.time.ZonedDateTime] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForquestionId.tryDecodeAccumulating(c.downField("questionId")), ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("country"), org.make.core.reference.Country, shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("script"),String] :: shapeless.labelled.FieldType[Symbol @@ String("version"),org.make.core.widget.Widget.Version] :: shapeless.labelled.FieldType[Symbol @@ String("authorDisplayName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("sequenceKind"),org.make.core.sequence.SequenceKind] :: shapeless.labelled.FieldType[Symbol @@ String("createdAt"),java.time.ZonedDateTime] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForcountry.tryDecodeAccumulating(c.downField("country")), ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("language"), org.make.core.reference.Language, shapeless.labelled.FieldType[Symbol @@ String("script"),String] :: shapeless.labelled.FieldType[Symbol @@ String("version"),org.make.core.widget.Widget.Version] :: shapeless.labelled.FieldType[Symbol @@ String("authorDisplayName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("sequenceKind"),org.make.core.sequence.SequenceKind] :: shapeless.labelled.FieldType[Symbol @@ String("createdAt"),java.time.ZonedDateTime] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForlanguage.tryDecodeAccumulating(c.downField("language")), ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("script"), String, shapeless.labelled.FieldType[Symbol @@ String("version"),org.make.core.widget.Widget.Version] :: shapeless.labelled.FieldType[Symbol @@ String("authorDisplayName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("sequenceKind"),org.make.core.sequence.SequenceKind] :: shapeless.labelled.FieldType[Symbol @@ String("createdAt"),java.time.ZonedDateTime] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForscript.tryDecodeAccumulating(c.downField("script")), ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("version"), org.make.core.widget.Widget.Version, shapeless.labelled.FieldType[Symbol @@ String("authorDisplayName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("sequenceKind"),org.make.core.sequence.SequenceKind] :: shapeless.labelled.FieldType[Symbol @@ String("createdAt"),java.time.ZonedDateTime] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForversion.tryDecodeAccumulating(c.downField("version")), ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("authorDisplayName"), Option[String], shapeless.labelled.FieldType[Symbol @@ String("sequenceKind"),org.make.core.sequence.SequenceKind] :: shapeless.labelled.FieldType[Symbol @@ String("createdAt"),java.time.ZonedDateTime] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForauthorDisplayName.tryDecodeAccumulating(c.downField("authorDisplayName")), ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("sequenceKind"), org.make.core.sequence.SequenceKind, shapeless.labelled.FieldType[Symbol @@ String("createdAt"),java.time.ZonedDateTime] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForsequenceKind.tryDecodeAccumulating(c.downField("sequenceKind")), ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("createdAt"), java.time.ZonedDateTime, shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForcreatedAt.tryDecodeAccumulating(c.downField("createdAt")), ReprDecoder.hnilResultAccumulating)(io.circe.Decoder.accumulatingResultInstance))(io.circe.Decoder.accumulatingResultInstance))(io.circe.Decoder.accumulatingResultInstance))(io.circe.Decoder.accumulatingResultInstance))(io.circe.Decoder.accumulatingResultInstance))(io.circe.Decoder.accumulatingResultInstance))(io.circe.Decoder.accumulatingResultInstance))(io.circe.Decoder.accumulatingResultInstance))(io.circe.Decoder.accumulatingResultInstance) }; new $anon() }: io.circe.generic.codec.ReprAsObjectCodec[shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.widget.WidgetId] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),org.make.core.question.QuestionId] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("script"),String] :: shapeless.labelled.FieldType[Symbol @@ String("version"),org.make.core.widget.Widget.Version] :: shapeless.labelled.FieldType[Symbol @@ String("authorDisplayName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("sequenceKind"),org.make.core.sequence.SequenceKind] :: shapeless.labelled.FieldType[Symbol @@ String("createdAt"),java.time.ZonedDateTime] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]).asInstanceOf[io.circe.generic.codec.ReprAsObjectCodec[shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.widget.WidgetId] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),org.make.core.question.QuestionId] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("script"),String] :: shapeless.labelled.FieldType[Symbol @@ String("version"),org.make.core.widget.Widget.Version] :: shapeless.labelled.FieldType[Symbol @@ String("authorDisplayName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("sequenceKind"),org.make.core.sequence.SequenceKind] :: shapeless.labelled.FieldType[Symbol @@ String("createdAt"),java.time.ZonedDateTime] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]] }; new anon$lazy$macro$39().inst$macro$1 }; shapeless.Lazy.apply[io.circe.generic.codec.DerivedAsObjectCodec[org.make.api.widget.AdminWidgetResponse]](inst$macro$40) })