@mjhls/mjh-framework 1.0.189 → 1.0.191
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/index.es.js +605 -869
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +610 -873
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -5,7 +5,7 @@ import Container from 'react-bootstrap/Container';
|
|
|
5
5
|
import Row from 'react-bootstrap/Row';
|
|
6
6
|
import Col from 'react-bootstrap/Col';
|
|
7
7
|
import Card from 'react-bootstrap/Card';
|
|
8
|
-
import
|
|
8
|
+
import 'next/link';
|
|
9
9
|
import Router, { withRouter, useRouter } from 'next/router';
|
|
10
10
|
import Media from 'react-bootstrap/Media';
|
|
11
11
|
import { Media as Media$1, Container as Container$1, Dropdown, Figure, Carousel, Table, Button as Button$1, ProgressBar, Card as Card$1 } from 'react-bootstrap';
|
|
@@ -10528,14 +10528,10 @@ var DeckContent = function (_React$Component) {
|
|
|
10528
10528
|
'By'
|
|
10529
10529
|
),
|
|
10530
10530
|
React__default.createElement(
|
|
10531
|
-
|
|
10532
|
-
{ href: '/authors
|
|
10533
|
-
|
|
10534
|
-
|
|
10535
|
-
{ className: 'text-muted' },
|
|
10536
|
-
displayName,
|
|
10537
|
-
length !== index$$1 + 1 && React__default.createElement('br', null)
|
|
10538
|
-
)
|
|
10531
|
+
'a',
|
|
10532
|
+
{ href: '/authors/${url.current}', className: 'text-muted' },
|
|
10533
|
+
displayName,
|
|
10534
|
+
length !== index$$1 + 1 && React__default.createElement('br', null)
|
|
10539
10535
|
)
|
|
10540
10536
|
);
|
|
10541
10537
|
} else if (displayName) {
|
|
@@ -10592,36 +10588,28 @@ var DeckContent = function (_React$Component) {
|
|
|
10592
10588
|
Card,
|
|
10593
10589
|
{ className: 'content-card', style: { flexDirection: mode } },
|
|
10594
10590
|
(row.thumbnail && row.thumbnail.asset || _this.props.defaultImage) && React__default.createElement(
|
|
10595
|
-
|
|
10596
|
-
{ href: _this.mapping[contentCategoryName] + '/
|
|
10591
|
+
'a',
|
|
10592
|
+
{ href: _this.mapping[contentCategoryName] + '/' + row.url.current },
|
|
10597
10593
|
React__default.createElement(
|
|
10598
|
-
|
|
10599
|
-
|
|
10600
|
-
React__default.createElement(
|
|
10601
|
-
|
|
10602
|
-
|
|
10603
|
-
|
|
10604
|
-
|
|
10605
|
-
src: _this.renderCardImage(row, page),
|
|
10606
|
-
alt: row.thumbnail && row.thumbnail.asset ? row.thumbnail.asset.originalFilename : ''
|
|
10607
|
-
})
|
|
10608
|
-
)
|
|
10594
|
+
LazyLoad,
|
|
10595
|
+
{ height: _this.props.imageHeight },
|
|
10596
|
+
React__default.createElement(Card.Img, {
|
|
10597
|
+
variant: 'top',
|
|
10598
|
+
src: _this.renderCardImage(row, page),
|
|
10599
|
+
alt: row.thumbnail && row.thumbnail.asset ? row.thumbnail.asset.originalFilename : ''
|
|
10600
|
+
})
|
|
10609
10601
|
)
|
|
10610
10602
|
),
|
|
10611
10603
|
React__default.createElement(
|
|
10612
10604
|
Card.Body,
|
|
10613
10605
|
null,
|
|
10614
10606
|
React__default.createElement(
|
|
10615
|
-
|
|
10616
|
-
{ href: _this.mapping[contentCategoryName] + '/
|
|
10607
|
+
'a',
|
|
10608
|
+
{ href: _this.mapping[contentCategoryName] + '/' + row.url.current },
|
|
10617
10609
|
React__default.createElement(
|
|
10618
|
-
|
|
10610
|
+
Card.Title,
|
|
10619
10611
|
null,
|
|
10620
|
-
|
|
10621
|
-
Card.Title,
|
|
10622
|
-
null,
|
|
10623
|
-
row.title
|
|
10624
|
-
)
|
|
10612
|
+
row.title
|
|
10625
10613
|
)
|
|
10626
10614
|
),
|
|
10627
10615
|
_this.props.showPublished && row.published && React__default.createElement(
|
|
@@ -11920,14 +11908,10 @@ var GridContent = function (_React$Component) {
|
|
|
11920
11908
|
'By'
|
|
11921
11909
|
),
|
|
11922
11910
|
React__default.createElement(
|
|
11923
|
-
|
|
11924
|
-
{ href: '/authors/
|
|
11925
|
-
|
|
11926
|
-
|
|
11927
|
-
{ className: 'text-muted' },
|
|
11928
|
-
displayName,
|
|
11929
|
-
length !== index$$1 + 1 && React__default.createElement('br', null)
|
|
11930
|
-
)
|
|
11911
|
+
'a',
|
|
11912
|
+
{ href: '/authors/' + url.current, className: 'text-muted' },
|
|
11913
|
+
displayName,
|
|
11914
|
+
length !== index$$1 + 1 && React__default.createElement('br', null)
|
|
11931
11915
|
)
|
|
11932
11916
|
);
|
|
11933
11917
|
} else if (displayName) {
|
|
@@ -12007,20 +11991,16 @@ var GridContent = function (_React$Component) {
|
|
|
12007
11991
|
Col,
|
|
12008
11992
|
{ md: 12, lg: 4 },
|
|
12009
11993
|
React__default.createElement(
|
|
12010
|
-
|
|
12011
|
-
{ href: _this2.page + '/
|
|
11994
|
+
'a',
|
|
11995
|
+
{ href: _this2.page + '/' + get_1(row, 'url.current') },
|
|
12012
11996
|
React__default.createElement(
|
|
12013
|
-
|
|
12014
|
-
|
|
12015
|
-
React__default.createElement(
|
|
12016
|
-
|
|
12017
|
-
|
|
12018
|
-
|
|
12019
|
-
|
|
12020
|
-
src: _this2.renderCardImage(row, page),
|
|
12021
|
-
alt: row.thumbnail && row.thumbnail.asset ? row.thumbnail.asset.originalFilename : ''
|
|
12022
|
-
})
|
|
12023
|
-
)
|
|
11997
|
+
LazyLoad,
|
|
11998
|
+
{ height: _this2.props.imageHeight },
|
|
11999
|
+
React__default.createElement(Card.Img, {
|
|
12000
|
+
variant: 'top',
|
|
12001
|
+
src: _this2.renderCardImage(row, page),
|
|
12002
|
+
alt: row.thumbnail && row.thumbnail.asset ? row.thumbnail.asset.originalFilename : ''
|
|
12003
|
+
})
|
|
12024
12004
|
)
|
|
12025
12005
|
)
|
|
12026
12006
|
),
|
|
@@ -12034,13 +12014,9 @@ var GridContent = function (_React$Component) {
|
|
|
12034
12014
|
Card.Title,
|
|
12035
12015
|
null,
|
|
12036
12016
|
React__default.createElement(
|
|
12037
|
-
|
|
12038
|
-
{ href: _this2.page + '/
|
|
12039
|
-
|
|
12040
|
-
'a',
|
|
12041
|
-
null,
|
|
12042
|
-
row.title
|
|
12043
|
-
)
|
|
12017
|
+
'a',
|
|
12018
|
+
{ href: _this2.page + '/' + get_1(row, 'url.current') },
|
|
12019
|
+
row.title
|
|
12044
12020
|
)
|
|
12045
12021
|
),
|
|
12046
12022
|
_this2.props.showPublished && row.published && React__default.createElement(
|
|
@@ -12150,36 +12126,28 @@ var GridContent = function (_React$Component) {
|
|
|
12150
12126
|
Card,
|
|
12151
12127
|
{ className: 'content-card', style: { flexDirection: index$$1 === 0 || index$$1 % 4 === 0 ? 'top' : 'row' } },
|
|
12152
12128
|
(row.thumbnail && row.thumbnail.asset || _this2.props.defaultImage) && React__default.createElement(
|
|
12153
|
-
|
|
12154
|
-
{ href: row.url.current },
|
|
12129
|
+
'a',
|
|
12130
|
+
{ href: row.url.current, className: index$$1 === 0 || index$$1 % 4 === 0 ? '' : 'card-image' },
|
|
12155
12131
|
React__default.createElement(
|
|
12156
|
-
|
|
12157
|
-
{
|
|
12158
|
-
React__default.createElement(
|
|
12159
|
-
|
|
12160
|
-
|
|
12161
|
-
|
|
12162
|
-
|
|
12163
|
-
src: _this2.renderCardImage(row, page),
|
|
12164
|
-
alt: row.thumbnail && row.thumbnail.asset ? row.thumbnail.asset.originalFilename : ''
|
|
12165
|
-
})
|
|
12166
|
-
)
|
|
12132
|
+
LazyLoad,
|
|
12133
|
+
{ height: _this2.props.imageHeight },
|
|
12134
|
+
React__default.createElement(Card.Img, {
|
|
12135
|
+
variant: 'top',
|
|
12136
|
+
src: _this2.renderCardImage(row, page),
|
|
12137
|
+
alt: row.thumbnail && row.thumbnail.asset ? row.thumbnail.asset.originalFilename : ''
|
|
12138
|
+
})
|
|
12167
12139
|
)
|
|
12168
12140
|
),
|
|
12169
12141
|
React__default.createElement(
|
|
12170
12142
|
Card.Body,
|
|
12171
12143
|
null,
|
|
12172
12144
|
React__default.createElement(
|
|
12173
|
-
|
|
12145
|
+
'a',
|
|
12174
12146
|
{ href: row.url.current },
|
|
12175
12147
|
React__default.createElement(
|
|
12176
|
-
|
|
12148
|
+
Card.Title,
|
|
12177
12149
|
null,
|
|
12178
|
-
|
|
12179
|
-
Card.Title,
|
|
12180
|
-
null,
|
|
12181
|
-
row.title
|
|
12182
|
-
)
|
|
12150
|
+
row.title
|
|
12183
12151
|
)
|
|
12184
12152
|
),
|
|
12185
12153
|
_this2.props.showPublished && row.published && React__default.createElement(
|
|
@@ -12220,36 +12188,28 @@ var GridContent = function (_React$Component) {
|
|
|
12220
12188
|
Card,
|
|
12221
12189
|
{ className: 'content-card', style: { flexDirection: index$$1 === 0 || index$$1 % 4 === 0 ? 'top' : 'row' } },
|
|
12222
12190
|
(row.thumbnail && row.thumbnail.asset || _this2.props.defaultImage) && React__default.createElement(
|
|
12223
|
-
|
|
12224
|
-
{ href: linkHref },
|
|
12191
|
+
'a',
|
|
12192
|
+
{ href: linkHref, className: index$$1 === 0 || index$$1 % 4 === 0 ? '' : 'card-image' },
|
|
12225
12193
|
React__default.createElement(
|
|
12226
|
-
|
|
12227
|
-
{
|
|
12228
|
-
React__default.createElement(
|
|
12229
|
-
|
|
12230
|
-
|
|
12231
|
-
|
|
12232
|
-
|
|
12233
|
-
src: _this2.renderCardImage(row, page),
|
|
12234
|
-
alt: row.thumbnail && row.thumbnail.asset ? row.thumbnail.asset.originalFilename : ''
|
|
12235
|
-
})
|
|
12236
|
-
)
|
|
12194
|
+
LazyLoad,
|
|
12195
|
+
{ height: _this2.props.imageHeight },
|
|
12196
|
+
React__default.createElement(Card.Img, {
|
|
12197
|
+
variant: 'top',
|
|
12198
|
+
src: _this2.renderCardImage(row, page),
|
|
12199
|
+
alt: row.thumbnail && row.thumbnail.asset ? row.thumbnail.asset.originalFilename : ''
|
|
12200
|
+
})
|
|
12237
12201
|
)
|
|
12238
12202
|
),
|
|
12239
12203
|
React__default.createElement(
|
|
12240
12204
|
Card.Body,
|
|
12241
12205
|
null,
|
|
12242
12206
|
React__default.createElement(
|
|
12243
|
-
|
|
12207
|
+
'a',
|
|
12244
12208
|
{ href: linkHref },
|
|
12245
12209
|
React__default.createElement(
|
|
12246
|
-
|
|
12210
|
+
Card.Title,
|
|
12247
12211
|
null,
|
|
12248
|
-
|
|
12249
|
-
Card.Title,
|
|
12250
|
-
null,
|
|
12251
|
-
row.title
|
|
12252
|
-
)
|
|
12212
|
+
row.title
|
|
12253
12213
|
)
|
|
12254
12214
|
),
|
|
12255
12215
|
_this2.props.showPublished && row.published && React__default.createElement(
|
|
@@ -12556,8 +12516,8 @@ var DeckQueue = function (_React$Component) {
|
|
|
12556
12516
|
Col,
|
|
12557
12517
|
{ md: 12, lg: 4 },
|
|
12558
12518
|
React__default.createElement(
|
|
12559
|
-
|
|
12560
|
-
{ href: _this2.page + '/
|
|
12519
|
+
'a',
|
|
12520
|
+
{ href: _this2.page + '/' + get_1(row, 'url.current') },
|
|
12561
12521
|
React__default.createElement(
|
|
12562
12522
|
LazyLoad,
|
|
12563
12523
|
{ height: _this2.props.imageHeight },
|
|
@@ -12575,8 +12535,8 @@ var DeckQueue = function (_React$Component) {
|
|
|
12575
12535
|
Card.Title,
|
|
12576
12536
|
null,
|
|
12577
12537
|
React__default.createElement(
|
|
12578
|
-
|
|
12579
|
-
{ href: _this2.page + '/
|
|
12538
|
+
'a',
|
|
12539
|
+
{ href: _this2.page + '/' + get_1(row, 'url.current') },
|
|
12580
12540
|
row.title
|
|
12581
12541
|
)
|
|
12582
12542
|
),
|
|
@@ -12590,7 +12550,7 @@ var DeckQueue = function (_React$Component) {
|
|
|
12590
12550
|
null,
|
|
12591
12551
|
'Recent : ',
|
|
12592
12552
|
React__default.createElement(
|
|
12593
|
-
|
|
12553
|
+
'a',
|
|
12594
12554
|
{ href: 'view/' + row.recent.url.current },
|
|
12595
12555
|
row.recent.title
|
|
12596
12556
|
)
|
|
@@ -12599,8 +12559,8 @@ var DeckQueue = function (_React$Component) {
|
|
|
12599
12559
|
Card.Text,
|
|
12600
12560
|
null,
|
|
12601
12561
|
React__default.createElement(
|
|
12602
|
-
|
|
12603
|
-
{ href: _this2.page + '/
|
|
12562
|
+
'a',
|
|
12563
|
+
{ href: _this2.page + '/' + get_1(row, 'url.current') },
|
|
12604
12564
|
clean_html_1(row.summary)
|
|
12605
12565
|
)
|
|
12606
12566
|
)
|
|
@@ -12797,16 +12757,12 @@ var TaxonomyCard = function TaxonomyCard(props) {
|
|
|
12797
12757
|
Col,
|
|
12798
12758
|
null,
|
|
12799
12759
|
row.url ? React__default.createElement(
|
|
12800
|
-
|
|
12801
|
-
{ href: row.url
|
|
12760
|
+
'a',
|
|
12761
|
+
{ href: row.url },
|
|
12802
12762
|
React__default.createElement(
|
|
12803
|
-
|
|
12763
|
+
Card.Title,
|
|
12804
12764
|
null,
|
|
12805
|
-
|
|
12806
|
-
Card.Title,
|
|
12807
|
-
null,
|
|
12808
|
-
row.name
|
|
12809
|
-
)
|
|
12765
|
+
row.name
|
|
12810
12766
|
)
|
|
12811
12767
|
) : React__default.createElement(
|
|
12812
12768
|
Card.Title,
|
|
@@ -12956,34 +12912,30 @@ var GroupDeck = function GroupDeck(props) {
|
|
|
12956
12912
|
'div',
|
|
12957
12913
|
{ key: index, className: 'tile' },
|
|
12958
12914
|
React__default.createElement(
|
|
12959
|
-
|
|
12915
|
+
'a',
|
|
12960
12916
|
{ href: _url },
|
|
12961
12917
|
React__default.createElement(
|
|
12962
|
-
'
|
|
12963
|
-
|
|
12964
|
-
React__default.createElement(
|
|
12965
|
-
|
|
12966
|
-
|
|
12967
|
-
|
|
12968
|
-
|
|
12918
|
+
'div',
|
|
12919
|
+
{ className: 'tile__media' },
|
|
12920
|
+
React__default.createElement('img', { className: 'tile__img', src: video.thumbnail, alt: '' })
|
|
12921
|
+
),
|
|
12922
|
+
React__default.createElement(
|
|
12923
|
+
'div',
|
|
12924
|
+
{ className: 'tile__details' },
|
|
12969
12925
|
React__default.createElement(
|
|
12970
12926
|
'div',
|
|
12971
|
-
{ className: '
|
|
12927
|
+
{ className: 'tile__title' },
|
|
12972
12928
|
React__default.createElement(
|
|
12973
12929
|
'div',
|
|
12974
|
-
{ className: '
|
|
12975
|
-
|
|
12976
|
-
'div',
|
|
12977
|
-
{ style: { color: variant }, className: 'tile__title_text' },
|
|
12978
|
-
video.title
|
|
12979
|
-
)
|
|
12930
|
+
{ style: { color: variant }, className: 'tile__title_text' },
|
|
12931
|
+
video.title
|
|
12980
12932
|
)
|
|
12981
|
-
),
|
|
12982
|
-
React__default.createElement(
|
|
12983
|
-
'div',
|
|
12984
|
-
{ style: { color: variant }, className: 'tile__info' },
|
|
12985
|
-
video.title
|
|
12986
12933
|
)
|
|
12934
|
+
),
|
|
12935
|
+
React__default.createElement(
|
|
12936
|
+
'div',
|
|
12937
|
+
{ style: { color: variant }, className: 'tile__info' },
|
|
12938
|
+
video.title
|
|
12987
12939
|
)
|
|
12988
12940
|
)
|
|
12989
12941
|
);
|
|
@@ -13160,50 +13112,46 @@ var YoutubeGroup = function YoutubeGroup(props) {
|
|
|
13160
13112
|
'div',
|
|
13161
13113
|
{ key: index, className: 'tile' },
|
|
13162
13114
|
React__default.createElement(
|
|
13163
|
-
|
|
13115
|
+
'a',
|
|
13164
13116
|
{ href: _url },
|
|
13165
13117
|
React__default.createElement(
|
|
13166
|
-
'
|
|
13167
|
-
|
|
13118
|
+
'div',
|
|
13119
|
+
{ className: 'tile__media' },
|
|
13168
13120
|
React__default.createElement(
|
|
13169
|
-
|
|
13170
|
-
|
|
13171
|
-
React__default.createElement(
|
|
13172
|
-
|
|
13173
|
-
|
|
13174
|
-
|
|
13175
|
-
|
|
13176
|
-
|
|
13121
|
+
LazyLoad,
|
|
13122
|
+
null,
|
|
13123
|
+
React__default.createElement('img', { className: 'tile__img', src: _thumbnail, alt: '' })
|
|
13124
|
+
)
|
|
13125
|
+
),
|
|
13126
|
+
React__default.createElement(
|
|
13127
|
+
'div',
|
|
13128
|
+
{ className: 'tile__details' },
|
|
13177
13129
|
React__default.createElement(
|
|
13178
13130
|
'div',
|
|
13179
|
-
{ className: '
|
|
13131
|
+
{ className: 'tile__title' },
|
|
13180
13132
|
React__default.createElement(
|
|
13181
13133
|
'div',
|
|
13182
|
-
{ className: '
|
|
13183
|
-
React__default.createElement(
|
|
13184
|
-
'div',
|
|
13185
|
-
{ style: { color: variant }, className: 'tile__title_text' },
|
|
13186
|
-
video.title
|
|
13187
|
-
)
|
|
13188
|
-
)
|
|
13189
|
-
),
|
|
13190
|
-
React__default.createElement(
|
|
13191
|
-
'div',
|
|
13192
|
-
{ style: { color: variant }, className: 'tile__info' },
|
|
13193
|
-
props.displayEpisodeNumber ? React__default.createElement(
|
|
13194
|
-
'span',
|
|
13195
|
-
null,
|
|
13196
|
-
React__default.createElement(
|
|
13197
|
-
'span',
|
|
13198
|
-
{ style: { fontWeight: 'bold' } },
|
|
13199
|
-
'Ep. ',
|
|
13200
|
-
index + 1,
|
|
13201
|
-
':'
|
|
13202
|
-
),
|
|
13203
|
-
' ',
|
|
13134
|
+
{ style: { color: variant }, className: 'tile__title_text' },
|
|
13204
13135
|
video.title
|
|
13205
|
-
)
|
|
13136
|
+
)
|
|
13206
13137
|
)
|
|
13138
|
+
),
|
|
13139
|
+
React__default.createElement(
|
|
13140
|
+
'div',
|
|
13141
|
+
{ style: { color: variant }, className: 'tile__info' },
|
|
13142
|
+
props.displayEpisodeNumber ? React__default.createElement(
|
|
13143
|
+
'span',
|
|
13144
|
+
null,
|
|
13145
|
+
React__default.createElement(
|
|
13146
|
+
'span',
|
|
13147
|
+
{ style: { fontWeight: 'bold' } },
|
|
13148
|
+
'Ep. ',
|
|
13149
|
+
index + 1,
|
|
13150
|
+
':'
|
|
13151
|
+
),
|
|
13152
|
+
' ',
|
|
13153
|
+
video.title
|
|
13154
|
+
) : video.title
|
|
13207
13155
|
)
|
|
13208
13156
|
)
|
|
13209
13157
|
);
|
|
@@ -13332,14 +13280,10 @@ var renderAuthor = function renderAuthor(authorDetail, index$$1, length) {
|
|
|
13332
13280
|
'By'
|
|
13333
13281
|
),
|
|
13334
13282
|
React__default.createElement(
|
|
13335
|
-
|
|
13336
|
-
{ href: '/authors/
|
|
13337
|
-
|
|
13338
|
-
|
|
13339
|
-
{ className: 'text-muted' },
|
|
13340
|
-
displayName,
|
|
13341
|
-
length !== index$$1 + 1 && React__default.createElement('br', null)
|
|
13342
|
-
)
|
|
13283
|
+
'a',
|
|
13284
|
+
{ href: '/authors/' + url.current, className: 'text-muted' },
|
|
13285
|
+
displayName,
|
|
13286
|
+
length !== index$$1 + 1 && React__default.createElement('br', null)
|
|
13343
13287
|
)
|
|
13344
13288
|
);
|
|
13345
13289
|
} else if (displayName) {
|
|
@@ -13470,32 +13414,24 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
13470
13414
|
className: 'feature-media',
|
|
13471
13415
|
style: { flexDirection: 'column', marginBottom: '1.25rem', paddingBottom: '1.25rem', borderBottom: '1px solid #ddd' } },
|
|
13472
13416
|
(article.thumbnail && article.thumbnail.asset || defaultImage) && React__default.createElement(
|
|
13473
|
-
|
|
13474
|
-
{ href: article.url.current },
|
|
13417
|
+
'a',
|
|
13418
|
+
{ href: article.url.current, className: 'feature-wrapper' },
|
|
13475
13419
|
React__default.createElement(
|
|
13476
|
-
|
|
13477
|
-
{
|
|
13478
|
-
React__default.createElement(
|
|
13479
|
-
LazyLoad,
|
|
13480
|
-
{ height: imageHeight },
|
|
13481
|
-
article.thumbnail && article.thumbnail.asset ? React__default.createElement('img', { className: 'img-fluid', src: renderCardImage(article, builder, imageHeight, imageWidth), alt: article.title }) : article.thumbnail ? React__default.createElement('img', { src: article.thumbnail, className: 'mr-3', alt: article.title }) : React__default.createElement('img', { src: defaultImage, src2: article.thumbnail, className: 'mr-3', width: '240', height: '135', alt: article.title })
|
|
13482
|
-
)
|
|
13420
|
+
LazyLoad,
|
|
13421
|
+
{ height: imageHeight },
|
|
13422
|
+
article.thumbnail && article.thumbnail.asset ? React__default.createElement('img', { className: 'img-fluid', src: renderCardImage(article, builder, imageHeight, imageWidth), alt: article.title }) : article.thumbnail ? React__default.createElement('img', { src: article.thumbnail, className: 'mr-3', alt: article.title }) : React__default.createElement('img', { src: defaultImage, src2: article.thumbnail, className: 'mr-3', width: '240', height: '135', alt: article.title })
|
|
13483
13423
|
)
|
|
13484
13424
|
),
|
|
13485
13425
|
React__default.createElement(
|
|
13486
13426
|
Media$1.Body,
|
|
13487
13427
|
null,
|
|
13488
13428
|
React__default.createElement(
|
|
13489
|
-
|
|
13429
|
+
'a',
|
|
13490
13430
|
{ href: article.url.current },
|
|
13491
|
-
React__default.createElement(
|
|
13492
|
-
'
|
|
13493
|
-
|
|
13494
|
-
article.title
|
|
13495
|
-
'h4',
|
|
13496
|
-
{ className: 'card-title', style: { fontWeight: '500', color: 'var(--gray-dark)', marginBottom: '.5rem' } },
|
|
13497
|
-
article.title
|
|
13498
|
-
)
|
|
13431
|
+
article.title && React__default.createElement(
|
|
13432
|
+
'h4',
|
|
13433
|
+
{ className: 'card-title', style: { fontWeight: '500', color: 'var(--gray-dark)', marginBottom: '.5rem' } },
|
|
13434
|
+
article.title
|
|
13499
13435
|
)
|
|
13500
13436
|
),
|
|
13501
13437
|
showPublished && article.published && React__default.createElement(
|
|
@@ -13552,32 +13488,24 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
13552
13488
|
key: article._id ? article._id : index$$1,
|
|
13553
13489
|
style: { flexDirection: 'row', marginBottom: '1.25rem', paddingBottom: '1.25rem', borderBottom: '1px solid #ddd' } },
|
|
13554
13490
|
(article.thumbnail && article.thumbnail.asset || defaultImage) && React__default.createElement(
|
|
13555
|
-
|
|
13556
|
-
{ href: mapping[contentCategoryName] + '/
|
|
13491
|
+
'a',
|
|
13492
|
+
{ href: mapping[contentCategoryName] + '/' + article.url.current, className: 'img-wrapper' },
|
|
13557
13493
|
React__default.createElement(
|
|
13558
|
-
|
|
13559
|
-
{
|
|
13560
|
-
React__default.createElement(
|
|
13561
|
-
LazyLoad,
|
|
13562
|
-
{ height: imageHeight },
|
|
13563
|
-
article.thumbnail && article.thumbnail.asset ? React__default.createElement('img', { className: 'mr-3 img-fluid', src: renderCardImage(article, builder, imageHeight, imageWidth), alt: article.title }) : article.thumbnail ? React__default.createElement('img', { src: article.thumbnail, className: 'mr-3', alt: article.title }) : React__default.createElement('img', { src: defaultImage, src2: article.thumbnail, className: 'mr-3', width: '240', height: '135', alt: article.title })
|
|
13564
|
-
)
|
|
13494
|
+
LazyLoad,
|
|
13495
|
+
{ height: imageHeight },
|
|
13496
|
+
article.thumbnail && article.thumbnail.asset ? React__default.createElement('img', { className: 'mr-3 img-fluid', src: renderCardImage(article, builder, imageHeight, imageWidth), alt: article.title }) : article.thumbnail ? React__default.createElement('img', { src: article.thumbnail, className: 'mr-3', alt: article.title }) : React__default.createElement('img', { src: defaultImage, src2: article.thumbnail, className: 'mr-3', width: '240', height: '135', alt: article.title })
|
|
13565
13497
|
)
|
|
13566
13498
|
),
|
|
13567
13499
|
React__default.createElement(
|
|
13568
13500
|
Media$1.Body,
|
|
13569
13501
|
null,
|
|
13570
13502
|
React__default.createElement(
|
|
13571
|
-
|
|
13572
|
-
{ href: mapping[contentCategoryName] + '/
|
|
13573
|
-
React__default.createElement(
|
|
13574
|
-
'
|
|
13575
|
-
|
|
13576
|
-
article.title
|
|
13577
|
-
'h4',
|
|
13578
|
-
{ className: 'card-title', style: { fontWeight: '500', color: 'var(--gray-dark)', marginBottom: '.5rem' } },
|
|
13579
|
-
article.title
|
|
13580
|
-
)
|
|
13503
|
+
'a',
|
|
13504
|
+
{ href: mapping[contentCategoryName] + '/' + article.url.current },
|
|
13505
|
+
article.title && React__default.createElement(
|
|
13506
|
+
'h4',
|
|
13507
|
+
{ className: 'card-title', style: { fontWeight: '500', color: 'var(--gray-dark)', marginBottom: '.5rem' } },
|
|
13508
|
+
article.title
|
|
13581
13509
|
)
|
|
13582
13510
|
),
|
|
13583
13511
|
showPublished && article.published && React__default.createElement(
|
|
@@ -14045,17 +13973,13 @@ var VideoSeriesListing = function (_React$Component) {
|
|
|
14045
13973
|
'h4',
|
|
14046
13974
|
{ className: 'video-title-banner', style: { fontWeight: 'bold', color: 'var(--primary)', padding: '.25rem 0', borderBottom: '2px solid var(--gold)' } },
|
|
14047
13975
|
React__default.createElement(
|
|
14048
|
-
|
|
13976
|
+
'a',
|
|
14049
13977
|
{ href: '/' + _this.props.page + '/' + docSeries.url.current },
|
|
13978
|
+
docSeries.title,
|
|
14050
13979
|
React__default.createElement(
|
|
14051
|
-
'
|
|
14052
|
-
|
|
14053
|
-
|
|
14054
|
-
React__default.createElement(
|
|
14055
|
-
'span',
|
|
14056
|
-
{ style: { fontSize: '.9rem', color: 'grey', marginLeft: '1rem', transform: 'translateY(-2px)' } },
|
|
14057
|
-
React__default.createElement(IoIosArrowForward, null)
|
|
14058
|
-
)
|
|
13980
|
+
'span',
|
|
13981
|
+
{ style: { fontSize: '.9rem', color: 'grey', marginLeft: '1rem', transform: 'translateY(-2px)' } },
|
|
13982
|
+
React__default.createElement(IoIosArrowForward, null)
|
|
14059
13983
|
)
|
|
14060
13984
|
)
|
|
14061
13985
|
),
|
|
@@ -14197,20 +14121,6 @@ var MasterDeck = function (_React$Component) {
|
|
|
14197
14121
|
};
|
|
14198
14122
|
}
|
|
14199
14123
|
});
|
|
14200
|
-
}, _this.urlFor = function (source) {
|
|
14201
|
-
var client = _this.props.client;
|
|
14202
|
-
|
|
14203
|
-
var builder = imageUrlBuilder(client);
|
|
14204
|
-
return builder.image(source).auto('format');
|
|
14205
|
-
}, _this.renderCardImage = function (row, page) {
|
|
14206
|
-
if (row.thumbnail && row.thumbnail.asset) {
|
|
14207
|
-
var url = _this.urlFor(row.thumbnail);
|
|
14208
|
-
if (_this.props.imageHeight) url = url.height(_this.props.imageHeight);
|
|
14209
|
-
if (_this.props.imageWidth) url = url.width(_this.props.imageWidth);
|
|
14210
|
-
return url.url();
|
|
14211
|
-
} else {
|
|
14212
|
-
return _this.defaultImage;
|
|
14213
|
-
}
|
|
14214
14124
|
}, _this.changePageNumber = function (pageNumber) {
|
|
14215
14125
|
var _this$props2 = _this.props,
|
|
14216
14126
|
seoPaginate = _this$props2.seoPaginate,
|
|
@@ -14281,69 +14191,24 @@ var MasterDeck = function (_React$Component) {
|
|
|
14281
14191
|
});
|
|
14282
14192
|
}
|
|
14283
14193
|
}
|
|
14284
|
-
}, _this.
|
|
14285
|
-
|
|
14286
|
-
|
|
14287
|
-
|
|
14288
|
-
|
|
14194
|
+
}, _this.cardLoader = function (page, columns, variant) {
|
|
14195
|
+
var numberOfItemsBeforeAd = 6;
|
|
14196
|
+
return React__default.createElement(
|
|
14197
|
+
Row,
|
|
14198
|
+
null,
|
|
14199
|
+
_this.state.data && _this.state.data.map(function (row, index$$1) {
|
|
14200
|
+
var pageNumber = row.pageNumber || _this.state.page;
|
|
14289
14201
|
|
|
14290
|
-
if (displayName && url && url.current) {
|
|
14291
14202
|
return React__default.createElement(
|
|
14292
|
-
|
|
14293
|
-
{ key:
|
|
14294
|
-
index$$1 === 0 && React__default.createElement(
|
|
14295
|
-
'span',
|
|
14296
|
-
{ className: 'pr-1' },
|
|
14297
|
-
'By'
|
|
14298
|
-
),
|
|
14299
|
-
React__default.createElement(
|
|
14300
|
-
Link,
|
|
14301
|
-
{ href: '/authors/[url]', as: '/authors/' + url.current },
|
|
14302
|
-
React__default.createElement(
|
|
14303
|
-
'a',
|
|
14304
|
-
{ className: 'text-muted' },
|
|
14305
|
-
displayName,
|
|
14306
|
-
length !== index$$1 + 1 && React__default.createElement('br', null)
|
|
14307
|
-
)
|
|
14308
|
-
)
|
|
14309
|
-
);
|
|
14310
|
-
} else if (displayName) {
|
|
14311
|
-
return React__default.createElement(
|
|
14312
|
-
'div',
|
|
14313
|
-
{ key: _id },
|
|
14314
|
-
index$$1 === 0 && React__default.createElement(
|
|
14315
|
-
'span',
|
|
14316
|
-
{ className: 'pr-1' },
|
|
14317
|
-
'By'
|
|
14318
|
-
),
|
|
14319
|
-
React__default.createElement(
|
|
14320
|
-
'span',
|
|
14321
|
-
{ className: 'text-muted' },
|
|
14322
|
-
displayName,
|
|
14323
|
-
length !== index$$1 + 1 && React__default.createElement('br', null)
|
|
14324
|
-
)
|
|
14325
|
-
);
|
|
14326
|
-
}
|
|
14327
|
-
} else return null;
|
|
14328
|
-
}, _this.cardLoader = function (page, columns, variant) {
|
|
14329
|
-
var numberOfItemsBeforeAd = 6;
|
|
14330
|
-
return React__default.createElement(
|
|
14331
|
-
Row,
|
|
14332
|
-
null,
|
|
14333
|
-
_this.state.data && _this.state.data.map(function (row, index$$1) {
|
|
14334
|
-
var pageNumber = row.pageNumber || _this.state.page;
|
|
14335
|
-
var contentCategoryName = row.contentCategory && row.contentCategory.name && _this.mapping[row.contentCategory.name] ? row.contentCategory.name : 'Articles';
|
|
14336
|
-
|
|
14337
|
-
return React__default.createElement(
|
|
14338
|
-
React__default.Fragment,
|
|
14339
|
-
{ key: index$$1 },
|
|
14203
|
+
React__default.Fragment,
|
|
14204
|
+
{ key: index$$1 },
|
|
14340
14205
|
React__default.createElement(
|
|
14341
14206
|
VisibilitySensor,
|
|
14342
14207
|
{
|
|
14343
14208
|
onChange: function onChange(isVisible) {
|
|
14344
14209
|
isVisible && _this.changePageNumber(pageNumber);
|
|
14345
14210
|
} },
|
|
14346
|
-
React__default.createElement(_this2.Deck, { data: row, variant: variant, index: index$$1 })
|
|
14211
|
+
React__default.createElement(_this2.Deck, { data: row, variant: variant, index: index$$1, client: _this.props.client })
|
|
14347
14212
|
),
|
|
14348
14213
|
main_36 && _this.rightItems && (index$$1 + 1) % numberOfItemsBeforeAd === 0 && React__default.createElement(
|
|
14349
14214
|
'div',
|
|
@@ -14513,29 +14378,25 @@ var PublicationDeck = function PublicationDeck(props) {
|
|
|
14513
14378
|
Card,
|
|
14514
14379
|
{ className: 'block-card', style: { width: '200px' } },
|
|
14515
14380
|
React__default.createElement(
|
|
14516
|
-
|
|
14381
|
+
'a',
|
|
14517
14382
|
{ href: href + '/' + row.identifier.current },
|
|
14383
|
+
row.childIssue && row.childIssue.thumbnail && React__default.createElement(
|
|
14384
|
+
LazyLoad,
|
|
14385
|
+
{ height: imageHeight },
|
|
14386
|
+
React__default.createElement(Card.Img, { variant: 'top', src: renderCardImage(row.childIssue.thumbnail), alt: row.name })
|
|
14387
|
+
),
|
|
14518
14388
|
React__default.createElement(
|
|
14519
|
-
|
|
14389
|
+
Card.Body,
|
|
14520
14390
|
null,
|
|
14521
|
-
row.childIssue && row.childIssue.thumbnail && React__default.createElement(
|
|
14522
|
-
LazyLoad,
|
|
14523
|
-
{ height: imageHeight },
|
|
14524
|
-
React__default.createElement(Card.Img, { variant: 'top', src: renderCardImage(row.childIssue.thumbnail), alt: row.name })
|
|
14525
|
-
),
|
|
14526
14391
|
React__default.createElement(
|
|
14527
|
-
Card.
|
|
14392
|
+
Card.Title,
|
|
14528
14393
|
null,
|
|
14529
|
-
|
|
14530
|
-
|
|
14531
|
-
|
|
14532
|
-
|
|
14533
|
-
|
|
14534
|
-
|
|
14535
|
-
Button,
|
|
14536
|
-
{ variant: 'secondary' },
|
|
14537
|
-
'Browse Issues'
|
|
14538
|
-
)
|
|
14394
|
+
row.name
|
|
14395
|
+
),
|
|
14396
|
+
React__default.createElement(
|
|
14397
|
+
Button,
|
|
14398
|
+
{ variant: 'secondary' },
|
|
14399
|
+
'Browse Issues'
|
|
14539
14400
|
)
|
|
14540
14401
|
)
|
|
14541
14402
|
)
|
|
@@ -14585,19 +14446,15 @@ var IssueDeck = function IssueDeck(props) {
|
|
|
14585
14446
|
Row,
|
|
14586
14447
|
{ style: { flexDirection: 'left' } },
|
|
14587
14448
|
React__default.createElement(
|
|
14588
|
-
|
|
14449
|
+
'a',
|
|
14589
14450
|
{ href: href + '/' + publication + '/' + row.identifier.current },
|
|
14590
14451
|
React__default.createElement(
|
|
14591
|
-
|
|
14592
|
-
|
|
14593
|
-
React__default.createElement(
|
|
14594
|
-
|
|
14595
|
-
{
|
|
14596
|
-
row.thumbnail
|
|
14597
|
-
LazyLoad,
|
|
14598
|
-
{ height: imageHeight },
|
|
14599
|
-
React__default.createElement(Card.Img, { variant: 'top', src: renderCardImage(row.thumbnail), alt: row.name })
|
|
14600
|
-
)
|
|
14452
|
+
Col,
|
|
14453
|
+
{ md: 12, lg: 4, className: 'body-image' },
|
|
14454
|
+
row.thumbnail && React__default.createElement(
|
|
14455
|
+
LazyLoad,
|
|
14456
|
+
{ height: imageHeight },
|
|
14457
|
+
React__default.createElement(Card.Img, { variant: 'top', src: renderCardImage(row.thumbnail), alt: row.name })
|
|
14601
14458
|
)
|
|
14602
14459
|
)
|
|
14603
14460
|
),
|
|
@@ -14625,16 +14482,12 @@ var IssueDeck = function IssueDeck(props) {
|
|
|
14625
14482
|
row.number
|
|
14626
14483
|
),
|
|
14627
14484
|
React__default.createElement(
|
|
14628
|
-
|
|
14485
|
+
'a',
|
|
14629
14486
|
{ href: href + '/' + publication + '/' + row.identifier.current },
|
|
14630
14487
|
React__default.createElement(
|
|
14631
|
-
|
|
14632
|
-
|
|
14633
|
-
|
|
14634
|
-
Button,
|
|
14635
|
-
{ style: { marginTop: '20px' }, variant: 'secondary' },
|
|
14636
|
-
'View Issue'
|
|
14637
|
-
)
|
|
14488
|
+
Button,
|
|
14489
|
+
{ style: { marginTop: '20px' }, variant: 'secondary' },
|
|
14490
|
+
'View Issue'
|
|
14638
14491
|
)
|
|
14639
14492
|
),
|
|
14640
14493
|
row.pdf && row.pdf.asset && React__default.createElement(
|
|
@@ -14686,29 +14539,25 @@ var IssueContentDeck = function IssueContentDeck(props) {
|
|
|
14686
14539
|
Card,
|
|
14687
14540
|
null,
|
|
14688
14541
|
React__default.createElement(
|
|
14689
|
-
|
|
14690
|
-
{ href: '/view/
|
|
14542
|
+
'a',
|
|
14543
|
+
{ href: '/view/' + row.url.current },
|
|
14544
|
+
row.thumbnail && React__default.createElement(
|
|
14545
|
+
LazyLoad,
|
|
14546
|
+
{ height: imageHeight },
|
|
14547
|
+
React__default.createElement(Card.Img, { variant: 'top', src: renderCardImage(row.thumbnail), alt: row.title })
|
|
14548
|
+
),
|
|
14691
14549
|
React__default.createElement(
|
|
14692
|
-
|
|
14550
|
+
Card.Body,
|
|
14693
14551
|
null,
|
|
14694
|
-
row.
|
|
14695
|
-
|
|
14696
|
-
{
|
|
14697
|
-
|
|
14698
|
-
),
|
|
14552
|
+
row.issueSection && row.issueSection.name ? React__default.createElement(
|
|
14553
|
+
Badge,
|
|
14554
|
+
{ variant: 'success' },
|
|
14555
|
+
row.issueSection && row.issueSection.name.name
|
|
14556
|
+
) : '',
|
|
14699
14557
|
React__default.createElement(
|
|
14700
|
-
Card.
|
|
14558
|
+
Card.Title,
|
|
14701
14559
|
null,
|
|
14702
|
-
row.
|
|
14703
|
-
Badge,
|
|
14704
|
-
{ variant: 'success' },
|
|
14705
|
-
row.issueSection && row.issueSection.name.name
|
|
14706
|
-
) : '',
|
|
14707
|
-
React__default.createElement(
|
|
14708
|
-
Card.Title,
|
|
14709
|
-
null,
|
|
14710
|
-
row.title
|
|
14711
|
-
)
|
|
14560
|
+
row.title
|
|
14712
14561
|
)
|
|
14713
14562
|
)
|
|
14714
14563
|
)
|
|
@@ -15379,13 +15228,9 @@ var SideFooter = function SideFooter(props) {
|
|
|
15379
15228
|
'li',
|
|
15380
15229
|
{ key: index },
|
|
15381
15230
|
React__default.createElement(
|
|
15382
|
-
|
|
15231
|
+
'a',
|
|
15383
15232
|
{ href: row.url },
|
|
15384
|
-
|
|
15385
|
-
'a',
|
|
15386
|
-
null,
|
|
15387
|
-
row.title
|
|
15388
|
-
)
|
|
15233
|
+
row.title
|
|
15389
15234
|
)
|
|
15390
15235
|
);
|
|
15391
15236
|
}
|
|
@@ -15501,13 +15346,9 @@ var LeftNav = function LeftNav(props) {
|
|
|
15501
15346
|
);
|
|
15502
15347
|
}
|
|
15503
15348
|
return React__default.createElement(
|
|
15504
|
-
|
|
15505
|
-
{ href: subRow.url || '#' },
|
|
15506
|
-
|
|
15507
|
-
'a',
|
|
15508
|
-
{ target: subRow.blank ? '_blank' : '_self' },
|
|
15509
|
-
subRow.name
|
|
15510
|
-
)
|
|
15349
|
+
'a',
|
|
15350
|
+
{ href: subRow.url || '#', target: subRow.blank ? '_blank' : '_self' },
|
|
15351
|
+
subRow.name
|
|
15511
15352
|
);
|
|
15512
15353
|
};
|
|
15513
15354
|
|
|
@@ -15632,7 +15473,7 @@ var Column3 = function Column3(props) {
|
|
|
15632
15473
|
Col,
|
|
15633
15474
|
{ md: true, className: 'leftCol', style: { width: '200px' } },
|
|
15634
15475
|
React__default.createElement(LeftNav, { leftItems: leftItems }),
|
|
15635
|
-
website && website.sideFooterContent && website.sideFooterContent.length && website.showFooterOnLeftSide && React__default.createElement(SideFooter, { website: website, logo: logo })
|
|
15476
|
+
website && website.sideFooterContent && website.sideFooterContent.length && website.showFooterOnLeftSide && React__default.createElement(SideFooter, { website: website, cache: website.cache, logo: logo })
|
|
15636
15477
|
),
|
|
15637
15478
|
React__default.createElement(
|
|
15638
15479
|
Col,
|
|
@@ -15676,7 +15517,7 @@ var Column3 = function Column3(props) {
|
|
|
15676
15517
|
row.component
|
|
15677
15518
|
);
|
|
15678
15519
|
}),
|
|
15679
|
-
website && website.sideFooterContent && website.sideFooterContent.length && !website.showFooterOnLeftSide && React__default.createElement(SideFooter, { website: website, logo: logo })
|
|
15520
|
+
website && website.sideFooterContent && website.sideFooterContent.length && !website.showFooterOnLeftSide && React__default.createElement(SideFooter, { website: website, cache: website.cache, logo: logo })
|
|
15680
15521
|
)
|
|
15681
15522
|
)
|
|
15682
15523
|
)
|
|
@@ -15747,7 +15588,7 @@ var AccordionPanel = function AccordionPanel(props) {
|
|
|
15747
15588
|
CustomToggle,
|
|
15748
15589
|
{ key: item.id, eventKey: item.id },
|
|
15749
15590
|
React__default.createElement(
|
|
15750
|
-
|
|
15591
|
+
'a',
|
|
15751
15592
|
{ href: item.url },
|
|
15752
15593
|
React__default.createElement(
|
|
15753
15594
|
React__default.Fragment,
|
|
@@ -15765,7 +15606,7 @@ var AccordionPanel = function AccordionPanel(props) {
|
|
|
15765
15606
|
null,
|
|
15766
15607
|
item.subItems && item.subItems.map(function (subItem) {
|
|
15767
15608
|
return React__default.createElement(
|
|
15768
|
-
|
|
15609
|
+
'a',
|
|
15769
15610
|
{ href: subItem.url },
|
|
15770
15611
|
React__default.createElement(
|
|
15771
15612
|
'div',
|
|
@@ -15929,13 +15770,9 @@ var NavFooter = function NavFooter(props) {
|
|
|
15929
15770
|
'li',
|
|
15930
15771
|
{ key: index },
|
|
15931
15772
|
React__default.createElement(
|
|
15932
|
-
|
|
15933
|
-
{ href: content.url },
|
|
15934
|
-
|
|
15935
|
-
'a',
|
|
15936
|
-
{ className: 'nav-link' },
|
|
15937
|
-
content.title
|
|
15938
|
-
)
|
|
15773
|
+
'a',
|
|
15774
|
+
{ href: content.url, className: 'nav-link' },
|
|
15775
|
+
content.title
|
|
15939
15776
|
)
|
|
15940
15777
|
);
|
|
15941
15778
|
} else return null;
|
|
@@ -15987,13 +15824,9 @@ var SocialNavFooter = function SocialNavFooter(props) {
|
|
|
15987
15824
|
'li',
|
|
15988
15825
|
{ key: index },
|
|
15989
15826
|
React__default.createElement(
|
|
15990
|
-
|
|
15991
|
-
{ href: content.url },
|
|
15992
|
-
|
|
15993
|
-
'a',
|
|
15994
|
-
{ className: 'nav-link' },
|
|
15995
|
-
content.title
|
|
15996
|
-
)
|
|
15827
|
+
'a',
|
|
15828
|
+
{ href: content.url, className: 'nav-link' },
|
|
15829
|
+
content.title
|
|
15997
15830
|
)
|
|
15998
15831
|
);
|
|
15999
15832
|
} else return null;
|
|
@@ -16120,17 +15953,13 @@ var NavMagazine = function NavMagazine(props) {
|
|
|
16120
15953
|
Nav.Item,
|
|
16121
15954
|
{ id: 'nav-mobile-register', className: 'hide-on-login', style: { display: 'none' } },
|
|
16122
15955
|
React__default.createElement(
|
|
16123
|
-
|
|
15956
|
+
'a',
|
|
16124
15957
|
{ href: '/register' },
|
|
16125
15958
|
React__default.createElement(
|
|
16126
|
-
'
|
|
16127
|
-
|
|
16128
|
-
React__default.createElement(
|
|
16129
|
-
|
|
16130
|
-
{ className: 'px-2 py-2' },
|
|
16131
|
-
React__default.createElement(MdEmail, null),
|
|
16132
|
-
' Register'
|
|
16133
|
-
)
|
|
15959
|
+
'div',
|
|
15960
|
+
{ className: 'px-2 py-2' },
|
|
15961
|
+
React__default.createElement(MdEmail, null),
|
|
15962
|
+
' Register'
|
|
16134
15963
|
)
|
|
16135
15964
|
)
|
|
16136
15965
|
),
|
|
@@ -16138,13 +15967,9 @@ var NavMagazine = function NavMagazine(props) {
|
|
|
16138
15967
|
Nav.Item,
|
|
16139
15968
|
{ className: 'nav-mobile-logo' },
|
|
16140
15969
|
React__default.createElement(
|
|
16141
|
-
|
|
15970
|
+
'a',
|
|
16142
15971
|
{ href: '/' },
|
|
16143
|
-
React__default.createElement(
|
|
16144
|
-
'a',
|
|
16145
|
-
null,
|
|
16146
|
-
mobileLogo && screenWidth < 776 ? React__default.createElement('img', { src: mobileLogo }) : React__default.createElement('img', { src: logo, className: 'logo', style: { height: '55px' } })
|
|
16147
|
-
)
|
|
15972
|
+
mobileLogo && screenWidth < 776 ? React__default.createElement('img', { src: mobileLogo }) : React__default.createElement('img', { src: logo, className: 'logo', style: { height: '55px' } })
|
|
16148
15973
|
)
|
|
16149
15974
|
),
|
|
16150
15975
|
showLogin && React__default.createElement(
|
|
@@ -16186,17 +16011,13 @@ var NavMagazine = function NavMagazine(props) {
|
|
|
16186
16011
|
Nav.Item,
|
|
16187
16012
|
{ className: 'hide-on-login', style: { display: 'none' } },
|
|
16188
16013
|
React__default.createElement(
|
|
16189
|
-
|
|
16014
|
+
'a',
|
|
16190
16015
|
{ href: '/register' },
|
|
16191
16016
|
React__default.createElement(
|
|
16192
|
-
'
|
|
16193
|
-
|
|
16194
|
-
React__default.createElement(
|
|
16195
|
-
|
|
16196
|
-
{ className: 'px-2 py-2 mr-2', id: 'nav-register' },
|
|
16197
|
-
React__default.createElement(MdEmail, null),
|
|
16198
|
-
' Register'
|
|
16199
|
-
)
|
|
16017
|
+
'div',
|
|
16018
|
+
{ className: 'px-2 py-2 mr-2', id: 'nav-register' },
|
|
16019
|
+
React__default.createElement(MdEmail, null),
|
|
16020
|
+
' Register'
|
|
16200
16021
|
)
|
|
16201
16022
|
)
|
|
16202
16023
|
),
|
|
@@ -16261,13 +16082,9 @@ var NavMagazine = function NavMagazine(props) {
|
|
|
16261
16082
|
} else {
|
|
16262
16083
|
if (ddRow.url && ddRow.name) {
|
|
16263
16084
|
return ddRow.url && ddRow.name ? React__default.createElement(
|
|
16264
|
-
|
|
16265
|
-
{ key: subIndex, href: ddRow.url },
|
|
16266
|
-
|
|
16267
|
-
'a',
|
|
16268
|
-
{ target: ddRow.blank ? '_blank' : '_self', className: 'dropdown-item' },
|
|
16269
|
-
ddRow.name
|
|
16270
|
-
)
|
|
16085
|
+
'a',
|
|
16086
|
+
{ key: subIndex, href: ddRow.url, target: ddRow.blank ? '_blank' : '_self', className: 'dropdown-item' },
|
|
16087
|
+
ddRow.name
|
|
16271
16088
|
) : null;
|
|
16272
16089
|
} else return null;
|
|
16273
16090
|
}
|
|
@@ -16275,13 +16092,9 @@ var NavMagazine = function NavMagazine(props) {
|
|
|
16275
16092
|
) : null;
|
|
16276
16093
|
} else {
|
|
16277
16094
|
return row.url && row.name ? React__default.createElement(
|
|
16278
|
-
|
|
16279
|
-
{ key: index, href: row.url },
|
|
16280
|
-
|
|
16281
|
-
'a',
|
|
16282
|
-
{ target: row.blank ? '_blank' : '_self', className: 'nav-link' },
|
|
16283
|
-
row.name
|
|
16284
|
-
)
|
|
16095
|
+
'a',
|
|
16096
|
+
{ key: index, href: row.url, target: row.blank ? '_blank' : '_self', className: 'nav-link' },
|
|
16097
|
+
row.name
|
|
16285
16098
|
) : null;
|
|
16286
16099
|
}
|
|
16287
16100
|
})
|
|
@@ -16291,13 +16104,9 @@ var NavMagazine = function NavMagazine(props) {
|
|
|
16291
16104
|
Navbar.Collapse,
|
|
16292
16105
|
{ id: 'basic-navbar-nav' },
|
|
16293
16106
|
isSticky && React__default.createElement(
|
|
16294
|
-
|
|
16107
|
+
'a',
|
|
16295
16108
|
{ href: '/' },
|
|
16296
|
-
React__default.createElement(
|
|
16297
|
-
'a',
|
|
16298
|
-
null,
|
|
16299
|
-
React__default.createElement(IoIosHome, { size: 20, className: 'sticky-home', color: '#fff' })
|
|
16300
|
-
)
|
|
16109
|
+
React__default.createElement(IoIosHome, { size: 20, className: 'sticky-home', color: '#fff' })
|
|
16301
16110
|
),
|
|
16302
16111
|
React__default.createElement(
|
|
16303
16112
|
Nav,
|
|
@@ -16312,26 +16121,18 @@ var NavMagazine = function NavMagazine(props) {
|
|
|
16312
16121
|
return React__default.createElement(NavDropdown.Divider, { key: subIndex });
|
|
16313
16122
|
} else {
|
|
16314
16123
|
return ddRow.url && ddRow.name ? React__default.createElement(
|
|
16315
|
-
|
|
16316
|
-
{ key: subIndex, href: ddRow.url },
|
|
16317
|
-
|
|
16318
|
-
'a',
|
|
16319
|
-
{ target: ddRow.blank ? '_blank' : '_self', className: 'dropdown-item' },
|
|
16320
|
-
ddRow.name
|
|
16321
|
-
)
|
|
16124
|
+
'a',
|
|
16125
|
+
{ key: subIndex, href: ddRow.url, target: ddRow.blank ? '_blank' : '_self', className: 'dropdown-item' },
|
|
16126
|
+
ddRow.name
|
|
16322
16127
|
) : null;
|
|
16323
16128
|
}
|
|
16324
16129
|
})
|
|
16325
16130
|
) : null;
|
|
16326
16131
|
} else {
|
|
16327
16132
|
return row.url && row.name ? React__default.createElement(
|
|
16328
|
-
|
|
16329
|
-
{ key: index, href: row.url },
|
|
16330
|
-
|
|
16331
|
-
'a',
|
|
16332
|
-
{ target: row.blank ? '_blank' : '_self', className: 'nav-link' },
|
|
16333
|
-
row.name
|
|
16334
|
-
)
|
|
16133
|
+
'a',
|
|
16134
|
+
{ key: index, href: row.url, target: row.blank ? '_blank' : '_self', className: 'nav-link' },
|
|
16135
|
+
row.name
|
|
16335
16136
|
) : null;
|
|
16336
16137
|
}
|
|
16337
16138
|
})
|
|
@@ -16433,13 +16234,9 @@ var NavNative = function NavNative(props) {
|
|
|
16433
16234
|
Navbar.Brand,
|
|
16434
16235
|
{ id: 'nav-mobile-sm', className: 'nav-mobile-logo' },
|
|
16435
16236
|
React__default.createElement(
|
|
16436
|
-
|
|
16237
|
+
'a',
|
|
16437
16238
|
{ href: '/' },
|
|
16438
|
-
React__default.createElement(
|
|
16439
|
-
'a',
|
|
16440
|
-
null,
|
|
16441
|
-
mobileLogo && screenWidth < 1200 ? React__default.createElement('img', { src: mobileLogo }) : React__default.createElement('img', { src: logo, className: 'logo', style: { height: '50px' } })
|
|
16442
|
-
)
|
|
16239
|
+
mobileLogo && screenWidth < 1200 ? React__default.createElement('img', { src: mobileLogo }) : React__default.createElement('img', { src: logo, className: 'logo', style: { height: '50px' } })
|
|
16443
16240
|
)
|
|
16444
16241
|
),
|
|
16445
16242
|
React__default.createElement(
|
|
@@ -16450,13 +16247,9 @@ var NavNative = function NavNative(props) {
|
|
|
16450
16247
|
Navbar.Brand,
|
|
16451
16248
|
{ id: 'nav-mobile-md', className: 'nav-mobile-logo' },
|
|
16452
16249
|
React__default.createElement(
|
|
16453
|
-
|
|
16250
|
+
'a',
|
|
16454
16251
|
{ href: '/' },
|
|
16455
|
-
React__default.createElement(
|
|
16456
|
-
'a',
|
|
16457
|
-
null,
|
|
16458
|
-
mobileLogo && screenWidth < 1200 ? React__default.createElement('img', { src: mobileLogo }) : React__default.createElement('img', { src: logo, className: 'logo', style: { height: '50px' } })
|
|
16459
|
-
)
|
|
16252
|
+
mobileLogo && screenWidth < 1200 ? React__default.createElement('img', { src: mobileLogo }) : React__default.createElement('img', { src: logo, className: 'logo', style: { height: '50px' } })
|
|
16460
16253
|
)
|
|
16461
16254
|
),
|
|
16462
16255
|
React__default.createElement(Search, { device: 'mobile' })
|
|
@@ -16478,13 +16271,9 @@ var NavNative = function NavNative(props) {
|
|
|
16478
16271
|
} else {
|
|
16479
16272
|
if (ddRow.url && ddRow.name) {
|
|
16480
16273
|
return ddRow.url && ddRow.name ? React__default.createElement(
|
|
16481
|
-
|
|
16482
|
-
{ key: subIndex, href: ddRow.url },
|
|
16483
|
-
|
|
16484
|
-
'a',
|
|
16485
|
-
{ target: ddRow.blank ? '_blank' : '_self', className: 'dropdown-item' },
|
|
16486
|
-
ddRow.name
|
|
16487
|
-
)
|
|
16274
|
+
'a',
|
|
16275
|
+
{ key: subIndex, href: ddRow.url, target: ddRow.blank ? '_blank' : '_self', className: 'dropdown-item' },
|
|
16276
|
+
ddRow.name
|
|
16488
16277
|
) : null;
|
|
16489
16278
|
} else return null;
|
|
16490
16279
|
}
|
|
@@ -16492,13 +16281,9 @@ var NavNative = function NavNative(props) {
|
|
|
16492
16281
|
) : null;
|
|
16493
16282
|
} else {
|
|
16494
16283
|
return row.url && row.name ? React__default.createElement(
|
|
16495
|
-
|
|
16496
|
-
{ key: index, href: row.url },
|
|
16497
|
-
|
|
16498
|
-
'a',
|
|
16499
|
-
{ target: row.blank ? '_blank' : '_self', className: 'nav-link' },
|
|
16500
|
-
row.name
|
|
16501
|
-
)
|
|
16284
|
+
'a',
|
|
16285
|
+
{ key: index, href: row.url, target: row.blank ? '_blank' : '_self', className: 'nav-link' },
|
|
16286
|
+
row.name
|
|
16502
16287
|
) : null;
|
|
16503
16288
|
}
|
|
16504
16289
|
})
|
|
@@ -16520,26 +16305,18 @@ var NavNative = function NavNative(props) {
|
|
|
16520
16305
|
return React__default.createElement(NavDropdown.Divider, { key: subIndex });
|
|
16521
16306
|
} else {
|
|
16522
16307
|
return ddRow.url && ddRow.name ? React__default.createElement(
|
|
16523
|
-
|
|
16524
|
-
{ key: subIndex, href: ddRow.url },
|
|
16525
|
-
|
|
16526
|
-
'a',
|
|
16527
|
-
{ target: ddRow.blank ? '_blank' : '_self', className: 'dropdown-item' },
|
|
16528
|
-
ddRow.name
|
|
16529
|
-
)
|
|
16308
|
+
'a',
|
|
16309
|
+
{ key: subIndex, href: ddRow.url, target: ddRow.blank ? '_blank' : '_self', className: 'dropdown-item' },
|
|
16310
|
+
ddRow.name
|
|
16530
16311
|
) : null;
|
|
16531
16312
|
}
|
|
16532
16313
|
})
|
|
16533
16314
|
) : null;
|
|
16534
16315
|
} else {
|
|
16535
16316
|
return row.url && row.name ? React__default.createElement(
|
|
16536
|
-
|
|
16537
|
-
{ key: index, href: row.url },
|
|
16538
|
-
|
|
16539
|
-
'a',
|
|
16540
|
-
{ target: row.blank ? '_blank' : '_self', className: 'nav-link' },
|
|
16541
|
-
row.name
|
|
16542
|
-
)
|
|
16317
|
+
'a',
|
|
16318
|
+
{ key: index, href: row.url, target: row.blank ? '_blank' : '_self', className: 'nav-link' },
|
|
16319
|
+
row.name
|
|
16543
16320
|
) : null;
|
|
16544
16321
|
}
|
|
16545
16322
|
})
|
|
@@ -16661,13 +16438,9 @@ var NavDvm = function NavDvm(props) {
|
|
|
16661
16438
|
}
|
|
16662
16439
|
|
|
16663
16440
|
return React__default.createElement(
|
|
16664
|
-
|
|
16665
|
-
{ key: key, href: url || '#' },
|
|
16666
|
-
|
|
16667
|
-
'a',
|
|
16668
|
-
{ target: blank ? '_blank' : '_self', className: className },
|
|
16669
|
-
name
|
|
16670
|
-
)
|
|
16441
|
+
'a',
|
|
16442
|
+
{ key: key, href: url || '#', target: blank ? '_blank' : '_self', className: className },
|
|
16443
|
+
name
|
|
16671
16444
|
);
|
|
16672
16445
|
};
|
|
16673
16446
|
|
|
@@ -16687,13 +16460,9 @@ var NavDvm = function NavDvm(props) {
|
|
|
16687
16460
|
Nav.Item,
|
|
16688
16461
|
null,
|
|
16689
16462
|
React__default.createElement(
|
|
16690
|
-
|
|
16463
|
+
'a',
|
|
16691
16464
|
{ href: '/' },
|
|
16692
|
-
React__default.createElement(
|
|
16693
|
-
'a',
|
|
16694
|
-
null,
|
|
16695
|
-
React__default.createElement('img', { src: logo, style: { height: '55px' } })
|
|
16696
|
-
)
|
|
16465
|
+
React__default.createElement('img', { src: logo, style: { height: '55px' } })
|
|
16697
16466
|
)
|
|
16698
16467
|
)
|
|
16699
16468
|
)
|
|
@@ -16706,13 +16475,9 @@ var NavDvm = function NavDvm(props) {
|
|
|
16706
16475
|
Container,
|
|
16707
16476
|
{ className: 'mobile-nav position-relative' },
|
|
16708
16477
|
mobileLogo && React__default.createElement(
|
|
16709
|
-
|
|
16710
|
-
{ href: '/' },
|
|
16711
|
-
React__default.createElement(
|
|
16712
|
-
'a',
|
|
16713
|
-
{ className: 'mobile-logo' },
|
|
16714
|
-
React__default.createElement('img', { src: mobileLogo })
|
|
16715
|
-
)
|
|
16478
|
+
'a',
|
|
16479
|
+
{ href: '/', className: 'mobile-logo' },
|
|
16480
|
+
React__default.createElement('img', { src: mobileLogo })
|
|
16716
16481
|
),
|
|
16717
16482
|
React__default.createElement(Navbar.Toggle, { 'aria-controls': 'basic-navbar-nav' }),
|
|
16718
16483
|
React__default.createElement(
|
|
@@ -16758,13 +16523,9 @@ var NavDvm = function NavDvm(props) {
|
|
|
16758
16523
|
} else {
|
|
16759
16524
|
if (ddRow.url && ddRow.name) {
|
|
16760
16525
|
return ddRow.url && ddRow.name ? React__default.createElement(
|
|
16761
|
-
|
|
16762
|
-
{ key: subIndex, href: ddRow.url },
|
|
16763
|
-
|
|
16764
|
-
'a',
|
|
16765
|
-
{ target: ddRow.blank ? '_blank' : '_self', className: 'dropdown-item' },
|
|
16766
|
-
ddRow.name
|
|
16767
|
-
)
|
|
16526
|
+
'a',
|
|
16527
|
+
{ key: subIndex, href: ddRow.url, target: ddRow.blank ? '_blank' : '_self', className: 'dropdown-item' },
|
|
16528
|
+
ddRow.name
|
|
16768
16529
|
) : null;
|
|
16769
16530
|
} else return null;
|
|
16770
16531
|
}
|
|
@@ -16772,13 +16533,9 @@ var NavDvm = function NavDvm(props) {
|
|
|
16772
16533
|
) : null;
|
|
16773
16534
|
} else {
|
|
16774
16535
|
return row.url && row.name ? React__default.createElement(
|
|
16775
|
-
|
|
16776
|
-
{ key: index, href: row.url },
|
|
16777
|
-
|
|
16778
|
-
'a',
|
|
16779
|
-
{ target: row.blank ? '_blank' : '_self', className: 'nav-link' },
|
|
16780
|
-
row.name
|
|
16781
|
-
)
|
|
16536
|
+
'a',
|
|
16537
|
+
{ key: index, href: row.url, target: row.blank ? '_blank' : '_self', className: 'nav-link' },
|
|
16538
|
+
row.name
|
|
16782
16539
|
) : null;
|
|
16783
16540
|
}
|
|
16784
16541
|
})
|
|
@@ -16900,17 +16657,13 @@ var HamMagazine = function HamMagazine(props) {
|
|
|
16900
16657
|
Nav.Item,
|
|
16901
16658
|
{ id: 'nav-mobile-register', className: 'hide-on-login', style: { display: 'none' } },
|
|
16902
16659
|
React__default.createElement(
|
|
16903
|
-
|
|
16660
|
+
'a',
|
|
16904
16661
|
{ href: '/register' },
|
|
16905
16662
|
React__default.createElement(
|
|
16906
|
-
'
|
|
16907
|
-
|
|
16908
|
-
React__default.createElement(
|
|
16909
|
-
|
|
16910
|
-
{ className: 'px-2 py-2' },
|
|
16911
|
-
React__default.createElement(MdEmail, null),
|
|
16912
|
-
' Register'
|
|
16913
|
-
)
|
|
16663
|
+
'div',
|
|
16664
|
+
{ className: 'px-2 py-2' },
|
|
16665
|
+
React__default.createElement(MdEmail, null),
|
|
16666
|
+
' Register'
|
|
16914
16667
|
)
|
|
16915
16668
|
)
|
|
16916
16669
|
),
|
|
@@ -16918,13 +16671,9 @@ var HamMagazine = function HamMagazine(props) {
|
|
|
16918
16671
|
Nav.Item,
|
|
16919
16672
|
{ className: 'nav-mobile-logo' },
|
|
16920
16673
|
React__default.createElement(
|
|
16921
|
-
|
|
16674
|
+
'a',
|
|
16922
16675
|
{ href: '/' },
|
|
16923
|
-
React__default.createElement(
|
|
16924
|
-
'a',
|
|
16925
|
-
null,
|
|
16926
|
-
mobileLogo && screenWidth < 776 ? React__default.createElement('img', { src: mobileLogo }) : React__default.createElement('img', { src: logo, className: 'logo', style: { height: '55px' } })
|
|
16927
|
-
)
|
|
16676
|
+
mobileLogo && screenWidth < 776 ? React__default.createElement('img', { src: mobileLogo }) : React__default.createElement('img', { src: logo, className: 'logo', style: { height: '55px' } })
|
|
16928
16677
|
)
|
|
16929
16678
|
),
|
|
16930
16679
|
showLogin && React__default.createElement(
|
|
@@ -16966,17 +16715,13 @@ var HamMagazine = function HamMagazine(props) {
|
|
|
16966
16715
|
Nav.Item,
|
|
16967
16716
|
{ className: 'hide-on-login', style: { display: 'none' } },
|
|
16968
16717
|
React__default.createElement(
|
|
16969
|
-
|
|
16718
|
+
'a',
|
|
16970
16719
|
{ href: '/register' },
|
|
16971
16720
|
React__default.createElement(
|
|
16972
|
-
'
|
|
16973
|
-
|
|
16974
|
-
React__default.createElement(
|
|
16975
|
-
|
|
16976
|
-
{ className: 'px-2 py-2 mr-2', id: 'nav-register' },
|
|
16977
|
-
React__default.createElement(MdEmail, null),
|
|
16978
|
-
' Register'
|
|
16979
|
-
)
|
|
16721
|
+
'div',
|
|
16722
|
+
{ className: 'px-2 py-2 mr-2', id: 'nav-register' },
|
|
16723
|
+
React__default.createElement(MdEmail, null),
|
|
16724
|
+
' Register'
|
|
16980
16725
|
)
|
|
16981
16726
|
)
|
|
16982
16727
|
),
|
|
@@ -17014,7 +16759,7 @@ var HamMagazine = function HamMagazine(props) {
|
|
|
17014
16759
|
),
|
|
17015
16760
|
React__default.createElement(
|
|
17016
16761
|
Navbar,
|
|
17017
|
-
{ variant: 'dark', expand: '
|
|
16762
|
+
{ variant: 'dark', expand: 'xl', bg: 'primary', ref: navRef, style: { width: '100%' } },
|
|
17018
16763
|
React__default.createElement(
|
|
17019
16764
|
Container,
|
|
17020
16765
|
{ className: 'mobile-nav' },
|
|
@@ -17049,13 +16794,9 @@ var HamMagazine = function HamMagazine(props) {
|
|
|
17049
16794
|
} else {
|
|
17050
16795
|
if (ddRow.url && ddRow.name) {
|
|
17051
16796
|
return ddRow.url && ddRow.name ? React__default.createElement(
|
|
17052
|
-
|
|
17053
|
-
{ key: subIndex, href: ddRow.url },
|
|
17054
|
-
|
|
17055
|
-
'a',
|
|
17056
|
-
{ target: ddRow.blank ? '_blank' : '_self', className: 'dropdown-item' },
|
|
17057
|
-
ddRow.name
|
|
17058
|
-
)
|
|
16797
|
+
'a',
|
|
16798
|
+
{ key: subIndex, href: ddRow.url, target: ddRow.blank ? '_blank' : '_self', className: 'dropdown-item' },
|
|
16799
|
+
ddRow.name
|
|
17059
16800
|
) : null;
|
|
17060
16801
|
} else return null;
|
|
17061
16802
|
}
|
|
@@ -17063,13 +16804,9 @@ var HamMagazine = function HamMagazine(props) {
|
|
|
17063
16804
|
) : null;
|
|
17064
16805
|
} else {
|
|
17065
16806
|
return row.url && row.name ? React__default.createElement(
|
|
17066
|
-
|
|
17067
|
-
{ key: index, href: row.url },
|
|
17068
|
-
|
|
17069
|
-
'a',
|
|
17070
|
-
{ target: row.blank ? '_blank' : '_self', className: 'nav-link' },
|
|
17071
|
-
row.name
|
|
17072
|
-
)
|
|
16807
|
+
'a',
|
|
16808
|
+
{ key: index, href: row.url, target: row.blank ? '_blank' : '_self', className: 'nav-link' },
|
|
16809
|
+
row.name
|
|
17073
16810
|
) : null;
|
|
17074
16811
|
}
|
|
17075
16812
|
})
|
|
@@ -17079,13 +16816,9 @@ var HamMagazine = function HamMagazine(props) {
|
|
|
17079
16816
|
Navbar.Collapse,
|
|
17080
16817
|
{ id: 'basic-navbar-nav' },
|
|
17081
16818
|
isSticky && React__default.createElement(
|
|
17082
|
-
|
|
16819
|
+
'a',
|
|
17083
16820
|
{ href: '/' },
|
|
17084
|
-
React__default.createElement(
|
|
17085
|
-
'a',
|
|
17086
|
-
null,
|
|
17087
|
-
React__default.createElement(IoIosHome, { size: 20, className: 'sticky-home', color: '#fff' })
|
|
17088
|
-
)
|
|
16821
|
+
React__default.createElement(IoIosHome, { size: 20, className: 'sticky-home', color: '#fff' })
|
|
17089
16822
|
),
|
|
17090
16823
|
React__default.createElement(
|
|
17091
16824
|
Nav,
|
|
@@ -17100,26 +16833,18 @@ var HamMagazine = function HamMagazine(props) {
|
|
|
17100
16833
|
return React__default.createElement(NavDropdown.Divider, { key: subIndex });
|
|
17101
16834
|
} else {
|
|
17102
16835
|
return ddRow.url && ddRow.name ? React__default.createElement(
|
|
17103
|
-
|
|
17104
|
-
{ key: subIndex, href: ddRow.url },
|
|
17105
|
-
|
|
17106
|
-
'a',
|
|
17107
|
-
{ target: ddRow.blank ? '_blank' : '_self', className: 'dropdown-item nav-link' },
|
|
17108
|
-
ddRow.name
|
|
17109
|
-
)
|
|
16836
|
+
'a',
|
|
16837
|
+
{ key: subIndex, href: ddRow.url, target: ddRow.blank ? '_blank' : '_self', className: 'dropdown-item nav-link' },
|
|
16838
|
+
ddRow.name
|
|
17110
16839
|
) : null;
|
|
17111
16840
|
}
|
|
17112
16841
|
})
|
|
17113
16842
|
) : null;
|
|
17114
16843
|
} else {
|
|
17115
16844
|
return row.url && row.name ? React__default.createElement(
|
|
17116
|
-
|
|
17117
|
-
{ key: index, href: row.url },
|
|
17118
|
-
|
|
17119
|
-
'a',
|
|
17120
|
-
{ target: row.blank ? '_blank' : '_self', className: 'nav-link' },
|
|
17121
|
-
row.name
|
|
17122
|
-
)
|
|
16845
|
+
'a',
|
|
16846
|
+
{ key: index, href: row.url, target: row.blank ? '_blank' : '_self', className: 'nav-link' },
|
|
16847
|
+
row.name
|
|
17123
16848
|
) : null;
|
|
17124
16849
|
}
|
|
17125
16850
|
})
|
|
@@ -17141,7 +16866,7 @@ var HamMagazine = function HamMagazine(props) {
|
|
|
17141
16866
|
React__default.createElement(
|
|
17142
16867
|
'style',
|
|
17143
16868
|
{ jsx: 'true' },
|
|
17144
|
-
'\n .sticky-home {\n position: relative;\n top: -3px;\n left: -6px;\n cursor: pointer;\n }\n .nav-item svg {\n margin-bottom: 2px;\n }\n #nav-login,\n #nav-logout,\n #nav-register {\n padding: 0.5rem;\n cursor: pointer;\n }\n #nav-mobile-login,\n #nav-mobile-logout,\n #nav-mobile-register {\n display: none;\n }\n #nav-mobile-logout,\n #nav-mobile-login {\n position: absolute;\n right: 1rem;\n }\n #nav-mobile-register {\n position: absolute;\n left: 1rem;\n }\n @media screen and (max-width: 376px) {\n .mobile-nav .nav-toggle .form-inline .mobile-search {\n width: 60%;\n }\n .mobile-nav .nav-toggle .form-inline {\n width: 70%;\n }\n }\n @media screen and (max-width: 328px) {\n .mobile-nav .nav-toggle .form-inline .mobile-search {\n margin-right: 5px;\n }\n }\n @media screen and (max-width: 767px) {\n .logo {\n width: 100%;\n padding-left: 10px;\n padding-right: 10px;\n }\n }\n @media screen and (max-width:
|
|
16869
|
+
'\n .sticky-home {\n position: relative;\n top: -3px;\n left: -6px;\n cursor: pointer;\n }\n .nav-item svg {\n margin-bottom: 2px;\n }\n #nav-login,\n #nav-logout,\n #nav-register {\n padding: 0.5rem;\n cursor: pointer;\n }\n #nav-mobile-login,\n #nav-mobile-logout,\n #nav-mobile-register {\n display: none;\n }\n #nav-mobile-logout,\n #nav-mobile-login {\n position: absolute;\n right: 1rem;\n }\n #nav-mobile-register {\n position: absolute;\n left: 1rem;\n }\n @media screen and (max-width: 376px) {\n .mobile-nav .nav-toggle .form-inline .mobile-search {\n width: 60%;\n }\n .mobile-nav .nav-toggle .form-inline {\n width: 70%;\n }\n }\n @media screen and (max-width: 328px) {\n .mobile-nav .nav-toggle .form-inline .mobile-search {\n margin-right: 5px;\n }\n }\n @media screen and (max-width: 767px) {\n .logo {\n width: 100%;\n padding-left: 10px;\n padding-right: 10px;\n }\n }\n @media screen and (max-width: 1199px) {\n .nav-close {\n position: sticky;\n top: -70px;\n }\n .nav-open {\n position: relative;\n }\n\n .mobile-nav .nav-toggle {\n width: 100%;\n }\n\n .android-nav {\n max-height: 80vh;\n }\n\n .ios-nav {\n max-height: none;\n }\n\n .navbar.bg-primary {\n overflow: auto;\n }\n\n .mobile-nav .nav-toggle .navbar-toggler {\n float: left;\n height: 45px;\n }\n .mobile-nav .nav-toggle .form-inline {\n float: right;\n margin: 4px 0px 0px 0px;\n }\n .mobile-nav .form-inline .mobile-search {\n width: auto;\n }\n .sticky-home {\n display: none;\n }\n .dropdown-menu {\n max-height: 315px;\n overflow: auto;\n }\n ::-webkit-scrollbar {\n width: 10px;\n }\n ::-webkit-scrollbar-thumb {\n border-radius: 4px;\n background-color: rgba(214, 214, 214, 0.8);\n box-shadow: 0 0 1px rgba(255, 255, 255, 0.5);\n -webkit-box-shadow: 0 0 1px rgba(255, 255, 255, 0.5);\n }\n .navbar-expand-xl .show#basic-navbar-sub {\n display: block;\n }\n .navbar .mobile-nav .navbar-collapse.show {\n padding-bottom: 10px;\n border-bottom: 0.5px solid white;\n }\n .navbar .mobile-nav .navbar-collapse .form-inline {\n display: none;\n }\n .navbar .mobile-nav .navbar-collapse {\n margin-top: 15px;\n }\n .navbar .mobile-nav .navbar-collapse:last-child {\n border-bottom: none;\n margin-bottom: 0px;\n padding-bottom: 0px;\n margin-top: 0px;\n padding-top: 10px;\n }\n .navbar .mobile-nav .navbar-collapse .nav-footer ul {\n list-style-type: none;\n padding: inherit;\n margin-bottom: 0rem;\n }\n .navbar .mobile-nav .navbar-collapse .nav-footer .nav-link {\n text-transform: capitalize !important;\n font-weight: 300;\n }\n .navbar .mobile-nav .dropdown-item:focus {\n background-color: #696969;\n }\n .navbar .mobile-nav .dropdown-menu .dropdown-item {\n color: white;\n }\n .navbar .mobile-nav .dropdown-menu {\n background: inherit;\n border: none;\n }\n .navbar .mobile-nav .dropdown-menu.show {\n max-height: 100px;\n }\n }\n @media screen and (min-width: 1200px) {\n .nav-close {\n position: sticky;\n top: -70px;\n }\n #basic-navbar-sub {\n display: none !important;\n }\n .navbar .mobile-nav .dropdown-menu .dropdown-item {\n color: #696969;\n }\n .navbar .mobile-nav .dropdown-menu {\n background: white;\n border: 1 px solid #708090;\n }\n .mobile-nav .nav-toggle .form-inline {\n display: none;\n }\n }\n @media screen and (max-width: 1199px) {\n #nav-mobile-login,\n #nav-mobile-logout,\n #nav-mobile-register {\n display: block;\n }\n .navbar-top {\n flex-direction: row;\n justify-content: space-around !important;\n align-items: center;\n padding-left: 0.25rem;\n padding-right: 0.25rem;\n width: 100%;\n }\n }\n '
|
|
17145
16870
|
)
|
|
17146
16871
|
);
|
|
17147
16872
|
};
|
|
@@ -17554,7 +17279,7 @@ var urlFor$2 = function urlFor(source, builder) {
|
|
|
17554
17279
|
|
|
17555
17280
|
var onChangeSlide = function onChangeSlide(selectedIndex, router) {
|
|
17556
17281
|
var pageNumber = selectedIndex + 1;
|
|
17557
|
-
var href = '/view/' + router.query.url + '
|
|
17282
|
+
var href = '/view/' + router.query.url + '?page=' + pageNumber;
|
|
17558
17283
|
Router.push(router.pathname, pageNumber > 1 ? href : '/view/' + router.query.url, { shallow: true });
|
|
17559
17284
|
};
|
|
17560
17285
|
|
|
@@ -29010,21 +28735,17 @@ var Feature = function Feature(props) {
|
|
|
29010
28735
|
}
|
|
29011
28736
|
|
|
29012
28737
|
return React__default.createElement(
|
|
29013
|
-
|
|
28738
|
+
'a',
|
|
29014
28739
|
{ href: feature_link },
|
|
29015
28740
|
React__default.createElement(
|
|
29016
|
-
'
|
|
29017
|
-
|
|
29018
|
-
|
|
29019
|
-
|
|
29020
|
-
|
|
29021
|
-
|
|
29022
|
-
|
|
29023
|
-
|
|
29024
|
-
'p',
|
|
29025
|
-
{ style: { color: '#eee' } },
|
|
29026
|
-
feature_body
|
|
29027
|
-
)
|
|
28741
|
+
'h3',
|
|
28742
|
+
{ style: { color: 'white' } },
|
|
28743
|
+
feature_title
|
|
28744
|
+
),
|
|
28745
|
+
React__default.createElement(
|
|
28746
|
+
'p',
|
|
28747
|
+
{ style: { color: '#eee' } },
|
|
28748
|
+
feature_body
|
|
29028
28749
|
)
|
|
29029
28750
|
);
|
|
29030
28751
|
};
|
|
@@ -29307,25 +29028,21 @@ var Hero = function Hero(_ref) {
|
|
|
29307
29028
|
url = data.url;
|
|
29308
29029
|
|
|
29309
29030
|
return React__default.createElement(
|
|
29310
|
-
|
|
29311
|
-
{ href: '/view/
|
|
29031
|
+
'a',
|
|
29032
|
+
{ href: '/view/' + url.current },
|
|
29312
29033
|
React__default.createElement(
|
|
29313
|
-
|
|
29314
|
-
|
|
29315
|
-
React__default.createElement(
|
|
29316
|
-
Card$1,
|
|
29317
|
-
{
|
|
29318
|
-
title
|
|
29319
|
-
|
|
29320
|
-
|
|
29321
|
-
|
|
29322
|
-
|
|
29323
|
-
|
|
29324
|
-
summary
|
|
29325
|
-
Card$1.Footer,
|
|
29326
|
-
{ className: 'h6' },
|
|
29327
|
-
clean_html_1(summary)
|
|
29328
|
-
)
|
|
29034
|
+
Card$1,
|
|
29035
|
+
{ bsPrefix: 'hero-card' },
|
|
29036
|
+
title && React__default.createElement(
|
|
29037
|
+
Card$1.Header,
|
|
29038
|
+
{ className: 'h4' },
|
|
29039
|
+
title
|
|
29040
|
+
),
|
|
29041
|
+
thumbnail && client && React__default.createElement(Card$1.Img, { src: renderCardImage$1(thumbnail, client, imageHeight, imageWidth) }),
|
|
29042
|
+
summary && React__default.createElement(
|
|
29043
|
+
Card$1.Footer,
|
|
29044
|
+
{ className: 'h6' },
|
|
29045
|
+
clean_html_1(summary)
|
|
29329
29046
|
)
|
|
29330
29047
|
)
|
|
29331
29048
|
);
|
|
@@ -29444,13 +29161,9 @@ var AlphabeticList = function AlphabeticList(_ref) {
|
|
|
29444
29161
|
'li',
|
|
29445
29162
|
{ key: i },
|
|
29446
29163
|
React__default.createElement(
|
|
29447
|
-
|
|
29164
|
+
'a',
|
|
29448
29165
|
{ href: item.url },
|
|
29449
|
-
|
|
29450
|
-
'a',
|
|
29451
|
-
null,
|
|
29452
|
-
item.name
|
|
29453
|
-
)
|
|
29166
|
+
item.name
|
|
29454
29167
|
)
|
|
29455
29168
|
);
|
|
29456
29169
|
})
|
|
@@ -29657,41 +29370,37 @@ var fbsHero = function fbsHero(props) {
|
|
|
29657
29370
|
'div',
|
|
29658
29371
|
{ className: 'article-hero' },
|
|
29659
29372
|
React__default.createElement(
|
|
29660
|
-
|
|
29661
|
-
{ href: '/view/
|
|
29373
|
+
'a',
|
|
29374
|
+
{ href: '/view/' + topArticle.url.current },
|
|
29662
29375
|
React__default.createElement(
|
|
29663
|
-
'
|
|
29664
|
-
|
|
29376
|
+
'div',
|
|
29377
|
+
{ className: 'fbs-top-article' },
|
|
29665
29378
|
React__default.createElement(
|
|
29666
29379
|
'div',
|
|
29667
|
-
{ className: 'fbs-top-article' },
|
|
29380
|
+
{ className: 'fbs-top-article--img' },
|
|
29381
|
+
React__default.createElement('img', { src: urlFor(topArticle.thumbnail.asset).width(600).url(), alt: topArticle.thumbnail.asset.originalFileName })
|
|
29382
|
+
),
|
|
29383
|
+
React__default.createElement(
|
|
29384
|
+
'div',
|
|
29385
|
+
{ className: 'fbs-top-article--body' },
|
|
29668
29386
|
React__default.createElement(
|
|
29669
|
-
'
|
|
29670
|
-
|
|
29671
|
-
|
|
29387
|
+
'h1',
|
|
29388
|
+
null,
|
|
29389
|
+
topArticle.title
|
|
29672
29390
|
),
|
|
29673
29391
|
React__default.createElement(
|
|
29674
|
-
'
|
|
29675
|
-
|
|
29676
|
-
|
|
29677
|
-
|
|
29678
|
-
|
|
29679
|
-
|
|
29680
|
-
|
|
29681
|
-
|
|
29682
|
-
'p',
|
|
29683
|
-
null,
|
|
29684
|
-
moment(topArticle.published).format('MMMM DD, YYYY hh:mma')
|
|
29685
|
-
),
|
|
29392
|
+
'p',
|
|
29393
|
+
null,
|
|
29394
|
+
moment(topArticle.published).format('MMMM DD, YYYY hh:mma')
|
|
29395
|
+
),
|
|
29396
|
+
React__default.createElement(
|
|
29397
|
+
'p',
|
|
29398
|
+
null,
|
|
29399
|
+
'By ',
|
|
29686
29400
|
React__default.createElement(
|
|
29687
|
-
'
|
|
29401
|
+
'b',
|
|
29688
29402
|
null,
|
|
29689
|
-
|
|
29690
|
-
React__default.createElement(
|
|
29691
|
-
'b',
|
|
29692
|
-
null,
|
|
29693
|
-
topArticle.authorMapping[0].displayName
|
|
29694
|
-
)
|
|
29403
|
+
topArticle.authorMapping[0].displayName
|
|
29695
29404
|
)
|
|
29696
29405
|
)
|
|
29697
29406
|
)
|
|
@@ -29702,34 +29411,30 @@ var fbsHero = function fbsHero(props) {
|
|
|
29702
29411
|
{ className: 'fbs-sub-article-container' },
|
|
29703
29412
|
subArticles.map(function (article, index) {
|
|
29704
29413
|
return React__default.createElement(
|
|
29705
|
-
|
|
29706
|
-
{ key: index, href: '/view/' + article.url.current },
|
|
29414
|
+
'a',
|
|
29415
|
+
{ key: index, href: '/view/' + article.url.current, className: 'fbs-sub-article' },
|
|
29416
|
+
React__default.createElement('img', { src: urlFor(article.thumbnail.asset).width(250).url() }),
|
|
29707
29417
|
React__default.createElement(
|
|
29708
|
-
'
|
|
29709
|
-
|
|
29710
|
-
React__default.createElement('img', { src: urlFor(article.thumbnail.asset).width(250).url() }),
|
|
29418
|
+
'div',
|
|
29419
|
+
null,
|
|
29711
29420
|
React__default.createElement(
|
|
29712
|
-
'
|
|
29421
|
+
'h2',
|
|
29422
|
+
{ className: 'fbs-sub-article--title' },
|
|
29423
|
+
article.title
|
|
29424
|
+
),
|
|
29425
|
+
React__default.createElement(
|
|
29426
|
+
'p',
|
|
29713
29427
|
null,
|
|
29428
|
+
moment(article.published).format('MMMM DD, YYYY hh:mma')
|
|
29429
|
+
),
|
|
29430
|
+
React__default.createElement(
|
|
29431
|
+
'p',
|
|
29432
|
+
null,
|
|
29433
|
+
'By ',
|
|
29714
29434
|
React__default.createElement(
|
|
29715
|
-
'
|
|
29716
|
-
{ className: 'fbs-sub-article--title' },
|
|
29717
|
-
article.title
|
|
29718
|
-
),
|
|
29719
|
-
React__default.createElement(
|
|
29720
|
-
'p',
|
|
29721
|
-
null,
|
|
29722
|
-
moment(article.published).format('MMMM DD, YYYY hh:mma')
|
|
29723
|
-
),
|
|
29724
|
-
React__default.createElement(
|
|
29725
|
-
'p',
|
|
29435
|
+
'b',
|
|
29726
29436
|
null,
|
|
29727
|
-
|
|
29728
|
-
React__default.createElement(
|
|
29729
|
-
'b',
|
|
29730
|
-
null,
|
|
29731
|
-
topArticle.authorMapping[0].displayName
|
|
29732
|
-
)
|
|
29437
|
+
topArticle.authorMapping[0].displayName
|
|
29733
29438
|
)
|
|
29734
29439
|
)
|
|
29735
29440
|
)
|
|
@@ -29776,42 +29481,30 @@ var HorizontalHero = function HorizontalHero(props) {
|
|
|
29776
29481
|
'div',
|
|
29777
29482
|
{ className: 'horizontal-hero-inner' },
|
|
29778
29483
|
React__default.createElement(
|
|
29779
|
-
|
|
29780
|
-
{ href: '/view/
|
|
29781
|
-
React__default.createElement(
|
|
29782
|
-
'a',
|
|
29783
|
-
{ className: 'horizontal-hero-img' },
|
|
29784
|
-
React__default.createElement('img', { src: urlFor(topArticle.thumbnail.asset).width(350).url() })
|
|
29785
|
-
)
|
|
29484
|
+
'a',
|
|
29485
|
+
{ href: '/view/' + topArticle.url.current, className: 'horizontal-hero-img' },
|
|
29486
|
+
React__default.createElement('img', { src: urlFor(topArticle.thumbnail.asset).width(350).url() })
|
|
29786
29487
|
),
|
|
29787
29488
|
React__default.createElement(
|
|
29788
29489
|
'div',
|
|
29789
29490
|
{ className: 'horizontal-articles-wrap' },
|
|
29790
29491
|
React__default.createElement(
|
|
29791
|
-
|
|
29792
|
-
{ href: topArticle.url.current },
|
|
29492
|
+
'a',
|
|
29493
|
+
{ href: topArticle.url.current, className: 'horizontal-article' },
|
|
29793
29494
|
React__default.createElement(
|
|
29794
|
-
'
|
|
29795
|
-
|
|
29796
|
-
|
|
29797
|
-
'p',
|
|
29798
|
-
null,
|
|
29799
|
-
topArticle.title
|
|
29800
|
-
)
|
|
29495
|
+
'p',
|
|
29496
|
+
null,
|
|
29497
|
+
topArticle.title
|
|
29801
29498
|
)
|
|
29802
29499
|
),
|
|
29803
29500
|
subArticles.map(function (article, index) {
|
|
29804
29501
|
return React__default.createElement(
|
|
29805
|
-
|
|
29806
|
-
{ key: index, href: '/view/
|
|
29502
|
+
'a',
|
|
29503
|
+
{ key: index, href: '/view/' + article.url.current, className: 'horizontal-article' },
|
|
29807
29504
|
React__default.createElement(
|
|
29808
|
-
'
|
|
29809
|
-
|
|
29810
|
-
|
|
29811
|
-
'p',
|
|
29812
|
-
null,
|
|
29813
|
-
article.title
|
|
29814
|
-
)
|
|
29505
|
+
'p',
|
|
29506
|
+
null,
|
|
29507
|
+
article.title
|
|
29815
29508
|
)
|
|
29816
29509
|
);
|
|
29817
29510
|
})
|
|
@@ -29821,20 +29514,16 @@ var HorizontalHero = function HorizontalHero(props) {
|
|
|
29821
29514
|
'div',
|
|
29822
29515
|
{ className: 'horizontal-view-more' },
|
|
29823
29516
|
React__default.createElement(
|
|
29824
|
-
|
|
29517
|
+
'a',
|
|
29825
29518
|
{ href: props.linkTo },
|
|
29519
|
+
'View More ',
|
|
29520
|
+
heroTitle,
|
|
29521
|
+
' ',
|
|
29522
|
+
' ',
|
|
29826
29523
|
React__default.createElement(
|
|
29827
|
-
'
|
|
29524
|
+
'span',
|
|
29828
29525
|
null,
|
|
29829
|
-
|
|
29830
|
-
heroTitle,
|
|
29831
|
-
' ',
|
|
29832
|
-
' ',
|
|
29833
|
-
React__default.createElement(
|
|
29834
|
-
'span',
|
|
29835
|
-
null,
|
|
29836
|
-
React__default.createElement(FaLongArrowAltRight, null)
|
|
29837
|
-
)
|
|
29526
|
+
React__default.createElement(FaLongArrowAltRight, null)
|
|
29838
29527
|
)
|
|
29839
29528
|
)
|
|
29840
29529
|
),
|
|
@@ -29858,41 +29547,37 @@ var OncliveHero = function OncliveHero(props) {
|
|
|
29858
29547
|
{ className: 'article-group--container' },
|
|
29859
29548
|
props.dataRecord.map(function (article, index) {
|
|
29860
29549
|
return React__default.createElement(
|
|
29861
|
-
|
|
29862
|
-
{ key: index, href: '/view/
|
|
29550
|
+
'a',
|
|
29551
|
+
{ key: index, href: '/view/' + article.url.current, className: 'article-group' },
|
|
29863
29552
|
React__default.createElement(
|
|
29864
|
-
'
|
|
29865
|
-
|
|
29553
|
+
'figure',
|
|
29554
|
+
null,
|
|
29555
|
+
React__default.createElement('img', { src: urlFor(article.thumbnail.asset).width(250).url(), alt: article.title })
|
|
29556
|
+
),
|
|
29557
|
+
React__default.createElement(
|
|
29558
|
+
'div',
|
|
29559
|
+
{ className: 'article-group--body' },
|
|
29866
29560
|
React__default.createElement(
|
|
29867
|
-
'
|
|
29561
|
+
'h2',
|
|
29868
29562
|
null,
|
|
29869
|
-
|
|
29563
|
+
article.title
|
|
29870
29564
|
),
|
|
29871
|
-
React__default.createElement(
|
|
29872
|
-
|
|
29873
|
-
|
|
29565
|
+
React__default.createElement('div', null),
|
|
29566
|
+
moment(article.published).format('MMMM Do YYYY, h:mma'),
|
|
29567
|
+
article.authorMapping[0].displayName && React__default.createElement(
|
|
29568
|
+
'p',
|
|
29569
|
+
{ className: 'mb-2' },
|
|
29570
|
+
'By ',
|
|
29874
29571
|
React__default.createElement(
|
|
29875
|
-
'
|
|
29572
|
+
'b',
|
|
29876
29573
|
null,
|
|
29877
|
-
article.
|
|
29878
|
-
),
|
|
29879
|
-
React__default.createElement('div', null),
|
|
29880
|
-
moment(article.published).format('MMMM Do YYYY, h:mma'),
|
|
29881
|
-
article.authorMapping[0].displayName && React__default.createElement(
|
|
29882
|
-
'p',
|
|
29883
|
-
{ className: 'mb-2' },
|
|
29884
|
-
'By ',
|
|
29885
|
-
React__default.createElement(
|
|
29886
|
-
'b',
|
|
29887
|
-
null,
|
|
29888
|
-
article.authorMapping[0].displayName
|
|
29889
|
-
)
|
|
29890
|
-
),
|
|
29891
|
-
React__default.createElement(
|
|
29892
|
-
'p',
|
|
29893
|
-
{ className: 'article-group--summary' },
|
|
29894
|
-
article.summary
|
|
29574
|
+
article.authorMapping[0].displayName
|
|
29895
29575
|
)
|
|
29576
|
+
),
|
|
29577
|
+
React__default.createElement(
|
|
29578
|
+
'p',
|
|
29579
|
+
{ className: 'article-group--summary' },
|
|
29580
|
+
article.summary
|
|
29896
29581
|
)
|
|
29897
29582
|
)
|
|
29898
29583
|
);
|
|
@@ -29919,35 +29604,31 @@ var OncliveLargeHero = function OncliveLargeHero(props) {
|
|
|
29919
29604
|
'div',
|
|
29920
29605
|
{ className: 'article-hero-container' },
|
|
29921
29606
|
React__default.createElement(
|
|
29922
|
-
|
|
29923
|
-
{ href: '/view/
|
|
29607
|
+
'a',
|
|
29608
|
+
{ href: '/view/' + topArticle.url.current, className: 'top-article' },
|
|
29924
29609
|
React__default.createElement(
|
|
29925
|
-
'
|
|
29926
|
-
|
|
29610
|
+
'figure',
|
|
29611
|
+
null,
|
|
29612
|
+
React__default.createElement('img', {
|
|
29613
|
+
src: urlFor(topArticle.thumbnail.asset).width(500).url() })
|
|
29614
|
+
),
|
|
29615
|
+
React__default.createElement(
|
|
29616
|
+
'div',
|
|
29617
|
+
{ className: 'top-article--body' },
|
|
29927
29618
|
React__default.createElement(
|
|
29928
|
-
'
|
|
29619
|
+
'h1',
|
|
29929
29620
|
null,
|
|
29930
|
-
|
|
29931
|
-
src: urlFor(topArticle.thumbnail.asset).width(500).url() })
|
|
29621
|
+
topArticle.title
|
|
29932
29622
|
),
|
|
29933
29623
|
React__default.createElement(
|
|
29934
|
-
'
|
|
29935
|
-
|
|
29936
|
-
|
|
29937
|
-
|
|
29938
|
-
|
|
29939
|
-
|
|
29940
|
-
|
|
29941
|
-
|
|
29942
|
-
'p',
|
|
29943
|
-
null,
|
|
29944
|
-
moment(topArticle.published).format('MMMM DD, YYYY hh:mma')
|
|
29945
|
-
),
|
|
29946
|
-
React__default.createElement(
|
|
29947
|
-
'p',
|
|
29948
|
-
null,
|
|
29949
|
-
clean_html_1(topArticle.summary)
|
|
29950
|
-
)
|
|
29624
|
+
'p',
|
|
29625
|
+
null,
|
|
29626
|
+
moment(topArticle.published).format('MMMM DD, YYYY hh:mma')
|
|
29627
|
+
),
|
|
29628
|
+
React__default.createElement(
|
|
29629
|
+
'p',
|
|
29630
|
+
null,
|
|
29631
|
+
clean_html_1(topArticle.summary)
|
|
29951
29632
|
)
|
|
29952
29633
|
)
|
|
29953
29634
|
),
|
|
@@ -29956,38 +29637,34 @@ var OncliveLargeHero = function OncliveLargeHero(props) {
|
|
|
29956
29637
|
{ className: 'sub-articles-container' },
|
|
29957
29638
|
subArticles && subArticles.map(function (article, index) {
|
|
29958
29639
|
return React__default.createElement(
|
|
29959
|
-
|
|
29960
|
-
{ href: '/view/
|
|
29640
|
+
'a',
|
|
29641
|
+
{ href: '/view/' + article.url.current, className: 'sub-article' },
|
|
29961
29642
|
React__default.createElement(
|
|
29962
|
-
'
|
|
29963
|
-
|
|
29643
|
+
'figure',
|
|
29644
|
+
null,
|
|
29645
|
+
React__default.createElement('img', {
|
|
29646
|
+
src: urlFor(article.thumbnail.asset).width(250).url(),
|
|
29647
|
+
alt: article.title
|
|
29648
|
+
})
|
|
29649
|
+
),
|
|
29650
|
+
React__default.createElement(
|
|
29651
|
+
'div',
|
|
29652
|
+
{ className: 'sub-article--body' },
|
|
29964
29653
|
React__default.createElement(
|
|
29965
|
-
'
|
|
29654
|
+
'h2',
|
|
29966
29655
|
null,
|
|
29967
|
-
|
|
29968
|
-
src: urlFor(article.thumbnail.asset).width(250).url(),
|
|
29969
|
-
alt: article.title
|
|
29970
|
-
})
|
|
29656
|
+
article.title
|
|
29971
29657
|
),
|
|
29972
|
-
React__default.createElement(
|
|
29973
|
-
|
|
29974
|
-
|
|
29658
|
+
React__default.createElement('div', null),
|
|
29659
|
+
moment(article.published).format('MMMM Do YYYY, h:mma'),
|
|
29660
|
+
article.authorMapping[0].displayName && React__default.createElement(
|
|
29661
|
+
'p',
|
|
29662
|
+
{ className: 'mb-2' },
|
|
29663
|
+
'By ',
|
|
29975
29664
|
React__default.createElement(
|
|
29976
|
-
'
|
|
29665
|
+
'b',
|
|
29977
29666
|
null,
|
|
29978
|
-
article.
|
|
29979
|
-
),
|
|
29980
|
-
React__default.createElement('div', null),
|
|
29981
|
-
moment(article.published).format('MMMM Do YYYY, h:mma'),
|
|
29982
|
-
article.authorMapping[0].displayName && React__default.createElement(
|
|
29983
|
-
'p',
|
|
29984
|
-
{ className: 'mb-2' },
|
|
29985
|
-
'By ',
|
|
29986
|
-
React__default.createElement(
|
|
29987
|
-
'b',
|
|
29988
|
-
null,
|
|
29989
|
-
article.authorMapping[0].displayName
|
|
29990
|
-
)
|
|
29667
|
+
article.authorMapping[0].displayName
|
|
29991
29668
|
)
|
|
29992
29669
|
)
|
|
29993
29670
|
)
|
|
@@ -30030,29 +29707,21 @@ var VerticalHero = function VerticalHero(props) {
|
|
|
30030
29707
|
),
|
|
30031
29708
|
props.dataRecord.map(function (article, index) {
|
|
30032
29709
|
return index === 0 ? React__default.createElement(
|
|
30033
|
-
|
|
30034
|
-
{ href: '/view/
|
|
29710
|
+
'a',
|
|
29711
|
+
{ href: '/view/' + article.url.current, key: index, className: 'vertical-article' },
|
|
29712
|
+
React__default.createElement('img', { src: urlFor(article.thumbnail.asset).width(500).url() }),
|
|
30035
29713
|
React__default.createElement(
|
|
30036
|
-
'
|
|
30037
|
-
|
|
30038
|
-
|
|
30039
|
-
React__default.createElement(
|
|
30040
|
-
'h2',
|
|
30041
|
-
null,
|
|
30042
|
-
article.title
|
|
30043
|
-
)
|
|
29714
|
+
'h2',
|
|
29715
|
+
null,
|
|
29716
|
+
article.title
|
|
30044
29717
|
)
|
|
30045
29718
|
) : React__default.createElement(
|
|
30046
|
-
|
|
30047
|
-
{ href: '/view/
|
|
29719
|
+
'a',
|
|
29720
|
+
{ href: '/view/' + article.url.current, className: 'vertical-article' },
|
|
30048
29721
|
React__default.createElement(
|
|
30049
|
-
'
|
|
30050
|
-
|
|
30051
|
-
|
|
30052
|
-
'h2',
|
|
30053
|
-
null,
|
|
30054
|
-
article.title
|
|
30055
|
-
)
|
|
29722
|
+
'h2',
|
|
29723
|
+
null,
|
|
29724
|
+
article.title
|
|
30056
29725
|
)
|
|
30057
29726
|
);
|
|
30058
29727
|
})
|
|
@@ -30078,38 +29747,34 @@ var YahooHero = function YahooHero(props) {
|
|
|
30078
29747
|
'div',
|
|
30079
29748
|
{ className: 'article-hero' },
|
|
30080
29749
|
React__default.createElement(
|
|
30081
|
-
|
|
30082
|
-
{ href: '/view/
|
|
29750
|
+
'a',
|
|
29751
|
+
{ href: '/view/' + topArticle.url.current },
|
|
30083
29752
|
React__default.createElement(
|
|
30084
|
-
'
|
|
30085
|
-
|
|
29753
|
+
'div',
|
|
29754
|
+
{ className: 'yh-top-article' },
|
|
29755
|
+
React__default.createElement(
|
|
29756
|
+
'div',
|
|
29757
|
+
{ className: 'yh-top-article--img' },
|
|
29758
|
+
React__default.createElement('img', { src: urlFor(topArticle.thumbnail.asset).width(600).url(), alt: topArticle.thumbnail.asset.originalFileName })
|
|
29759
|
+
),
|
|
29760
|
+
React__default.createElement('div', { className: 'yh-top-article--blur' }),
|
|
30086
29761
|
React__default.createElement(
|
|
30087
29762
|
'div',
|
|
30088
|
-
{ className: 'yh-top-article' },
|
|
29763
|
+
{ className: 'yh-top-article--body' },
|
|
30089
29764
|
React__default.createElement(
|
|
30090
|
-
'
|
|
30091
|
-
|
|
30092
|
-
|
|
29765
|
+
'h1',
|
|
29766
|
+
null,
|
|
29767
|
+
topArticle.title
|
|
30093
29768
|
),
|
|
30094
|
-
React__default.createElement('div', { className: 'yh-top-article--blur' }),
|
|
30095
29769
|
React__default.createElement(
|
|
30096
|
-
'
|
|
30097
|
-
|
|
30098
|
-
|
|
30099
|
-
|
|
30100
|
-
|
|
30101
|
-
|
|
30102
|
-
|
|
30103
|
-
|
|
30104
|
-
'p',
|
|
30105
|
-
null,
|
|
30106
|
-
moment(topArticle.published).format('MMMM DD, YYYY hh:mma')
|
|
30107
|
-
),
|
|
30108
|
-
React__default.createElement(
|
|
30109
|
-
'p',
|
|
30110
|
-
null,
|
|
30111
|
-
clean_html_1(topArticle.summary)
|
|
30112
|
-
)
|
|
29770
|
+
'p',
|
|
29771
|
+
null,
|
|
29772
|
+
moment(topArticle.published).format('MMMM DD, YYYY hh:mma')
|
|
29773
|
+
),
|
|
29774
|
+
React__default.createElement(
|
|
29775
|
+
'p',
|
|
29776
|
+
null,
|
|
29777
|
+
clean_html_1(topArticle.summary)
|
|
30113
29778
|
)
|
|
30114
29779
|
)
|
|
30115
29780
|
)
|
|
@@ -30119,31 +29784,27 @@ var YahooHero = function YahooHero(props) {
|
|
|
30119
29784
|
{ className: 'yh-sub-article-container' },
|
|
30120
29785
|
subArticles.map(function (article, index) {
|
|
30121
29786
|
return React__default.createElement(
|
|
30122
|
-
|
|
30123
|
-
{ href: '/view/' + article.url.current },
|
|
29787
|
+
'a',
|
|
29788
|
+
{ href: '/view/' + article.url.current, key: index, className: 'yh-sub-article' },
|
|
29789
|
+
React__default.createElement('img', { src: urlFor(article.thumbnail.asset).width(250).url() }),
|
|
30124
29790
|
React__default.createElement(
|
|
30125
|
-
'
|
|
30126
|
-
{
|
|
30127
|
-
|
|
30128
|
-
|
|
30129
|
-
|
|
30130
|
-
|
|
30131
|
-
|
|
30132
|
-
),
|
|
30133
|
-
|
|
30134
|
-
|
|
30135
|
-
|
|
30136
|
-
|
|
30137
|
-
|
|
29791
|
+
'h6',
|
|
29792
|
+
{ className: 'yh-sub-article--title' },
|
|
29793
|
+
article.title
|
|
29794
|
+
),
|
|
29795
|
+
React__default.createElement(
|
|
29796
|
+
'p',
|
|
29797
|
+
{ className: 'yh-sub-article--info' },
|
|
29798
|
+
moment(article.published).format('MMMM DD, YYYY hh:mma')
|
|
29799
|
+
),
|
|
29800
|
+
React__default.createElement(
|
|
29801
|
+
'p',
|
|
29802
|
+
{ className: 'yh-sub-article--info' },
|
|
29803
|
+
'By ',
|
|
30138
29804
|
React__default.createElement(
|
|
30139
|
-
'
|
|
30140
|
-
|
|
30141
|
-
|
|
30142
|
-
React__default.createElement(
|
|
30143
|
-
'b',
|
|
30144
|
-
null,
|
|
30145
|
-
article.authorMapping[0].displayName
|
|
30146
|
-
)
|
|
29805
|
+
'b',
|
|
29806
|
+
null,
|
|
29807
|
+
article.authorMapping[0].displayName
|
|
30147
29808
|
)
|
|
30148
29809
|
)
|
|
30149
29810
|
);
|
|
@@ -30210,37 +29871,33 @@ var RelatedContent = function RelatedContent(props) {
|
|
|
30210
29871
|
{ className: 'related-articles-container' },
|
|
30211
29872
|
dataRecord.map(function (article, index) {
|
|
30212
29873
|
return React__default.createElement(
|
|
30213
|
-
|
|
30214
|
-
{ href: '/view/
|
|
29874
|
+
'a',
|
|
29875
|
+
{ href: '/view/' + article.url.current, className: 'related-article' },
|
|
30215
29876
|
React__default.createElement(
|
|
30216
|
-
'
|
|
30217
|
-
|
|
30218
|
-
React__default.createElement(
|
|
30219
|
-
|
|
30220
|
-
|
|
30221
|
-
|
|
30222
|
-
|
|
30223
|
-
|
|
30224
|
-
|
|
29877
|
+
'figure',
|
|
29878
|
+
null,
|
|
29879
|
+
React__default.createElement('img', {
|
|
29880
|
+
src: article.thumbnail ? urlFor(article.thumbnail.asset).width(500).url() : defaultImage,
|
|
29881
|
+
alt: article.title
|
|
29882
|
+
})
|
|
29883
|
+
),
|
|
29884
|
+
React__default.createElement(
|
|
29885
|
+
'div',
|
|
29886
|
+
{ className: 'related-article-body' },
|
|
29887
|
+
React__default.createElement('h4', { dangerouslySetInnerHTML: { __html: article.title } }),
|
|
29888
|
+
props.showPublished && React__default.createElement(
|
|
29889
|
+
'p',
|
|
29890
|
+
{ className: 'pb-0 mb-0' },
|
|
29891
|
+
moment(article.published).format('MMMM DD, YYYY hh:mma')
|
|
30225
29892
|
),
|
|
30226
|
-
React__default.createElement(
|
|
30227
|
-
'
|
|
30228
|
-
|
|
30229
|
-
|
|
30230
|
-
|
|
30231
|
-
'
|
|
30232
|
-
{ className: 'pb-0 mb-0' },
|
|
30233
|
-
moment(article.published).format('MMMM DD, YYYY hh:mma')
|
|
30234
|
-
),
|
|
30235
|
-
props.showAuthor && article.authorMapping && article.authorMapping[0] && React__default.createElement(
|
|
30236
|
-
'p',
|
|
29893
|
+
props.showAuthor && article.authorMapping && article.authorMapping[0] && React__default.createElement(
|
|
29894
|
+
'p',
|
|
29895
|
+
null,
|
|
29896
|
+
'By ',
|
|
29897
|
+
React__default.createElement(
|
|
29898
|
+
'b',
|
|
30237
29899
|
null,
|
|
30238
|
-
|
|
30239
|
-
React__default.createElement(
|
|
30240
|
-
'b',
|
|
30241
|
-
null,
|
|
30242
|
-
article.authorMapping[0].displayName
|
|
30243
|
-
)
|
|
29900
|
+
article.authorMapping[0].displayName
|
|
30244
29901
|
)
|
|
30245
29902
|
)
|
|
30246
29903
|
)
|
|
@@ -30255,5 +29912,84 @@ var RelatedContent = function RelatedContent(props) {
|
|
|
30255
29912
|
);
|
|
30256
29913
|
};
|
|
30257
29914
|
|
|
30258
|
-
|
|
29915
|
+
/*
|
|
29916
|
+
Example usage - targetedonc.com/latest-conference
|
|
29917
|
+
const query = `*[!(_id in path("drafts.**")) && _type == "article" && defined(title) && is_visible == true && published <= '${today}' && references('b49d36b8-aa56-4183-a2bc-1568c229fb72') ] | order(published desc) [$from...$to] {
|
|
29918
|
+
...,
|
|
29919
|
+
title,
|
|
29920
|
+
summary,
|
|
29921
|
+
thumbnail,
|
|
29922
|
+
url,
|
|
29923
|
+
published,
|
|
29924
|
+
documentGroup->,
|
|
29925
|
+
contentCategory->,
|
|
29926
|
+
'pageNumber': ${currentPage}
|
|
29927
|
+
}`
|
|
29928
|
+
|
|
29929
|
+
const posts = await client.fetch(query, params)
|
|
29930
|
+
*/
|
|
29931
|
+
|
|
29932
|
+
var ConferenceArticleCard = function ConferenceArticleCard(props) {
|
|
29933
|
+
var data = props.data,
|
|
29934
|
+
variant = props.variant,
|
|
29935
|
+
index = props.index,
|
|
29936
|
+
client = props.client;
|
|
29937
|
+
|
|
29938
|
+
|
|
29939
|
+
var builder = imageUrlBuilder(client);
|
|
29940
|
+
|
|
29941
|
+
function urlFor(source) {
|
|
29942
|
+
return builder.image(source);
|
|
29943
|
+
}
|
|
29944
|
+
|
|
29945
|
+
//title, thumbnail, summary, published, documentGroup.identifier.current, documentGroup.identifier.name
|
|
29946
|
+
return React__default.createElement(
|
|
29947
|
+
'div',
|
|
29948
|
+
{ className: 'conference-media' },
|
|
29949
|
+
React__default.createElement(
|
|
29950
|
+
'a',
|
|
29951
|
+
{ className: 'img-wrapper', href: '/view/study-depicts-complexity-of-met-exon-14-mutation-testing' },
|
|
29952
|
+
React__default.createElement('img', {
|
|
29953
|
+
className: 'mr-3 img-fluid',
|
|
29954
|
+
src: data.thumbnail && urlFor(data.thumbnail.asset).width(350).url(),
|
|
29955
|
+
alt: data.title
|
|
29956
|
+
})
|
|
29957
|
+
),
|
|
29958
|
+
React__default.createElement(
|
|
29959
|
+
'div',
|
|
29960
|
+
{ className: 'media-body' },
|
|
29961
|
+
React__default.createElement(
|
|
29962
|
+
'a',
|
|
29963
|
+
{ href: '/view/study-depicts-complexity-of-met-exon-14-mutation-testing' },
|
|
29964
|
+
React__default.createElement(
|
|
29965
|
+
'h4',
|
|
29966
|
+
{ className: 'conf-media__card-title' },
|
|
29967
|
+
data.title
|
|
29968
|
+
)
|
|
29969
|
+
),
|
|
29970
|
+
React__default.createElement(
|
|
29971
|
+
'p',
|
|
29972
|
+
{ className: 'conf-media__card-text' },
|
|
29973
|
+
moment(data.published).format('MMMM Do YYYY, h:mma')
|
|
29974
|
+
),
|
|
29975
|
+
React__default.createElement(
|
|
29976
|
+
'p',
|
|
29977
|
+
{ className: 'mb-1 conference-group' },
|
|
29978
|
+
React__default.createElement(
|
|
29979
|
+
'a',
|
|
29980
|
+
{ href: '/conference/' + data.documentGroup.identifier.current, alt: data.thumbnail.alt || data.title },
|
|
29981
|
+
data.documentGroup.name
|
|
29982
|
+
)
|
|
29983
|
+
),
|
|
29984
|
+
React__default.createElement('p', { className: 'pt-2 card-text', dangerouslySetInnerHTML: { __html: data.summary } })
|
|
29985
|
+
),
|
|
29986
|
+
React__default.createElement(
|
|
29987
|
+
'style',
|
|
29988
|
+
{ jsx: 'true' },
|
|
29989
|
+
'\n .conference-media {\n display: flex;\n flex-direction: row;\n margin-bottom: 1.25rem;\n padding-bottom: 1.25rem;\n border-bottom: 1px solid #ddd;\n }\n .conf-media__card-title {\n font-weight: bold;\n color: #252525;\n margin-bottom: 0.5rem;\n font-size: 1.5rem;\n }\n .conf-media__card-text {\n color: var(--dark);\n margin-bottom: 0.25rem;\n }\n .conference-media a img {\n width: 175px;\n min-width: 175px;\n height: auto;\n object-fit: contain;\n }\n .conference-media .conference-group {\n background: #003767;\n color: white;\n border-radius: 5px;\n display: inline-block;\n padding: 0 0.25rem;\n }\n .conference-media .conference-group a {\n color: white;\n font-size: 0.8rem;\n }\n @media screen and (max-width: 1064px) {\n .conf-media__card-title {\n font-size: 1.1rem;\n }\n }\n @media screen and (max-width: 768px) {\n .conference-media {\n flex-direction: column;\n }\n .conference-media a img {\n width: 100%;\n height: auto;\n max-height: 175px;\n object-fit: contain;\n margin-bottom: 1rem;\n }\n }\n '
|
|
29990
|
+
)
|
|
29991
|
+
);
|
|
29992
|
+
};
|
|
29993
|
+
|
|
29994
|
+
export { ContentCard as DeckContent, GridContent$1 as GridContent, Queue as DeckQueue, ThumbnailCard, TaxonomyCard, GroupDeck, YoutubeGroup, QueueDeckExpanded, VideoSeriesListing$1 as VideoSeriesListing, MasterDeck$1 as MasterDeck, PublicationDeck, IssueDeck, IssueContentDeck, Column1, Column2, Column3, Header, LeftNav, AccordionPanel, SocialShare, PageFilter, NavMagazine, NavNative, NavNormal, NavDvm, HamMagazine, TemplateNormal, AD, AD300x250, AD300x250x600, AD728x90, ADFooter, getSerializers$1 as getSerializers, Search, Feature, Breadcrumbs, SetCookie, Hero, AlphabeticList, PdfDownload, RelatedTopicsDropdown, Ustream, SideFooter, fbsHero as ForbesHero, HorizontalHero, OncliveHero, OncliveLargeHero, VerticalHero, YahooHero, RelatedContent, ConferenceArticleCard };
|
|
30259
29995
|
//# sourceMappingURL=index.es.js.map
|